/* * 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 Amazon.Runtime; namespace Amazon.AmplifyUIBuilder { /// /// Constants used for properties of type CodegenGenericDataFieldDataType. /// public class CodegenGenericDataFieldDataType : ConstantClass { /// /// Constant AWSDate for CodegenGenericDataFieldDataType /// public static readonly CodegenGenericDataFieldDataType AWSDate = new CodegenGenericDataFieldDataType("AWSDate"); /// /// Constant AWSDateTime for CodegenGenericDataFieldDataType /// public static readonly CodegenGenericDataFieldDataType AWSDateTime = new CodegenGenericDataFieldDataType("AWSDateTime"); /// /// Constant AWSEmail for CodegenGenericDataFieldDataType /// public static readonly CodegenGenericDataFieldDataType AWSEmail = new CodegenGenericDataFieldDataType("AWSEmail"); /// /// Constant AWSIPAddress for CodegenGenericDataFieldDataType /// public static readonly CodegenGenericDataFieldDataType AWSIPAddress = new CodegenGenericDataFieldDataType("AWSIPAddress"); /// /// Constant AWSJSON for CodegenGenericDataFieldDataType /// public static readonly CodegenGenericDataFieldDataType AWSJSON = new CodegenGenericDataFieldDataType("AWSJSON"); /// /// Constant AWSPhone for CodegenGenericDataFieldDataType /// public static readonly CodegenGenericDataFieldDataType AWSPhone = new CodegenGenericDataFieldDataType("AWSPhone"); /// /// Constant AWSTime for CodegenGenericDataFieldDataType /// public static readonly CodegenGenericDataFieldDataType AWSTime = new CodegenGenericDataFieldDataType("AWSTime"); /// /// Constant AWSTimestamp for CodegenGenericDataFieldDataType /// public static readonly CodegenGenericDataFieldDataType AWSTimestamp = new CodegenGenericDataFieldDataType("AWSTimestamp"); /// /// Constant AWSURL for CodegenGenericDataFieldDataType /// public static readonly CodegenGenericDataFieldDataType AWSURL = new CodegenGenericDataFieldDataType("AWSURL"); /// /// Constant Boolean for CodegenGenericDataFieldDataType /// public static readonly CodegenGenericDataFieldDataType Boolean = new CodegenGenericDataFieldDataType("Boolean"); /// /// Constant Enum for CodegenGenericDataFieldDataType /// public static readonly CodegenGenericDataFieldDataType Enum = new CodegenGenericDataFieldDataType("Enum"); /// /// Constant Float for CodegenGenericDataFieldDataType /// public static readonly CodegenGenericDataFieldDataType Float = new CodegenGenericDataFieldDataType("Float"); /// /// Constant ID for CodegenGenericDataFieldDataType /// public static readonly CodegenGenericDataFieldDataType ID = new CodegenGenericDataFieldDataType("ID"); /// /// Constant Int for CodegenGenericDataFieldDataType /// public static readonly CodegenGenericDataFieldDataType Int = new CodegenGenericDataFieldDataType("Int"); /// /// Constant Model for CodegenGenericDataFieldDataType /// public static readonly CodegenGenericDataFieldDataType Model = new CodegenGenericDataFieldDataType("Model"); /// /// Constant NonModel for CodegenGenericDataFieldDataType /// public static readonly CodegenGenericDataFieldDataType NonModel = new CodegenGenericDataFieldDataType("NonModel"); /// /// Constant String for CodegenGenericDataFieldDataType /// public static readonly CodegenGenericDataFieldDataType String = new CodegenGenericDataFieldDataType("String"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public CodegenGenericDataFieldDataType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static CodegenGenericDataFieldDataType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator CodegenGenericDataFieldDataType(string value) { return FindValue(value); } } /// /// Constants used for properties of type CodegenJobGenericDataSourceType. /// public class CodegenJobGenericDataSourceType : ConstantClass { /// /// Constant DataStore for CodegenJobGenericDataSourceType /// public static readonly CodegenJobGenericDataSourceType DataStore = new CodegenJobGenericDataSourceType("DataStore"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public CodegenJobGenericDataSourceType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static CodegenJobGenericDataSourceType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator CodegenJobGenericDataSourceType(string value) { return FindValue(value); } } /// /// Constants used for properties of type CodegenJobStatus. /// public class CodegenJobStatus : ConstantClass { /// /// Constant Failed for CodegenJobStatus /// public static readonly CodegenJobStatus Failed = new CodegenJobStatus("failed"); /// /// Constant In_progress for CodegenJobStatus /// public static readonly CodegenJobStatus In_progress = new CodegenJobStatus("in_progress"); /// /// Constant Succeeded for CodegenJobStatus /// public static readonly CodegenJobStatus Succeeded = new CodegenJobStatus("succeeded"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public CodegenJobStatus(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static CodegenJobStatus FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator CodegenJobStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type FixedPosition. /// public class FixedPosition : ConstantClass { /// /// Constant First for FixedPosition /// public static readonly FixedPosition First = new FixedPosition("first"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public FixedPosition(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static FixedPosition FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator FixedPosition(string value) { return FindValue(value); } } /// /// Constants used for properties of type FormActionType. /// public class FormActionType : ConstantClass { /// /// Constant Create for FormActionType /// public static readonly FormActionType Create = new FormActionType("create"); /// /// Constant Update for FormActionType /// public static readonly FormActionType Update = new FormActionType("update"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public FormActionType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static FormActionType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator FormActionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type FormButtonsPosition. /// public class FormButtonsPosition : ConstantClass { /// /// Constant Bottom for FormButtonsPosition /// public static readonly FormButtonsPosition Bottom = new FormButtonsPosition("bottom"); /// /// Constant Top for FormButtonsPosition /// public static readonly FormButtonsPosition Top = new FormButtonsPosition("top"); /// /// Constant Top_and_bottom for FormButtonsPosition /// public static readonly FormButtonsPosition Top_and_bottom = new FormButtonsPosition("top_and_bottom"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public FormButtonsPosition(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static FormButtonsPosition FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator FormButtonsPosition(string value) { return FindValue(value); } } /// /// Constants used for properties of type FormDataSourceType. /// public class FormDataSourceType : ConstantClass { /// /// Constant Custom for FormDataSourceType /// public static readonly FormDataSourceType Custom = new FormDataSourceType("Custom"); /// /// Constant DataStore for FormDataSourceType /// public static readonly FormDataSourceType DataStore = new FormDataSourceType("DataStore"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public FormDataSourceType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static FormDataSourceType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator FormDataSourceType(string value) { return FindValue(value); } } /// /// Constants used for properties of type GenericDataRelationshipType. /// public class GenericDataRelationshipType : ConstantClass { /// /// Constant BELONGS_TO for GenericDataRelationshipType /// public static readonly GenericDataRelationshipType BELONGS_TO = new GenericDataRelationshipType("BELONGS_TO"); /// /// Constant HAS_MANY for GenericDataRelationshipType /// public static readonly GenericDataRelationshipType HAS_MANY = new GenericDataRelationshipType("HAS_MANY"); /// /// Constant HAS_ONE for GenericDataRelationshipType /// public static readonly GenericDataRelationshipType HAS_ONE = new GenericDataRelationshipType("HAS_ONE"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public GenericDataRelationshipType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static GenericDataRelationshipType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator GenericDataRelationshipType(string value) { return FindValue(value); } } /// /// Constants used for properties of type JSModule. /// public class JSModule : ConstantClass { /// /// Constant Es2020 for JSModule /// public static readonly JSModule Es2020 = new JSModule("es2020"); /// /// Constant Esnext for JSModule /// public static readonly JSModule Esnext = new JSModule("esnext"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public JSModule(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static JSModule FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator JSModule(string value) { return FindValue(value); } } /// /// Constants used for properties of type JSScript. /// public class JSScript : ConstantClass { /// /// Constant Js for JSScript /// public static readonly JSScript Js = new JSScript("js"); /// /// Constant Jsx for JSScript /// public static readonly JSScript Jsx = new JSScript("jsx"); /// /// Constant Tsx for JSScript /// public static readonly JSScript Tsx = new JSScript("tsx"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public JSScript(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static JSScript FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator JSScript(string value) { return FindValue(value); } } /// /// Constants used for properties of type JSTarget. /// public class JSTarget : ConstantClass { /// /// Constant Es2015 for JSTarget /// public static readonly JSTarget Es2015 = new JSTarget("es2015"); /// /// Constant Es2020 for JSTarget /// public static readonly JSTarget Es2020 = new JSTarget("es2020"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public JSTarget(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static JSTarget FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator JSTarget(string value) { return FindValue(value); } } /// /// Constants used for properties of type LabelDecorator. /// public class LabelDecorator : ConstantClass { /// /// Constant None for LabelDecorator /// public static readonly LabelDecorator None = new LabelDecorator("none"); /// /// Constant Optional for LabelDecorator /// public static readonly LabelDecorator Optional = new LabelDecorator("optional"); /// /// Constant Required for LabelDecorator /// public static readonly LabelDecorator Required = new LabelDecorator("required"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public LabelDecorator(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static LabelDecorator FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator LabelDecorator(string value) { return FindValue(value); } } /// /// Constants used for properties of type SortDirection. /// public class SortDirection : ConstantClass { /// /// Constant ASC for SortDirection /// public static readonly SortDirection ASC = new SortDirection("ASC"); /// /// Constant DESC for SortDirection /// public static readonly SortDirection DESC = new SortDirection("DESC"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public SortDirection(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static SortDirection FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator SortDirection(string value) { return FindValue(value); } } /// /// Constants used for properties of type StorageAccessLevel. /// public class StorageAccessLevel : ConstantClass { /// /// Constant Private for StorageAccessLevel /// public static readonly StorageAccessLevel Private = new StorageAccessLevel("private"); /// /// Constant Protected for StorageAccessLevel /// public static readonly StorageAccessLevel Protected = new StorageAccessLevel("protected"); /// /// Constant Public for StorageAccessLevel /// public static readonly StorageAccessLevel Public = new StorageAccessLevel("public"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public StorageAccessLevel(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static StorageAccessLevel FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator StorageAccessLevel(string value) { return FindValue(value); } } /// /// Constants used for properties of type TokenProviders. /// public class TokenProviders : ConstantClass { /// /// Constant Figma for TokenProviders /// public static readonly TokenProviders Figma = new TokenProviders("figma"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public TokenProviders(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static TokenProviders FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator TokenProviders(string value) { return FindValue(value); } } }