/*
* 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 braket-2019-09-01.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.Braket
{
///
/// Constants used for properties of type CancellationStatus.
///
public class CancellationStatus : ConstantClass
{
///
/// Constant CANCELLED for CancellationStatus
///
public static readonly CancellationStatus CANCELLED = new CancellationStatus("CANCELLED");
///
/// Constant CANCELLING for CancellationStatus
///
public static readonly CancellationStatus CANCELLING = new CancellationStatus("CANCELLING");
///
/// 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 CancellationStatus(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 CancellationStatus 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 CancellationStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type CompressionType.
///
public class CompressionType : ConstantClass
{
///
/// Constant GZIP for CompressionType
///
public static readonly CompressionType GZIP = new CompressionType("GZIP");
///
/// Constant NONE for CompressionType
///
public static readonly CompressionType NONE = new CompressionType("NONE");
///
/// 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 CompressionType(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 CompressionType 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 CompressionType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DeviceStatus.
///
public class DeviceStatus : ConstantClass
{
///
/// Constant OFFLINE for DeviceStatus
///
public static readonly DeviceStatus OFFLINE = new DeviceStatus("OFFLINE");
///
/// Constant ONLINE for DeviceStatus
///
public static readonly DeviceStatus ONLINE = new DeviceStatus("ONLINE");
///
/// Constant RETIRED for DeviceStatus
///
public static readonly DeviceStatus RETIRED = new DeviceStatus("RETIRED");
///
/// 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 DeviceStatus(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 DeviceStatus 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 DeviceStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DeviceType.
///
public class DeviceType : ConstantClass
{
///
/// Constant QPU for DeviceType
///
public static readonly DeviceType QPU = new DeviceType("QPU");
///
/// Constant SIMULATOR for DeviceType
///
public static readonly DeviceType SIMULATOR = new DeviceType("SIMULATOR");
///
/// 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 DeviceType(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 DeviceType 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 DeviceType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type InstanceType.
///
public class InstanceType : ConstantClass
{
///
/// Constant MlC42xlarge for InstanceType
///
public static readonly InstanceType MlC42xlarge = new InstanceType("ml.c4.2xlarge");
///
/// Constant MlC44xlarge for InstanceType
///
public static readonly InstanceType MlC44xlarge = new InstanceType("ml.c4.4xlarge");
///
/// Constant MlC48xlarge for InstanceType
///
public static readonly InstanceType MlC48xlarge = new InstanceType("ml.c4.8xlarge");
///
/// Constant MlC4Xlarge for InstanceType
///
public static readonly InstanceType MlC4Xlarge = new InstanceType("ml.c4.xlarge");
///
/// Constant MlC518xlarge for InstanceType
///
public static readonly InstanceType MlC518xlarge = new InstanceType("ml.c5.18xlarge");
///
/// Constant MlC52xlarge for InstanceType
///
public static readonly InstanceType MlC52xlarge = new InstanceType("ml.c5.2xlarge");
///
/// Constant MlC54xlarge for InstanceType
///
public static readonly InstanceType MlC54xlarge = new InstanceType("ml.c5.4xlarge");
///
/// Constant MlC59xlarge for InstanceType
///
public static readonly InstanceType MlC59xlarge = new InstanceType("ml.c5.9xlarge");
///
/// Constant MlC5n18xlarge for InstanceType
///
public static readonly InstanceType MlC5n18xlarge = new InstanceType("ml.c5n.18xlarge");
///
/// Constant MlC5n2xlarge for InstanceType
///
public static readonly InstanceType MlC5n2xlarge = new InstanceType("ml.c5n.2xlarge");
///
/// Constant MlC5n4xlarge for InstanceType
///
public static readonly InstanceType MlC5n4xlarge = new InstanceType("ml.c5n.4xlarge");
///
/// Constant MlC5n9xlarge for InstanceType
///
public static readonly InstanceType MlC5n9xlarge = new InstanceType("ml.c5n.9xlarge");
///
/// Constant MlC5nXlarge for InstanceType
///
public static readonly InstanceType MlC5nXlarge = new InstanceType("ml.c5n.xlarge");
///
/// Constant MlC5Xlarge for InstanceType
///
public static readonly InstanceType MlC5Xlarge = new InstanceType("ml.c5.xlarge");
///
/// Constant MlG4dn12xlarge for InstanceType
///
public static readonly InstanceType MlG4dn12xlarge = new InstanceType("ml.g4dn.12xlarge");
///
/// Constant MlG4dn16xlarge for InstanceType
///
public static readonly InstanceType MlG4dn16xlarge = new InstanceType("ml.g4dn.16xlarge");
///
/// Constant MlG4dn2xlarge for InstanceType
///
public static readonly InstanceType MlG4dn2xlarge = new InstanceType("ml.g4dn.2xlarge");
///
/// Constant MlG4dn4xlarge for InstanceType
///
public static readonly InstanceType MlG4dn4xlarge = new InstanceType("ml.g4dn.4xlarge");
///
/// Constant MlG4dn8xlarge for InstanceType
///
public static readonly InstanceType MlG4dn8xlarge = new InstanceType("ml.g4dn.8xlarge");
///
/// Constant MlG4dnXlarge for InstanceType
///
public static readonly InstanceType MlG4dnXlarge = new InstanceType("ml.g4dn.xlarge");
///
/// Constant MlM410xlarge for InstanceType
///
public static readonly InstanceType MlM410xlarge = new InstanceType("ml.m4.10xlarge");
///
/// Constant MlM416xlarge for InstanceType
///
public static readonly InstanceType MlM416xlarge = new InstanceType("ml.m4.16xlarge");
///
/// Constant MlM42xlarge for InstanceType
///
public static readonly InstanceType MlM42xlarge = new InstanceType("ml.m4.2xlarge");
///
/// Constant MlM44xlarge for InstanceType
///
public static readonly InstanceType MlM44xlarge = new InstanceType("ml.m4.4xlarge");
///
/// Constant MlM4Xlarge for InstanceType
///
public static readonly InstanceType MlM4Xlarge = new InstanceType("ml.m4.xlarge");
///
/// Constant MlM512xlarge for InstanceType
///
public static readonly InstanceType MlM512xlarge = new InstanceType("ml.m5.12xlarge");
///
/// Constant MlM524xlarge for InstanceType
///
public static readonly InstanceType MlM524xlarge = new InstanceType("ml.m5.24xlarge");
///
/// Constant MlM52xlarge for InstanceType
///
public static readonly InstanceType MlM52xlarge = new InstanceType("ml.m5.2xlarge");
///
/// Constant MlM54xlarge for InstanceType
///
public static readonly InstanceType MlM54xlarge = new InstanceType("ml.m5.4xlarge");
///
/// Constant MlM5Large for InstanceType
///
public static readonly InstanceType MlM5Large = new InstanceType("ml.m5.large");
///
/// Constant MlM5Xlarge for InstanceType
///
public static readonly InstanceType MlM5Xlarge = new InstanceType("ml.m5.xlarge");
///
/// Constant MlP216xlarge for InstanceType
///
public static readonly InstanceType MlP216xlarge = new InstanceType("ml.p2.16xlarge");
///
/// Constant MlP28xlarge for InstanceType
///
public static readonly InstanceType MlP28xlarge = new InstanceType("ml.p2.8xlarge");
///
/// Constant MlP2Xlarge for InstanceType
///
public static readonly InstanceType MlP2Xlarge = new InstanceType("ml.p2.xlarge");
///
/// Constant MlP316xlarge for InstanceType
///
public static readonly InstanceType MlP316xlarge = new InstanceType("ml.p3.16xlarge");
///
/// Constant MlP32xlarge for InstanceType
///
public static readonly InstanceType MlP32xlarge = new InstanceType("ml.p3.2xlarge");
///
/// Constant MlP38xlarge for InstanceType
///
public static readonly InstanceType MlP38xlarge = new InstanceType("ml.p3.8xlarge");
///
/// Constant MlP3dn24xlarge for InstanceType
///
public static readonly InstanceType MlP3dn24xlarge = new InstanceType("ml.p3dn.24xlarge");
///
/// Constant MlP4d24xlarge for InstanceType
///
public static readonly InstanceType MlP4d24xlarge = new InstanceType("ml.p4d.24xlarge");
///
/// 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 InstanceType(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 InstanceType 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 InstanceType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type JobEventType.
///
public class JobEventType : ConstantClass
{
///
/// Constant CANCELLED for JobEventType
///
public static readonly JobEventType CANCELLED = new JobEventType("CANCELLED");
///
/// Constant COMPLETED for JobEventType
///
public static readonly JobEventType COMPLETED = new JobEventType("COMPLETED");
///
/// Constant DEPRIORITIZED_DUE_TO_INACTIVITY for JobEventType
///
public static readonly JobEventType DEPRIORITIZED_DUE_TO_INACTIVITY = new JobEventType("DEPRIORITIZED_DUE_TO_INACTIVITY");
///
/// Constant DOWNLOADING_DATA for JobEventType
///
public static readonly JobEventType DOWNLOADING_DATA = new JobEventType("DOWNLOADING_DATA");
///
/// Constant FAILED for JobEventType
///
public static readonly JobEventType FAILED = new JobEventType("FAILED");
///
/// Constant MAX_RUNTIME_EXCEEDED for JobEventType
///
public static readonly JobEventType MAX_RUNTIME_EXCEEDED = new JobEventType("MAX_RUNTIME_EXCEEDED");
///
/// Constant QUEUED_FOR_EXECUTION for JobEventType
///
public static readonly JobEventType QUEUED_FOR_EXECUTION = new JobEventType("QUEUED_FOR_EXECUTION");
///
/// Constant RUNNING for JobEventType
///
public static readonly JobEventType RUNNING = new JobEventType("RUNNING");
///
/// Constant STARTING_INSTANCE for JobEventType
///
public static readonly JobEventType STARTING_INSTANCE = new JobEventType("STARTING_INSTANCE");
///
/// Constant UPLOADING_RESULTS for JobEventType
///
public static readonly JobEventType UPLOADING_RESULTS = new JobEventType("UPLOADING_RESULTS");
///
/// Constant WAITING_FOR_PRIORITY for JobEventType
///
public static readonly JobEventType WAITING_FOR_PRIORITY = new JobEventType("WAITING_FOR_PRIORITY");
///
/// 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 JobEventType(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 JobEventType 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 JobEventType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type JobPrimaryStatus.
///
public class JobPrimaryStatus : ConstantClass
{
///
/// Constant CANCELLED for JobPrimaryStatus
///
public static readonly JobPrimaryStatus CANCELLED = new JobPrimaryStatus("CANCELLED");
///
/// Constant CANCELLING for JobPrimaryStatus
///
public static readonly JobPrimaryStatus CANCELLING = new JobPrimaryStatus("CANCELLING");
///
/// Constant COMPLETED for JobPrimaryStatus
///
public static readonly JobPrimaryStatus COMPLETED = new JobPrimaryStatus("COMPLETED");
///
/// Constant FAILED for JobPrimaryStatus
///
public static readonly JobPrimaryStatus FAILED = new JobPrimaryStatus("FAILED");
///
/// Constant QUEUED for JobPrimaryStatus
///
public static readonly JobPrimaryStatus QUEUED = new JobPrimaryStatus("QUEUED");
///
/// Constant RUNNING for JobPrimaryStatus
///
public static readonly JobPrimaryStatus RUNNING = new JobPrimaryStatus("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 JobPrimaryStatus(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 JobPrimaryStatus 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 JobPrimaryStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type QuantumTaskStatus.
///
public class QuantumTaskStatus : ConstantClass
{
///
/// Constant CANCELLED for QuantumTaskStatus
///
public static readonly QuantumTaskStatus CANCELLED = new QuantumTaskStatus("CANCELLED");
///
/// Constant CANCELLING for QuantumTaskStatus
///
public static readonly QuantumTaskStatus CANCELLING = new QuantumTaskStatus("CANCELLING");
///
/// Constant COMPLETED for QuantumTaskStatus
///
public static readonly QuantumTaskStatus COMPLETED = new QuantumTaskStatus("COMPLETED");
///
/// Constant CREATED for QuantumTaskStatus
///
public static readonly QuantumTaskStatus CREATED = new QuantumTaskStatus("CREATED");
///
/// Constant FAILED for QuantumTaskStatus
///
public static readonly QuantumTaskStatus FAILED = new QuantumTaskStatus("FAILED");
///
/// Constant QUEUED for QuantumTaskStatus
///
public static readonly QuantumTaskStatus QUEUED = new QuantumTaskStatus("QUEUED");
///
/// Constant RUNNING for QuantumTaskStatus
///
public static readonly QuantumTaskStatus RUNNING = new QuantumTaskStatus("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 QuantumTaskStatus(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 QuantumTaskStatus 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 QuantumTaskStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SearchJobsFilterOperator.
///
public class SearchJobsFilterOperator : ConstantClass
{
///
/// Constant BETWEEN for SearchJobsFilterOperator
///
public static readonly SearchJobsFilterOperator BETWEEN = new SearchJobsFilterOperator("BETWEEN");
///
/// Constant CONTAINS for SearchJobsFilterOperator
///
public static readonly SearchJobsFilterOperator CONTAINS = new SearchJobsFilterOperator("CONTAINS");
///
/// Constant EQUAL for SearchJobsFilterOperator
///
public static readonly SearchJobsFilterOperator EQUAL = new SearchJobsFilterOperator("EQUAL");
///
/// Constant GT for SearchJobsFilterOperator
///
public static readonly SearchJobsFilterOperator GT = new SearchJobsFilterOperator("GT");
///
/// Constant GTE for SearchJobsFilterOperator
///
public static readonly SearchJobsFilterOperator GTE = new SearchJobsFilterOperator("GTE");
///
/// Constant LT for SearchJobsFilterOperator
///
public static readonly SearchJobsFilterOperator LT = new SearchJobsFilterOperator("LT");
///
/// Constant LTE for SearchJobsFilterOperator
///
public static readonly SearchJobsFilterOperator LTE = new SearchJobsFilterOperator("LTE");
///
/// 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 SearchJobsFilterOperator(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 SearchJobsFilterOperator 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 SearchJobsFilterOperator(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SearchQuantumTasksFilterOperator.
///
public class SearchQuantumTasksFilterOperator : ConstantClass
{
///
/// Constant BETWEEN for SearchQuantumTasksFilterOperator
///
public static readonly SearchQuantumTasksFilterOperator BETWEEN = new SearchQuantumTasksFilterOperator("BETWEEN");
///
/// Constant EQUAL for SearchQuantumTasksFilterOperator
///
public static readonly SearchQuantumTasksFilterOperator EQUAL = new SearchQuantumTasksFilterOperator("EQUAL");
///
/// Constant GT for SearchQuantumTasksFilterOperator
///
public static readonly SearchQuantumTasksFilterOperator GT = new SearchQuantumTasksFilterOperator("GT");
///
/// Constant GTE for SearchQuantumTasksFilterOperator
///
public static readonly SearchQuantumTasksFilterOperator GTE = new SearchQuantumTasksFilterOperator("GTE");
///
/// Constant LT for SearchQuantumTasksFilterOperator
///
public static readonly SearchQuantumTasksFilterOperator LT = new SearchQuantumTasksFilterOperator("LT");
///
/// Constant LTE for SearchQuantumTasksFilterOperator
///
public static readonly SearchQuantumTasksFilterOperator LTE = new SearchQuantumTasksFilterOperator("LTE");
///
/// 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 SearchQuantumTasksFilterOperator(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 SearchQuantumTasksFilterOperator 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 SearchQuantumTasksFilterOperator(string value)
{
return FindValue(value);
}
}
}