repo_name
stringlengths 1
52
| repo_creator
stringclasses 6
values | programming_language
stringclasses 4
values | code
stringlengths 0
9.68M
| num_lines
int64 1
234k
|
---|---|---|---|---|
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// This is the response object from the ExportForms operation.
/// </summary>
public partial class ExportFormsResponse : AmazonWebServiceResponse
{
private List<Form> _entities = new List<Form>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Entities.
/// <para>
/// Represents the configuration of the exported forms.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<Form> Entities
{
get { return this._entities; }
set { this._entities = value; }
}
// Check to see if Entities property is set
internal bool IsSetEntities()
{
return this._entities != null && this._entities.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token that's included if more results are available.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 77 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Container for the parameters to the ExportThemes operation.
/// Exports theme configurations to code that is ready to integrate into an Amplify app.
/// </summary>
public partial class ExportThemesRequest : AmazonAmplifyUIBuilderRequest
{
private string _appId;
private string _environmentName;
private string _nextToken;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID of the Amplify app to export the themes to.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property EnvironmentName.
/// <para>
/// The name of the backend environment that is part of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != null;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token to request the next page of results.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 98 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// This is the response object from the ExportThemes operation.
/// </summary>
public partial class ExportThemesResponse : AmazonWebServiceResponse
{
private List<Theme> _entities = new List<Theme>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Entities.
/// <para>
/// Represents the configuration of the exported themes.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<Theme> Entities
{
get { return this._entities; }
set { this._entities = value; }
}
// Check to see if Entities property is set
internal bool IsSetEntities()
{
return this._entities != null && this._entities.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token that's included if more results are available.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 77 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Describes the configuration information for a field in a table.
/// </summary>
public partial class FieldConfig
{
private bool? _excluded;
private FieldInputConfig _inputType;
private string _label;
private FieldPosition _position;
private List<FieldValidationConfiguration> _validations = new List<FieldValidationConfiguration>();
/// <summary>
/// Gets and sets the property Excluded.
/// <para>
/// Specifies whether to hide a field.
/// </para>
/// </summary>
public bool Excluded
{
get { return this._excluded.GetValueOrDefault(); }
set { this._excluded = value; }
}
// Check to see if Excluded property is set
internal bool IsSetExcluded()
{
return this._excluded.HasValue;
}
/// <summary>
/// Gets and sets the property InputType.
/// <para>
/// Describes the configuration for the default input value to display for a field.
/// </para>
/// </summary>
public FieldInputConfig InputType
{
get { return this._inputType; }
set { this._inputType = value; }
}
// Check to see if InputType property is set
internal bool IsSetInputType()
{
return this._inputType != null;
}
/// <summary>
/// Gets and sets the property Label.
/// <para>
/// The label for the field.
/// </para>
/// </summary>
public string Label
{
get { return this._label; }
set { this._label = value; }
}
// Check to see if Label property is set
internal bool IsSetLabel()
{
return this._label != null;
}
/// <summary>
/// Gets and sets the property Position.
/// <para>
/// Specifies the field position.
/// </para>
/// </summary>
public FieldPosition Position
{
get { return this._position; }
set { this._position = value; }
}
// Check to see if Position property is set
internal bool IsSetPosition()
{
return this._position != null;
}
/// <summary>
/// Gets and sets the property Validations.
/// <para>
/// The validations to perform on the value in the field.
/// </para>
/// </summary>
public List<FieldValidationConfiguration> Validations
{
get { return this._validations; }
set { this._validations = value; }
}
// Check to see if Validations property is set
internal bool IsSetValidations()
{
return this._validations != null && this._validations.Count > 0;
}
}
} | 133 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Describes the configuration for the default input values to display for a field.
/// </summary>
public partial class FieldInputConfig
{
private bool? _defaultChecked;
private string _defaultCountryCode;
private string _defaultValue;
private string _descriptiveText;
private FileUploaderFieldConfig _fileUploaderConfig;
private bool? _isArray;
private float? _maxValue;
private float? _minValue;
private string _name;
private string _placeholder;
private bool? _readOnly;
private bool? _required;
private float? _step;
private string _type;
private string _value;
private ValueMappings _valueMappings;
/// <summary>
/// Gets and sets the property DefaultChecked.
/// <para>
/// Specifies whether a field has a default value.
/// </para>
/// </summary>
public bool DefaultChecked
{
get { return this._defaultChecked.GetValueOrDefault(); }
set { this._defaultChecked = value; }
}
// Check to see if DefaultChecked property is set
internal bool IsSetDefaultChecked()
{
return this._defaultChecked.HasValue;
}
/// <summary>
/// Gets and sets the property DefaultCountryCode.
/// <para>
/// The default country code for a phone number.
/// </para>
/// </summary>
public string DefaultCountryCode
{
get { return this._defaultCountryCode; }
set { this._defaultCountryCode = value; }
}
// Check to see if DefaultCountryCode property is set
internal bool IsSetDefaultCountryCode()
{
return this._defaultCountryCode != null;
}
/// <summary>
/// Gets and sets the property DefaultValue.
/// <para>
/// The default value for the field.
/// </para>
/// </summary>
public string DefaultValue
{
get { return this._defaultValue; }
set { this._defaultValue = value; }
}
// Check to see if DefaultValue property is set
internal bool IsSetDefaultValue()
{
return this._defaultValue != null;
}
/// <summary>
/// Gets and sets the property DescriptiveText.
/// <para>
/// The text to display to describe the field.
/// </para>
/// </summary>
public string DescriptiveText
{
get { return this._descriptiveText; }
set { this._descriptiveText = value; }
}
// Check to see if DescriptiveText property is set
internal bool IsSetDescriptiveText()
{
return this._descriptiveText != null;
}
/// <summary>
/// Gets and sets the property FileUploaderConfig.
/// <para>
/// The configuration for the file uploader field.
/// </para>
/// </summary>
public FileUploaderFieldConfig FileUploaderConfig
{
get { return this._fileUploaderConfig; }
set { this._fileUploaderConfig = value; }
}
// Check to see if FileUploaderConfig property is set
internal bool IsSetFileUploaderConfig()
{
return this._fileUploaderConfig != null;
}
/// <summary>
/// Gets and sets the property IsArray.
/// <para>
/// Specifies whether to render the field as an array. This property is ignored if the
/// <code>dataSourceType</code> for the form is a Data Store.
/// </para>
/// </summary>
public bool IsArray
{
get { return this._isArray.GetValueOrDefault(); }
set { this._isArray = value; }
}
// Check to see if IsArray property is set
internal bool IsSetIsArray()
{
return this._isArray.HasValue;
}
/// <summary>
/// Gets and sets the property MaxValue.
/// <para>
/// The maximum value to display for the field.
/// </para>
/// </summary>
public float MaxValue
{
get { return this._maxValue.GetValueOrDefault(); }
set { this._maxValue = value; }
}
// Check to see if MaxValue property is set
internal bool IsSetMaxValue()
{
return this._maxValue.HasValue;
}
/// <summary>
/// Gets and sets the property MinValue.
/// <para>
/// The minimum value to display for the field.
/// </para>
/// </summary>
public float MinValue
{
get { return this._minValue.GetValueOrDefault(); }
set { this._minValue = value; }
}
// Check to see if MinValue property is set
internal bool IsSetMinValue()
{
return this._minValue.HasValue;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the field.
/// </para>
/// </summary>
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property Placeholder.
/// <para>
/// The text to display as a placeholder for the field.
/// </para>
/// </summary>
public string Placeholder
{
get { return this._placeholder; }
set { this._placeholder = value; }
}
// Check to see if Placeholder property is set
internal bool IsSetPlaceholder()
{
return this._placeholder != null;
}
/// <summary>
/// Gets and sets the property ReadOnly.
/// <para>
/// Specifies a read only field.
/// </para>
/// </summary>
public bool ReadOnly
{
get { return this._readOnly.GetValueOrDefault(); }
set { this._readOnly = value; }
}
// Check to see if ReadOnly property is set
internal bool IsSetReadOnly()
{
return this._readOnly.HasValue;
}
/// <summary>
/// Gets and sets the property Required.
/// <para>
/// Specifies a field that requires input.
/// </para>
/// </summary>
public bool Required
{
get { return this._required.GetValueOrDefault(); }
set { this._required = value; }
}
// Check to see if Required property is set
internal bool IsSetRequired()
{
return this._required.HasValue;
}
/// <summary>
/// Gets and sets the property Step.
/// <para>
/// The stepping increment for a numeric value in a field.
/// </para>
/// </summary>
public float Step
{
get { return this._step.GetValueOrDefault(); }
set { this._step = value; }
}
// Check to see if Step property is set
internal bool IsSetStep()
{
return this._step.HasValue;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The input type for the field.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
/// <summary>
/// Gets and sets the property Value.
/// <para>
/// The value for the field.
/// </para>
/// </summary>
public string Value
{
get { return this._value; }
set { this._value = value; }
}
// Check to see if Value property is set
internal bool IsSetValue()
{
return this._value != null;
}
/// <summary>
/// Gets and sets the property ValueMappings.
/// <para>
/// The information to use to customize the input fields with data at runtime.
/// </para>
/// </summary>
public ValueMappings ValueMappings
{
get { return this._valueMappings; }
set { this._valueMappings = value; }
}
// Check to see if ValueMappings property is set
internal bool IsSetValueMappings()
{
return this._valueMappings != null;
}
}
} | 344 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Describes the field position.
/// </summary>
public partial class FieldPosition
{
private string _below;
private FixedPosition _fixed;
private string _rightOf;
/// <summary>
/// Gets and sets the property Below.
/// <para>
/// The field position is below the field specified by the string.
/// </para>
/// </summary>
public string Below
{
get { return this._below; }
set { this._below = value; }
}
// Check to see if Below property is set
internal bool IsSetBelow()
{
return this._below != null;
}
/// <summary>
/// Gets and sets the property Fixed.
/// <para>
/// The field position is fixed and doesn't change in relation to other fields.
/// </para>
/// </summary>
public FixedPosition Fixed
{
get { return this._fixed; }
set { this._fixed = value; }
}
// Check to see if Fixed property is set
internal bool IsSetFixed()
{
return this._fixed != null;
}
/// <summary>
/// Gets and sets the property RightOf.
/// <para>
/// The field position is to the right of the field specified by the string.
/// </para>
/// </summary>
public string RightOf
{
get { return this._rightOf; }
set { this._rightOf = value; }
}
// Check to see if RightOf property is set
internal bool IsSetRightOf()
{
return this._rightOf != null;
}
}
} | 95 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Describes the validation configuration for a field.
/// </summary>
public partial class FieldValidationConfiguration
{
private List<int> _numValues = new List<int>();
private List<string> _strValues = new List<string>();
private string _type;
private string _validationMessage;
/// <summary>
/// Gets and sets the property NumValues.
/// <para>
/// The validation to perform on a number value.
/// </para>
/// </summary>
public List<int> NumValues
{
get { return this._numValues; }
set { this._numValues = value; }
}
// Check to see if NumValues property is set
internal bool IsSetNumValues()
{
return this._numValues != null && this._numValues.Count > 0;
}
/// <summary>
/// Gets and sets the property StrValues.
/// <para>
/// The validation to perform on a string value.
/// </para>
/// </summary>
public List<string> StrValues
{
get { return this._strValues; }
set { this._strValues = value; }
}
// Check to see if StrValues property is set
internal bool IsSetStrValues()
{
return this._strValues != null && this._strValues.Count > 0;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The validation to perform on an object type.<code/>
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
/// <summary>
/// Gets and sets the property ValidationMessage.
/// <para>
/// The validation message to display.
/// </para>
/// </summary>
public string ValidationMessage
{
get { return this._validationMessage; }
set { this._validationMessage = value; }
}
// Check to see if ValidationMessage property is set
internal bool IsSetValidationMessage()
{
return this._validationMessage != null;
}
}
} | 115 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Describes the configuration for the file uploader field.
/// </summary>
public partial class FileUploaderFieldConfig
{
private List<string> _acceptedFileTypes = new List<string>();
private StorageAccessLevel _accessLevel;
private bool? _isResumable;
private int? _maxFileCount;
private int? _maxSize;
private bool? _showThumbnails;
/// <summary>
/// Gets and sets the property AcceptedFileTypes.
/// <para>
/// The file types that are allowed to be uploaded by the file uploader. Provide this
/// information in an array of strings specifying the valid file extensions.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<string> AcceptedFileTypes
{
get { return this._acceptedFileTypes; }
set { this._acceptedFileTypes = value; }
}
// Check to see if AcceptedFileTypes property is set
internal bool IsSetAcceptedFileTypes()
{
return this._acceptedFileTypes != null && this._acceptedFileTypes.Count > 0;
}
/// <summary>
/// Gets and sets the property AccessLevel.
/// <para>
/// The access level to assign to the uploaded files in the Amazon S3 bucket where they
/// are stored. The valid values for this property are <code>private</code>, <code>protected</code>,
/// or <code>public</code>. For detailed information about the permissions associated
/// with each access level, see <a href="https://docs.amplify.aws/lib/storage/configureaccess/q/platform/js/">File
/// access levels</a> in the <i>Amplify documentation</i>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public StorageAccessLevel AccessLevel
{
get { return this._accessLevel; }
set { this._accessLevel = value; }
}
// Check to see if AccessLevel property is set
internal bool IsSetAccessLevel()
{
return this._accessLevel != null;
}
/// <summary>
/// Gets and sets the property IsResumable.
/// <para>
/// Allows the file upload operation to be paused and resumed. The default value is <code>false</code>.
/// </para>
///
/// <para>
/// When <code>isResumable</code> is set to <code>true</code>, the file uploader uses
/// a multipart upload to break the files into chunks before upload. The progress of the
/// upload isn't continuous, because the file uploader uploads a chunk at a time.
/// </para>
/// </summary>
public bool IsResumable
{
get { return this._isResumable.GetValueOrDefault(); }
set { this._isResumable = value; }
}
// Check to see if IsResumable property is set
internal bool IsSetIsResumable()
{
return this._isResumable.HasValue;
}
/// <summary>
/// Gets and sets the property MaxFileCount.
/// <para>
/// Specifies the maximum number of files that can be selected to upload. The default
/// value is an unlimited number of files.
/// </para>
/// </summary>
public int MaxFileCount
{
get { return this._maxFileCount.GetValueOrDefault(); }
set { this._maxFileCount = value; }
}
// Check to see if MaxFileCount property is set
internal bool IsSetMaxFileCount()
{
return this._maxFileCount.HasValue;
}
/// <summary>
/// Gets and sets the property MaxSize.
/// <para>
/// The maximum file size in bytes that the file uploader will accept. The default value
/// is an unlimited file size.
/// </para>
/// </summary>
public int MaxSize
{
get { return this._maxSize.GetValueOrDefault(); }
set { this._maxSize = value; }
}
// Check to see if MaxSize property is set
internal bool IsSetMaxSize()
{
return this._maxSize.HasValue;
}
/// <summary>
/// Gets and sets the property ShowThumbnails.
/// <para>
/// Specifies whether to display or hide the image preview after selecting a file for
/// upload. The default value is <code>true</code> to display the image preview.
/// </para>
/// </summary>
public bool ShowThumbnails
{
get { return this._showThumbnails.GetValueOrDefault(); }
set { this._showThumbnails = value; }
}
// Check to see if ShowThumbnails property is set
internal bool IsSetShowThumbnails()
{
return this._showThumbnails.HasValue;
}
}
} | 168 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Contains the configuration settings for a <code>Form</code> user interface (UI) element
/// for an Amplify app. A form is a component you can add to your project by specifying
/// a data source as the default configuration for the form.
/// </summary>
public partial class Form
{
private string _appId;
private FormCTA _cta;
private FormDataTypeConfig _dataType;
private string _environmentName;
private Dictionary<string, FieldConfig> _fields = new Dictionary<string, FieldConfig>();
private FormActionType _formActionType;
private string _id;
private LabelDecorator _labelDecorator;
private string _name;
private string _schemaVersion;
private Dictionary<string, SectionalElement> _sectionalElements = new Dictionary<string, SectionalElement>();
private FormStyle _style;
private Dictionary<string, string> _tags = new Dictionary<string, string>();
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID of the Amplify app associated with the form.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property Cta.
/// <para>
/// Stores the call to action configuration for the form.
/// </para>
/// </summary>
public FormCTA Cta
{
get { return this._cta; }
set { this._cta = value; }
}
// Check to see if Cta property is set
internal bool IsSetCta()
{
return this._cta != null;
}
/// <summary>
/// Gets and sets the property DataType.
/// <para>
/// The type of data source to use to create the form.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public FormDataTypeConfig DataType
{
get { return this._dataType; }
set { this._dataType = value; }
}
// Check to see if DataType property is set
internal bool IsSetDataType()
{
return this._dataType != null;
}
/// <summary>
/// Gets and sets the property EnvironmentName.
/// <para>
/// The name of the backend environment that is a part of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != null;
}
/// <summary>
/// Gets and sets the property Fields.
/// <para>
/// Stores the information about the form's fields.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Dictionary<string, FieldConfig> Fields
{
get { return this._fields; }
set { this._fields = value; }
}
// Check to see if Fields property is set
internal bool IsSetFields()
{
return this._fields != null && this._fields.Count > 0;
}
/// <summary>
/// Gets and sets the property FormActionType.
/// <para>
/// The operation to perform on the specified form.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public FormActionType FormActionType
{
get { return this._formActionType; }
set { this._formActionType = value; }
}
// Check to see if FormActionType property is set
internal bool IsSetFormActionType()
{
return this._formActionType != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The unique ID of the form.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property LabelDecorator.
/// <para>
/// Specifies an icon or decoration to display on the form.
/// </para>
/// </summary>
public LabelDecorator LabelDecorator
{
get { return this._labelDecorator; }
set { this._labelDecorator = value; }
}
// Check to see if LabelDecorator property is set
internal bool IsSetLabelDecorator()
{
return this._labelDecorator != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the form.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property SchemaVersion.
/// <para>
/// The schema version of the form when it was imported.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string SchemaVersion
{
get { return this._schemaVersion; }
set { this._schemaVersion = value; }
}
// Check to see if SchemaVersion property is set
internal bool IsSetSchemaVersion()
{
return this._schemaVersion != null;
}
/// <summary>
/// Gets and sets the property SectionalElements.
/// <para>
/// Stores the visual helper elements for the form that are not associated with any data.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Dictionary<string, SectionalElement> SectionalElements
{
get { return this._sectionalElements; }
set { this._sectionalElements = value; }
}
// Check to see if SectionalElements property is set
internal bool IsSetSectionalElements()
{
return this._sectionalElements != null && this._sectionalElements.Count > 0;
}
/// <summary>
/// Gets and sets the property Style.
/// <para>
/// Stores the configuration for the form's style.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public FormStyle Style
{
get { return this._style; }
set { this._style = value; }
}
// Check to see if Style property is set
internal bool IsSetStyle()
{
return this._style != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// One or more key-value pairs to use when tagging the form.
/// </para>
/// </summary>
public Dictionary<string, string> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
} | 297 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Describes how to bind a component property to form data.
/// </summary>
public partial class FormBindingElement
{
private string _element;
private string _property;
/// <summary>
/// Gets and sets the property Element.
/// <para>
/// The name of the component to retrieve a value from.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Element
{
get { return this._element; }
set { this._element = value; }
}
// Check to see if Element property is set
internal bool IsSetElement()
{
return this._element != null;
}
/// <summary>
/// Gets and sets the property Property.
/// <para>
/// The property to retrieve a value from.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Property
{
get { return this._property; }
set { this._property = value; }
}
// Check to see if Property property is set
internal bool IsSetProperty()
{
return this._property != null;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Describes the configuration for a button UI element that is a part of a form.
/// </summary>
public partial class FormButton
{
private string _children;
private bool? _excluded;
private FieldPosition _position;
/// <summary>
/// Gets and sets the property Children.
/// <para>
/// Describes the button's properties.
/// </para>
/// </summary>
public string Children
{
get { return this._children; }
set { this._children = value; }
}
// Check to see if Children property is set
internal bool IsSetChildren()
{
return this._children != null;
}
/// <summary>
/// Gets and sets the property Excluded.
/// <para>
/// Specifies whether the button is visible on the form.
/// </para>
/// </summary>
public bool Excluded
{
get { return this._excluded.GetValueOrDefault(); }
set { this._excluded = value; }
}
// Check to see if Excluded property is set
internal bool IsSetExcluded()
{
return this._excluded.HasValue;
}
/// <summary>
/// Gets and sets the property Position.
/// <para>
/// The position of the button.
/// </para>
/// </summary>
public FieldPosition Position
{
get { return this._position; }
set { this._position = value; }
}
// Check to see if Position property is set
internal bool IsSetPosition()
{
return this._position != null;
}
}
} | 95 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Describes the call to action button configuration for the form.
/// </summary>
public partial class FormCTA
{
private FormButton _cancel;
private FormButton _clear;
private FormButtonsPosition _position;
private FormButton _submit;
/// <summary>
/// Gets and sets the property Cancel.
/// <para>
/// Displays a cancel button.
/// </para>
/// </summary>
public FormButton Cancel
{
get { return this._cancel; }
set { this._cancel = value; }
}
// Check to see if Cancel property is set
internal bool IsSetCancel()
{
return this._cancel != null;
}
/// <summary>
/// Gets and sets the property Clear.
/// <para>
/// Displays a clear button.
/// </para>
/// </summary>
public FormButton Clear
{
get { return this._clear; }
set { this._clear = value; }
}
// Check to see if Clear property is set
internal bool IsSetClear()
{
return this._clear != null;
}
/// <summary>
/// Gets and sets the property Position.
/// <para>
/// The position of the button.
/// </para>
/// </summary>
public FormButtonsPosition Position
{
get { return this._position; }
set { this._position = value; }
}
// Check to see if Position property is set
internal bool IsSetPosition()
{
return this._position != null;
}
/// <summary>
/// Gets and sets the property Submit.
/// <para>
/// Displays a submit button.
/// </para>
/// </summary>
public FormButton Submit
{
get { return this._submit; }
set { this._submit = value; }
}
// Check to see if Submit property is set
internal bool IsSetSubmit()
{
return this._submit != null;
}
}
} | 114 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Describes the data type configuration for the data source associated with a form.
/// </summary>
public partial class FormDataTypeConfig
{
private FormDataSourceType _dataSourceType;
private string _dataTypeName;
/// <summary>
/// Gets and sets the property DataSourceType.
/// <para>
/// The data source type, either an Amplify DataStore model or a custom data type.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public FormDataSourceType DataSourceType
{
get { return this._dataSourceType; }
set { this._dataSourceType = value; }
}
// Check to see if DataSourceType property is set
internal bool IsSetDataSourceType()
{
return this._dataSourceType != null;
}
/// <summary>
/// Gets and sets the property DataTypeName.
/// <para>
/// The unique name of the data type you are using as the data source for the form.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DataTypeName
{
get { return this._dataTypeName; }
set { this._dataTypeName = value; }
}
// Check to see if DataTypeName property is set
internal bool IsSetDataTypeName()
{
return this._dataTypeName != null;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Represents the data binding configuration for a form's input fields at runtime.You
/// can use <code>FormInputBindingPropertiesValue</code> to add exposed properties to
/// a form to allow different values to be entered when a form is reused in different
/// places in an app.
/// </summary>
public partial class FormInputBindingPropertiesValue
{
private FormInputBindingPropertiesValueProperties _bindingProperties;
private string _type;
/// <summary>
/// Gets and sets the property BindingProperties.
/// <para>
/// Describes the properties to customize with data at runtime.
/// </para>
/// </summary>
public FormInputBindingPropertiesValueProperties BindingProperties
{
get { return this._bindingProperties; }
set { this._bindingProperties = value; }
}
// Check to see if BindingProperties property is set
internal bool IsSetBindingProperties()
{
return this._bindingProperties != null;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The property type.
/// </para>
/// </summary>
public string Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Represents the data binding configuration for a specific property using data stored
/// in Amazon Web Services. For Amazon Web Services connected properties, you can bind
/// a property to data stored in an Amplify DataStore model.
/// </summary>
public partial class FormInputBindingPropertiesValueProperties
{
private string _model;
/// <summary>
/// Gets and sets the property Model.
/// <para>
/// An Amplify DataStore model.
/// </para>
/// </summary>
public string Model
{
get { return this._model; }
set { this._model = value; }
}
// Check to see if Model property is set
internal bool IsSetModel()
{
return this._model != null;
}
}
} | 59 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Describes the configuration for an input field on a form. Use <code>FormInputValueProperty</code>
/// to specify the values to render or bind by default.
/// </summary>
public partial class FormInputValueProperty
{
private FormInputValuePropertyBindingProperties _bindingProperties;
private List<FormInputValueProperty> _concat = new List<FormInputValueProperty>();
private string _value;
/// <summary>
/// Gets and sets the property BindingProperties.
/// <para>
/// The information to bind fields to data at runtime.
/// </para>
/// </summary>
public FormInputValuePropertyBindingProperties BindingProperties
{
get { return this._bindingProperties; }
set { this._bindingProperties = value; }
}
// Check to see if BindingProperties property is set
internal bool IsSetBindingProperties()
{
return this._bindingProperties != null;
}
/// <summary>
/// Gets and sets the property Concat.
/// <para>
/// A list of form properties to concatenate to create the value to assign to this field
/// property.
/// </para>
/// </summary>
public List<FormInputValueProperty> Concat
{
get { return this._concat; }
set { this._concat = value; }
}
// Check to see if Concat property is set
internal bool IsSetConcat()
{
return this._concat != null && this._concat.Count > 0;
}
/// <summary>
/// Gets and sets the property Value.
/// <para>
/// The value to assign to the input field.
/// </para>
/// </summary>
public string Value
{
get { return this._value; }
set { this._value = value; }
}
// Check to see if Value property is set
internal bool IsSetValue()
{
return this._value != null;
}
}
} | 97 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Associates a form property to a binding property. This enables exposed properties
/// on the top level form to propagate data to the form's property values.
/// </summary>
public partial class FormInputValuePropertyBindingProperties
{
private string _field;
private string _property;
/// <summary>
/// Gets and sets the property Field.
/// <para>
/// The data field to bind the property to.
/// </para>
/// </summary>
public string Field
{
get { return this._field; }
set { this._field = value; }
}
// Check to see if Field property is set
internal bool IsSetField()
{
return this._field != null;
}
/// <summary>
/// Gets and sets the property Property.
/// <para>
/// The form property to bind to the data field.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Property
{
get { return this._property; }
set { this._property = value; }
}
// Check to see if Property property is set
internal bool IsSetProperty()
{
return this._property != null;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Describes the configuration for the form's style.
/// </summary>
public partial class FormStyle
{
private FormStyleConfig _horizontalGap;
private FormStyleConfig _outerPadding;
private FormStyleConfig _verticalGap;
/// <summary>
/// Gets and sets the property HorizontalGap.
/// <para>
/// The spacing for the horizontal gap.
/// </para>
/// </summary>
public FormStyleConfig HorizontalGap
{
get { return this._horizontalGap; }
set { this._horizontalGap = value; }
}
// Check to see if HorizontalGap property is set
internal bool IsSetHorizontalGap()
{
return this._horizontalGap != null;
}
/// <summary>
/// Gets and sets the property OuterPadding.
/// <para>
/// The size of the outer padding for the form.
/// </para>
/// </summary>
public FormStyleConfig OuterPadding
{
get { return this._outerPadding; }
set { this._outerPadding = value; }
}
// Check to see if OuterPadding property is set
internal bool IsSetOuterPadding()
{
return this._outerPadding != null;
}
/// <summary>
/// Gets and sets the property VerticalGap.
/// <para>
/// The spacing for the vertical gap.
/// </para>
/// </summary>
public FormStyleConfig VerticalGap
{
get { return this._verticalGap; }
set { this._verticalGap = value; }
}
// Check to see if VerticalGap property is set
internal bool IsSetVerticalGap()
{
return this._verticalGap != null;
}
}
} | 95 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Describes the configuration settings for the form's style properties.
/// </summary>
public partial class FormStyleConfig
{
private string _tokenReference;
private string _value;
/// <summary>
/// Gets and sets the property TokenReference.
/// <para>
/// A reference to a design token to use to bind the form's style properties to an existing
/// theme.
/// </para>
/// </summary>
public string TokenReference
{
get { return this._tokenReference; }
set { this._tokenReference = value; }
}
// Check to see if TokenReference property is set
internal bool IsSetTokenReference()
{
return this._tokenReference != null;
}
/// <summary>
/// Gets and sets the property Value.
/// <para>
/// The value of the style setting.
/// </para>
/// </summary>
public string Value
{
get { return this._value; }
set { this._value = value; }
}
// Check to see if Value property is set
internal bool IsSetValue()
{
return this._value != null;
}
}
} | 77 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Describes the basic information about a form.
/// </summary>
public partial class FormSummary
{
private string _appId;
private FormDataTypeConfig _dataType;
private string _environmentName;
private FormActionType _formActionType;
private string _id;
private string _name;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for the app associated with the form summary.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property DataType.
/// <para>
/// The form's data source type.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public FormDataTypeConfig DataType
{
get { return this._dataType; }
set { this._dataType = value; }
}
// Check to see if DataType property is set
internal bool IsSetDataType()
{
return this._dataType != null;
}
/// <summary>
/// Gets and sets the property EnvironmentName.
/// <para>
/// The name of the backend environment that is part of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != null;
}
/// <summary>
/// Gets and sets the property FormActionType.
/// <para>
/// The type of operation to perform on the form.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public FormActionType FormActionType
{
get { return this._formActionType; }
set { this._formActionType = value; }
}
// Check to see if FormActionType property is set
internal bool IsSetFormActionType()
{
return this._formActionType != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The ID of the form.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the form.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
}
} | 158 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Container for the parameters to the GetCodegenJob operation.
/// Returns an existing code generation job.
/// </summary>
public partial class GetCodegenJobRequest : AmazonAmplifyUIBuilderRequest
{
private string _appId;
private string _environmentName;
private string _id;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID of the Amplify app associated with the code generation job.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property EnvironmentName.
/// <para>
/// The name of the backend environment that is a part of the Amplify app associated with
/// the code generation job.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The unique ID of the code generation job.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
}
} | 100 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// This is the response object from the GetCodegenJob operation.
/// </summary>
public partial class GetCodegenJobResponse : AmazonWebServiceResponse
{
private CodegenJob _job;
/// <summary>
/// Gets and sets the property Job.
/// <para>
/// The configuration settings for the code generation job.
/// </para>
/// </summary>
public CodegenJob Job
{
get { return this._job; }
set { this._job = value; }
}
// Check to see if Job property is set
internal bool IsSetJob()
{
return this._job != null;
}
}
} | 57 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Container for the parameters to the GetComponent operation.
/// Returns an existing component for an Amplify app.
/// </summary>
public partial class GetComponentRequest : AmazonAmplifyUIBuilderRequest
{
private string _appId;
private string _environmentName;
private string _id;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property EnvironmentName.
/// <para>
/// The name of the backend environment that is part of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The unique ID of the component.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
}
} | 99 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// This is the response object from the GetComponent operation.
/// </summary>
public partial class GetComponentResponse : AmazonWebServiceResponse
{
private Component _component;
/// <summary>
/// Gets and sets the property Component.
/// <para>
/// Represents the configuration settings for the component.
/// </para>
/// </summary>
public Component Component
{
get { return this._component; }
set { this._component = value; }
}
// Check to see if Component property is set
internal bool IsSetComponent()
{
return this._component != null;
}
}
} | 57 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Container for the parameters to the GetForm operation.
/// Returns an existing form for an Amplify app.
/// </summary>
public partial class GetFormRequest : AmazonAmplifyUIBuilderRequest
{
private string _appId;
private string _environmentName;
private string _id;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property EnvironmentName.
/// <para>
/// The name of the backend environment that is part of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The unique ID of the form.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
}
} | 99 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// This is the response object from the GetForm operation.
/// </summary>
public partial class GetFormResponse : AmazonWebServiceResponse
{
private Form _form;
/// <summary>
/// Gets and sets the property Form.
/// <para>
/// Represents the configuration settings for the form.
/// </para>
/// </summary>
public Form Form
{
get { return this._form; }
set { this._form = value; }
}
// Check to see if Form property is set
internal bool IsSetForm()
{
return this._form != null;
}
}
} | 57 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Container for the parameters to the GetMetadata operation.
/// Returns existing metadata for an Amplify app.
/// </summary>
public partial class GetMetadataRequest : AmazonAmplifyUIBuilderRequest
{
private string _appId;
private string _environmentName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property EnvironmentName.
/// <para>
/// The name of the backend environment that is part of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != null;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// This is the response object from the GetMetadata operation.
/// </summary>
public partial class GetMetadataResponse : AmazonWebServiceResponse
{
private Dictionary<string, string> _features = new Dictionary<string, string>();
/// <summary>
/// Gets and sets the property Features.
/// <para>
/// Represents the configuration settings for the features metadata.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Dictionary<string, string> Features
{
get { return this._features; }
set { this._features = value; }
}
// Check to see if Features property is set
internal bool IsSetFeatures()
{
return this._features != null && this._features.Count > 0;
}
}
} | 58 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Container for the parameters to the GetTheme operation.
/// Returns an existing theme for an Amplify app.
/// </summary>
public partial class GetThemeRequest : AmazonAmplifyUIBuilderRequest
{
private string _appId;
private string _environmentName;
private string _id;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property EnvironmentName.
/// <para>
/// The name of the backend environment that is part of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The unique ID for the theme.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
}
} | 99 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// This is the response object from the GetTheme operation.
/// </summary>
public partial class GetThemeResponse : AmazonWebServiceResponse
{
private Theme _theme;
/// <summary>
/// Gets and sets the property Theme.
/// <para>
/// Represents the configuration settings for the theme.
/// </para>
/// </summary>
public Theme Theme
{
get { return this._theme; }
set { this._theme = value; }
}
// Check to see if Theme property is set
internal bool IsSetTheme()
{
return this._theme != null;
}
}
} | 57 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// An internal error has occurred. Please retry your request.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class InternalServerException : AmazonAmplifyUIBuilderException
{
/// <summary>
/// Constructs a new InternalServerException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public InternalServerException(string message)
: base(message) {}
/// <summary>
/// Construct instance of InternalServerException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public InternalServerException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of InternalServerException
/// </summary>
/// <param name="innerException"></param>
public InternalServerException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of InternalServerException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InternalServerException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of InternalServerException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InternalServerException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the InternalServerException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected InternalServerException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// An invalid or out-of-range value was supplied for the input parameter.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class InvalidParameterException : AmazonAmplifyUIBuilderException
{
/// <summary>
/// Constructs a new InvalidParameterException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public InvalidParameterException(string message)
: base(message) {}
/// <summary>
/// Construct instance of InvalidParameterException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public InvalidParameterException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of InvalidParameterException
/// </summary>
/// <param name="innerException"></param>
public InvalidParameterException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of InvalidParameterException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidParameterException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of InvalidParameterException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidParameterException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the InvalidParameterException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected InvalidParameterException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Container for the parameters to the ListCodegenJobs operation.
/// Retrieves a list of code generation jobs for a specified Amplify app and backend environment.
/// </summary>
public partial class ListCodegenJobsRequest : AmazonAmplifyUIBuilderRequest
{
private string _appId;
private string _environmentName;
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property EnvironmentName.
/// <para>
/// The name of the backend environment that is a part of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of jobs to retrieve.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token to request the next page of results.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 118 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// This is the response object from the ListCodegenJobs operation.
/// </summary>
public partial class ListCodegenJobsResponse : AmazonWebServiceResponse
{
private List<CodegenJobSummary> _entities = new List<CodegenJobSummary>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Entities.
/// <para>
/// The list of code generation jobs for the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<CodegenJobSummary> Entities
{
get { return this._entities; }
set { this._entities = value; }
}
// Check to see if Entities property is set
internal bool IsSetEntities()
{
return this._entities != null && this._entities.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token that's included if more results are available.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 77 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Container for the parameters to the ListComponents operation.
/// Retrieves a list of components for a specified Amplify app and backend environment.
/// </summary>
public partial class ListComponentsRequest : AmazonAmplifyUIBuilderRequest
{
private string _appId;
private string _environmentName;
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property EnvironmentName.
/// <para>
/// The name of the backend environment that is a part of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of components to retrieve.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token to request the next page of results.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 118 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// This is the response object from the ListComponents operation.
/// </summary>
public partial class ListComponentsResponse : AmazonWebServiceResponse
{
private List<ComponentSummary> _entities = new List<ComponentSummary>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Entities.
/// <para>
/// The list of components for the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<ComponentSummary> Entities
{
get { return this._entities; }
set { this._entities = value; }
}
// Check to see if Entities property is set
internal bool IsSetEntities()
{
return this._entities != null && this._entities.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token that's included if more results are available.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 77 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Container for the parameters to the ListForms operation.
/// Retrieves a list of forms for a specified Amplify app and backend environment.
/// </summary>
public partial class ListFormsRequest : AmazonAmplifyUIBuilderRequest
{
private string _appId;
private string _environmentName;
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property EnvironmentName.
/// <para>
/// The name of the backend environment that is a part of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of forms to retrieve.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token to request the next page of results.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 118 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// This is the response object from the ListForms operation.
/// </summary>
public partial class ListFormsResponse : AmazonWebServiceResponse
{
private List<FormSummary> _entities = new List<FormSummary>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Entities.
/// <para>
/// The list of forms for the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<FormSummary> Entities
{
get { return this._entities; }
set { this._entities = value; }
}
// Check to see if Entities property is set
internal bool IsSetEntities()
{
return this._entities != null && this._entities.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token that's included if more results are available.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 77 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Container for the parameters to the ListThemes operation.
/// Retrieves a list of themes for a specified Amplify app and backend environment.
/// </summary>
public partial class ListThemesRequest : AmazonAmplifyUIBuilderRequest
{
private string _appId;
private string _environmentName;
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property EnvironmentName.
/// <para>
/// The name of the backend environment that is a part of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of theme results to return in the response.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token to request the next page of results.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 118 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// This is the response object from the ListThemes operation.
/// </summary>
public partial class ListThemesResponse : AmazonWebServiceResponse
{
private List<ThemeSummary> _entities = new List<ThemeSummary>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Entities.
/// <para>
/// The list of themes for the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<ThemeSummary> Entities
{
get { return this._entities; }
set { this._entities = value; }
}
// Check to see if Entities property is set
internal bool IsSetEntities()
{
return this._entities != null && this._entities.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token that's returned if more results are available.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
} | 77 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Represents the state configuration when an action modifies a property of another element
/// within the same component.
/// </summary>
public partial class MutationActionSetStateParameter
{
private string _componentName;
private string _property;
private ComponentProperty _set;
/// <summary>
/// Gets and sets the property ComponentName.
/// <para>
/// The name of the component that is being modified.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ComponentName
{
get { return this._componentName; }
set { this._componentName = value; }
}
// Check to see if ComponentName property is set
internal bool IsSetComponentName()
{
return this._componentName != null;
}
/// <summary>
/// Gets and sets the property Property.
/// <para>
/// The name of the component property to apply the state configuration to.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Property
{
get { return this._property; }
set { this._property = value; }
}
// Check to see if Property property is set
internal bool IsSetProperty()
{
return this._property != null;
}
/// <summary>
/// Gets and sets the property Set.
/// <para>
/// The state configuration to assign to the property.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ComponentProperty Set
{
get { return this._set; }
set { this._set = value; }
}
// Check to see if Set property is set
internal bool IsSetSet()
{
return this._set != null;
}
}
} | 99 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Stores information for generating Amplify DataStore queries. Use a <code>Predicate</code>
/// to retrieve a subset of the data in a collection.
/// </summary>
public partial class Predicate
{
private List<Predicate> _and = new List<Predicate>();
private string _field;
private string _operand;
private string _operandType;
private string _operator;
private List<Predicate> _or = new List<Predicate>();
/// <summary>
/// Gets and sets the property And.
/// <para>
/// A list of predicates to combine logically.
/// </para>
/// </summary>
public List<Predicate> And
{
get { return this._and; }
set { this._and = value; }
}
// Check to see if And property is set
internal bool IsSetAnd()
{
return this._and != null && this._and.Count > 0;
}
/// <summary>
/// Gets and sets the property Field.
/// <para>
/// The field to query.
/// </para>
/// </summary>
public string Field
{
get { return this._field; }
set { this._field = value; }
}
// Check to see if Field property is set
internal bool IsSetField()
{
return this._field != null;
}
/// <summary>
/// Gets and sets the property Operand.
/// <para>
/// The value to use when performing the evaluation.
/// </para>
/// </summary>
public string Operand
{
get { return this._operand; }
set { this._operand = value; }
}
// Check to see if Operand property is set
internal bool IsSetOperand()
{
return this._operand != null;
}
/// <summary>
/// Gets and sets the property OperandType.
/// <para>
/// The type of value to use when performing the evaluation.
/// </para>
/// </summary>
public string OperandType
{
get { return this._operandType; }
set { this._operandType = value; }
}
// Check to see if OperandType property is set
internal bool IsSetOperandType()
{
return this._operandType != null;
}
/// <summary>
/// Gets and sets the property Operator.
/// <para>
/// The operator to use to perform the evaluation.
/// </para>
/// </summary>
public string Operator
{
get { return this._operator; }
set { this._operator = value; }
}
// Check to see if Operator property is set
internal bool IsSetOperator()
{
return this._operator != null;
}
/// <summary>
/// Gets and sets the property Or.
/// <para>
/// A list of predicates to combine logically.
/// </para>
/// </summary>
public List<Predicate> Or
{
get { return this._or; }
set { this._or = value; }
}
// Check to see if Or property is set
internal bool IsSetOr()
{
return this._or != null && this._or.Count > 0;
}
}
} | 153 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Stores the metadata information about a feature on a form.
/// </summary>
public partial class PutMetadataFlagBody
{
private string _newValue;
/// <summary>
/// Gets and sets the property NewValue.
/// <para>
/// The new information to store.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string NewValue
{
get { return this._newValue; }
set { this._newValue = value; }
}
// Check to see if NewValue property is set
internal bool IsSetNewValue()
{
return this._newValue != null;
}
}
} | 58 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Container for the parameters to the PutMetadataFlag operation.
/// Stores the metadata information about a feature on a form.
/// </summary>
public partial class PutMetadataFlagRequest : AmazonAmplifyUIBuilderRequest
{
private string _appId;
private PutMetadataFlagBody _body;
private string _environmentName;
private string _featureName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property Body.
/// <para>
/// The metadata information to store.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public PutMetadataFlagBody Body
{
get { return this._body; }
set { this._body = value; }
}
// Check to see if Body property is set
internal bool IsSetBody()
{
return this._body != null;
}
/// <summary>
/// Gets and sets the property EnvironmentName.
/// <para>
/// The name of the backend environment that is part of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != null;
}
/// <summary>
/// Gets and sets the property FeatureName.
/// <para>
/// The name of the feature associated with the metadata.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string FeatureName
{
get { return this._featureName; }
set { this._featureName = value; }
}
// Check to see if FeatureName property is set
internal bool IsSetFeatureName()
{
return this._featureName != null;
}
}
} | 119 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// This is the response object from the PutMetadataFlag operation.
/// </summary>
public partial class PutMetadataFlagResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Describes the code generation job configuration for a React project.
/// </summary>
public partial class ReactStartCodegenJobData
{
private bool? _inlineSourceMap;
private JSModule _module;
private bool? _renderTypeDeclarations;
private JSScript _script;
private JSTarget _target;
/// <summary>
/// Gets and sets the property InlineSourceMap.
/// <para>
/// Specifies whether the code generation job should render inline source maps.
/// </para>
/// </summary>
public bool InlineSourceMap
{
get { return this._inlineSourceMap.GetValueOrDefault(); }
set { this._inlineSourceMap = value; }
}
// Check to see if InlineSourceMap property is set
internal bool IsSetInlineSourceMap()
{
return this._inlineSourceMap.HasValue;
}
/// <summary>
/// Gets and sets the property Module.
/// <para>
/// The JavaScript module type.
/// </para>
/// </summary>
public JSModule Module
{
get { return this._module; }
set { this._module = value; }
}
// Check to see if Module property is set
internal bool IsSetModule()
{
return this._module != null;
}
/// <summary>
/// Gets and sets the property RenderTypeDeclarations.
/// <para>
/// Specifies whether the code generation job should render type declaration files.
/// </para>
/// </summary>
public bool RenderTypeDeclarations
{
get { return this._renderTypeDeclarations.GetValueOrDefault(); }
set { this._renderTypeDeclarations = value; }
}
// Check to see if RenderTypeDeclarations property is set
internal bool IsSetRenderTypeDeclarations()
{
return this._renderTypeDeclarations.HasValue;
}
/// <summary>
/// Gets and sets the property Script.
/// <para>
/// The file type to use for a JavaScript project.
/// </para>
/// </summary>
public JSScript Script
{
get { return this._script; }
set { this._script = value; }
}
// Check to see if Script property is set
internal bool IsSetScript()
{
return this._script != null;
}
/// <summary>
/// Gets and sets the property Target.
/// <para>
/// The ECMAScript specification to use.
/// </para>
/// </summary>
public JSTarget Target
{
get { return this._target; }
set { this._target = value; }
}
// Check to see if Target property is set
internal bool IsSetTarget()
{
return this._target != null;
}
}
} | 133 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Container for the parameters to the RefreshToken operation.
/// Refreshes a previously issued access token that might have expired.
/// </summary>
public partial class RefreshTokenRequest : AmazonAmplifyUIBuilderRequest
{
private TokenProviders _provider;
private RefreshTokenRequestBody _refreshTokenBody;
/// <summary>
/// Gets and sets the property Provider.
/// <para>
/// The third-party provider for the token. The only valid value is <code>figma</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public TokenProviders Provider
{
get { return this._provider; }
set { this._provider = value; }
}
// Check to see if Provider property is set
internal bool IsSetProvider()
{
return this._provider != null;
}
/// <summary>
/// Gets and sets the property RefreshTokenBody.
/// <para>
/// Information about the refresh token request.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public RefreshTokenRequestBody RefreshTokenBody
{
get { return this._refreshTokenBody; }
set { this._refreshTokenBody = value; }
}
// Check to see if RefreshTokenBody property is set
internal bool IsSetRefreshTokenBody()
{
return this._refreshTokenBody != null;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Describes a refresh token.
/// </summary>
public partial class RefreshTokenRequestBody
{
private string _clientId;
private string _token;
/// <summary>
/// Gets and sets the property ClientId.
/// <para>
/// The ID of the client to request the token from.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string ClientId
{
get { return this._clientId; }
set { this._clientId = value; }
}
// Check to see if ClientId property is set
internal bool IsSetClientId()
{
return this._clientId != null;
}
/// <summary>
/// Gets and sets the property Token.
/// <para>
/// The token to use to refresh a previously issued access token that might have expired.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true)]
public string Token
{
get { return this._token; }
set { this._token = value; }
}
// Check to see if Token property is set
internal bool IsSetToken()
{
return this._token != null;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// This is the response object from the RefreshToken operation.
/// </summary>
public partial class RefreshTokenResponse : AmazonWebServiceResponse
{
private string _accessToken;
private int? _expiresIn;
/// <summary>
/// Gets and sets the property AccessToken.
/// <para>
/// The access token.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true)]
public string AccessToken
{
get { return this._accessToken; }
set { this._accessToken = value; }
}
// Check to see if AccessToken property is set
internal bool IsSetAccessToken()
{
return this._accessToken != null;
}
/// <summary>
/// Gets and sets the property ExpiresIn.
/// <para>
/// The date and time when the new access token expires.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public int ExpiresIn
{
get { return this._expiresIn.GetValueOrDefault(); }
set { this._expiresIn = value; }
}
// Check to see if ExpiresIn property is set
internal bool IsSetExpiresIn()
{
return this._expiresIn.HasValue;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// The resource specified in the request conflicts with an existing resource.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ResourceConflictException : AmazonAmplifyUIBuilderException
{
/// <summary>
/// Constructs a new ResourceConflictException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ResourceConflictException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ResourceConflictException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ResourceConflictException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ResourceConflictException
/// </summary>
/// <param name="innerException"></param>
public ResourceConflictException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ResourceConflictException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ResourceConflictException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ResourceConflictException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ResourceConflictException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the ResourceConflictException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected ResourceConflictException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// The requested resource does not exist, or access was denied.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ResourceNotFoundException : AmazonAmplifyUIBuilderException
{
/// <summary>
/// Constructs a new ResourceNotFoundException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ResourceNotFoundException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ResourceNotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ResourceNotFoundException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ResourceNotFoundException
/// </summary>
/// <param name="innerException"></param>
public ResourceNotFoundException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ResourceNotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ResourceNotFoundException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ResourceNotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ResourceNotFoundException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the ResourceNotFoundException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected ResourceNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Stores the configuration information for a visual helper element for a form. A sectional
/// element can be a header, a text block, or a divider. These elements are static and
/// not associated with any data.
/// </summary>
public partial class SectionalElement
{
private bool? _excluded;
private int? _level;
private string _orientation;
private FieldPosition _position;
private string _text;
private string _type;
/// <summary>
/// Gets and sets the property Excluded.
/// <para>
/// Excludes a sectional element that was generated by default for a specified data model.
/// </para>
/// </summary>
public bool Excluded
{
get { return this._excluded.GetValueOrDefault(); }
set { this._excluded = value; }
}
// Check to see if Excluded property is set
internal bool IsSetExcluded()
{
return this._excluded.HasValue;
}
/// <summary>
/// Gets and sets the property Level.
/// <para>
/// Specifies the size of the font for a <code>Heading</code> sectional element. Valid
/// values are <code>1 | 2 | 3 | 4 | 5 | 6</code>.
/// </para>
/// </summary>
public int Level
{
get { return this._level.GetValueOrDefault(); }
set { this._level = value; }
}
// Check to see if Level property is set
internal bool IsSetLevel()
{
return this._level.HasValue;
}
/// <summary>
/// Gets and sets the property Orientation.
/// <para>
/// Specifies the orientation for a <code>Divider</code> sectional element. Valid values
/// are <code>horizontal</code> or <code>vertical</code>.
/// </para>
/// </summary>
public string Orientation
{
get { return this._orientation; }
set { this._orientation = value; }
}
// Check to see if Orientation property is set
internal bool IsSetOrientation()
{
return this._orientation != null;
}
/// <summary>
/// Gets and sets the property Position.
/// <para>
/// Specifies the position of the text in a field for a <code>Text</code> sectional element.
/// </para>
/// </summary>
public FieldPosition Position
{
get { return this._position; }
set { this._position = value; }
}
// Check to see if Position property is set
internal bool IsSetPosition()
{
return this._position != null;
}
/// <summary>
/// Gets and sets the property Text.
/// <para>
/// The text for a <code>Text</code> sectional element.
/// </para>
/// </summary>
public string Text
{
get { return this._text; }
set { this._text = value; }
}
// Check to see if Text property is set
internal bool IsSetText()
{
return this._text != null;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The type of sectional element. Valid values are <code>Heading</code>, <code>Text</code>,
/// and <code>Divider</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
} | 158 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// You exceeded your service quota. Service quotas, also referred to as limits, are the
/// maximum number of service resources or operations for your Amazon Web Services account.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ServiceQuotaExceededException : AmazonAmplifyUIBuilderException
{
/// <summary>
/// Constructs a new ServiceQuotaExceededException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ServiceQuotaExceededException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ServiceQuotaExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ServiceQuotaExceededException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ServiceQuotaExceededException
/// </summary>
/// <param name="innerException"></param>
public ServiceQuotaExceededException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ServiceQuotaExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ServiceQuotaExceededException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ServiceQuotaExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ServiceQuotaExceededException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the ServiceQuotaExceededException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected ServiceQuotaExceededException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 125 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Describes how to sort the data that you bind to a component.
/// </summary>
public partial class SortProperty
{
private SortDirection _direction;
private string _field;
/// <summary>
/// Gets and sets the property Direction.
/// <para>
/// The direction of the sort, either ascending or descending.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public SortDirection Direction
{
get { return this._direction; }
set { this._direction = value; }
}
// Check to see if Direction property is set
internal bool IsSetDirection()
{
return this._direction != null;
}
/// <summary>
/// Gets and sets the property Field.
/// <para>
/// The field to perform the sort on.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Field
{
get { return this._field; }
set { this._field = value; }
}
// Check to see if Field property is set
internal bool IsSetField()
{
return this._field != null;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// The code generation job resource configuration.
/// </summary>
public partial class StartCodegenJobData
{
private bool? _autoGenerateForms;
private CodegenFeatureFlags _features;
private CodegenJobGenericDataSchema _genericDataSchema;
private CodegenJobRenderConfig _renderConfig;
private Dictionary<string, string> _tags = new Dictionary<string, string>();
/// <summary>
/// Gets and sets the property AutoGenerateForms.
/// <para>
/// Specifies whether to autogenerate forms in the code generation job.
/// </para>
/// </summary>
public bool AutoGenerateForms
{
get { return this._autoGenerateForms.GetValueOrDefault(); }
set { this._autoGenerateForms = value; }
}
// Check to see if AutoGenerateForms property is set
internal bool IsSetAutoGenerateForms()
{
return this._autoGenerateForms.HasValue;
}
/// <summary>
/// Gets and sets the property Features.
/// <para>
/// The feature flags for a code generation job.
/// </para>
/// </summary>
public CodegenFeatureFlags Features
{
get { return this._features; }
set { this._features = value; }
}
// Check to see if Features property is set
internal bool IsSetFeatures()
{
return this._features != null;
}
/// <summary>
/// Gets and sets the property GenericDataSchema.
/// <para>
/// The data schema to use for a code generation job.
/// </para>
/// </summary>
public CodegenJobGenericDataSchema GenericDataSchema
{
get { return this._genericDataSchema; }
set { this._genericDataSchema = value; }
}
// Check to see if GenericDataSchema property is set
internal bool IsSetGenericDataSchema()
{
return this._genericDataSchema != null;
}
/// <summary>
/// Gets and sets the property RenderConfig.
/// <para>
/// The code generation configuration for the codegen job.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public CodegenJobRenderConfig RenderConfig
{
get { return this._renderConfig; }
set { this._renderConfig = value; }
}
// Check to see if RenderConfig property is set
internal bool IsSetRenderConfig()
{
return this._renderConfig != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// One or more key-value pairs to use when tagging the code generation job data.
/// </para>
/// </summary>
public Dictionary<string, string> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
} | 134 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Container for the parameters to the StartCodegenJob operation.
/// Starts a code generation job for for a specified Amplify app and backend environment.
/// </summary>
public partial class StartCodegenJobRequest : AmazonAmplifyUIBuilderRequest
{
private string _appId;
private string _clientToken;
private StartCodegenJobData _codegenJobToCreate;
private string _environmentName;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=20)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property ClientToken.
/// <para>
/// The idempotency token used to ensure that the code generation job request completes
/// only once.
/// </para>
/// </summary>
public string ClientToken
{
get { return this._clientToken; }
set { this._clientToken = value; }
}
// Check to see if ClientToken property is set
internal bool IsSetClientToken()
{
return this._clientToken != null;
}
/// <summary>
/// Gets and sets the property CodegenJobToCreate.
/// <para>
/// The code generation job resource configuration.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public StartCodegenJobData CodegenJobToCreate
{
get { return this._codegenJobToCreate; }
set { this._codegenJobToCreate = value; }
}
// Check to see if CodegenJobToCreate property is set
internal bool IsSetCodegenJobToCreate()
{
return this._codegenJobToCreate != null;
}
/// <summary>
/// Gets and sets the property EnvironmentName.
/// <para>
/// The name of the backend environment that is a part of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != null;
}
}
} | 119 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// This is the response object from the StartCodegenJob operation.
/// </summary>
public partial class StartCodegenJobResponse : AmazonWebServiceResponse
{
private CodegenJob _entity;
/// <summary>
/// Gets and sets the property Entity.
/// <para>
/// The code generation job for a UI component that is associated with an Amplify app.
/// </para>
/// </summary>
public CodegenJob Entity
{
get { return this._entity; }
set { this._entity = value; }
}
// Check to see if Entity property is set
internal bool IsSetEntity()
{
return this._entity != null;
}
}
} | 57 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// A theme is a collection of style settings that apply globally to the components associated
/// with an Amplify application.
/// </summary>
public partial class Theme
{
private string _appId;
private DateTime? _createdAt;
private string _environmentName;
private string _id;
private DateTime? _modifiedAt;
private string _name;
private List<ThemeValues> _overrides = new List<ThemeValues>();
private Dictionary<string, string> _tags = new Dictionary<string, string>();
private List<ThemeValues> _values = new List<ThemeValues>();
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for the Amplify app associated with the theme.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property CreatedAt.
/// <para>
/// The time that the theme was created.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public DateTime CreatedAt
{
get { return this._createdAt.GetValueOrDefault(); }
set { this._createdAt = value; }
}
// Check to see if CreatedAt property is set
internal bool IsSetCreatedAt()
{
return this._createdAt.HasValue;
}
/// <summary>
/// Gets and sets the property EnvironmentName.
/// <para>
/// The name of the backend environment that is a part of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The ID for the theme.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property ModifiedAt.
/// <para>
/// The time that the theme was modified.
/// </para>
/// </summary>
public DateTime ModifiedAt
{
get { return this._modifiedAt.GetValueOrDefault(); }
set { this._modifiedAt = value; }
}
// Check to see if ModifiedAt property is set
internal bool IsSetModifiedAt()
{
return this._modifiedAt.HasValue;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the theme.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property Overrides.
/// <para>
/// Describes the properties that can be overriden to customize a theme.
/// </para>
/// </summary>
public List<ThemeValues> Overrides
{
get { return this._overrides; }
set { this._overrides = value; }
}
// Check to see if Overrides property is set
internal bool IsSetOverrides()
{
return this._overrides != null && this._overrides.Count > 0;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// One or more key-value pairs to use when tagging the theme.
/// </para>
/// </summary>
public Dictionary<string, string> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
/// <summary>
/// Gets and sets the property Values.
/// <para>
/// A list of key-value pairs that defines the properties of the theme.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<ThemeValues> Values
{
get { return this._values; }
set { this._values = value; }
}
// Check to see if Values property is set
internal bool IsSetValues()
{
return this._values != null && this._values.Count > 0;
}
}
} | 216 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Describes the basic information about a theme.
/// </summary>
public partial class ThemeSummary
{
private string _appId;
private string _environmentName;
private string _id;
private string _name;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for the app associated with the theme summary.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property EnvironmentName.
/// <para>
/// The name of the backend environment that is part of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The ID of the theme.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the theme.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
}
} | 118 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Describes the configuration of a theme's properties.
/// </summary>
public partial class ThemeValue
{
private List<ThemeValues> _children = new List<ThemeValues>();
private string _value;
/// <summary>
/// Gets and sets the property Children.
/// <para>
/// A list of key-value pairs that define the theme's properties.
/// </para>
/// </summary>
public List<ThemeValues> Children
{
get { return this._children; }
set { this._children = value; }
}
// Check to see if Children property is set
internal bool IsSetChildren()
{
return this._children != null && this._children.Count > 0;
}
/// <summary>
/// Gets and sets the property Value.
/// <para>
/// The value of a theme property.
/// </para>
/// </summary>
public string Value
{
get { return this._value; }
set { this._value = value; }
}
// Check to see if Value property is set
internal bool IsSetValue()
{
return this._value != null;
}
}
} | 76 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// A key-value pair that defines a property of a theme.
/// </summary>
public partial class ThemeValues
{
private string _key;
private ThemeValue _value;
/// <summary>
/// Gets and sets the property Key.
/// <para>
/// The name of the property.
/// </para>
/// </summary>
public string Key
{
get { return this._key; }
set { this._key = value; }
}
// Check to see if Key property is set
internal bool IsSetKey()
{
return this._key != null;
}
/// <summary>
/// Gets and sets the property Value.
/// <para>
/// The value of the property.
/// </para>
/// </summary>
public ThemeValue Value
{
get { return this._value; }
set { this._value = value; }
}
// Check to see if Value property is set
internal bool IsSetValue()
{
return this._value != null;
}
}
} | 76 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// The request was denied due to request throttling.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ThrottlingException : AmazonAmplifyUIBuilderException
{
/// <summary>
/// Constructs a new ThrottlingException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ThrottlingException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ThrottlingException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ThrottlingException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ThrottlingException
/// </summary>
/// <param name="innerException"></param>
public ThrottlingException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ThrottlingException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ThrottlingException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ThrottlingException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ThrottlingException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the ThrottlingException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected ThrottlingException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// You don't have permission to perform this operation.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class UnauthorizedException : AmazonAmplifyUIBuilderException
{
/// <summary>
/// Constructs a new UnauthorizedException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public UnauthorizedException(string message)
: base(message) {}
/// <summary>
/// Construct instance of UnauthorizedException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public UnauthorizedException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of UnauthorizedException
/// </summary>
/// <param name="innerException"></param>
public UnauthorizedException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of UnauthorizedException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public UnauthorizedException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of UnauthorizedException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public UnauthorizedException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the UnauthorizedException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected UnauthorizedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Updates and saves all of the information about a component, based on component ID.
/// </summary>
public partial class UpdateComponentData
{
private Dictionary<string, ComponentBindingPropertiesValue> _bindingProperties = new Dictionary<string, ComponentBindingPropertiesValue>();
private List<ComponentChild> _children = new List<ComponentChild>();
private Dictionary<string, ComponentDataConfiguration> _collectionProperties = new Dictionary<string, ComponentDataConfiguration>();
private string _componentType;
private Dictionary<string, ComponentEvent> _events = new Dictionary<string, ComponentEvent>();
private string _id;
private string _name;
private Dictionary<string, Dictionary<string, string>> _overrides = new Dictionary<string, Dictionary<string, string>>();
private Dictionary<string, ComponentProperty> _properties = new Dictionary<string, ComponentProperty>();
private string _schemaVersion;
private string _sourceId;
private List<ComponentVariant> _variants = new List<ComponentVariant>();
/// <summary>
/// Gets and sets the property BindingProperties.
/// <para>
/// The data binding information for the component's properties.
/// </para>
/// </summary>
public Dictionary<string, ComponentBindingPropertiesValue> BindingProperties
{
get { return this._bindingProperties; }
set { this._bindingProperties = value; }
}
// Check to see if BindingProperties property is set
internal bool IsSetBindingProperties()
{
return this._bindingProperties != null && this._bindingProperties.Count > 0;
}
/// <summary>
/// Gets and sets the property Children.
/// <para>
/// The components that are instances of the main component.
/// </para>
/// </summary>
public List<ComponentChild> Children
{
get { return this._children; }
set { this._children = value; }
}
// Check to see if Children property is set
internal bool IsSetChildren()
{
return this._children != null && this._children.Count > 0;
}
/// <summary>
/// Gets and sets the property CollectionProperties.
/// <para>
/// The configuration for binding a component's properties to a data model. Use this for
/// a collection component.
/// </para>
/// </summary>
public Dictionary<string, ComponentDataConfiguration> CollectionProperties
{
get { return this._collectionProperties; }
set { this._collectionProperties = value; }
}
// Check to see if CollectionProperties property is set
internal bool IsSetCollectionProperties()
{
return this._collectionProperties != null && this._collectionProperties.Count > 0;
}
/// <summary>
/// Gets and sets the property ComponentType.
/// <para>
/// The type of the component. This can be an Amplify custom UI component or another custom
/// component.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=255)]
public string ComponentType
{
get { return this._componentType; }
set { this._componentType = value; }
}
// Check to see if ComponentType property is set
internal bool IsSetComponentType()
{
return this._componentType != null;
}
/// <summary>
/// Gets and sets the property Events.
/// <para>
/// The event configuration for the component. Use for the workflow feature in Amplify
/// Studio that allows you to bind events and actions to components.
/// </para>
/// </summary>
public Dictionary<string, ComponentEvent> Events
{
get { return this._events; }
set { this._events = value; }
}
// Check to see if Events property is set
internal bool IsSetEvents()
{
return this._events != null && this._events.Count > 0;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The unique ID of the component to update.
/// </para>
/// </summary>
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the component to update.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=255)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property Overrides.
/// <para>
/// Describes the properties that can be overriden to customize the component.
/// </para>
/// </summary>
public Dictionary<string, Dictionary<string, string>> Overrides
{
get { return this._overrides; }
set { this._overrides = value; }
}
// Check to see if Overrides property is set
internal bool IsSetOverrides()
{
return this._overrides != null && this._overrides.Count > 0;
}
/// <summary>
/// Gets and sets the property Properties.
/// <para>
/// Describes the component's properties.
/// </para>
/// </summary>
public Dictionary<string, ComponentProperty> Properties
{
get { return this._properties; }
set { this._properties = value; }
}
// Check to see if Properties property is set
internal bool IsSetProperties()
{
return this._properties != null && this._properties.Count > 0;
}
/// <summary>
/// Gets and sets the property SchemaVersion.
/// <para>
/// The schema version of the component when it was imported.
/// </para>
/// </summary>
public string SchemaVersion
{
get { return this._schemaVersion; }
set { this._schemaVersion = value; }
}
// Check to see if SchemaVersion property is set
internal bool IsSetSchemaVersion()
{
return this._schemaVersion != null;
}
/// <summary>
/// Gets and sets the property SourceId.
/// <para>
/// The unique ID of the component in its original source system, such as Figma.
/// </para>
/// </summary>
public string SourceId
{
get { return this._sourceId; }
set { this._sourceId = value; }
}
// Check to see if SourceId property is set
internal bool IsSetSourceId()
{
return this._sourceId != null;
}
/// <summary>
/// Gets and sets the property Variants.
/// <para>
/// A list of the unique variants of the main component being updated.
/// </para>
/// </summary>
public List<ComponentVariant> Variants
{
get { return this._variants; }
set { this._variants = value; }
}
// Check to see if Variants property is set
internal bool IsSetVariants()
{
return this._variants != null && this._variants.Count > 0;
}
}
} | 271 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Container for the parameters to the UpdateComponent operation.
/// Updates an existing component.
/// </summary>
public partial class UpdateComponentRequest : AmazonAmplifyUIBuilderRequest
{
private string _appId;
private string _clientToken;
private string _environmentName;
private string _id;
private UpdateComponentData _updatedComponent;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property ClientToken.
/// <para>
/// The unique client token.
/// </para>
/// </summary>
public string ClientToken
{
get { return this._clientToken; }
set { this._clientToken = value; }
}
// Check to see if ClientToken property is set
internal bool IsSetClientToken()
{
return this._clientToken != null;
}
/// <summary>
/// Gets and sets the property EnvironmentName.
/// <para>
/// The name of the backend environment that is part of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The unique ID for the component.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property UpdatedComponent.
/// <para>
/// The configuration of the updated component.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public UpdateComponentData UpdatedComponent
{
get { return this._updatedComponent; }
set { this._updatedComponent = value; }
}
// Check to see if UpdatedComponent property is set
internal bool IsSetUpdatedComponent()
{
return this._updatedComponent != null;
}
}
} | 138 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// This is the response object from the UpdateComponent operation.
/// </summary>
public partial class UpdateComponentResponse : AmazonWebServiceResponse
{
private Component _entity;
/// <summary>
/// Gets and sets the property Entity.
/// <para>
/// Describes the configuration of the updated component.
/// </para>
/// </summary>
public Component Entity
{
get { return this._entity; }
set { this._entity = value; }
}
// Check to see if Entity property is set
internal bool IsSetEntity()
{
return this._entity != null;
}
}
} | 57 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Updates and saves all of the information about a form, based on form ID.
/// </summary>
public partial class UpdateFormData
{
private FormCTA _cta;
private FormDataTypeConfig _dataType;
private Dictionary<string, FieldConfig> _fields = new Dictionary<string, FieldConfig>();
private FormActionType _formActionType;
private LabelDecorator _labelDecorator;
private string _name;
private string _schemaVersion;
private Dictionary<string, SectionalElement> _sectionalElements = new Dictionary<string, SectionalElement>();
private FormStyle _style;
/// <summary>
/// Gets and sets the property Cta.
/// <para>
/// The <code>FormCTA</code> object that stores the call to action configuration for the
/// form.
/// </para>
/// </summary>
public FormCTA Cta
{
get { return this._cta; }
set { this._cta = value; }
}
// Check to see if Cta property is set
internal bool IsSetCta()
{
return this._cta != null;
}
/// <summary>
/// Gets and sets the property DataType.
/// <para>
/// The type of data source to use to create the form.
/// </para>
/// </summary>
public FormDataTypeConfig DataType
{
get { return this._dataType; }
set { this._dataType = value; }
}
// Check to see if DataType property is set
internal bool IsSetDataType()
{
return this._dataType != null;
}
/// <summary>
/// Gets and sets the property Fields.
/// <para>
/// The configuration information for the form's fields.
/// </para>
/// </summary>
public Dictionary<string, FieldConfig> Fields
{
get { return this._fields; }
set { this._fields = value; }
}
// Check to see if Fields property is set
internal bool IsSetFields()
{
return this._fields != null && this._fields.Count > 0;
}
/// <summary>
/// Gets and sets the property FormActionType.
/// <para>
/// Specifies whether to perform a create or update action on the form.
/// </para>
/// </summary>
public FormActionType FormActionType
{
get { return this._formActionType; }
set { this._formActionType = value; }
}
// Check to see if FormActionType property is set
internal bool IsSetFormActionType()
{
return this._formActionType != null;
}
/// <summary>
/// Gets and sets the property LabelDecorator.
/// <para>
/// Specifies an icon or decoration to display on the form.
/// </para>
/// </summary>
public LabelDecorator LabelDecorator
{
get { return this._labelDecorator; }
set { this._labelDecorator = value; }
}
// Check to see if LabelDecorator property is set
internal bool IsSetLabelDecorator()
{
return this._labelDecorator != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the form.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=255)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property SchemaVersion.
/// <para>
/// The schema version of the form.
/// </para>
/// </summary>
public string SchemaVersion
{
get { return this._schemaVersion; }
set { this._schemaVersion = value; }
}
// Check to see if SchemaVersion property is set
internal bool IsSetSchemaVersion()
{
return this._schemaVersion != null;
}
/// <summary>
/// Gets and sets the property SectionalElements.
/// <para>
/// The configuration information for the visual helper elements for the form. These elements
/// are not associated with any data.
/// </para>
/// </summary>
public Dictionary<string, SectionalElement> SectionalElements
{
get { return this._sectionalElements; }
set { this._sectionalElements = value; }
}
// Check to see if SectionalElements property is set
internal bool IsSetSectionalElements()
{
return this._sectionalElements != null && this._sectionalElements.Count > 0;
}
/// <summary>
/// Gets and sets the property Style.
/// <para>
/// The configuration for the form's style.
/// </para>
/// </summary>
public FormStyle Style
{
get { return this._style; }
set { this._style = value; }
}
// Check to see if Style property is set
internal bool IsSetStyle()
{
return this._style != null;
}
}
} | 212 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Container for the parameters to the UpdateForm operation.
/// Updates an existing form.
/// </summary>
public partial class UpdateFormRequest : AmazonAmplifyUIBuilderRequest
{
private string _appId;
private string _clientToken;
private string _environmentName;
private string _id;
private UpdateFormData _updatedForm;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property ClientToken.
/// <para>
/// The unique client token.
/// </para>
/// </summary>
public string ClientToken
{
get { return this._clientToken; }
set { this._clientToken = value; }
}
// Check to see if ClientToken property is set
internal bool IsSetClientToken()
{
return this._clientToken != null;
}
/// <summary>
/// Gets and sets the property EnvironmentName.
/// <para>
/// The name of the backend environment that is part of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The unique ID for the form.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property UpdatedForm.
/// <para>
/// The request accepts the following data in JSON format.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public UpdateFormData UpdatedForm
{
get { return this._updatedForm; }
set { this._updatedForm = value; }
}
// Check to see if UpdatedForm property is set
internal bool IsSetUpdatedForm()
{
return this._updatedForm != null;
}
}
} | 138 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// This is the response object from the UpdateForm operation.
/// </summary>
public partial class UpdateFormResponse : AmazonWebServiceResponse
{
private Form _entity;
/// <summary>
/// Gets and sets the property Entity.
/// <para>
/// Describes the configuration of the updated form.
/// </para>
/// </summary>
public Form Entity
{
get { return this._entity; }
set { this._entity = value; }
}
// Check to see if Entity property is set
internal bool IsSetEntity()
{
return this._entity != null;
}
}
} | 57 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Saves the data binding information for a theme.
/// </summary>
public partial class UpdateThemeData
{
private string _id;
private string _name;
private List<ThemeValues> _overrides = new List<ThemeValues>();
private List<ThemeValues> _values = new List<ThemeValues>();
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The unique ID of the theme to update.
/// </para>
/// </summary>
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the theme to update.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=255)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property Overrides.
/// <para>
/// Describes the properties that can be overriden to customize the theme.
/// </para>
/// </summary>
public List<ThemeValues> Overrides
{
get { return this._overrides; }
set { this._overrides = value; }
}
// Check to see if Overrides property is set
internal bool IsSetOverrides()
{
return this._overrides != null && this._overrides.Count > 0;
}
/// <summary>
/// Gets and sets the property Values.
/// <para>
/// A list of key-value pairs that define the theme's properties.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<ThemeValues> Values
{
get { return this._values; }
set { this._values = value; }
}
// Check to see if Values property is set
internal bool IsSetValues()
{
return this._values != null && this._values.Count > 0;
}
}
} | 116 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Container for the parameters to the UpdateTheme operation.
/// Updates an existing theme.
/// </summary>
public partial class UpdateThemeRequest : AmazonAmplifyUIBuilderRequest
{
private string _appId;
private string _clientToken;
private string _environmentName;
private string _id;
private UpdateThemeData _updatedTheme;
/// <summary>
/// Gets and sets the property AppId.
/// <para>
/// The unique ID for the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AppId
{
get { return this._appId; }
set { this._appId = value; }
}
// Check to see if AppId property is set
internal bool IsSetAppId()
{
return this._appId != null;
}
/// <summary>
/// Gets and sets the property ClientToken.
/// <para>
/// The unique client token.
/// </para>
/// </summary>
public string ClientToken
{
get { return this._clientToken; }
set { this._clientToken = value; }
}
// Check to see if ClientToken property is set
internal bool IsSetClientToken()
{
return this._clientToken != null;
}
/// <summary>
/// Gets and sets the property EnvironmentName.
/// <para>
/// The name of the backend environment that is part of the Amplify app.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EnvironmentName
{
get { return this._environmentName; }
set { this._environmentName = value; }
}
// Check to see if EnvironmentName property is set
internal bool IsSetEnvironmentName()
{
return this._environmentName != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The unique ID for the theme.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property UpdatedTheme.
/// <para>
/// The configuration of the updated theme.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public UpdateThemeData UpdatedTheme
{
get { return this._updatedTheme; }
set { this._updatedTheme = value; }
}
// Check to see if UpdatedTheme property is set
internal bool IsSetUpdatedTheme()
{
return this._updatedTheme != null;
}
}
} | 138 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// This is the response object from the UpdateTheme operation.
/// </summary>
public partial class UpdateThemeResponse : AmazonWebServiceResponse
{
private Theme _entity;
/// <summary>
/// Gets and sets the property Entity.
/// <para>
/// Describes the configuration of the updated theme.
/// </para>
/// </summary>
public Theme Entity
{
get { return this._entity; }
set { this._entity = value; }
}
// Check to see if Entity property is set
internal bool IsSetEntity()
{
return this._entity != null;
}
}
} | 57 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Associates a complex object with a display value. Use <code>ValueMapping</code> to
/// store how to represent complex objects when they are displayed.
/// </summary>
public partial class ValueMapping
{
private FormInputValueProperty _displayValue;
private FormInputValueProperty _value;
/// <summary>
/// Gets and sets the property DisplayValue.
/// <para>
/// The value to display for the complex object.
/// </para>
/// </summary>
public FormInputValueProperty DisplayValue
{
get { return this._displayValue; }
set { this._displayValue = value; }
}
// Check to see if DisplayValue property is set
internal bool IsSetDisplayValue()
{
return this._displayValue != null;
}
/// <summary>
/// Gets and sets the property Value.
/// <para>
/// The complex object.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public FormInputValueProperty Value
{
get { return this._value; }
set { this._value = value; }
}
// Check to see if Value property is set
internal bool IsSetValue()
{
return this._value != null;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AmplifyUIBuilder.Model
{
/// <summary>
/// Represents the data binding configuration for a value map.
/// </summary>
public partial class ValueMappings
{
private Dictionary<string, FormInputBindingPropertiesValue> _bindingProperties = new Dictionary<string, FormInputBindingPropertiesValue>();
private List<ValueMapping> _values = new List<ValueMapping>();
/// <summary>
/// Gets and sets the property BindingProperties.
/// <para>
/// The information to bind fields to data at runtime.
/// </para>
/// </summary>
public Dictionary<string, FormInputBindingPropertiesValue> BindingProperties
{
get { return this._bindingProperties; }
set { this._bindingProperties = value; }
}
// Check to see if BindingProperties property is set
internal bool IsSetBindingProperties()
{
return this._bindingProperties != null && this._bindingProperties.Count > 0;
}
/// <summary>
/// Gets and sets the property Values.
/// <para>
/// The value and display value pairs.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<ValueMapping> Values
{
get { return this._values; }
set { this._values = value; }
}
// Check to see if Values property is set
internal bool IsSetValues()
{
return this._values != null && this._values.Count > 0;
}
}
} | 77 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// ActionParameters Marshaller
/// </summary>
public class ActionParametersMarshaller : IRequestMarshaller<ActionParameters, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(ActionParameters requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetAnchor())
{
context.Writer.WritePropertyName("anchor");
context.Writer.WriteObjectStart();
var marshaller = ComponentPropertyMarshaller.Instance;
marshaller.Marshall(requestObject.Anchor, context);
context.Writer.WriteObjectEnd();
}
if(requestObject.IsSetFields())
{
context.Writer.WritePropertyName("fields");
context.Writer.WriteObjectStart();
foreach (var requestObjectFieldsKvp in requestObject.Fields)
{
context.Writer.WritePropertyName(requestObjectFieldsKvp.Key);
var requestObjectFieldsValue = requestObjectFieldsKvp.Value;
context.Writer.WriteObjectStart();
var marshaller = ComponentPropertyMarshaller.Instance;
marshaller.Marshall(requestObjectFieldsValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteObjectEnd();
}
if(requestObject.IsSetGlobal())
{
context.Writer.WritePropertyName("global");
context.Writer.WriteObjectStart();
var marshaller = ComponentPropertyMarshaller.Instance;
marshaller.Marshall(requestObject.Global, context);
context.Writer.WriteObjectEnd();
}
if(requestObject.IsSetId())
{
context.Writer.WritePropertyName("id");
context.Writer.WriteObjectStart();
var marshaller = ComponentPropertyMarshaller.Instance;
marshaller.Marshall(requestObject.Id, context);
context.Writer.WriteObjectEnd();
}
if(requestObject.IsSetModel())
{
context.Writer.WritePropertyName("model");
context.Writer.Write(requestObject.Model);
}
if(requestObject.IsSetState())
{
context.Writer.WritePropertyName("state");
context.Writer.WriteObjectStart();
var marshaller = MutationActionSetStateParameterMarshaller.Instance;
marshaller.Marshall(requestObject.State, context);
context.Writer.WriteObjectEnd();
}
if(requestObject.IsSetTarget())
{
context.Writer.WritePropertyName("target");
context.Writer.WriteObjectStart();
var marshaller = ComponentPropertyMarshaller.Instance;
marshaller.Marshall(requestObject.Target, context);
context.Writer.WriteObjectEnd();
}
if(requestObject.IsSetType())
{
context.Writer.WritePropertyName("type");
context.Writer.WriteObjectStart();
var marshaller = ComponentPropertyMarshaller.Instance;
marshaller.Marshall(requestObject.Type, context);
context.Writer.WriteObjectEnd();
}
if(requestObject.IsSetUrl())
{
context.Writer.WritePropertyName("url");
context.Writer.WriteObjectStart();
var marshaller = ComponentPropertyMarshaller.Instance;
marshaller.Marshall(requestObject.Url, context);
context.Writer.WriteObjectEnd();
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static ActionParametersMarshaller Instance = new ActionParametersMarshaller();
}
} | 158 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ActionParameters Object
/// </summary>
public class ActionParametersUnmarshaller : IUnmarshaller<ActionParameters, XmlUnmarshallerContext>, IUnmarshaller<ActionParameters, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
ActionParameters IUnmarshaller<ActionParameters, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ActionParameters Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
ActionParameters unmarshalledObject = new ActionParameters();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("anchor", targetDepth))
{
var unmarshaller = ComponentPropertyUnmarshaller.Instance;
unmarshalledObject.Anchor = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("fields", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, ComponentProperty, StringUnmarshaller, ComponentPropertyUnmarshaller>(StringUnmarshaller.Instance, ComponentPropertyUnmarshaller.Instance);
unmarshalledObject.Fields = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("global", targetDepth))
{
var unmarshaller = ComponentPropertyUnmarshaller.Instance;
unmarshalledObject.Global = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("id", targetDepth))
{
var unmarshaller = ComponentPropertyUnmarshaller.Instance;
unmarshalledObject.Id = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("model", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Model = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("state", targetDepth))
{
var unmarshaller = MutationActionSetStateParameterUnmarshaller.Instance;
unmarshalledObject.State = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("target", targetDepth))
{
var unmarshaller = ComponentPropertyUnmarshaller.Instance;
unmarshalledObject.Target = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("type", targetDepth))
{
var unmarshaller = ComponentPropertyUnmarshaller.Instance;
unmarshalledObject.Type = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("url", targetDepth))
{
var unmarshaller = ComponentPropertyUnmarshaller.Instance;
unmarshalledObject.Url = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ActionParametersUnmarshaller _instance = new ActionParametersUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ActionParametersUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 140 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// CodegenFeatureFlags Marshaller
/// </summary>
public class CodegenFeatureFlagsMarshaller : IRequestMarshaller<CodegenFeatureFlags, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(CodegenFeatureFlags requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetIsNonModelSupported())
{
context.Writer.WritePropertyName("isNonModelSupported");
context.Writer.Write(requestObject.IsNonModelSupported);
}
if(requestObject.IsSetIsRelationshipSupported())
{
context.Writer.WritePropertyName("isRelationshipSupported");
context.Writer.Write(requestObject.IsRelationshipSupported);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static CodegenFeatureFlagsMarshaller Instance = new CodegenFeatureFlagsMarshaller();
}
} | 68 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for CodegenFeatureFlags Object
/// </summary>
public class CodegenFeatureFlagsUnmarshaller : IUnmarshaller<CodegenFeatureFlags, XmlUnmarshallerContext>, IUnmarshaller<CodegenFeatureFlags, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
CodegenFeatureFlags IUnmarshaller<CodegenFeatureFlags, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public CodegenFeatureFlags Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
CodegenFeatureFlags unmarshalledObject = new CodegenFeatureFlags();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("isNonModelSupported", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
unmarshalledObject.IsNonModelSupported = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("isRelationshipSupported", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
unmarshalledObject.IsRelationshipSupported = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static CodegenFeatureFlagsUnmarshaller _instance = new CodegenFeatureFlagsUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static CodegenFeatureFlagsUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 98 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// CodegenGenericDataEnum Marshaller
/// </summary>
public class CodegenGenericDataEnumMarshaller : IRequestMarshaller<CodegenGenericDataEnum, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(CodegenGenericDataEnum requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetValues())
{
context.Writer.WritePropertyName("values");
context.Writer.WriteArrayStart();
foreach(var requestObjectValuesListValue in requestObject.Values)
{
context.Writer.Write(requestObjectValuesListValue);
}
context.Writer.WriteArrayEnd();
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static CodegenGenericDataEnumMarshaller Instance = new CodegenGenericDataEnumMarshaller();
}
} | 67 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for CodegenGenericDataEnum Object
/// </summary>
public class CodegenGenericDataEnumUnmarshaller : IUnmarshaller<CodegenGenericDataEnum, XmlUnmarshallerContext>, IUnmarshaller<CodegenGenericDataEnum, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
CodegenGenericDataEnum IUnmarshaller<CodegenGenericDataEnum, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public CodegenGenericDataEnum Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
CodegenGenericDataEnum unmarshalledObject = new CodegenGenericDataEnum();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("values", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
unmarshalledObject.Values = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static CodegenGenericDataEnumUnmarshaller _instance = new CodegenGenericDataEnumUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static CodegenGenericDataEnumUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 92 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// CodegenGenericDataField Marshaller
/// </summary>
public class CodegenGenericDataFieldMarshaller : IRequestMarshaller<CodegenGenericDataField, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(CodegenGenericDataField requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetDataType())
{
context.Writer.WritePropertyName("dataType");
context.Writer.Write(requestObject.DataType);
}
if(requestObject.IsSetDataTypeValue())
{
context.Writer.WritePropertyName("dataTypeValue");
context.Writer.Write(requestObject.DataTypeValue);
}
if(requestObject.IsSetIsArray())
{
context.Writer.WritePropertyName("isArray");
context.Writer.Write(requestObject.IsArray);
}
if(requestObject.IsSetReadOnly())
{
context.Writer.WritePropertyName("readOnly");
context.Writer.Write(requestObject.ReadOnly);
}
if(requestObject.IsSetRelationship())
{
context.Writer.WritePropertyName("relationship");
context.Writer.WriteObjectStart();
var marshaller = CodegenGenericDataRelationshipTypeMarshaller.Instance;
marshaller.Marshall(requestObject.Relationship, context);
context.Writer.WriteObjectEnd();
}
if(requestObject.IsSetRequired())
{
context.Writer.WritePropertyName("required");
context.Writer.Write(requestObject.Required);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static CodegenGenericDataFieldMarshaller Instance = new CodegenGenericDataFieldMarshaller();
}
} | 97 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for CodegenGenericDataField Object
/// </summary>
public class CodegenGenericDataFieldUnmarshaller : IUnmarshaller<CodegenGenericDataField, XmlUnmarshallerContext>, IUnmarshaller<CodegenGenericDataField, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
CodegenGenericDataField IUnmarshaller<CodegenGenericDataField, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public CodegenGenericDataField Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
CodegenGenericDataField unmarshalledObject = new CodegenGenericDataField();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("dataType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.DataType = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("dataTypeValue", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.DataTypeValue = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("isArray", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
unmarshalledObject.IsArray = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("readOnly", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
unmarshalledObject.ReadOnly = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("relationship", targetDepth))
{
var unmarshaller = CodegenGenericDataRelationshipTypeUnmarshaller.Instance;
unmarshalledObject.Relationship = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("required", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
unmarshalledObject.Required = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static CodegenGenericDataFieldUnmarshaller _instance = new CodegenGenericDataFieldUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static CodegenGenericDataFieldUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 122 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// CodegenGenericDataModel Marshaller
/// </summary>
public class CodegenGenericDataModelMarshaller : IRequestMarshaller<CodegenGenericDataModel, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(CodegenGenericDataModel requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetFields())
{
context.Writer.WritePropertyName("fields");
context.Writer.WriteObjectStart();
foreach (var requestObjectFieldsKvp in requestObject.Fields)
{
context.Writer.WritePropertyName(requestObjectFieldsKvp.Key);
var requestObjectFieldsValue = requestObjectFieldsKvp.Value;
context.Writer.WriteObjectStart();
var marshaller = CodegenGenericDataFieldMarshaller.Instance;
marshaller.Marshall(requestObjectFieldsValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteObjectEnd();
}
if(requestObject.IsSetIsJoinTable())
{
context.Writer.WritePropertyName("isJoinTable");
context.Writer.Write(requestObject.IsJoinTable);
}
if(requestObject.IsSetPrimaryKeys())
{
context.Writer.WritePropertyName("primaryKeys");
context.Writer.WriteArrayStart();
foreach(var requestObjectPrimaryKeysListValue in requestObject.PrimaryKeys)
{
context.Writer.Write(requestObjectPrimaryKeysListValue);
}
context.Writer.WriteArrayEnd();
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static CodegenGenericDataModelMarshaller Instance = new CodegenGenericDataModelMarshaller();
}
} | 92 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for CodegenGenericDataModel Object
/// </summary>
public class CodegenGenericDataModelUnmarshaller : IUnmarshaller<CodegenGenericDataModel, XmlUnmarshallerContext>, IUnmarshaller<CodegenGenericDataModel, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
CodegenGenericDataModel IUnmarshaller<CodegenGenericDataModel, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public CodegenGenericDataModel Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
CodegenGenericDataModel unmarshalledObject = new CodegenGenericDataModel();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("fields", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, CodegenGenericDataField, StringUnmarshaller, CodegenGenericDataFieldUnmarshaller>(StringUnmarshaller.Instance, CodegenGenericDataFieldUnmarshaller.Instance);
unmarshalledObject.Fields = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("isJoinTable", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
unmarshalledObject.IsJoinTable = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("primaryKeys", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
unmarshalledObject.PrimaryKeys = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static CodegenGenericDataModelUnmarshaller _instance = new CodegenGenericDataModelUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static CodegenGenericDataModelUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 104 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// CodegenGenericDataNonModel Marshaller
/// </summary>
public class CodegenGenericDataNonModelMarshaller : IRequestMarshaller<CodegenGenericDataNonModel, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(CodegenGenericDataNonModel requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetFields())
{
context.Writer.WritePropertyName("fields");
context.Writer.WriteObjectStart();
foreach (var requestObjectFieldsKvp in requestObject.Fields)
{
context.Writer.WritePropertyName(requestObjectFieldsKvp.Key);
var requestObjectFieldsValue = requestObjectFieldsKvp.Value;
context.Writer.WriteObjectStart();
var marshaller = CodegenGenericDataFieldMarshaller.Instance;
marshaller.Marshall(requestObjectFieldsValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteObjectEnd();
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static CodegenGenericDataNonModelMarshaller Instance = new CodegenGenericDataNonModelMarshaller();
}
} | 75 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for CodegenGenericDataNonModel Object
/// </summary>
public class CodegenGenericDataNonModelUnmarshaller : IUnmarshaller<CodegenGenericDataNonModel, XmlUnmarshallerContext>, IUnmarshaller<CodegenGenericDataNonModel, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
CodegenGenericDataNonModel IUnmarshaller<CodegenGenericDataNonModel, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public CodegenGenericDataNonModel Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
CodegenGenericDataNonModel unmarshalledObject = new CodegenGenericDataNonModel();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("fields", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, CodegenGenericDataField, StringUnmarshaller, CodegenGenericDataFieldUnmarshaller>(StringUnmarshaller.Instance, CodegenGenericDataFieldUnmarshaller.Instance);
unmarshalledObject.Fields = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static CodegenGenericDataNonModelUnmarshaller _instance = new CodegenGenericDataNonModelUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static CodegenGenericDataNonModelUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 92 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// CodegenGenericDataRelationshipType Marshaller
/// </summary>
public class CodegenGenericDataRelationshipTypeMarshaller : IRequestMarshaller<CodegenGenericDataRelationshipType, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(CodegenGenericDataRelationshipType requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetAssociatedFields())
{
context.Writer.WritePropertyName("associatedFields");
context.Writer.WriteArrayStart();
foreach(var requestObjectAssociatedFieldsListValue in requestObject.AssociatedFields)
{
context.Writer.Write(requestObjectAssociatedFieldsListValue);
}
context.Writer.WriteArrayEnd();
}
if(requestObject.IsSetBelongsToFieldOnRelatedModel())
{
context.Writer.WritePropertyName("belongsToFieldOnRelatedModel");
context.Writer.Write(requestObject.BelongsToFieldOnRelatedModel);
}
if(requestObject.IsSetCanUnlinkAssociatedModel())
{
context.Writer.WritePropertyName("canUnlinkAssociatedModel");
context.Writer.Write(requestObject.CanUnlinkAssociatedModel);
}
if(requestObject.IsSetIsHasManyIndex())
{
context.Writer.WritePropertyName("isHasManyIndex");
context.Writer.Write(requestObject.IsHasManyIndex);
}
if(requestObject.IsSetRelatedJoinFieldName())
{
context.Writer.WritePropertyName("relatedJoinFieldName");
context.Writer.Write(requestObject.RelatedJoinFieldName);
}
if(requestObject.IsSetRelatedJoinTableName())
{
context.Writer.WritePropertyName("relatedJoinTableName");
context.Writer.Write(requestObject.RelatedJoinTableName);
}
if(requestObject.IsSetRelatedModelFields())
{
context.Writer.WritePropertyName("relatedModelFields");
context.Writer.WriteArrayStart();
foreach(var requestObjectRelatedModelFieldsListValue in requestObject.RelatedModelFields)
{
context.Writer.Write(requestObjectRelatedModelFieldsListValue);
}
context.Writer.WriteArrayEnd();
}
if(requestObject.IsSetRelatedModelName())
{
context.Writer.WritePropertyName("relatedModelName");
context.Writer.Write(requestObject.RelatedModelName);
}
if(requestObject.IsSetType())
{
context.Writer.WritePropertyName("type");
context.Writer.Write(requestObject.Type);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static CodegenGenericDataRelationshipTypeMarshaller Instance = new CodegenGenericDataRelationshipTypeMarshaller();
}
} | 120 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for CodegenGenericDataRelationshipType Object
/// </summary>
public class CodegenGenericDataRelationshipTypeUnmarshaller : IUnmarshaller<CodegenGenericDataRelationshipType, XmlUnmarshallerContext>, IUnmarshaller<CodegenGenericDataRelationshipType, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
CodegenGenericDataRelationshipType IUnmarshaller<CodegenGenericDataRelationshipType, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public CodegenGenericDataRelationshipType Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
CodegenGenericDataRelationshipType unmarshalledObject = new CodegenGenericDataRelationshipType();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("associatedFields", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
unmarshalledObject.AssociatedFields = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("belongsToFieldOnRelatedModel", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.BelongsToFieldOnRelatedModel = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("canUnlinkAssociatedModel", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
unmarshalledObject.CanUnlinkAssociatedModel = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("isHasManyIndex", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
unmarshalledObject.IsHasManyIndex = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("relatedJoinFieldName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.RelatedJoinFieldName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("relatedJoinTableName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.RelatedJoinTableName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("relatedModelFields", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
unmarshalledObject.RelatedModelFields = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("relatedModelName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.RelatedModelName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("type", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Type = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static CodegenGenericDataRelationshipTypeUnmarshaller _instance = new CodegenGenericDataRelationshipTypeUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static CodegenGenericDataRelationshipTypeUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 140 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for CodegenJobAsset Object
/// </summary>
public class CodegenJobAssetUnmarshaller : IUnmarshaller<CodegenJobAsset, XmlUnmarshallerContext>, IUnmarshaller<CodegenJobAsset, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
CodegenJobAsset IUnmarshaller<CodegenJobAsset, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public CodegenJobAsset Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
CodegenJobAsset unmarshalledObject = new CodegenJobAsset();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("downloadUrl", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.DownloadUrl = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static CodegenJobAssetUnmarshaller _instance = new CodegenJobAssetUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static CodegenJobAssetUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 92 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// CodegenJobGenericDataSchema Marshaller
/// </summary>
public class CodegenJobGenericDataSchemaMarshaller : IRequestMarshaller<CodegenJobGenericDataSchema, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(CodegenJobGenericDataSchema requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetDataSourceType())
{
context.Writer.WritePropertyName("dataSourceType");
context.Writer.Write(requestObject.DataSourceType);
}
if(requestObject.IsSetEnums())
{
context.Writer.WritePropertyName("enums");
context.Writer.WriteObjectStart();
foreach (var requestObjectEnumsKvp in requestObject.Enums)
{
context.Writer.WritePropertyName(requestObjectEnumsKvp.Key);
var requestObjectEnumsValue = requestObjectEnumsKvp.Value;
context.Writer.WriteObjectStart();
var marshaller = CodegenGenericDataEnumMarshaller.Instance;
marshaller.Marshall(requestObjectEnumsValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteObjectEnd();
}
if(requestObject.IsSetModels())
{
context.Writer.WritePropertyName("models");
context.Writer.WriteObjectStart();
foreach (var requestObjectModelsKvp in requestObject.Models)
{
context.Writer.WritePropertyName(requestObjectModelsKvp.Key);
var requestObjectModelsValue = requestObjectModelsKvp.Value;
context.Writer.WriteObjectStart();
var marshaller = CodegenGenericDataModelMarshaller.Instance;
marshaller.Marshall(requestObjectModelsValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteObjectEnd();
}
if(requestObject.IsSetNonModels())
{
context.Writer.WritePropertyName("nonModels");
context.Writer.WriteObjectStart();
foreach (var requestObjectNonModelsKvp in requestObject.NonModels)
{
context.Writer.WritePropertyName(requestObjectNonModelsKvp.Key);
var requestObjectNonModelsValue = requestObjectNonModelsKvp.Value;
context.Writer.WriteObjectStart();
var marshaller = CodegenGenericDataNonModelMarshaller.Instance;
marshaller.Marshall(requestObjectNonModelsValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteObjectEnd();
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static CodegenJobGenericDataSchemaMarshaller Instance = new CodegenJobGenericDataSchemaMarshaller();
}
} | 119 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for CodegenJobGenericDataSchema Object
/// </summary>
public class CodegenJobGenericDataSchemaUnmarshaller : IUnmarshaller<CodegenJobGenericDataSchema, XmlUnmarshallerContext>, IUnmarshaller<CodegenJobGenericDataSchema, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
CodegenJobGenericDataSchema IUnmarshaller<CodegenJobGenericDataSchema, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public CodegenJobGenericDataSchema Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
CodegenJobGenericDataSchema unmarshalledObject = new CodegenJobGenericDataSchema();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("dataSourceType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.DataSourceType = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("enums", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, CodegenGenericDataEnum, StringUnmarshaller, CodegenGenericDataEnumUnmarshaller>(StringUnmarshaller.Instance, CodegenGenericDataEnumUnmarshaller.Instance);
unmarshalledObject.Enums = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("models", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, CodegenGenericDataModel, StringUnmarshaller, CodegenGenericDataModelUnmarshaller>(StringUnmarshaller.Instance, CodegenGenericDataModelUnmarshaller.Instance);
unmarshalledObject.Models = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("nonModels", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, CodegenGenericDataNonModel, StringUnmarshaller, CodegenGenericDataNonModelUnmarshaller>(StringUnmarshaller.Instance, CodegenGenericDataNonModelUnmarshaller.Instance);
unmarshalledObject.NonModels = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static CodegenJobGenericDataSchemaUnmarshaller _instance = new CodegenJobGenericDataSchemaUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static CodegenJobGenericDataSchemaUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 110 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// CodegenJobRenderConfig Marshaller
/// </summary>
public class CodegenJobRenderConfigMarshaller : IRequestMarshaller<CodegenJobRenderConfig, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(CodegenJobRenderConfig requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetReact())
{
context.Writer.WritePropertyName("react");
context.Writer.WriteObjectStart();
var marshaller = ReactStartCodegenJobDataMarshaller.Instance;
marshaller.Marshall(requestObject.React, context);
context.Writer.WriteObjectEnd();
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static CodegenJobRenderConfigMarshaller Instance = new CodegenJobRenderConfigMarshaller();
}
} | 67 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for CodegenJobRenderConfig Object
/// </summary>
public class CodegenJobRenderConfigUnmarshaller : IUnmarshaller<CodegenJobRenderConfig, XmlUnmarshallerContext>, IUnmarshaller<CodegenJobRenderConfig, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
CodegenJobRenderConfig IUnmarshaller<CodegenJobRenderConfig, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public CodegenJobRenderConfig Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
CodegenJobRenderConfig unmarshalledObject = new CodegenJobRenderConfig();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("react", targetDepth))
{
var unmarshaller = ReactStartCodegenJobDataUnmarshaller.Instance;
unmarshalledObject.React = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static CodegenJobRenderConfigUnmarshaller _instance = new CodegenJobRenderConfigUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static CodegenJobRenderConfigUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 92 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for CodegenJobSummary Object
/// </summary>
public class CodegenJobSummaryUnmarshaller : IUnmarshaller<CodegenJobSummary, XmlUnmarshallerContext>, IUnmarshaller<CodegenJobSummary, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
CodegenJobSummary IUnmarshaller<CodegenJobSummary, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public CodegenJobSummary Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
CodegenJobSummary unmarshalledObject = new CodegenJobSummary();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("appId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.AppId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("createdAt", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.CreatedAt = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("environmentName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.EnvironmentName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("id", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Id = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("modifiedAt", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.ModifiedAt = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static CodegenJobSummaryUnmarshaller _instance = new CodegenJobSummaryUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static CodegenJobSummaryUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 116 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for CodegenJob Object
/// </summary>
public class CodegenJobUnmarshaller : IUnmarshaller<CodegenJob, XmlUnmarshallerContext>, IUnmarshaller<CodegenJob, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
CodegenJob IUnmarshaller<CodegenJob, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public CodegenJob Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
CodegenJob unmarshalledObject = new CodegenJob();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("appId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.AppId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("asset", targetDepth))
{
var unmarshaller = CodegenJobAssetUnmarshaller.Instance;
unmarshalledObject.Asset = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("autoGenerateForms", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
unmarshalledObject.AutoGenerateForms = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("createdAt", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.CreatedAt = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("environmentName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.EnvironmentName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("features", targetDepth))
{
var unmarshaller = CodegenFeatureFlagsUnmarshaller.Instance;
unmarshalledObject.Features = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("genericDataSchema", targetDepth))
{
var unmarshaller = CodegenJobGenericDataSchemaUnmarshaller.Instance;
unmarshalledObject.GenericDataSchema = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("id", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Id = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("modifiedAt", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.ModifiedAt = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("renderConfig", targetDepth))
{
var unmarshaller = CodegenJobRenderConfigUnmarshaller.Instance;
unmarshalledObject.RenderConfig = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("status", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Status = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("statusMessage", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.StatusMessage = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("tags", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
unmarshalledObject.Tags = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static CodegenJobUnmarshaller _instance = new CodegenJobUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static CodegenJobUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 164 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// ComponentBindingPropertiesValue Marshaller
/// </summary>
public class ComponentBindingPropertiesValueMarshaller : IRequestMarshaller<ComponentBindingPropertiesValue, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(ComponentBindingPropertiesValue requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetBindingProperties())
{
context.Writer.WritePropertyName("bindingProperties");
context.Writer.WriteObjectStart();
var marshaller = ComponentBindingPropertiesValuePropertiesMarshaller.Instance;
marshaller.Marshall(requestObject.BindingProperties, context);
context.Writer.WriteObjectEnd();
}
if(requestObject.IsSetDefaultValue())
{
context.Writer.WritePropertyName("defaultValue");
context.Writer.Write(requestObject.DefaultValue);
}
if(requestObject.IsSetType())
{
context.Writer.WritePropertyName("type");
context.Writer.Write(requestObject.Type);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static ComponentBindingPropertiesValueMarshaller Instance = new ComponentBindingPropertiesValueMarshaller();
}
} | 79 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// ComponentBindingPropertiesValueProperties Marshaller
/// </summary>
public class ComponentBindingPropertiesValuePropertiesMarshaller : IRequestMarshaller<ComponentBindingPropertiesValueProperties, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(ComponentBindingPropertiesValueProperties requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetBucket())
{
context.Writer.WritePropertyName("bucket");
context.Writer.Write(requestObject.Bucket);
}
if(requestObject.IsSetDefaultValue())
{
context.Writer.WritePropertyName("defaultValue");
context.Writer.Write(requestObject.DefaultValue);
}
if(requestObject.IsSetField())
{
context.Writer.WritePropertyName("field");
context.Writer.Write(requestObject.Field);
}
if(requestObject.IsSetKey())
{
context.Writer.WritePropertyName("key");
context.Writer.Write(requestObject.Key);
}
if(requestObject.IsSetModel())
{
context.Writer.WritePropertyName("model");
context.Writer.Write(requestObject.Model);
}
if(requestObject.IsSetPredicates())
{
context.Writer.WritePropertyName("predicates");
context.Writer.WriteArrayStart();
foreach(var requestObjectPredicatesListValue in requestObject.Predicates)
{
context.Writer.WriteObjectStart();
var marshaller = PredicateMarshaller.Instance;
marshaller.Marshall(requestObjectPredicatesListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
if(requestObject.IsSetSlotName())
{
context.Writer.WritePropertyName("slotName");
context.Writer.Write(requestObject.SlotName);
}
if(requestObject.IsSetUserAttribute())
{
context.Writer.WritePropertyName("userAttribute");
context.Writer.Write(requestObject.UserAttribute);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static ComponentBindingPropertiesValuePropertiesMarshaller Instance = new ComponentBindingPropertiesValuePropertiesMarshaller();
}
} | 114 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ComponentBindingPropertiesValueProperties Object
/// </summary>
public class ComponentBindingPropertiesValuePropertiesUnmarshaller : IUnmarshaller<ComponentBindingPropertiesValueProperties, XmlUnmarshallerContext>, IUnmarshaller<ComponentBindingPropertiesValueProperties, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
ComponentBindingPropertiesValueProperties IUnmarshaller<ComponentBindingPropertiesValueProperties, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ComponentBindingPropertiesValueProperties Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
ComponentBindingPropertiesValueProperties unmarshalledObject = new ComponentBindingPropertiesValueProperties();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("bucket", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Bucket = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("defaultValue", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.DefaultValue = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("field", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Field = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("key", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Key = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("model", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Model = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("predicates", targetDepth))
{
var unmarshaller = new ListUnmarshaller<Predicate, PredicateUnmarshaller>(PredicateUnmarshaller.Instance);
unmarshalledObject.Predicates = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("slotName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.SlotName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("userAttribute", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.UserAttribute = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ComponentBindingPropertiesValuePropertiesUnmarshaller _instance = new ComponentBindingPropertiesValuePropertiesUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ComponentBindingPropertiesValuePropertiesUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 134 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ComponentBindingPropertiesValue Object
/// </summary>
public class ComponentBindingPropertiesValueUnmarshaller : IUnmarshaller<ComponentBindingPropertiesValue, XmlUnmarshallerContext>, IUnmarshaller<ComponentBindingPropertiesValue, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
ComponentBindingPropertiesValue IUnmarshaller<ComponentBindingPropertiesValue, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ComponentBindingPropertiesValue Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
ComponentBindingPropertiesValue unmarshalledObject = new ComponentBindingPropertiesValue();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("bindingProperties", targetDepth))
{
var unmarshaller = ComponentBindingPropertiesValuePropertiesUnmarshaller.Instance;
unmarshalledObject.BindingProperties = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("defaultValue", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.DefaultValue = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("type", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Type = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ComponentBindingPropertiesValueUnmarshaller _instance = new ComponentBindingPropertiesValueUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ComponentBindingPropertiesValueUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 104 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AmplifyUIBuilder.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations
{
/// <summary>
/// ComponentChild Marshaller
/// </summary>
public class ComponentChildMarshaller : IRequestMarshaller<ComponentChild, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(ComponentChild requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetChildren())
{
context.Writer.WritePropertyName("children");
context.Writer.WriteArrayStart();
foreach(var requestObjectChildrenListValue in requestObject.Children)
{
context.Writer.WriteObjectStart();
var marshaller = ComponentChildMarshaller.Instance;
marshaller.Marshall(requestObjectChildrenListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
if(requestObject.IsSetComponentType())
{
context.Writer.WritePropertyName("componentType");
context.Writer.Write(requestObject.ComponentType);
}
if(requestObject.IsSetEvents())
{
context.Writer.WritePropertyName("events");
context.Writer.WriteObjectStart();
foreach (var requestObjectEventsKvp in requestObject.Events)
{
context.Writer.WritePropertyName(requestObjectEventsKvp.Key);
var requestObjectEventsValue = requestObjectEventsKvp.Value;
context.Writer.WriteObjectStart();
var marshaller = ComponentEventMarshaller.Instance;
marshaller.Marshall(requestObjectEventsValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteObjectEnd();
}
if(requestObject.IsSetName())
{
context.Writer.WritePropertyName("name");
context.Writer.Write(requestObject.Name);
}
if(requestObject.IsSetProperties())
{
context.Writer.WritePropertyName("properties");
context.Writer.WriteObjectStart();
foreach (var requestObjectPropertiesKvp in requestObject.Properties)
{
context.Writer.WritePropertyName(requestObjectPropertiesKvp.Key);
var requestObjectPropertiesValue = requestObjectPropertiesKvp.Value;
context.Writer.WriteObjectStart();
var marshaller = ComponentPropertyMarshaller.Instance;
marshaller.Marshall(requestObjectPropertiesValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteObjectEnd();
}
if(requestObject.IsSetSourceId())
{
context.Writer.WritePropertyName("sourceId");
context.Writer.Write(requestObject.SourceId);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static ComponentChildMarshaller Instance = new ComponentChildMarshaller();
}
} | 128 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.