/*
* 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 connectcases-2022-10-03.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.ConnectCases
{
///
/// Constants used for properties of type CommentBodyTextType.
///
public class CommentBodyTextType : ConstantClass
{
///
/// Constant TextPlain for CommentBodyTextType
///
public static readonly CommentBodyTextType TextPlain = new CommentBodyTextType("Text/Plain");
///
/// 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 CommentBodyTextType(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 CommentBodyTextType 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 CommentBodyTextType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DomainStatus.
///
public class DomainStatus : ConstantClass
{
///
/// Constant Active for DomainStatus
///
public static readonly DomainStatus Active = new DomainStatus("Active");
///
/// Constant CreationFailed for DomainStatus
///
public static readonly DomainStatus CreationFailed = new DomainStatus("CreationFailed");
///
/// Constant CreationInProgress for DomainStatus
///
public static readonly DomainStatus CreationInProgress = new DomainStatus("CreationInProgress");
///
/// 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 DomainStatus(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 DomainStatus 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 DomainStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type FieldNamespace.
///
public class FieldNamespace : ConstantClass
{
///
/// Constant Custom for FieldNamespace
///
public static readonly FieldNamespace Custom = new FieldNamespace("Custom");
///
/// Constant System for FieldNamespace
///
public static readonly FieldNamespace System = new FieldNamespace("System");
///
/// 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 FieldNamespace(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 FieldNamespace 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 FieldNamespace(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type FieldType.
///
public class FieldType : ConstantClass
{
///
/// Constant Boolean for FieldType
///
public static readonly FieldType Boolean = new FieldType("Boolean");
///
/// Constant DateTime for FieldType
///
public static readonly FieldType DateTime = new FieldType("DateTime");
///
/// Constant Number for FieldType
///
public static readonly FieldType Number = new FieldType("Number");
///
/// Constant SingleSelect for FieldType
///
public static readonly FieldType SingleSelect = new FieldType("SingleSelect");
///
/// Constant Text for FieldType
///
public static readonly FieldType Text = new FieldType("Text");
///
/// Constant Url for FieldType
///
public static readonly FieldType Url = new FieldType("Url");
///
/// 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 FieldType(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 FieldType 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 FieldType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Order.
///
public class Order : ConstantClass
{
///
/// Constant Asc for Order
///
public static readonly Order Asc = new Order("Asc");
///
/// Constant Desc for Order
///
public static readonly Order Desc = new Order("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 Order(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 Order 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 Order(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RelatedItemType.
///
public class RelatedItemType : ConstantClass
{
///
/// Constant Comment for RelatedItemType
///
public static readonly RelatedItemType Comment = new RelatedItemType("Comment");
///
/// Constant Contact for RelatedItemType
///
public static readonly RelatedItemType Contact = new RelatedItemType("Contact");
///
/// 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 RelatedItemType(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 RelatedItemType 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 RelatedItemType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type TemplateStatus.
///
public class TemplateStatus : ConstantClass
{
///
/// Constant Active for TemplateStatus
///
public static readonly TemplateStatus Active = new TemplateStatus("Active");
///
/// Constant Inactive for TemplateStatus
///
public static readonly TemplateStatus Inactive = new TemplateStatus("Inactive");
///
/// 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 TemplateStatus(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 TemplateStatus 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 TemplateStatus(string value)
{
return FindValue(value);
}
}
}