/*
* 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 marketplace-catalog-2018-09-17.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.MarketplaceCatalog
{
///
/// Constants used for properties of type ChangeStatus.
///
public class ChangeStatus : ConstantClass
{
///
/// Constant APPLYING for ChangeStatus
///
public static readonly ChangeStatus APPLYING = new ChangeStatus("APPLYING");
///
/// Constant CANCELLED for ChangeStatus
///
public static readonly ChangeStatus CANCELLED = new ChangeStatus("CANCELLED");
///
/// Constant FAILED for ChangeStatus
///
public static readonly ChangeStatus FAILED = new ChangeStatus("FAILED");
///
/// Constant PREPARING for ChangeStatus
///
public static readonly ChangeStatus PREPARING = new ChangeStatus("PREPARING");
///
/// Constant SUCCEEDED for ChangeStatus
///
public static readonly ChangeStatus SUCCEEDED = new ChangeStatus("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 ChangeStatus(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 ChangeStatus 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 ChangeStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type FailureCode.
///
public class FailureCode : ConstantClass
{
///
/// Constant CLIENT_ERROR for FailureCode
///
public static readonly FailureCode CLIENT_ERROR = new FailureCode("CLIENT_ERROR");
///
/// Constant SERVER_FAULT for FailureCode
///
public static readonly FailureCode SERVER_FAULT = new FailureCode("SERVER_FAULT");
///
/// 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 FailureCode(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 FailureCode 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 FailureCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type OwnershipType.
///
public class OwnershipType : ConstantClass
{
///
/// Constant SELF for OwnershipType
///
public static readonly OwnershipType SELF = new OwnershipType("SELF");
///
/// Constant SHARED for OwnershipType
///
public static readonly OwnershipType SHARED = new OwnershipType("SHARED");
///
/// 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 OwnershipType(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 OwnershipType 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 OwnershipType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SortOrder.
///
public class SortOrder : ConstantClass
{
///
/// Constant ASCENDING for SortOrder
///
public static readonly SortOrder ASCENDING = new SortOrder("ASCENDING");
///
/// Constant DESCENDING for SortOrder
///
public static readonly SortOrder DESCENDING = new SortOrder("DESCENDING");
///
/// 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 SortOrder(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 SortOrder 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 SortOrder(string value)
{
return FindValue(value);
}
}
}