text:
<!DOCTYPE html>

    <meta charset="utf-8">
    <title>Your action plan</title>
    <link href="./assets/stylesheets/govuk-template.css" media="screen" rel=
    "stylesheet" type="text/css">

    <link href="./assets/stylesheets/govuk-template-print.css" media="print"
    rel="stylesheet" type="text/css">

    <link href="./assets/stylesheets/fonts.css" media="all" rel="stylesheet"
    type="text/css">

    <link href="./assets/images/favicon.ico" rel="shortcut icon" type=
    "image/x-icon">
    <link color="#0b0c0c" href="./assets/images/gov.uk_logotype_crown.svg" rel=
    "mask-icon">
    <link href="./assets/images/apple-touch-icon-152x152.png" rel=
    "apple-touch-icon-precomposed" sizes="152x152">
    <link href="./assets/images/apple-touch-icon-120x120.png" rel=
    "apple-touch-icon-precomposed" sizes="120x120">
    <link href="./assets/images/apple-touch-icon-76x76.png" rel=
    "apple-touch-icon-precomposed" sizes="76x76">
    <link href="./assets/images/apple-touch-icon-60x60.png" rel=
    "apple-touch-icon-precomposed">
    <meta content="width=device-width, initial-scale=1" name="viewport">
    <meta content="./assets/images/opengraph-image.png" property="og:image">
    <link href="./assets/stylesheets/main.css" media="all" rel="stylesheet"
    type="text/css">
    <link href="./assets/stylesheets/sfa.css" media="all" rel="stylesheet"
    type="text/css">

            Skip to main content

GOV.UK uses cookies to make the site simpler. Find out more about cookies

                     Skills Funding
 Agency

                    Menu

                        National Careers
                        Service

                                Job
                                profiles

                                Skills health check

                                Find a course

                                About us

BETA This website is
            being rebuilt - find out what this means

                {{Firstname}}
                {{Lastname}} Sign out

                Your account

                    Home

                    Your account

Action plan created by an
                adviser

This action plan has been updated whilst you have been viewing it.

Review your plan and save if you have made changes.

An adviser has created an action plan for you.

Your action plan is a useful tool that can help you towards
                your final goal - a number of small steps, that can help you
                take that really big step.

Are you happy with your action
                    plan?

When answering this question you could think about
                    whether:

it met your needs

it met your expectations

your next steps were clear and agreed with you

your needs were recorded at the start of the
                        session

options for further support were explained

the appointment ran on time

the location and the way the service was delivered
                        were suitable

                    <form action="/" class="form" method="post">
                            <fieldset class="inline">
                                <legend class="visuallyhidden">Are you happy
                                with your action plan?</legend> <input checked id=
                                "radio-inline-1" name="radio-inline-group"
                                type="radio" value="Yes"> Yes
                                <input id="radio-inline-2"
                                name="radio-inline-group" type="radio" value=
                                "No"> No
                            </fieldset>

If you are unhappy with your action plan, contact your adviser.

                        <input class="button" type="submit" value=
                        "Submit feedback">
                    </form>

                            Action plan ID
                            AP1234

                            Advisor name
                            Jenni

                            Created date
                            12 July 2015

                            Adviser email address
                            test@test.com

                            Adviser telephone number
                            01384 123456

                            Adviser notes
                            Action plan to become a doctor

Your current situation

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed
                do eiusmod tempor incididunt ut labore et dolore magna
                aliqua.

Your skills and work goals

Excepteur sint occaecat cupidatat non proident, sunt in
                culpa qui officia deserunt mollit anim id est laborum.

Actions

                <form action="/" class="form" method="post">

                                Task
                                Due date
                                Responsibility
                                Status

                                Task:Lorem ipsum dolor
                                sit amet, consectetur adipiscing elit, sed do
                                eiusmod tempor incididunt ut labore et dolore
                                magna aliqua.
                                Due
                                date:13 July 2015
                                Responsibility:Jenni
                                Create a CV
                                status
                                        In progress

                                Task:Conduct review
                                meeting
                                Due
                                date:13 July 2015
                                Responsibility:Both
                                Conduct review meeting
                                status<select class="form-control w100"
                                id="conduct-review-meeting">
                                     <option>
                                        Not started
                                    </option>
                                    <option>
                                        In progress
                                    </option>
                                    <option>
                                        Completed
                                    </option>
                                    <option>
                                        Not applicable
                                    </option>
                                </select>

                                Task:Apply for a
                                job
                                Due
                                date:13 July 2015
                                Responsibility:Bob
                                Apply for a job
                                status:Completed

Now save your changes

This sends an update to your adviser if you have made
                    any changes.

                        <input class="button" type="submit" value=
                        "Save and continue">

or cancel and
                    return to your account.

                </form>

                    Is there anything wrong with this
                    page?

Help us improve

Don't include personal or financial information, eg your
                    National Insurance number or credit card details.

                    <form>

                            What you were doing
                            <input class="form-control" id=
                            "What-you-were-doing" name="What-you-were-doing"
                            type="text">

                            What went wrong
                            <input class="form-control" id="What-went-wrong"
                            name="What-went-wrong" type="text">

If you have more extensive feedback, visit the
                        contact page.

                            <input class="button" type="submit" value="Send">

                    </form>

                            Contact us

                            Privacy and cookies

                            Terms and conditions

Built by the
                            Skills Funding Agency

Open Government Licence

All content is available under the Open Government Licence v3.0, except
                        where otherwise stated

                    © Crown copyright


text:
interface Options {
    classMapping?: { [className: string]: string };
    libraryName?: string;
    includeDocumentation?: boolean;
    files: string[];
}
interface RouteDefinition {
    method: Method;
    name: string;
    func: Function;
}

export class Routes {
    routeDefinitions: RouteDefinition[];
    basePath: string;
}

export function getGeneratedCode(options: Options): string;
export function Get(route?: string): (target: Routes, methodName: string, descriptor: TypedPropertyDescriptor<(obj?: any) => any>) => void;
export function Post(route?: string): (target: Routes, methodName: string, descriptor: TypedPropertyDescriptor<(sentObject: any) => any>) => void;
export function Use(basePath?: string): (target: typeof Routes) => void;

declare const enum Method {
    Get = 0,
    Post = 1
}

redpajama_set_name: RedPajamaGithub


text:
package org.weakref.jmx;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

public class CustomNestedAnnotationObject extends NestedObject
{
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.METHOD)
    @Nested
    public @interface CustomNested
    {
        String description() default "";
    }

    @Override
    @CustomNested
    public SimpleObject getSimpleObject()
    {
        return super.getSimpleObject();
    }
}


text:
source conf/drillTestConfig.properties

set -x
set -e

if [ ! -d ${DRILL_TEST_DATA_DIR}/Datasources/schema_change_empty_batch/data/json/part ]
    then

        echo "Creating directory ${DRILL_TEST_DATA_DIR}/Datasources/schema_change_empty_batch/data/json/part"

        mkdir ${DRILL_TEST_DATA_DIR}/Datasources/schema_change_empty_batch/data/json/part

        echo "Creating directory ${DRILL_TEST_DATA_DIR}/Datasources/schema_change_empty_batch/data/json/partsupp"

        mkdir ${DRILL_TEST_DATA_DIR}/Datasources/schema_change_empty_batch/data/json/partsupp

        echo "Creating directory ${DRILL_TEST_DATA_DIR}/Datasources/schema_change_empty_batch/data/json/empty"

        mkdir ${DRILL_TEST_DATA_DIR}/Datasources/schema_change_empty_batch/data/json/empty

        echo "Creating source files"

        split -l 5000 ${DRILL_TEST_DATA_DIR}/Datasources/schema_change_empty_batch/data/json/part.json ${DRILL_TEST_DATA_DIR}/Datasources/schema_change_empty_batch/data/json/part/part

        split -l 20000 ${DRILL_TEST_DATA_DIR}/Datasources/schema_change_empty_batch/data/json/partsupp.json ${DRILL_TEST_DATA_DIR}/Datasources/schema_change_empty_batch/data/json/partsupp/partsupp

        find ${DRILL_TEST_DATA_DIR}/Datasources/schema_change_empty_batch/data/json/part/ -type f ! -name "*.*" -exec mv {} {}.json \;

        find ${DRILL_TEST_DATA_DIR}/Datasources/schema_change_empty_batch/data/json/partsupp/ -type f ! -name "*.*" -exec mv {} {}.json \;

        echo "Creating empty files"

        touch ${DRILL_TEST_DATA_DIR}/Datasources/schema_change_empty_batch/data/json/part/parta{f..h}.json

        touch ${DRILL_TEST_DATA_DIR}/Datasources/schema_change_empty_batch/data/json/partsupp/partsuppa{f..h}.json

        touch ${DRILL_TEST_DATA_DIR}/Datasources/schema_change_empty_batch/data/json/empty/empty{a..d}.json

fi

if ! $(hadoop fs -test -d ${DRILL_TESTDATA}/schema_change_empty_batch/json)
    then

        echo "Copying to hadoop"

        hadoop fs -mkdir -p ${DRILL_TESTDATA}/schema_change_empty_batch/json

        hadoop fs -put ${DRILL_TEST_DATA_DIR}/Datasources/schema_change_empty_batch/data/json/part ${DRILL_TESTDATA}/schema_change_empty_batch/json/

        hadoop fs -put ${DRILL_TEST_DATA_DIR}/Datasources/schema_change_empty_batch/data/json/partsupp ${DRILL_TESTDATA}/schema_change_empty_batch/json/

        hadoop fs -put ${DRILL_TEST_DATA_DIR}/Datasources/schema_change_empty_batch/data/json/empty ${DRILL_TESTDATA}/schema_change_empty_batch/json/

        hadoop fs -put ${DRILL_TEST_DATA_DIR}/Datasources/schema_change_empty_batch/data/json/part_small ${DRILL_TESTDATA}/schema_change_empty_batch/json/

fi

set +x


text:
/*
一个简单的新手练习,借鉴了网上的许多代码
material-design button
2015.8.2
 */
;(function(window, document, undefined) {

  "use strict";

  var NAME = 'mdbtn';
  var process = [],
    isProcess = false,
    lastTime,
    currentTime,
    mousedown = false,
    hideDelay = 1000;
    /*
    初始化每个button里的canvas并添加点击事件监听
     */
  var mdbtn = {
    elements: 'mdbtn',
    option: {
      color: '#222222',//圆圈的颜色
      pressColor: '#888888',//按下后按键的颜色
      showPressColor: false,
      processStep: 80,//步长的倒数
    },
  };
  mdbtn.setOption = function  (opt) {
    for(var key in opt){
      if(typeof(this.option[key]) != undefined){
        this.option[key] = opt[key];
      }
    }
  }
  mdbtn.init = function (elements, option) {
    if(elements){this.elements = elements;}
    if(option){this.setOption(option);}
    var containers = document.getElementsByClassName(this.elements);
    var canvas = null;
    for (var i = 0; i < containers.length; i ++) {
      containers[i].style.position = "relative";
      containers[i].setAttribute('style',containers[i].getAttribute("style") + ";overflow:hidden !important;");
      // console.log(parseInt(getCurrentStyle(containers[i],'border-radius')));
      // if(!parseInt(getCurrentStyle(containers[i],'border-radius'))){containers[i].style.borderRadius = "0";}
      canvas = document.createElement('canvas');
      containers[i].appendChild(canvas);
      canvas.style.width ='100%';
      canvas.style.height='100%';
      canvas.style.opacity = 0.25;
      canvas.style.position = "absolute";
      canvas.style.top = 0;
      canvas.style.left = 0;
      canvas.width = canvas.offsetWidth;
      canvas.height = canvas.offsetHeight;
      canvas.setAttribute("index",i);
      //添加鼠标事件
      containers[i].addEventListener('mousedown', function    (event) {
        mousedown = true;
        var canvas = null;
        //这里似乎chrome和Firefox、IE识别到event.target不一样,然而并不知道原因
        if(event.target.tagName == 'CANVAS'){
          canvas = event.target;
        }else{
          canvas = event.target.getElementsByTagName('canvas')[0];
        }
        press(event,canvas);
      },false);
      containers[i].addEventListener('mouseup',function   (event) {
        if(mousedown){
          hideDelay = 0;
          lastTime = new Date().getTime();
          mousedown = false;
        }
      },false);
      containers[i].addEventListener('mouseleave',function    (event) {
        if(mousedown){
          hideDelay = 150;
          lastTime = new Date().getTime();
          mousedown = false;
        }
      },false);
    }
  };
  // mdbtn.refresh = function  (option) {
  //   if(option){this.setOption(option);}
  //   var containers = document.getElementsByClassName(this.elements);
  //   var canvas = null;
  //   for (var i = 0; i < containers.length; i ++) {
  //     if(containers[i].getAttribute('index'))
  //     containers[i].style.position = "relative";
  //     containers[i].setAttribute('style',containers[i].getAttribute("style") + ";overflow:hidden !important;");
  //     // console.log(parseInt(getCurrentStyle(containers[i],'border-radius')));
  //     // if(!parseInt(getCurrentStyle(containers[i],'border-radius'))){containers[i].style.borderRadius = "0";}
  //     canvas = document.createElement('canvas');
  //     containers[i].appendChild(canvas);
  //     canvas.style.width ='100%';
  //     canvas.style.height='100%';
  //     canvas.style.opacity = 0.25;
  //     canvas.style.position = "absolute";
  //     canvas.style.top = 0;
  //     canvas.style.left = 0;
  //     canvas.width = canvas.offsetWidth;
  //     canvas.height = canvas.offsetHeight;
  //     canvas.setAttribute("index",i);
  //     //添加鼠标事件
  //     containers[i].addEventListener('mousedown', function    (event) {
  //       mousedown = true;
  //       var canvas = null;
  //       //这里似乎chrome和Firefox、IE识别到event.target不一样,然而并不知道原因
  //       if(event.target.tagName == 'CANVAS'){
  //         canvas = event.target;
  //       }else{
  //         canvas = event.target.getElementsByTagName('canvas')[0];
  //       }
  //       press(event,canvas);
  //     },false);
  //     containers[i].addEventListener('mouseup',function   (event) {
  //       if(mousedown){
  //         hideDelay = 0;
  //         lastTime = new Date().getTime();
  //         mousedown = false;
  //       }
  //     },false);
  //     containers[i].addEventListener('mouseleave',function    (event) {
  //       if(mousedown){
  //         hideDelay = 150;
  //         lastTime = new Date().getTime();
  //         mousedown = false;
  //       }
  //     },false);
  //   }
  // }

  /*
  按键事件
   */

  var press = function (event,canvas) {
    hideDelay = 800;
    var color = canvas.parentNode.dataset.color || "#222",
      element = canvas,
      context = element.getContext('2d'),
      centerX = event.offsetX,
      centerY = event.offsetY,
      index = parseInt(element.getAttribute('index'));
    var singleMdbtnElement = new singleMdbtn(color,element,context,centerX,centerY,index);
    var j = -1;
    //当点击了其他按钮时上个按钮自动进入autoClear的状态
    for(var i = 0;i<process.length;i++){
      process[i].autoClear = true;
      if(process[i].index == index){
        j = i;
        continue;
      }
    }
    //这里这样写我是为了处理队列长度但是方法似乎并不好
    if(j>=0){
      process[j].clear();
      process.splice(j,1);
    }
    process.push(singleMdbtnElement);
    lastTime = new Date().getTime();
    if(!isProcess){
      draw();
    }
  };

  /*
  绘图事件
   */
  var draw = function () {
    if(process.length>=1){
      isProcess = true;
      for(var i = 0;i<process.length;i++){
        if (process[i].autoClear) {
          process[i].setStep(10);
        };
        //当内部的阴影大于边框了就准备开始hide
        if(process[i].radius >= process[i].shadowRadius*Math.sqrt(2)){
          if(process[i].autoClear){
            process[i].hide();
            if(process[i].alpha<0){
            process[i].clear();
            process.splice(i,1);
            }
          }
        }else{
          process[i].draw();
        }
      }
      if(process.length == 1){
        currentTime = new Date().getTime();
        if ((currentTime - lastTime >= hideDelay) && !mousedown) {
          process[0].autoClear = true;
        };
      }
      requestNextFrame(draw);
    }else{
      isProcess = false;
    }
  },

  /*
  获取帧
   */
  requestNextFrame = function () {
    return (
      window.requestAnimationFrame    ||
      window.mozRequestAnimationFrame ||
      window.oRequestAnimationFrame   ||
      window.msRequestAnimationFrame  ||
      function (callback) {
        window.setTimeout(callback, 1000 / 60);
      }
    );
  } (),
  getCurrentStyle = function (obj, prop) {
    if (obj.currentStyle) {
        return obj.currentStyle[prop];
    }
    else if (window.getComputedStyle) {
        var propprop = prop.replace (/([A-Z])/g, '-$1');
        propprop = prop.toLowerCase ();
        return document.defaultView.getComputedStyle (obj,null)[prop];
    }
    return null;
  };

  /*
  按钮类
   */

  var singleMdbtn = function  (color,canvas,context,centerX,centerY,index) {
      this.init(color,canvas,context,centerX,centerY,index);
    };
  singleMdbtn.prototype = {
    init: function  (color,canvas,context,centerX,centerY,index) {
      this.color = color;
      this.alpha = 1;
      this.canvas = canvas;
      this.context = context;
      this.centerX = centerX;
      this.centerY = centerY;
      this.radius = 0;
      this.autoClear = false;
      this.index = index;
      this.shadowRadius = function(obj) {
        var max = obj.centerX;
        if(obj.centerY > max){max = obj.centerY;}
        if(obj.canvas.width-obj.centerX > max){max = obj.canvas.width-obj.centerX;}
        if(obj.canvas.height-obj.centerY > max){max = obj.canvas.height-obj.centerY;}
        return max;
      }(this);
      this.setStep(80);
    },
    draw: function  () {
      if(mdbtn.option.showPressColor){
        this.context.save();
        this.context.fillStyle = mdbtn.option.pressColor;
        this.context.fillRect(0,0,this.canvas.width,this.canvas.height);
        this.context.restore();
      }
      this.context.save();
      this.context.beginPath();
      this.context.arc(this.centerX, this.centerY, this.radius, 0, 2 * Math.PI, false);
      this.context.fillStyle = this.color;
      this.context.fill();
      this.context.restore();
      this.radius += this.radiusStep;
    },
    hide: function  () {
      this.clear();
      this.context.save();
      this.context.beginPath();
      this.context.arc(this.centerX, this.centerY, this.radius, 0, 2 * Math.PI, false);
      //这里处理透明度
      this.context.fillStyle = this.color.colorToRgba(this.alpha);
      this.context.fill();
      this.context.restore();
      this.alpha -=0.1;
    },
    clear: function () {
      this.context.clearRect(0, 0, this.canvas.width, this.canvas.height);
    },
    setStep: function   (percent) {
      var tpercent = percent || 80;
      this.radiusStep = (this.shadowRadius+(this.canvas.width>this.canvas.height?this.canvas.width:this.canvas.height))/2/tpercent > 2? (this.shadowRadius+(this.canvas.width>this.canvas.height?this.canvas.width:this.canvas.height))/2/tpercent : 2;
    }
  }

  /*
  colorToHex 出处: http://www.zhangxinxu.com/wordpress/2010/03/javascript-hex-rgb-hsl-color-convert/
  colorToRgba 由colorToRgb 修改扩展
   */

  var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  String.prototype.colorToHex = function(){
    var that = this;
    if(/^(rgb|RGB)/.test(that)){
      var aColor = that.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");
      var strHex = "#";
      for(var i=0; i<aColor.length; i++){
        if(Number(aColor[i])<16){
        var hex = "0" + Number(aColor[i]).toString(16);
        }else{
        var hex = Number(aColor[i]).toString(16);
        }
        strHex += hex;
      }
      if(strHex.length !== 7){
        strHex = that;
      }
      return strHex;
    }else if(reg.test(that)){
      var aNum = that.replace(/#/,"").split("");
      if(aNum.length === 6){
        return that.toString();
      }else if(aNum.length === 3){
        var numHex = "#";
        for(var i=0; i<aNum.length; i+=1){
          numHex += (aNum[i].toString()+aNum[i].toString());
        }
        return numHex;
      }
    }else{
      return that.toString();
    }
  };
  //这个函数的可以转入一个参数作为alpha值
  String.prototype.colorToRgba = function () {
    var tempA = arguments[0] || 1;
    var sColor = this.colorToHex().toLowerCase();
    if(sColor && reg.test(sColor)){
      var sColorChange = [];
      for(var i=1; i<7; i+=2){
        sColorChange.push(parseInt("0x" + sColor.slice(i,i+2)));
      }
      return "rgba(" + sColorChange.join(",") + "," + tempA + ")";
    }else{
      return sColor;
    }
  };

  window.onload = function () {
    mdbtn.init("mdbtn",{showPressColor:true});
  }
})(window, document);


text:
using System;
using System.Collections.Generic;
using System.Linq;

namespace LiteDB.Shell
{
    public class HelpAttribute : Attribute
    {
        public string Category { get; set; }
        public string Name { get; set; }
        public string Syntax { get; set; }
        public string Description { get; set; }
        public string[] Examples { get; set; } = new string[0];
    }
}


text:
#ifndef BOOT_COMPRESSED_MISC_H
#define BOOT_COMPRESSED_MISC_H

/*
 * we have to be careful, because no indirections are allowed here, and
 * paravirt_ops is a kind of one. As it will only run in baremetal anyway,
 * we just keep it from happening
 */
#undef CONFIG_PARAVIRT
#ifdef CONFIG_X86_32
#define _ASM_X86_DESC_H 1
#endif

#include <linux/linkage.h>
#include <linux/screen_info.h>
#include <linux/elf.h>
#include <linux/io.h>
#include <asm/page.h>
#include <asm/boot.h>
#include <asm/bootparam.h>
#include <asm/bootparam_utils.h>

#define BOOT_BOOT_H
#include "../ctype.h"

/* misc.c */
extern struct boot_params *real_mode;		/* Pointer to real-mode data */
void __putstr(const char *s);
#define error_putstr(__x)  __putstr(__x)

#ifdef CONFIG_X86_VERBOSE_BOOTUP

#define debug_putstr(__x)  __putstr(__x)

#else

static inline void debug_putstr(const char *s)
{ }

#endif

#ifdef CONFIG_EARLY_PRINTK

/* cmdline.c */
int cmdline_find_option(const char *option, char *buffer, int bufsize);
int cmdline_find_option_bool(const char *option);

/* early_serial_console.c */
extern int early_serial_base;
void console_init(void);

#else

/* early_serial_console.c */
static const int early_serial_base;
static inline void console_init(void)
{ }

#endif

#endif


text:
{% extends "admin/index.html" %}
{% load i18n %}

{% block bodyclass %}app-{{ app_label }} {{ block.super }}{% endblock %}

{% if not is_popup %}
{% block breadcrumbs %}

{% trans 'Home' %}
›
{% for app in app_list %}
{{ app.name }}
{% endfor %}

{% endblock %}
{% endif %}

{% block sidebar %}{% endblock %}


text:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <title>Index — RESThub 1.1.3 documentation</title>

    <link rel="stylesheet" href="static/resthub.css" type="text/css" />
    <link rel="stylesheet" href="static/pygments.css" type="text/css" />

    <link rel="top" title="RESThub 1.1.3 documentation" href="index.html" />

Navigation

          index

RESThub 1.1.3 documentation »

Index

Related Topics

Documentation overview

Quick search

    <form class="search" action="search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>

    Enter search terms or a module, class or function name.

      © Copyright 2011, pullrequest.org.
      Created using Sphinx.


text:
package com.amazonaws.services.organizations.model;

import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 *

 * Contains the status about a CreateAccount or CreateGovCloudAccount request to create an Amazon Web
 * Services account or an Amazon Web Services GovCloud (US) account in an organization.
 *

 *
 * @see AWS
 *      API Documentation
 */
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class CreateAccountStatus implements Serializable, Cloneable, StructuredPojo {

    /**
     *

     * The unique identifier (ID) that references this request. You get this value from the response of the initial
     * CreateAccount request to create the account.
     *

     *

     * The regex pattern for a create account request ID string requires
     * "car-" followed by from 8 to 32 lowercase letters or digits.
     *

     */
    private String id;
    /**
     *

     * The account name given to the account when it was created.
     *

     */
    private String accountName;
    /**
     *

     * The status of the asynchronous request to create an Amazon Web Services account.
     *

     */
    private String state;
    /**
     *

     * The date and time that the request was made for the account creation.
     *

     */
    private java.util.Date requestedTimestamp;
    /**
     *

     * The date and time that the account was created and the request completed.
     *

     */
    private java.util.Date completedTimestamp;
    /**
     *

     * If the account was created successfully, the unique identifier (ID) of the new account.
     *

     *

     * The regex pattern for an account ID string requires exactly 12
     * digits.
     *

     */
    private String accountId;
    /**
     *

     * If the account was created successfully, the unique identifier (ID) of the new account in the Amazon Web Services
     * GovCloud (US) Region.
     *

     */
    private String govCloudAccountId;
    /**
     *

     * If the request failed, a description of the reason for the failure.
     *

     *

     *

     *

     * ACCOUNT_LIMIT_EXCEEDED: The account couldn't be created because you reached the limit on the number of accounts
     * in your organization.
     *

     *

     *

     *

     * CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.
     *

     *

     *

     *

     * EMAIL_ALREADY_EXISTS: The account could not be created because another Amazon Web Services account with that
     * email address already exists.
     *

     *

     *

     *

     * FAILED_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization failed to receive
     * business license validation.
     *

     *

     *

     *

     * GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the Amazon Web Services GovCloud (US) Region could not be created
     * because this Region already includes an account with that email address.
     *

     *

     *

     *

     * IDENTITY_INVALID_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization can't complete
     * business license validation because it doesn't have valid identity data.
     *

     *

     *

     *

     * INVALID_ADDRESS: The account could not be created because the address you provided is not valid.
     *

     *

     *

     *

     * INVALID_EMAIL: The account could not be created because the email address you provided is not valid.
     *

     *

     *

     *

     * INVALID_PAYMENT_INSTRUMENT: The Amazon Web Services account that owns your organization does not have a supported
     * payment method associated with the account. Amazon Web Services does not support cards issued by financial
     * institutions in Russia or Belarus. For more information, see Managing your Amazon Web
     * Services payments.
     *

     *

     *

     *

     * INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the
     * problem persists, contact Amazon Web Services Customer Support.
     *

     *

     *

     *

     * MISSING_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization has not received
     * Business Validation.
     *

     *

     *

     *

     * MISSING_PAYMENT_INSTRUMENT: You must configure the management account with a valid payment method, such as a
     * credit card.
     *

     *

     *

     *

     * PENDING_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization is still in the process
     * of completing business license validation.
     *

     *

     *

     *

     * UNKNOWN_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization has an unknown issue
     * with business license validation.
     *

     *

     *

     */
    private String failureReason;

    /**
     *

     * The unique identifier (ID) that references this request. You get this value from the response of the initial
     * CreateAccount request to create the account.
     *

     *

     * The regex pattern for a create account request ID string requires
     * "car-" followed by from 8 to 32 lowercase letters or digits.
     *

     *
     * @param id
     *        The unique identifier (ID) that references this request. You get this value from the response of the
     *        initial CreateAccount request to create the account.

     *

     *        The regex pattern for a create account request ID string
     *        requires "car-" followed by from 8 to 32 lowercase letters or digits.
     */

    public void setId(String id) {
        this.id = id;
    }

    /**
     *

     * The unique identifier (ID) that references this request. You get this value from the response of the initial
     * CreateAccount request to create the account.
     *

     *

     * The regex pattern for a create account request ID string requires
     * "car-" followed by from 8 to 32 lowercase letters or digits.
     *

     *
     * @return The unique identifier (ID) that references this request. You get this value from the response of the
     *         initial CreateAccount request to create the account.

     *

     *         The regex pattern for a create account request ID string
     *         requires "car-" followed by from 8 to 32 lowercase letters or digits.
     */

    public String getId() {
        return this.id;
    }

    /**
     *

     * The unique identifier (ID) that references this request. You get this value from the response of the initial
     * CreateAccount request to create the account.
     *

     *

     * The regex pattern for a create account request ID string requires
     * "car-" followed by from 8 to 32 lowercase letters or digits.
     *

     *
     * @param id
     *        The unique identifier (ID) that references this request. You get this value from the response of the
     *        initial CreateAccount request to create the account.

     *

     *        The regex pattern for a create account request ID string
     *        requires "car-" followed by from 8 to 32 lowercase letters or digits.
     * @return Returns a reference to this object so that method calls can be chained together.
     */

    public CreateAccountStatus withId(String id) {
        setId(id);
        return this;
    }

    /**
     *

     * The account name given to the account when it was created.
     *

     *
     * @param accountName
     *        The account name given to the account when it was created.
     */

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    /**
     *

     * The account name given to the account when it was created.
     *

     *
     * @return The account name given to the account when it was created.
     */

    public String getAccountName() {
        return this.accountName;
    }

    /**
     *

     * The account name given to the account when it was created.
     *

     *
     * @param accountName
     *        The account name given to the account when it was created.
     * @return Returns a reference to this object so that method calls can be chained together.
     */

    public CreateAccountStatus withAccountName(String accountName) {
        setAccountName(accountName);
        return this;
    }

    /**
     *

     * The status of the asynchronous request to create an Amazon Web Services account.
     *

     *
     * @param state
     *        The status of the asynchronous request to create an Amazon Web Services account.
     * @see CreateAccountState
     */

    public void setState(String state) {
        this.state = state;
    }

    /**
     *

     * The status of the asynchronous request to create an Amazon Web Services account.
     *

     *
     * @return The status of the asynchronous request to create an Amazon Web Services account.
     * @see CreateAccountState
     */

    public String getState() {
        return this.state;
    }

    /**
     *

     * The status of the asynchronous request to create an Amazon Web Services account.
     *

     *
     * @param state
     *        The status of the asynchronous request to create an Amazon Web Services account.
     * @return Returns a reference to this object so that method calls can be chained together.
     * @see CreateAccountState
     */

    public CreateAccountStatus withState(String state) {
        setState(state);
        return this;
    }

    /**
     *

     * The status of the asynchronous request to create an Amazon Web Services account.
     *

     *
     * @param state
     *        The status of the asynchronous request to create an Amazon Web Services account.
     * @see CreateAccountState
     */

    public void setState(CreateAccountState state) {
        withState(state);
    }

    /**
     *

     * The status of the asynchronous request to create an Amazon Web Services account.
     *

     *
     * @param state
     *        The status of the asynchronous request to create an Amazon Web Services account.
     * @return Returns a reference to this object so that method calls can be chained together.
     * @see CreateAccountState
     */

    public CreateAccountStatus withState(CreateAccountState state) {
        this.state = state.toString();
        return this;
    }

    /**
     *

     * The date and time that the request was made for the account creation.
     *

     *
     * @param requestedTimestamp
     *        The date and time that the request was made for the account creation.
     */

    public void setRequestedTimestamp(java.util.Date requestedTimestamp) {
        this.requestedTimestamp = requestedTimestamp;
    }

    /**
     *

     * The date and time that the request was made for the account creation.
     *

     *
     * @return The date and time that the request was made for the account creation.
     */

    public java.util.Date getRequestedTimestamp() {
        return this.requestedTimestamp;
    }

    /**
     *

     * The date and time that the request was made for the account creation.
     *

     *
     * @param requestedTimestamp
     *        The date and time that the request was made for the account creation.
     * @return Returns a reference to this object so that method calls can be chained together.
     */

    public CreateAccountStatus withRequestedTimestamp(java.util.Date requestedTimestamp) {
        setRequestedTimestamp(requestedTimestamp);
        return this;
    }

    /**
     *

     * The date and time that the account was created and the request completed.
     *

     *
     * @param completedTimestamp
     *        The date and time that the account was created and the request completed.
     */

    public void setCompletedTimestamp(java.util.Date completedTimestamp) {
        this.completedTimestamp = completedTimestamp;
    }

    /**
     *

     * The date and time that the account was created and the request completed.
     *

     *
     * @return The date and time that the account was created and the request completed.
     */

    public java.util.Date getCompletedTimestamp() {
        return this.completedTimestamp;
    }

    /**
     *

     * The date and time that the account was created and the request completed.
     *

     *
     * @param completedTimestamp
     *        The date and time that the account was created and the request completed.
     * @return Returns a reference to this object so that method calls can be chained together.
     */

    public CreateAccountStatus withCompletedTimestamp(java.util.Date completedTimestamp) {
        setCompletedTimestamp(completedTimestamp);
        return this;
    }

    /**
     *

     * If the account was created successfully, the unique identifier (ID) of the new account.
     *

     *

     * The regex pattern for an account ID string requires exactly 12
     * digits.
     *

     *
     * @param accountId
     *        If the account was created successfully, the unique identifier (ID) of the new account.

     *

     *        The regex pattern for an account ID string requires exactly
     *        12 digits.
     */

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    /**
     *

     * If the account was created successfully, the unique identifier (ID) of the new account.
     *

     *

     * The regex pattern for an account ID string requires exactly 12
     * digits.
     *

     *
     * @return If the account was created successfully, the unique identifier (ID) of the new account.

     *

     *         The regex pattern for an account ID string requires exactly
     *         12 digits.
     */

    public String getAccountId() {
        return this.accountId;
    }

    /**
     *

     * If the account was created successfully, the unique identifier (ID) of the new account.
     *

     *

     * The regex pattern for an account ID string requires exactly 12
     * digits.
     *

     *
     * @param accountId
     *        If the account was created successfully, the unique identifier (ID) of the new account.

     *

     *        The regex pattern for an account ID string requires exactly
     *        12 digits.
     * @return Returns a reference to this object so that method calls can be chained together.
     */

    public CreateAccountStatus withAccountId(String accountId) {
        setAccountId(accountId);
        return this;
    }

    /**
     *

     * If the account was created successfully, the unique identifier (ID) of the new account in the Amazon Web Services
     * GovCloud (US) Region.
     *

     *
     * @param govCloudAccountId
     *        If the account was created successfully, the unique identifier (ID) of the new account in the Amazon Web
     *        Services GovCloud (US) Region.
     */

    public void setGovCloudAccountId(String govCloudAccountId) {
        this.govCloudAccountId = govCloudAccountId;
    }

    /**
     *

     * If the account was created successfully, the unique identifier (ID) of the new account in the Amazon Web Services
     * GovCloud (US) Region.
     *

     *
     * @return If the account was created successfully, the unique identifier (ID) of the new account in the Amazon Web
     *         Services GovCloud (US) Region.
     */

    public String getGovCloudAccountId() {
        return this.govCloudAccountId;
    }

    /**
     *

     * If the account was created successfully, the unique identifier (ID) of the new account in the Amazon Web Services
     * GovCloud (US) Region.
     *

     *
     * @param govCloudAccountId
     *        If the account was created successfully, the unique identifier (ID) of the new account in the Amazon Web
     *        Services GovCloud (US) Region.
     * @return Returns a reference to this object so that method calls can be chained together.
     */

    public CreateAccountStatus withGovCloudAccountId(String govCloudAccountId) {
        setGovCloudAccountId(govCloudAccountId);
        return this;
    }

    /**
     *

     * If the request failed, a description of the reason for the failure.
     *

     *

     *

     *

     * ACCOUNT_LIMIT_EXCEEDED: The account couldn't be created because you reached the limit on the number of accounts
     * in your organization.
     *

     *

     *

     *

     * CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.
     *

     *

     *

     *

     * EMAIL_ALREADY_EXISTS: The account could not be created because another Amazon Web Services account with that
     * email address already exists.
     *

     *

     *

     *

     * FAILED_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization failed to receive
     * business license validation.
     *

     *

     *

     *

     * GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the Amazon Web Services GovCloud (US) Region could not be created
     * because this Region already includes an account with that email address.
     *

     *

     *

     *

     * IDENTITY_INVALID_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization can't complete
     * business license validation because it doesn't have valid identity data.
     *

     *

     *

     *

     * INVALID_ADDRESS: The account could not be created because the address you provided is not valid.
     *

     *

     *

     *

     * INVALID_EMAIL: The account could not be created because the email address you provided is not valid.
     *

     *

     *

     *

     * INVALID_PAYMENT_INSTRUMENT: The Amazon Web Services account that owns your organization does not have a supported
     * payment method associated with the account. Amazon Web Services does not support cards issued by financial
     * institutions in Russia or Belarus. For more information, see Managing your Amazon Web
     * Services payments.
     *

     *

     *

     *

     * INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the
     * problem persists, contact Amazon Web Services Customer Support.
     *

     *

     *

     *

     * MISSING_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization has not received
     * Business Validation.
     *

     *

     *

     *

     * MISSING_PAYMENT_INSTRUMENT: You must configure the management account with a valid payment method, such as a
     * credit card.
     *

     *

     *

     *

     * PENDING_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization is still in the process
     * of completing business license validation.
     *

     *

     *

     *

     * UNKNOWN_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization has an unknown issue
     * with business license validation.
     *

     *

     *

     *
     * @param failureReason
     *        If the request failed, a description of the reason for the failure.

     *

     *

     *

     *        ACCOUNT_LIMIT_EXCEEDED: The account couldn't be created because you reached the limit on the number of
     *        accounts in your organization.
     *

     *

     *

     *

     *        CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.
     *

     *

     *

     *

     *        EMAIL_ALREADY_EXISTS: The account could not be created because another Amazon Web Services account with
     *        that email address already exists.
     *

     *

     *

     *

     *        FAILED_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization failed to receive
     *        business license validation.
     *

     *

     *

     *

     *        GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the Amazon Web Services GovCloud (US) Region could not be
     *        created because this Region already includes an account with that email address.
     *

     *

     *

     *

     *        IDENTITY_INVALID_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization can't
     *        complete business license validation because it doesn't have valid identity data.
     *

     *

     *

     *

     *        INVALID_ADDRESS: The account could not be created because the address you provided is not valid.
     *

     *

     *

     *

     *        INVALID_EMAIL: The account could not be created because the email address you provided is not valid.
     *

     *

     *

     *

     *        INVALID_PAYMENT_INSTRUMENT: The Amazon Web Services account that owns your organization does not have a
     *        supported payment method associated with the account. Amazon Web Services does not support cards issued by
     *        financial institutions in Russia or Belarus. For more information, see Managing your
     *        Amazon Web Services payments.
     *

     *

     *

     *

     *        INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the
     *        problem persists, contact Amazon Web Services Customer Support.
     *

     *

     *

     *

     *        MISSING_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization has not received
     *        Business Validation.
     *

     *

     *

     *

     *        MISSING_PAYMENT_INSTRUMENT: You must configure the management account with a valid payment method, such as
     *        a credit card.
     *

     *

     *

     *

     *        PENDING_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization is still in the
     *        process of completing business license validation.
     *

     *

     *

     *

     *        UNKNOWN_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization has an unknown
     *        issue with business license validation.
     *

     *

     * @see CreateAccountFailureReason
     */

    public void setFailureReason(String failureReason) {
        this.failureReason = failureReason;
    }

    /**
     *

     * If the request failed, a description of the reason for the failure.
     *

     *

     *

     *

     * ACCOUNT_LIMIT_EXCEEDED: The account couldn't be created because you reached the limit on the number of accounts
     * in your organization.
     *

     *

     *

     *

     * CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.
     *

     *

     *

     *

     * EMAIL_ALREADY_EXISTS: The account could not be created because another Amazon Web Services account with that
     * email address already exists.
     *

     *

     *

     *

     * FAILED_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization failed to receive
     * business license validation.
     *

     *

     *

     *

     * GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the Amazon Web Services GovCloud (US) Region could not be created
     * because this Region already includes an account with that email address.
     *

     *

     *

     *

     * IDENTITY_INVALID_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization can't complete
     * business license validation because it doesn't have valid identity data.
     *

     *

     *

     *

     * INVALID_ADDRESS: The account could not be created because the address you provided is not valid.
     *

     *

     *

     *

     * INVALID_EMAIL: The account could not be created because the email address you provided is not valid.
     *

     *

     *

     *

     * INVALID_PAYMENT_INSTRUMENT: The Amazon Web Services account that owns your organization does not have a supported
     * payment method associated with the account. Amazon Web Services does not support cards issued by financial
     * institutions in Russia or Belarus. For more information, see Managing your Amazon Web
     * Services payments.
     *

     *

     *

     *

     * INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the
     * problem persists, contact Amazon Web Services Customer Support.
     *

     *

     *

     *

     * MISSING_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization has not received
     * Business Validation.
     *

     *

     *

     *

     * MISSING_PAYMENT_INSTRUMENT: You must configure the management account with a valid payment method, such as a
     * credit card.
     *

     *

     *

     *

     * PENDING_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization is still in the process
     * of completing business license validation.
     *

     *

     *

     *

     * UNKNOWN_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization has an unknown issue
     * with business license validation.
     *

     *

     *

     *
     * @return If the request failed, a description of the reason for the failure.

     *

     *

     *

     *         ACCOUNT_LIMIT_EXCEEDED: The account couldn't be created because you reached the limit on the number of
     *         accounts in your organization.
     *

     *

     *

     *

     *         CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.
     *

     *

     *

     *

     *         EMAIL_ALREADY_EXISTS: The account could not be created because another Amazon Web Services account with
     *         that email address already exists.
     *

     *

     *

     *

     *         FAILED_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization failed to receive
     *         business license validation.
     *

     *

     *

     *

     *         GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the Amazon Web Services GovCloud (US) Region could not be
     *         created because this Region already includes an account with that email address.
     *

     *

     *

     *

     *         IDENTITY_INVALID_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization can't
     *         complete business license validation because it doesn't have valid identity data.
     *

     *

     *

     *

     *         INVALID_ADDRESS: The account could not be created because the address you provided is not valid.
     *

     *

     *

     *

     *         INVALID_EMAIL: The account could not be created because the email address you provided is not valid.
     *

     *

     *

     *

     *         INVALID_PAYMENT_INSTRUMENT: The Amazon Web Services account that owns your organization does not have a
     *         supported payment method associated with the account. Amazon Web Services does not support cards issued
     *         by financial institutions in Russia or Belarus. For more information, see Managing your
     *         Amazon Web Services payments.
     *

     *

     *

     *

     *         INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If
     *         the problem persists, contact Amazon Web Services Customer Support.
     *

     *

     *

     *

     *         MISSING_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization has not received
     *         Business Validation.
     *

     *

     *

     *

     *         MISSING_PAYMENT_INSTRUMENT: You must configure the management account with a valid payment method, such
     *         as a credit card.
     *

     *

     *

     *

     *         PENDING_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization is still in the
     *         process of completing business license validation.
     *

     *

     *

     *

     *         UNKNOWN_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization has an unknown
     *         issue with business license validation.
     *

     *

     * @see CreateAccountFailureReason
     */

    public String getFailureReason() {
        return this.failureReason;
    }

    /**
     *

     * If the request failed, a description of the reason for the failure.
     *

     *

     *

     *

     * ACCOUNT_LIMIT_EXCEEDED: The account couldn't be created because you reached the limit on the number of accounts
     * in your organization.
     *

     *

     *

     *

     * CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.
     *

     *

     *

     *

     * EMAIL_ALREADY_EXISTS: The account could not be created because another Amazon Web Services account with that
     * email address already exists.
     *

     *

     *

     *

     * FAILED_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization failed to receive
     * business license validation.
     *

     *

     *

     *

     * GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the Amazon Web Services GovCloud (US) Region could not be created
     * because this Region already includes an account with that email address.
     *

     *

     *

     *

     * IDENTITY_INVALID_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization can't complete
     * business license validation because it doesn't have valid identity data.
     *

     *

     *

     *

     * INVALID_ADDRESS: The account could not be created because the address you provided is not valid.
     *

     *

     *

     *

     * INVALID_EMAIL: The account could not be created because the email address you provided is not valid.
     *

     *

     *

     *

     * INVALID_PAYMENT_INSTRUMENT: The Amazon Web Services account that owns your organization does not have a supported
     * payment method associated with the account. Amazon Web Services does not support cards issued by financial
     * institutions in Russia or Belarus. For more information, see Managing your Amazon Web
     * Services payments.
     *

     *

     *

     *

     * INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the
     * problem persists, contact Amazon Web Services Customer Support.
     *

     *

     *

     *

     * MISSING_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization has not received
     * Business Validation.
     *

     *

     *

     *

     * MISSING_PAYMENT_INSTRUMENT: You must configure the management account with a valid payment method, such as a
     * credit card.
     *

     *

     *

     *

     * PENDING_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization is still in the process
     * of completing business license validation.
     *

     *

     *

     *

     * UNKNOWN_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization has an unknown issue
     * with business license validation.
     *

     *

     *

     *
     * @param failureReason
     *        If the request failed, a description of the reason for the failure.

     *

     *

     *

     *        ACCOUNT_LIMIT_EXCEEDED: The account couldn't be created because you reached the limit on the number of
     *        accounts in your organization.
     *

     *

     *

     *

     *        CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.
     *

     *

     *

     *

     *        EMAIL_ALREADY_EXISTS: The account could not be created because another Amazon Web Services account with
     *        that email address already exists.
     *

     *

     *

     *

     *        FAILED_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization failed to receive
     *        business license validation.
     *

     *

     *

     *

     *        GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the Amazon Web Services GovCloud (US) Region could not be
     *        created because this Region already includes an account with that email address.
     *

     *

     *

     *

     *        IDENTITY_INVALID_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization can't
     *        complete business license validation because it doesn't have valid identity data.
     *

     *

     *

     *

     *        INVALID_ADDRESS: The account could not be created because the address you provided is not valid.
     *

     *

     *

     *

     *        INVALID_EMAIL: The account could not be created because the email address you provided is not valid.
     *

     *

     *

     *

     *        INVALID_PAYMENT_INSTRUMENT: The Amazon Web Services account that owns your organization does not have a
     *        supported payment method associated with the account. Amazon Web Services does not support cards issued by
     *        financial institutions in Russia or Belarus. For more information, see Managing your
     *        Amazon Web Services payments.
     *

     *

     *

     *

     *        INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the
     *        problem persists, contact Amazon Web Services Customer Support.
     *

     *

     *

     *

     *        MISSING_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization has not received
     *        Business Validation.
     *

     *

     *

     *

     *        MISSING_PAYMENT_INSTRUMENT: You must configure the management account with a valid payment method, such as
     *        a credit card.
     *

     *

     *

     *

     *        PENDING_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization is still in the
     *        process of completing business license validation.
     *

     *

     *

     *

     *        UNKNOWN_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization has an unknown
     *        issue with business license validation.
     *

     *

     * @return Returns a reference to this object so that method calls can be chained together.
     * @see CreateAccountFailureReason
     */

    public CreateAccountStatus withFailureReason(String failureReason) {
        setFailureReason(failureReason);
        return this;
    }

    /**
     *

     * If the request failed, a description of the reason for the failure.
     *

     *

     *

     *

     * ACCOUNT_LIMIT_EXCEEDED: The account couldn't be created because you reached the limit on the number of accounts
     * in your organization.
     *

     *

     *

     *

     * CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.
     *

     *

     *

     *

     * EMAIL_ALREADY_EXISTS: The account could not be created because another Amazon Web Services account with that
     * email address already exists.
     *

     *

     *

     *

     * FAILED_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization failed to receive
     * business license validation.
     *

     *

     *

     *

     * GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the Amazon Web Services GovCloud (US) Region could not be created
     * because this Region already includes an account with that email address.
     *

     *

     *

     *

     * IDENTITY_INVALID_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization can't complete
     * business license validation because it doesn't have valid identity data.
     *

     *

     *

     *

     * INVALID_ADDRESS: The account could not be created because the address you provided is not valid.
     *

     *

     *

     *

     * INVALID_EMAIL: The account could not be created because the email address you provided is not valid.
     *

     *

     *

     *

     * INVALID_PAYMENT_INSTRUMENT: The Amazon Web Services account that owns your organization does not have a supported
     * payment method associated with the account. Amazon Web Services does not support cards issued by financial
     * institutions in Russia or Belarus. For more information, see Managing your Amazon Web
     * Services payments.
     *

     *

     *

     *

     * INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the
     * problem persists, contact Amazon Web Services Customer Support.
     *

     *

     *

     *

     * MISSING_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization has not received
     * Business Validation.
     *

     *

     *

     *

     * MISSING_PAYMENT_INSTRUMENT: You must configure the management account with a valid payment method, such as a
     * credit card.
     *

     *

     *

     *

     * PENDING_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization is still in the process
     * of completing business license validation.
     *

     *

     *

     *

     * UNKNOWN_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization has an unknown issue
     * with business license validation.
     *

     *

     *

     *
     * @param failureReason
     *        If the request failed, a description of the reason for the failure.

     *

     *

     *

     *        ACCOUNT_LIMIT_EXCEEDED: The account couldn't be created because you reached the limit on the number of
     *        accounts in your organization.
     *

     *

     *

     *

     *        CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.
     *

     *

     *

     *

     *        EMAIL_ALREADY_EXISTS: The account could not be created because another Amazon Web Services account with
     *        that email address already exists.
     *

     *

     *

     *

     *        FAILED_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization failed to receive
     *        business license validation.
     *

     *

     *

     *

     *        GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the Amazon Web Services GovCloud (US) Region could not be
     *        created because this Region already includes an account with that email address.
     *

     *

     *

     *

     *        IDENTITY_INVALID_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization can't
     *        complete business license validation because it doesn't have valid identity data.
     *

     *

     *

     *

     *        INVALID_ADDRESS: The account could not be created because the address you provided is not valid.
     *

     *

     *

     *

     *        INVALID_EMAIL: The account could not be created because the email address you provided is not valid.
     *

     *

     *

     *

     *        INVALID_PAYMENT_INSTRUMENT: The Amazon Web Services account that owns your organization does not have a
     *        supported payment method associated with the account. Amazon Web Services does not support cards issued by
     *        financial institutions in Russia or Belarus. For more information, see Managing your
     *        Amazon Web Services payments.
     *

     *

     *

     *

     *        INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the
     *        problem persists, contact Amazon Web Services Customer Support.
     *

     *

     *

     *

     *        MISSING_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization has not received
     *        Business Validation.
     *

     *

     *

     *

     *        MISSING_PAYMENT_INSTRUMENT: You must configure the management account with a valid payment method, such as
     *        a credit card.
     *

     *

     *

     *

     *        PENDING_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization is still in the
     *        process of completing business license validation.
     *

     *

     *

     *

     *        UNKNOWN_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization has an unknown
     *        issue with business license validation.
     *

     *

     * @see CreateAccountFailureReason
     */

    public void setFailureReason(CreateAccountFailureReason failureReason) {
        withFailureReason(failureReason);
    }

    /**
     *

     * If the request failed, a description of the reason for the failure.
     *

     *

     *

     *

     * ACCOUNT_LIMIT_EXCEEDED: The account couldn't be created because you reached the limit on the number of accounts
     * in your organization.
     *

     *

     *

     *

     * CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.
     *

     *

     *

     *

     * EMAIL_ALREADY_EXISTS: The account could not be created because another Amazon Web Services account with that
     * email address already exists.
     *

     *

     *

     *

     * FAILED_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization failed to receive
     * business license validation.
     *

     *

     *

     *

     * GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the Amazon Web Services GovCloud (US) Region could not be created
     * because this Region already includes an account with that email address.
     *

     *

     *

     *

     * IDENTITY_INVALID_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization can't complete
     * business license validation because it doesn't have valid identity data.
     *

     *

     *

     *

     * INVALID_ADDRESS: The account could not be created because the address you provided is not valid.
     *

     *

     *

     *

     * INVALID_EMAIL: The account could not be created because the email address you provided is not valid.
     *

     *

     *

     *

     * INVALID_PAYMENT_INSTRUMENT: The Amazon Web Services account that owns your organization does not have a supported
     * payment method associated with the account. Amazon Web Services does not support cards issued by financial
     * institutions in Russia or Belarus. For more information, see Managing your Amazon Web
     * Services payments.
     *

     *

     *

     *

     * INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the
     * problem persists, contact Amazon Web Services Customer Support.
     *

     *

     *

     *

     * MISSING_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization has not received
     * Business Validation.
     *

     *

     *

     *

     * MISSING_PAYMENT_INSTRUMENT: You must configure the management account with a valid payment method, such as a
     * credit card.
     *

     *

     *

     *

     * PENDING_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization is still in the process
     * of completing business license validation.
     *

     *

     *

     *

     * UNKNOWN_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization has an unknown issue
     * with business license validation.
     *

     *

     *

     *
     * @param failureReason
     *        If the request failed, a description of the reason for the failure.

     *

     *

     *

     *        ACCOUNT_LIMIT_EXCEEDED: The account couldn't be created because you reached the limit on the number of
     *        accounts in your organization.
     *

     *

     *

     *

     *        CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.
     *

     *

     *

     *

     *        EMAIL_ALREADY_EXISTS: The account could not be created because another Amazon Web Services account with
     *        that email address already exists.
     *

     *

     *

     *

     *        FAILED_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization failed to receive
     *        business license validation.
     *

     *

     *

     *

     *        GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the Amazon Web Services GovCloud (US) Region could not be
     *        created because this Region already includes an account with that email address.
     *

     *

     *

     *

     *        IDENTITY_INVALID_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization can't
     *        complete business license validation because it doesn't have valid identity data.
     *

     *

     *

     *

     *        INVALID_ADDRESS: The account could not be created because the address you provided is not valid.
     *

     *

     *

     *

     *        INVALID_EMAIL: The account could not be created because the email address you provided is not valid.
     *

     *

     *

     *

     *        INVALID_PAYMENT_INSTRUMENT: The Amazon Web Services account that owns your organization does not have a
     *        supported payment method associated with the account. Amazon Web Services does not support cards issued by
     *        financial institutions in Russia or Belarus. For more information, see Managing your
     *        Amazon Web Services payments.
     *

     *

     *

     *

     *        INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the
     *        problem persists, contact Amazon Web Services Customer Support.
     *

     *

     *

     *

     *        MISSING_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization has not received
     *        Business Validation.
     *

     *

     *

     *

     *        MISSING_PAYMENT_INSTRUMENT: You must configure the management account with a valid payment method, such as
     *        a credit card.
     *

     *

     *

     *

     *        PENDING_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization is still in the
     *        process of completing business license validation.
     *

     *

     *

     *

     *        UNKNOWN_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization has an unknown
     *        issue with business license validation.
     *

     *

     * @return Returns a reference to this object so that method calls can be chained together.
     * @see CreateAccountFailureReason
     */

    public CreateAccountStatus withFailureReason(CreateAccountFailureReason failureReason) {
        this.failureReason = failureReason.toString();
        return this;
    }

    /**
     * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
     * redacted from this string using a placeholder value.
     *
     * @return A string representation of this object.
     *
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getId() != null)
            sb.append("Id: ").append(getId()).append(",");
        if (getAccountName() != null)
            sb.append("AccountName: ").append("***Sensitive Data Redacted***").append(",");
        if (getState() != null)
            sb.append("State: ").append(getState()).append(",");
        if (getRequestedTimestamp() != null)
            sb.append("RequestedTimestamp: ").append(getRequestedTimestamp()).append(",");
        if (getCompletedTimestamp() != null)
            sb.append("CompletedTimestamp: ").append(getCompletedTimestamp()).append(",");
        if (getAccountId() != null)
            sb.append("AccountId: ").append(getAccountId()).append(",");
        if (getGovCloudAccountId() != null)
            sb.append("GovCloudAccountId: ").append(getGovCloudAccountId()).append(",");
        if (getFailureReason() != null)
            sb.append("FailureReason: ").append(getFailureReason());
        sb.append("}");
        return sb.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof CreateAccountStatus == false)
            return false;
        CreateAccountStatus other = (CreateAccountStatus) obj;
        if (other.getId() == null ^ this.getId() == null)
            return false;
        if (other.getId() != null && other.getId().equals(this.getId()) == false)
            return false;
        if (other.getAccountName() == null ^ this.getAccountName() == null)
            return false;
        if (other.getAccountName() != null && other.getAccountName().equals(this.getAccountName()) == false)
            return false;
        if (other.getState() == null ^ this.getState() == null)
            return false;
        if (other.getState() != null && other.getState().equals(this.getState()) == false)
            return false;
        if (other.getRequestedTimestamp() == null ^ this.getRequestedTimestamp() == null)
            return false;
        if (other.getRequestedTimestamp() != null && other.getRequestedTimestamp().equals(this.getRequestedTimestamp()) == false)
            return false;
        if (other.getCompletedTimestamp() == null ^ this.getCompletedTimestamp() == null)
            return false;
        if (other.getCompletedTimestamp() != null && other.getCompletedTimestamp().equals(this.getCompletedTimestamp()) == false)
            return false;
        if (other.getAccountId() == null ^ this.getAccountId() == null)
            return false;
        if (other.getAccountId() != null && other.getAccountId().equals(this.getAccountId()) == false)
            return false;
        if (other.getGovCloudAccountId() == null ^ this.getGovCloudAccountId() == null)
            return false;
        if (other.getGovCloudAccountId() != null && other.getGovCloudAccountId().equals(this.getGovCloudAccountId()) == false)
            return false;
        if (other.getFailureReason() == null ^ this.getFailureReason() == null)
            return false;
        if (other.getFailureReason() != null && other.getFailureReason().equals(this.getFailureReason()) == false)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int hashCode = 1;

        hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode());
        hashCode = prime * hashCode + ((getAccountName() == null) ? 0 : getAccountName().hashCode());
        hashCode = prime * hashCode + ((getState() == null) ? 0 : getState().hashCode());
        hashCode = prime * hashCode + ((getRequestedTimestamp() == null) ? 0 : getRequestedTimestamp().hashCode());
        hashCode = prime * hashCode + ((getCompletedTimestamp() == null) ? 0 : getCompletedTimestamp().hashCode());
        hashCode = prime * hashCode + ((getAccountId() == null) ? 0 : getAccountId().hashCode());
        hashCode = prime * hashCode + ((getGovCloudAccountId() == null) ? 0 : getGovCloudAccountId().hashCode());
        hashCode = prime * hashCode + ((getFailureReason() == null) ? 0 : getFailureReason().hashCode());
        return hashCode;
    }

    @Override
    public CreateAccountStatus clone() {
        try {
            return (CreateAccountStatus) super.clone();
        } catch (CloneNotSupportedException e) {
            throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
        }
    }

    @com.amazonaws.annotation.SdkInternalApi
    @Override
    public void marshall(ProtocolMarshaller protocolMarshaller) {
        com.amazonaws.services.organizations.model.transform.CreateAccountStatusMarshaller.getInstance().marshall(this, protocolMarshaller);
    }
}


text:
function  funstr=filestr2funstr_2(filestr,ForM,want_rc,justifyTO,changeComment);

% function  funstr=filestr2funstr(filestr,ForM,want_rc);
%   note that this really assumes a free-form file
%
%   converts filestr to funstr
%
%   ForM =1, file is fortran, ForM=0 is matlab (not implemented)
%
%   want_rc is 0 ==> Do nothing with continuations (default)
%
%   want_rc is 1 ==> remove continuations to make long lines (closest to fortran)
%
%   want_rc is 2 ==> remove continuations to make long lines,
%                    removes whitespace preceeding as well as after &'s
%
%   justifyTO => line length to justify to, default is no justifcation
%                  (for no justification, justify => inf or zero)
%
%   changeComment is 1 => change the comment marker to '%' or 0 for no change
%
%
%inCont key:
%
% positive number => location of valid & continution
% -1 => empty line in a continuation
% -2 => full comment in a continuation
% less than 200000 => full comment not in a continuation (-200001 for ! at location 1)
% less than 100000 => -(number+10000) is the location of the ! for a comment after other code
%
% inCont means that the next line is part of the line

if nargin<3
 want_rc=0;
end % if nargin<3
if nargin<4
 justifyTO=inf;
end % if nargin<4
if nargin<5
 changeComment=0;
end

r=char(10);
if ~strcmpi(filestr(length(filestr)),r), filestr=[filestr,r]; end

funstr=strread(filestr,'%s','delimiter',r,'whitespace','');
funstr=strtrim(funstr);

%determine lines that are in a continuation
inCont=findConts(funstr);

% get rid of blank lines in continueations
temp5=find(cellfun('isempty',funstr));
foo1=intersect(temp5,find(inCont==-1));
ind=[1:length(funstr)];
foo2=setdiff(ind,foo1);
funstr=funstr(foo2);
inCont=inCont(foo2);

%move comments after continuations up
for ii=fliplr(find(inCont(:)'>0))
 %funstr{ii}
 foo2=nextNonSpace(funstr{ii},inCont(ii));
 if foo2<=length(funstr{ii})
  if funstr{ii}(foo2)=='!'
   % switch them around
   funstr=[funstr(1:ii-1);funstr{ii}(foo2:end);strtrim(funstr{ii}(1:foo2-1));...
           funstr(ii+1:end)];
   inCont=[inCont(1:ii-1),0,inCont(ii:end)];
  end % if funstr{ii}(foo2)=='!'
 end % if nextNonSpace(funstr{ii},
end % for ii=1:length(funstr)

%now move the comments at the end of any nonContinuation line up
for ii=fliplr(find( inCont(:)'<(-100000) & inCont(:)'>(-200000) ))
 ind=-(inCont(ii)+100000);
 funstr=[funstr(1:ii-1);funstr{ii}(ind:end);...
           funstr{ii}(1:ind-1);funstr(ii+1:end)];
 %inCont=[inCont(1:ii-1),0,inCont(jj+1:ii-1),inCont(ii+1:end)];
end % for ii=(find( inCont(:)'<(-100000) & inCont(:)'>(-200000) ))

inCont=findConts(funstr);

% move full line comments up as well
for ii=(find(inCont(:)'==-2))
 %'huuuuuuuuuuuuu222',ii,funstr{ii},kb
 for jj=ii-1:-1:1
  if inCont(jj)==0
   funstr=[funstr(1:jj);funstr{ii};funstr(jj+1:ii-1);funstr(ii+1:end)];
   inCont=[inCont(1:jj),0,inCont(jj+1:ii-1),inCont(ii+1:end)];
   break
  end % if inCont(jj)==0
 end % for jj=ii-1:1
end % for ii=find(inCont(:)'==-2)

%'huuuuuuuuuuuuu',kb

% Now remove the continuations themselves
keep=ones(1,length(funstr));
if want_rc
 for ii=length(funstr):-1:1
  foo1=regexp(funstr{ii},'^\s*&');
  if ~isempty(foo1)
   if want_rc==1
    funstr{ii}=funstr{ii}(foo1+1:end);
   elseif want_rc==2
    foo2=nextNonSpace(funstr{ii},foo1);
    funstr{ii}=funstr{ii}(foo2:end);
   end % if want_rc==1
  end % if ~isempty(foo1)
  if inCont(ii)>0
   if want_rc==1
    funstr{ii}=[funstr{ii}(1:end-1),funstr{ii+1}];
   elseif want_rc==2
    foo2=lastNonSpace(funstr{ii},length(funstr{ii}));
    foo3=nextNonSpace(funstr{ii+1},0);
    funstr{ii}=[funstr{ii}(1:foo2),funstr{ii+1}(foo3:end)];
   end % if want_rc==1
   keep(ii+1)=0;
  end % if ~isempty(foo1)
 end % for ii=length(funstr):-1:1
end % if want_rc
funstr=funstr(find(keep));

% switch the comments to matlab style if desired (should all start at location 1)
if changeComment
 funstr=regexprep(funstr,'^\s*!','%');
end % if changeComment

% justify if requested
if justifyTO && ~isinf(justifyTO)
 funstr=justify_funstr(funstr,justifyTO);
 %filestr=justify_rg(filestr,justifyTO,1);
end % if justifyTO && ~isinf(justifyTO)

function inCont=findConts(funstr)
% what lines are in continutations?
inCont=zeros(1,length(funstr));
temp0=regexp(funstr,['&']);
temp1=find(~cellfun('isempty',temp0));
for ii=temp1(:)'
%%% if ~isempty(strfind(funstr{ii},'nsatpres, ofirstsatpres, olastsatpres'))
%%%  funstr,funstr{ii},kb
%%% end
 for jj=length(temp0{ii}):-1:1
  if temp0{ii}(jj)~=1
   %this test already has the quote tests in it
   if ~incomment(funstr{ii},temp0{ii}(jj),'!') && (length(funstr{ii})>0 && funstr{ii}(1)~='%')
    % We might be in string, or might be continuing a string
    goon=0;
    if ii>1 && inCont(ii-1)>0 && mod(length(find(funstr{ii-1}(1:inCont(ii-1))=='''')),2)==1 && mod(length(find(funstr{ii}(1:temp0{ii}(jj))=='''')),2)==0
     goon=1;
    end
    if inastring_f(funstr{ii},temp0{ii}(jj)) || inaDQstring_f(funstr{ii},temp0{ii}(jj)) || goon
     if funstr{ii}(end)=='&' % in a string, but the & is at the end of the line, so in cont
      inCont(ii)=temp0{ii}(jj);
     end
    else %not in a comment, not in a string, so this is a continuation
     inCont(ii)=temp0{ii}(jj);
    end
    break
   end
  end
 end
 % There may be more continuation lines after this one
 if inCont(ii)
  for jj=ii+1:length(funstr)
   % the next line is empty, so it counts as a cont line
   if isempty(funstr{jj})
    inCont(jj)=-1;
    continue
   end
   % first character is a ! or % so it counts, too
   if funstr{jj}(1)=='!' || funstr{jj}(1)=='%'
    inCont(jj)=-2;
    continue
   end % if funstr{jj}(1)
   if inCont(jj)==0
    break
   end % if inCont(jj)==0
  end % for jj=ii+1:length(funstr)
 end % if inCont(ii)
end % for ii=temp1(:)'

% Find the locations of the bang in the line
temp0=regexp(funstr,['!']);
temp1=find(~cellfun('isempty',temp0));
for ii=temp1(:)'
 if ~inCont(ii)
  for jj=1:length(temp0{ii})
   if temp0{ii}(jj)>1
    if ~(inastring_f(funstr{ii},temp0{ii}(jj))||inaDQstring_f(funstr{ii},temp0{ii}(jj))) &&...
         funstr{ii}(1)~='&'
     inCont(ii)=-temp0{ii}(jj)-100000; break
    end % if ~(inastring_f(funstr{ii},
   else
    inCont(ii)=-temp0{ii}(jj)-200000; break
    break
   end % if ~(inastring_f(funstr{ii},
  end % for jj=1:length(temp0{ii})
 end % if ~inCont(ii)
end % for ii=temp1(:)'


text:
package api

import (
	"io/ioutil"
	"net/http"
	"net/url"
	"encoding/xml"
	"log"
	"bytes"
	"strings"
	"fmt"
)

// link structure
// "http://www.jdoqocy.com/click-5907747-10947797"
type huluShow struct {
	XMLName 	xml.Name `xml:"video"`
	Name 	 	string `xml:"show>name"`
	EpisodeTitle 	string `xml:"title"`
	UrlSlug 	string `xml:"canonical-name"`
	PlusOnly 	bool `xml:"is-subscriber-only"`
	HasHD 		bool `xml:"has-hd""`
}

type Hulu struct {
	XMLName 	xml.Name `xml:"results"`
	NumResults 	int64 `xml:"count"`
	Results 	[]huluShow `xml:"videos>video"`
}

func genAffiliateLink(slug string) string {
	showLink := fmt.Sprintf("http://www.hulu.com/%s", slug)

	params := url.Values{}
	params.Add("url", showLink)
	params.Add("cjsku", slug)

	baseUrl := "" // http://youraffiliatelink.com/link?
	link := baseUrl + params.Encode()

	return link
}

func genResourceLink(keyword string) string {
	baseUrl := "http://m.hulu.com/search?"
	params := url.Values{}

	// must always be hulu
	params.Add("dp_identifier", "hulu")
	params.Add("query", url.QueryEscape(keyword))
	params.Add("items_per_page", "10")

	queryUrl := baseUrl + params.Encode()

	return queryUrl
}
// TODO: Return standard format of []huluShow, err
func (h Hulu) Filter(name string) []huluShow {
	shows := []huluShow{}

	for _, show := range h.Results {

		if show.Name == "" {
			log.Println("hulu: Received blank result")
			break
		}
		alreadyExists := false
		for _, s := range shows {
			if s == show {
				alreadyExists = true
			}
		}

		namesEqual := strings.EqualFold(show.Name, name)
		log.Printf("hulu: '%s' == '%s'? %v.\n", show.Name, name, namesEqual)
		if namesEqual && !alreadyExists {
			shows = append(shows, show)
		}
	}
	return shows
}

// TODO: Need to make a "Show" type. What's a good name for a parent type
// for shows and movies? Media? Title, probably.
func queryHulu(keyword string) *SearchResult {
	var (
		receivedShows []huluShow
		shows []Media
		searchResult = SearchResult{false, shows, nil, "Hulu"}
	)

	queryUrl := genResourceLink(keyword)
	resp, err := http.Get(queryUrl)
	if err != nil {
		log.Println(err)
		return &searchResult

	}

	content, err := ioutil.ReadAll(resp.Body)
	if err != nil {
		log.Println(err)
		return &searchResult
	}
	searchResult.RawData = content

	// decode xml into Hulu structure
	hulu := new(Hulu)
	if err := xml.NewDecoder(bytes.NewReader(content)).Decode(&hulu); err != nil {
		log.Println(err)
		return &searchResult
	}

	// filter
	// TODO URGENT: temporary until a parent structure for Movie and Show is settled upon
	receivedShows = hulu.Filter(keyword)

	for _, receivedShow := range receivedShows {
		if receivedShow.Name == "" {
			// no show name found, continue on to next iteration
			continue
		} else {
			// build a show, and add it to shows []Media

			show := Media{}
			show.Title = receivedShow.Name
			show.Link = receivedShow.UrlSlug // genAffiliateLink(receivedShow.UrlSlug)
			show.HasHD = receivedShow.HasHD

			shows = append(shows, show)
		}
	}
	searchResult.Media = shows
	searchResult.Success = len(shows) > 0

	return &searchResult
}

func  (h Hulu) Query(query string) SearchResult {
	// query hulu
	sr := queryHulu(query)
	// return search result
	return *sr
}


text:
(function() {

	angular
		.module("eloHeaven.mentors")
		.controller("confirmSummonerController", ConfirmSummonerController);

	function ConfirmSummonerController($scope, applicationService, leagueApiService, summoner) {
		var vm = this;

		vm.summoner = summoner;
		vm.code = "";
		vm.confirm = confirm;

		activate();

		function activate() {
			vm.code = applicationService.getRandomCode();
		}

		function confirm(summoner, code) {
			if(leagueApiService.confirmSummoner(summoner, code)) {
				$scope.$close(summoner);
			}
		}
	}

})();


text:
#ifndef __BMON_GRAPH_H_
#define __BMON_GRAPH_H_

#include <bmon/bmon.h>
#include <bmon/unit.h>

struct history;

struct graph_cfg {
	int			gc_height,
				gc_width,
				gc_flags;

	char			gc_background,
				gc_foreground,
				gc_noise,
				gc_unknown;

	struct unit *		gc_unit;
};

struct graph_table {
	char *			gt_table;
	char *			gt_y_unit;
	float *			gt_scale;
};

struct graph {
	struct graph_cfg	g_cfg;
	struct graph_table	g_rx,
				g_tx;

	struct list_head	g_list;
};

extern void			graph_free(struct graph *);
extern struct graph *		graph_alloc(struct history *, struct graph_cfg *);
extern void			graph_refill(struct graph *, struct history *);

extern size_t			graph_row_size(struct graph_cfg *);

extern void new_graph(void);
extern void del_graph(void);
extern int next_graph(void);
extern int prev_graph(void);

#endif