/*
* 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 connectcampaigns-2021-01-30.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.ConnectCampaignService
{
///
/// Constants used for properties of type CampaignState.
///
public class CampaignState : ConstantClass
{
///
/// Constant Failed for CampaignState
///
public static readonly CampaignState Failed = new CampaignState("Failed");
///
/// Constant Initialized for CampaignState
///
public static readonly CampaignState Initialized = new CampaignState("Initialized");
///
/// Constant Paused for CampaignState
///
public static readonly CampaignState Paused = new CampaignState("Paused");
///
/// Constant Running for CampaignState
///
public static readonly CampaignState Running = new CampaignState("Running");
///
/// Constant Stopped for CampaignState
///
public static readonly CampaignState Stopped = new CampaignState("Stopped");
///
/// 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 CampaignState(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 CampaignState 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 CampaignState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EncryptionType.
///
public class EncryptionType : ConstantClass
{
///
/// Constant KMS for EncryptionType
///
public static readonly EncryptionType KMS = new EncryptionType("KMS");
///
/// 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 EncryptionType(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 EncryptionType 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 EncryptionType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type FailureCode.
///
public class FailureCode : ConstantClass
{
///
/// Constant InvalidInput for FailureCode
///
public static readonly FailureCode InvalidInput = new FailureCode("InvalidInput");
///
/// Constant RequestThrottled for FailureCode
///
public static readonly FailureCode RequestThrottled = new FailureCode("RequestThrottled");
///
/// Constant UnknownError for FailureCode
///
public static readonly FailureCode UnknownError = new FailureCode("UnknownError");
///
/// 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 FailureCode(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 FailureCode 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 FailureCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type GetCampaignStateBatchFailureCode.
///
public class GetCampaignStateBatchFailureCode : ConstantClass
{
///
/// Constant ResourceNotFound for GetCampaignStateBatchFailureCode
///
public static readonly GetCampaignStateBatchFailureCode ResourceNotFound = new GetCampaignStateBatchFailureCode("ResourceNotFound");
///
/// Constant UnknownError for GetCampaignStateBatchFailureCode
///
public static readonly GetCampaignStateBatchFailureCode UnknownError = new GetCampaignStateBatchFailureCode("UnknownError");
///
/// 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 GetCampaignStateBatchFailureCode(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 GetCampaignStateBatchFailureCode 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 GetCampaignStateBatchFailureCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type InstanceIdFilterOperator.
///
public class InstanceIdFilterOperator : ConstantClass
{
///
/// Constant Eq for InstanceIdFilterOperator
///
public static readonly InstanceIdFilterOperator Eq = new InstanceIdFilterOperator("Eq");
///
/// 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 InstanceIdFilterOperator(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 InstanceIdFilterOperator 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 InstanceIdFilterOperator(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type InstanceOnboardingJobFailureCode.
///
public class InstanceOnboardingJobFailureCode : ConstantClass
{
///
/// Constant EVENT_BRIDGE_ACCESS_DENIED for InstanceOnboardingJobFailureCode
///
public static readonly InstanceOnboardingJobFailureCode EVENT_BRIDGE_ACCESS_DENIED = new InstanceOnboardingJobFailureCode("EVENT_BRIDGE_ACCESS_DENIED");
///
/// Constant EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED for InstanceOnboardingJobFailureCode
///
public static readonly InstanceOnboardingJobFailureCode EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED = new InstanceOnboardingJobFailureCode("EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED");
///
/// Constant IAM_ACCESS_DENIED for InstanceOnboardingJobFailureCode
///
public static readonly InstanceOnboardingJobFailureCode IAM_ACCESS_DENIED = new InstanceOnboardingJobFailureCode("IAM_ACCESS_DENIED");
///
/// Constant INTERNAL_FAILURE for InstanceOnboardingJobFailureCode
///
public static readonly InstanceOnboardingJobFailureCode INTERNAL_FAILURE = new InstanceOnboardingJobFailureCode("INTERNAL_FAILURE");
///
/// Constant KMS_ACCESS_DENIED for InstanceOnboardingJobFailureCode
///
public static readonly InstanceOnboardingJobFailureCode KMS_ACCESS_DENIED = new InstanceOnboardingJobFailureCode("KMS_ACCESS_DENIED");
///
/// Constant KMS_KEY_NOT_FOUND for InstanceOnboardingJobFailureCode
///
public static readonly InstanceOnboardingJobFailureCode KMS_KEY_NOT_FOUND = new InstanceOnboardingJobFailureCode("KMS_KEY_NOT_FOUND");
///
/// 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 InstanceOnboardingJobFailureCode(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 InstanceOnboardingJobFailureCode 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 InstanceOnboardingJobFailureCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type InstanceOnboardingJobStatusCode.
///
public class InstanceOnboardingJobStatusCode : ConstantClass
{
///
/// Constant FAILED for InstanceOnboardingJobStatusCode
///
public static readonly InstanceOnboardingJobStatusCode FAILED = new InstanceOnboardingJobStatusCode("FAILED");
///
/// Constant IN_PROGRESS for InstanceOnboardingJobStatusCode
///
public static readonly InstanceOnboardingJobStatusCode IN_PROGRESS = new InstanceOnboardingJobStatusCode("IN_PROGRESS");
///
/// Constant SUCCEEDED for InstanceOnboardingJobStatusCode
///
public static readonly InstanceOnboardingJobStatusCode SUCCEEDED = new InstanceOnboardingJobStatusCode("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 InstanceOnboardingJobStatusCode(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 InstanceOnboardingJobStatusCode 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 InstanceOnboardingJobStatusCode(string value)
{
return FindValue(value);
}
}
}