/*
* 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 backup-gateway-2021-01-01.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.BackupGateway
{
///
/// Constants used for properties of type GatewayType.
///
public class GatewayType : ConstantClass
{
///
/// Constant BACKUP_VM for GatewayType
///
public static readonly GatewayType BACKUP_VM = new GatewayType("BACKUP_VM");
///
/// 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 GatewayType(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 GatewayType 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 GatewayType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type HypervisorState.
///
public class HypervisorState : ConstantClass
{
///
/// Constant ERROR for HypervisorState
///
public static readonly HypervisorState ERROR = new HypervisorState("ERROR");
///
/// Constant OFFLINE for HypervisorState
///
public static readonly HypervisorState OFFLINE = new HypervisorState("OFFLINE");
///
/// Constant ONLINE for HypervisorState
///
public static readonly HypervisorState ONLINE = new HypervisorState("ONLINE");
///
/// Constant PENDING for HypervisorState
///
public static readonly HypervisorState PENDING = new HypervisorState("PENDING");
///
/// 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 HypervisorState(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 HypervisorState 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 HypervisorState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SyncMetadataStatus.
///
public class SyncMetadataStatus : ConstantClass
{
///
/// Constant CREATED for SyncMetadataStatus
///
public static readonly SyncMetadataStatus CREATED = new SyncMetadataStatus("CREATED");
///
/// Constant FAILED for SyncMetadataStatus
///
public static readonly SyncMetadataStatus FAILED = new SyncMetadataStatus("FAILED");
///
/// Constant PARTIALLY_FAILED for SyncMetadataStatus
///
public static readonly SyncMetadataStatus PARTIALLY_FAILED = new SyncMetadataStatus("PARTIALLY_FAILED");
///
/// Constant RUNNING for SyncMetadataStatus
///
public static readonly SyncMetadataStatus RUNNING = new SyncMetadataStatus("RUNNING");
///
/// Constant SUCCEEDED for SyncMetadataStatus
///
public static readonly SyncMetadataStatus SUCCEEDED = new SyncMetadataStatus("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 SyncMetadataStatus(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 SyncMetadataStatus 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 SyncMetadataStatus(string value)
{
return FindValue(value);
}
}
}