/*
* 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 mq-2017-11-27.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.MQ
{
///
/// Constants used for properties of type AuthenticationStrategy.
///
public class AuthenticationStrategy : ConstantClass
{
///
/// Constant LDAP for AuthenticationStrategy
///
public static readonly AuthenticationStrategy LDAP = new AuthenticationStrategy("LDAP");
///
/// Constant SIMPLE for AuthenticationStrategy
///
public static readonly AuthenticationStrategy SIMPLE = new AuthenticationStrategy("SIMPLE");
///
/// 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 AuthenticationStrategy(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 AuthenticationStrategy 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 AuthenticationStrategy(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type BrokerState.
///
public class BrokerState : ConstantClass
{
///
/// Constant CREATION_FAILED for BrokerState
///
public static readonly BrokerState CREATION_FAILED = new BrokerState("CREATION_FAILED");
///
/// Constant CREATION_IN_PROGRESS for BrokerState
///
public static readonly BrokerState CREATION_IN_PROGRESS = new BrokerState("CREATION_IN_PROGRESS");
///
/// Constant CRITICAL_ACTION_REQUIRED for BrokerState
///
public static readonly BrokerState CRITICAL_ACTION_REQUIRED = new BrokerState("CRITICAL_ACTION_REQUIRED");
///
/// Constant DELETION_IN_PROGRESS for BrokerState
///
public static readonly BrokerState DELETION_IN_PROGRESS = new BrokerState("DELETION_IN_PROGRESS");
///
/// Constant REBOOT_IN_PROGRESS for BrokerState
///
public static readonly BrokerState REBOOT_IN_PROGRESS = new BrokerState("REBOOT_IN_PROGRESS");
///
/// Constant REPLICA for BrokerState
///
public static readonly BrokerState REPLICA = new BrokerState("REPLICA");
///
/// Constant RUNNING for BrokerState
///
public static readonly BrokerState RUNNING = new BrokerState("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 BrokerState(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 BrokerState 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 BrokerState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type BrokerStorageType.
///
public class BrokerStorageType : ConstantClass
{
///
/// Constant EBS for BrokerStorageType
///
public static readonly BrokerStorageType EBS = new BrokerStorageType("EBS");
///
/// Constant EFS for BrokerStorageType
///
public static readonly BrokerStorageType EFS = new BrokerStorageType("EFS");
///
/// 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 BrokerStorageType(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 BrokerStorageType 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 BrokerStorageType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ChangeType.
///
public class ChangeType : ConstantClass
{
///
/// Constant CREATE for ChangeType
///
public static readonly ChangeType CREATE = new ChangeType("CREATE");
///
/// Constant DELETE for ChangeType
///
public static readonly ChangeType DELETE = new ChangeType("DELETE");
///
/// Constant UPDATE for ChangeType
///
public static readonly ChangeType UPDATE = new ChangeType("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 ChangeType(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 ChangeType 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 ChangeType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DataReplicationMode.
///
public class DataReplicationMode : ConstantClass
{
///
/// Constant CRDR for DataReplicationMode
///
public static readonly DataReplicationMode CRDR = new DataReplicationMode("CRDR");
///
/// Constant NONE for DataReplicationMode
///
public static readonly DataReplicationMode NONE = new DataReplicationMode("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 DataReplicationMode(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 DataReplicationMode 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 DataReplicationMode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DayOfWeek.
///
public class DayOfWeek : ConstantClass
{
///
/// Constant FRIDAY for DayOfWeek
///
public static readonly DayOfWeek FRIDAY = new DayOfWeek("FRIDAY");
///
/// Constant MONDAY for DayOfWeek
///
public static readonly DayOfWeek MONDAY = new DayOfWeek("MONDAY");
///
/// Constant SATURDAY for DayOfWeek
///
public static readonly DayOfWeek SATURDAY = new DayOfWeek("SATURDAY");
///
/// Constant SUNDAY for DayOfWeek
///
public static readonly DayOfWeek SUNDAY = new DayOfWeek("SUNDAY");
///
/// Constant THURSDAY for DayOfWeek
///
public static readonly DayOfWeek THURSDAY = new DayOfWeek("THURSDAY");
///
/// Constant TUESDAY for DayOfWeek
///
public static readonly DayOfWeek TUESDAY = new DayOfWeek("TUESDAY");
///
/// Constant WEDNESDAY for DayOfWeek
///
public static readonly DayOfWeek WEDNESDAY = new DayOfWeek("WEDNESDAY");
///
/// 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 DayOfWeek(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 DayOfWeek 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 DayOfWeek(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DeploymentMode.
///
public class DeploymentMode : ConstantClass
{
///
/// Constant ACTIVE_STANDBY_MULTI_AZ for DeploymentMode
///
public static readonly DeploymentMode ACTIVE_STANDBY_MULTI_AZ = new DeploymentMode("ACTIVE_STANDBY_MULTI_AZ");
///
/// Constant CLUSTER_MULTI_AZ for DeploymentMode
///
public static readonly DeploymentMode CLUSTER_MULTI_AZ = new DeploymentMode("CLUSTER_MULTI_AZ");
///
/// Constant SINGLE_INSTANCE for DeploymentMode
///
public static readonly DeploymentMode SINGLE_INSTANCE = new DeploymentMode("SINGLE_INSTANCE");
///
/// 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 DeploymentMode(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 DeploymentMode 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 DeploymentMode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EngineType.
///
public class EngineType : ConstantClass
{
///
/// Constant ACTIVEMQ for EngineType
///
public static readonly EngineType ACTIVEMQ = new EngineType("ACTIVEMQ");
///
/// Constant RABBITMQ for EngineType
///
public static readonly EngineType RABBITMQ = new EngineType("RABBITMQ");
///
/// 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 EngineType(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 EngineType 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 EngineType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PromoteMode.
///
public class PromoteMode : ConstantClass
{
///
/// Constant FAILOVER for PromoteMode
///
public static readonly PromoteMode FAILOVER = new PromoteMode("FAILOVER");
///
/// Constant SWITCHOVER for PromoteMode
///
public static readonly PromoteMode SWITCHOVER = new PromoteMode("SWITCHOVER");
///
/// 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 PromoteMode(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 PromoteMode 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 PromoteMode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SanitizationWarningReason.
///
public class SanitizationWarningReason : ConstantClass
{
///
/// Constant DISALLOWED_ATTRIBUTE_REMOVED for SanitizationWarningReason
///
public static readonly SanitizationWarningReason DISALLOWED_ATTRIBUTE_REMOVED = new SanitizationWarningReason("DISALLOWED_ATTRIBUTE_REMOVED");
///
/// Constant DISALLOWED_ELEMENT_REMOVED for SanitizationWarningReason
///
public static readonly SanitizationWarningReason DISALLOWED_ELEMENT_REMOVED = new SanitizationWarningReason("DISALLOWED_ELEMENT_REMOVED");
///
/// Constant INVALID_ATTRIBUTE_VALUE_REMOVED for SanitizationWarningReason
///
public static readonly SanitizationWarningReason INVALID_ATTRIBUTE_VALUE_REMOVED = new SanitizationWarningReason("INVALID_ATTRIBUTE_VALUE_REMOVED");
///
/// 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 SanitizationWarningReason(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 SanitizationWarningReason 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 SanitizationWarningReason(string value)
{
return FindValue(value);
}
}
}