/* * 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 athena-2017-05-18.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.Athena { /// /// Constants used for properties of type CalculationExecutionState. /// public class CalculationExecutionState : ConstantClass { /// /// Constant CANCELED for CalculationExecutionState /// public static readonly CalculationExecutionState CANCELED = new CalculationExecutionState("CANCELED"); /// /// Constant CANCELING for CalculationExecutionState /// public static readonly CalculationExecutionState CANCELING = new CalculationExecutionState("CANCELING"); /// /// Constant COMPLETED for CalculationExecutionState /// public static readonly CalculationExecutionState COMPLETED = new CalculationExecutionState("COMPLETED"); /// /// Constant CREATED for CalculationExecutionState /// public static readonly CalculationExecutionState CREATED = new CalculationExecutionState("CREATED"); /// /// Constant CREATING for CalculationExecutionState /// public static readonly CalculationExecutionState CREATING = new CalculationExecutionState("CREATING"); /// /// Constant FAILED for CalculationExecutionState /// public static readonly CalculationExecutionState FAILED = new CalculationExecutionState("FAILED"); /// /// Constant QUEUED for CalculationExecutionState /// public static readonly CalculationExecutionState QUEUED = new CalculationExecutionState("QUEUED"); /// /// Constant RUNNING for CalculationExecutionState /// public static readonly CalculationExecutionState RUNNING = new CalculationExecutionState("RUNNING"); /// /// 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 CalculationExecutionState(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 CalculationExecutionState 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 CalculationExecutionState(string value) { return FindValue(value); } } /// /// Constants used for properties of type CapacityAllocationStatus. /// public class CapacityAllocationStatus : ConstantClass { /// /// Constant FAILED for CapacityAllocationStatus /// public static readonly CapacityAllocationStatus FAILED = new CapacityAllocationStatus("FAILED"); /// /// Constant PENDING for CapacityAllocationStatus /// public static readonly CapacityAllocationStatus PENDING = new CapacityAllocationStatus("PENDING"); /// /// Constant SUCCEEDED for CapacityAllocationStatus /// public static readonly CapacityAllocationStatus SUCCEEDED = new CapacityAllocationStatus("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 CapacityAllocationStatus(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 CapacityAllocationStatus 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 CapacityAllocationStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type CapacityReservationStatus. /// public class CapacityReservationStatus : ConstantClass { /// /// Constant ACTIVE for CapacityReservationStatus /// public static readonly CapacityReservationStatus ACTIVE = new CapacityReservationStatus("ACTIVE"); /// /// Constant CANCELLED for CapacityReservationStatus /// public static readonly CapacityReservationStatus CANCELLED = new CapacityReservationStatus("CANCELLED"); /// /// Constant CANCELLING for CapacityReservationStatus /// public static readonly CapacityReservationStatus CANCELLING = new CapacityReservationStatus("CANCELLING"); /// /// Constant FAILED for CapacityReservationStatus /// public static readonly CapacityReservationStatus FAILED = new CapacityReservationStatus("FAILED"); /// /// Constant PENDING for CapacityReservationStatus /// public static readonly CapacityReservationStatus PENDING = new CapacityReservationStatus("PENDING"); /// /// Constant UPDATE_PENDING for CapacityReservationStatus /// public static readonly CapacityReservationStatus UPDATE_PENDING = new CapacityReservationStatus("UPDATE_PENDING"); /// /// 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 CapacityReservationStatus(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 CapacityReservationStatus 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 CapacityReservationStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ColumnNullable. /// public class ColumnNullable : ConstantClass { /// /// Constant NOT_NULL for ColumnNullable /// public static readonly ColumnNullable NOT_NULL = new ColumnNullable("NOT_NULL"); /// /// Constant NULLABLE for ColumnNullable /// public static readonly ColumnNullable NULLABLE = new ColumnNullable("NULLABLE"); /// /// Constant UNKNOWN for ColumnNullable /// public static readonly ColumnNullable UNKNOWN = new ColumnNullable("UNKNOWN"); /// /// 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 ColumnNullable(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 ColumnNullable 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 ColumnNullable(string value) { return FindValue(value); } } /// /// Constants used for properties of type DataCatalogType. /// public class DataCatalogType : ConstantClass { /// /// Constant GLUE for DataCatalogType /// public static readonly DataCatalogType GLUE = new DataCatalogType("GLUE"); /// /// Constant HIVE for DataCatalogType /// public static readonly DataCatalogType HIVE = new DataCatalogType("HIVE"); /// /// Constant LAMBDA for DataCatalogType /// public static readonly DataCatalogType LAMBDA = new DataCatalogType("LAMBDA"); /// /// 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 DataCatalogType(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 DataCatalogType 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 DataCatalogType(string value) { return FindValue(value); } } /// /// Constants used for properties of type EncryptionOption. /// public class EncryptionOption : ConstantClass { /// /// Constant CSE_KMS for EncryptionOption /// public static readonly EncryptionOption CSE_KMS = new EncryptionOption("CSE_KMS"); /// /// Constant SSE_KMS for EncryptionOption /// public static readonly EncryptionOption SSE_KMS = new EncryptionOption("SSE_KMS"); /// /// Constant SSE_S3 for EncryptionOption /// public static readonly EncryptionOption SSE_S3 = new EncryptionOption("SSE_S3"); /// /// 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 EncryptionOption(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 EncryptionOption 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 EncryptionOption(string value) { return FindValue(value); } } /// /// Constants used for properties of type ExecutorState. /// public class ExecutorState : ConstantClass { /// /// Constant CREATED for ExecutorState /// public static readonly ExecutorState CREATED = new ExecutorState("CREATED"); /// /// Constant CREATING for ExecutorState /// public static readonly ExecutorState CREATING = new ExecutorState("CREATING"); /// /// Constant FAILED for ExecutorState /// public static readonly ExecutorState FAILED = new ExecutorState("FAILED"); /// /// Constant REGISTERED for ExecutorState /// public static readonly ExecutorState REGISTERED = new ExecutorState("REGISTERED"); /// /// Constant TERMINATED for ExecutorState /// public static readonly ExecutorState TERMINATED = new ExecutorState("TERMINATED"); /// /// Constant TERMINATING for ExecutorState /// public static readonly ExecutorState TERMINATING = new ExecutorState("TERMINATING"); /// /// 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 ExecutorState(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 ExecutorState 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 ExecutorState(string value) { return FindValue(value); } } /// /// Constants used for properties of type ExecutorType. /// public class ExecutorType : ConstantClass { /// /// Constant COORDINATOR for ExecutorType /// public static readonly ExecutorType COORDINATOR = new ExecutorType("COORDINATOR"); /// /// Constant GATEWAY for ExecutorType /// public static readonly ExecutorType GATEWAY = new ExecutorType("GATEWAY"); /// /// Constant WORKER for ExecutorType /// public static readonly ExecutorType WORKER = new ExecutorType("WORKER"); /// /// 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 ExecutorType(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 ExecutorType 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 ExecutorType(string value) { return FindValue(value); } } /// /// Constants used for properties of type NotebookType. /// public class NotebookType : ConstantClass { /// /// Constant IPYNB for NotebookType /// public static readonly NotebookType IPYNB = new NotebookType("IPYNB"); /// /// 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 NotebookType(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 NotebookType 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 NotebookType(string value) { return FindValue(value); } } /// /// Constants used for properties of type QueryExecutionState. /// public class QueryExecutionState : ConstantClass { /// /// Constant CANCELLED for QueryExecutionState /// public static readonly QueryExecutionState CANCELLED = new QueryExecutionState("CANCELLED"); /// /// Constant FAILED for QueryExecutionState /// public static readonly QueryExecutionState FAILED = new QueryExecutionState("FAILED"); /// /// Constant QUEUED for QueryExecutionState /// public static readonly QueryExecutionState QUEUED = new QueryExecutionState("QUEUED"); /// /// Constant RUNNING for QueryExecutionState /// public static readonly QueryExecutionState RUNNING = new QueryExecutionState("RUNNING"); /// /// Constant SUCCEEDED for QueryExecutionState /// public static readonly QueryExecutionState SUCCEEDED = new QueryExecutionState("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 QueryExecutionState(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 QueryExecutionState 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 QueryExecutionState(string value) { return FindValue(value); } } /// /// Constants used for properties of type S3AclOption. /// public class S3AclOption : ConstantClass { /// /// Constant BUCKET_OWNER_FULL_CONTROL for S3AclOption /// public static readonly S3AclOption BUCKET_OWNER_FULL_CONTROL = new S3AclOption("BUCKET_OWNER_FULL_CONTROL"); /// /// 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 S3AclOption(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 S3AclOption 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 S3AclOption(string value) { return FindValue(value); } } /// /// Constants used for properties of type SessionState. /// public class SessionState : ConstantClass { /// /// Constant BUSY for SessionState /// public static readonly SessionState BUSY = new SessionState("BUSY"); /// /// Constant CREATED for SessionState /// public static readonly SessionState CREATED = new SessionState("CREATED"); /// /// Constant CREATING for SessionState /// public static readonly SessionState CREATING = new SessionState("CREATING"); /// /// Constant DEGRADED for SessionState /// public static readonly SessionState DEGRADED = new SessionState("DEGRADED"); /// /// Constant FAILED for SessionState /// public static readonly SessionState FAILED = new SessionState("FAILED"); /// /// Constant IDLE for SessionState /// public static readonly SessionState IDLE = new SessionState("IDLE"); /// /// Constant TERMINATED for SessionState /// public static readonly SessionState TERMINATED = new SessionState("TERMINATED"); /// /// Constant TERMINATING for SessionState /// public static readonly SessionState TERMINATING = new SessionState("TERMINATING"); /// /// 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 SessionState(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 SessionState 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 SessionState(string value) { return FindValue(value); } } /// /// Constants used for properties of type StatementType. /// public class StatementType : ConstantClass { /// /// Constant DDL for StatementType /// public static readonly StatementType DDL = new StatementType("DDL"); /// /// Constant DML for StatementType /// public static readonly StatementType DML = new StatementType("DML"); /// /// Constant UTILITY for StatementType /// public static readonly StatementType UTILITY = new StatementType("UTILITY"); /// /// 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 StatementType(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 StatementType 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 StatementType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ThrottleReason. /// public class ThrottleReason : ConstantClass { /// /// Constant CONCURRENT_QUERY_LIMIT_EXCEEDED for ThrottleReason /// public static readonly ThrottleReason CONCURRENT_QUERY_LIMIT_EXCEEDED = new ThrottleReason("CONCURRENT_QUERY_LIMIT_EXCEEDED"); /// /// 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 ThrottleReason(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 ThrottleReason 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 ThrottleReason(string value) { return FindValue(value); } } /// /// Constants used for properties of type WorkGroupState. /// public class WorkGroupState : ConstantClass { /// /// Constant DISABLED for WorkGroupState /// public static readonly WorkGroupState DISABLED = new WorkGroupState("DISABLED"); /// /// Constant ENABLED for WorkGroupState /// public static readonly WorkGroupState ENABLED = new WorkGroupState("ENABLED"); /// /// 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 WorkGroupState(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 WorkGroupState 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 WorkGroupState(string value) { return FindValue(value); } } }