/*
* 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 controltower-2018-05-10.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.ControlTower
{
///
/// Constants used for properties of type ControlOperationStatus.
///
public class ControlOperationStatus : ConstantClass
{
///
/// Constant FAILED for ControlOperationStatus
///
public static readonly ControlOperationStatus FAILED = new ControlOperationStatus("FAILED");
///
/// Constant IN_PROGRESS for ControlOperationStatus
///
public static readonly ControlOperationStatus IN_PROGRESS = new ControlOperationStatus("IN_PROGRESS");
///
/// Constant SUCCEEDED for ControlOperationStatus
///
public static readonly ControlOperationStatus SUCCEEDED = new ControlOperationStatus("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 ControlOperationStatus(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 ControlOperationStatus 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 ControlOperationStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ControlOperationType.
///
public class ControlOperationType : ConstantClass
{
///
/// Constant DISABLE_CONTROL for ControlOperationType
///
public static readonly ControlOperationType DISABLE_CONTROL = new ControlOperationType("DISABLE_CONTROL");
///
/// Constant ENABLE_CONTROL for ControlOperationType
///
public static readonly ControlOperationType ENABLE_CONTROL = new ControlOperationType("ENABLE_CONTROL");
///
/// 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 ControlOperationType(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 ControlOperationType 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 ControlOperationType(string value)
{
return FindValue(value);
}
}
}