/*
* 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 amp-2020-08-01.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.PrometheusService
{
///
/// Constants used for properties of type AlertManagerDefinitionStatusCode.
///
public class AlertManagerDefinitionStatusCode : ConstantClass
{
///
/// Constant ACTIVE for AlertManagerDefinitionStatusCode
///
public static readonly AlertManagerDefinitionStatusCode ACTIVE = new AlertManagerDefinitionStatusCode("ACTIVE");
///
/// Constant CREATING for AlertManagerDefinitionStatusCode
///
public static readonly AlertManagerDefinitionStatusCode CREATING = new AlertManagerDefinitionStatusCode("CREATING");
///
/// Constant CREATION_FAILED for AlertManagerDefinitionStatusCode
///
public static readonly AlertManagerDefinitionStatusCode CREATION_FAILED = new AlertManagerDefinitionStatusCode("CREATION_FAILED");
///
/// Constant DELETING for AlertManagerDefinitionStatusCode
///
public static readonly AlertManagerDefinitionStatusCode DELETING = new AlertManagerDefinitionStatusCode("DELETING");
///
/// Constant UPDATE_FAILED for AlertManagerDefinitionStatusCode
///
public static readonly AlertManagerDefinitionStatusCode UPDATE_FAILED = new AlertManagerDefinitionStatusCode("UPDATE_FAILED");
///
/// Constant UPDATING for AlertManagerDefinitionStatusCode
///
public static readonly AlertManagerDefinitionStatusCode UPDATING = new AlertManagerDefinitionStatusCode("UPDATING");
///
/// 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 AlertManagerDefinitionStatusCode(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 AlertManagerDefinitionStatusCode 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 AlertManagerDefinitionStatusCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type LoggingConfigurationStatusCode.
///
public class LoggingConfigurationStatusCode : ConstantClass
{
///
/// Constant ACTIVE for LoggingConfigurationStatusCode
///
public static readonly LoggingConfigurationStatusCode ACTIVE = new LoggingConfigurationStatusCode("ACTIVE");
///
/// Constant CREATING for LoggingConfigurationStatusCode
///
public static readonly LoggingConfigurationStatusCode CREATING = new LoggingConfigurationStatusCode("CREATING");
///
/// Constant CREATION_FAILED for LoggingConfigurationStatusCode
///
public static readonly LoggingConfigurationStatusCode CREATION_FAILED = new LoggingConfigurationStatusCode("CREATION_FAILED");
///
/// Constant DELETING for LoggingConfigurationStatusCode
///
public static readonly LoggingConfigurationStatusCode DELETING = new LoggingConfigurationStatusCode("DELETING");
///
/// Constant UPDATE_FAILED for LoggingConfigurationStatusCode
///
public static readonly LoggingConfigurationStatusCode UPDATE_FAILED = new LoggingConfigurationStatusCode("UPDATE_FAILED");
///
/// Constant UPDATING for LoggingConfigurationStatusCode
///
public static readonly LoggingConfigurationStatusCode UPDATING = new LoggingConfigurationStatusCode("UPDATING");
///
/// 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 LoggingConfigurationStatusCode(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 LoggingConfigurationStatusCode 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 LoggingConfigurationStatusCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RuleGroupsNamespaceStatusCode.
///
public class RuleGroupsNamespaceStatusCode : ConstantClass
{
///
/// Constant ACTIVE for RuleGroupsNamespaceStatusCode
///
public static readonly RuleGroupsNamespaceStatusCode ACTIVE = new RuleGroupsNamespaceStatusCode("ACTIVE");
///
/// Constant CREATING for RuleGroupsNamespaceStatusCode
///
public static readonly RuleGroupsNamespaceStatusCode CREATING = new RuleGroupsNamespaceStatusCode("CREATING");
///
/// Constant CREATION_FAILED for RuleGroupsNamespaceStatusCode
///
public static readonly RuleGroupsNamespaceStatusCode CREATION_FAILED = new RuleGroupsNamespaceStatusCode("CREATION_FAILED");
///
/// Constant DELETING for RuleGroupsNamespaceStatusCode
///
public static readonly RuleGroupsNamespaceStatusCode DELETING = new RuleGroupsNamespaceStatusCode("DELETING");
///
/// Constant UPDATE_FAILED for RuleGroupsNamespaceStatusCode
///
public static readonly RuleGroupsNamespaceStatusCode UPDATE_FAILED = new RuleGroupsNamespaceStatusCode("UPDATE_FAILED");
///
/// Constant UPDATING for RuleGroupsNamespaceStatusCode
///
public static readonly RuleGroupsNamespaceStatusCode UPDATING = new RuleGroupsNamespaceStatusCode("UPDATING");
///
/// 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 RuleGroupsNamespaceStatusCode(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 RuleGroupsNamespaceStatusCode 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 RuleGroupsNamespaceStatusCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ValidationExceptionReason.
///
public class ValidationExceptionReason : ConstantClass
{
///
/// Constant CANNOT_PARSE for ValidationExceptionReason
///
public static readonly ValidationExceptionReason CANNOT_PARSE = new ValidationExceptionReason("CANNOT_PARSE");
///
/// Constant FIELD_VALIDATION_FAILED for ValidationExceptionReason
///
public static readonly ValidationExceptionReason FIELD_VALIDATION_FAILED = new ValidationExceptionReason("FIELD_VALIDATION_FAILED");
///
/// Constant OTHER for ValidationExceptionReason
///
public static readonly ValidationExceptionReason OTHER = new ValidationExceptionReason("OTHER");
///
/// Constant UNKNOWN_OPERATION for ValidationExceptionReason
///
public static readonly ValidationExceptionReason UNKNOWN_OPERATION = new ValidationExceptionReason("UNKNOWN_OPERATION");
///
/// 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 ValidationExceptionReason(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 ValidationExceptionReason 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 ValidationExceptionReason(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type WorkspaceStatusCode.
///
public class WorkspaceStatusCode : ConstantClass
{
///
/// Constant ACTIVE for WorkspaceStatusCode
///
public static readonly WorkspaceStatusCode ACTIVE = new WorkspaceStatusCode("ACTIVE");
///
/// Constant CREATING for WorkspaceStatusCode
///
public static readonly WorkspaceStatusCode CREATING = new WorkspaceStatusCode("CREATING");
///
/// Constant CREATION_FAILED for WorkspaceStatusCode
///
public static readonly WorkspaceStatusCode CREATION_FAILED = new WorkspaceStatusCode("CREATION_FAILED");
///
/// Constant DELETING for WorkspaceStatusCode
///
public static readonly WorkspaceStatusCode DELETING = new WorkspaceStatusCode("DELETING");
///
/// Constant UPDATING for WorkspaceStatusCode
///
public static readonly WorkspaceStatusCode UPDATING = new WorkspaceStatusCode("UPDATING");
///
/// 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 WorkspaceStatusCode(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 WorkspaceStatusCode 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 WorkspaceStatusCode(string value)
{
return FindValue(value);
}
}
}