/*
* 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 ram-2018-01-04.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.RAM
{
///
/// Constants used for properties of type PermissionFeatureSet.
///
public class PermissionFeatureSet : ConstantClass
{
///
/// Constant CREATED_FROM_POLICY for PermissionFeatureSet
///
public static readonly PermissionFeatureSet CREATED_FROM_POLICY = new PermissionFeatureSet("CREATED_FROM_POLICY");
///
/// Constant PROMOTING_TO_STANDARD for PermissionFeatureSet
///
public static readonly PermissionFeatureSet PROMOTING_TO_STANDARD = new PermissionFeatureSet("PROMOTING_TO_STANDARD");
///
/// Constant STANDARD for PermissionFeatureSet
///
public static readonly PermissionFeatureSet STANDARD = new PermissionFeatureSet("STANDARD");
///
/// 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 PermissionFeatureSet(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 PermissionFeatureSet 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 PermissionFeatureSet(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PermissionStatus.
///
public class PermissionStatus : ConstantClass
{
///
/// Constant ATTACHABLE for PermissionStatus
///
public static readonly PermissionStatus ATTACHABLE = new PermissionStatus("ATTACHABLE");
///
/// Constant DELETED for PermissionStatus
///
public static readonly PermissionStatus DELETED = new PermissionStatus("DELETED");
///
/// Constant DELETING for PermissionStatus
///
public static readonly PermissionStatus DELETING = new PermissionStatus("DELETING");
///
/// Constant UNATTACHABLE for PermissionStatus
///
public static readonly PermissionStatus UNATTACHABLE = new PermissionStatus("UNATTACHABLE");
///
/// 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 PermissionStatus(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 PermissionStatus 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 PermissionStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PermissionType.
///
public class PermissionType : ConstantClass
{
///
/// Constant AWS_MANAGED for PermissionType
///
public static readonly PermissionType AWS_MANAGED = new PermissionType("AWS_MANAGED");
///
/// Constant CUSTOMER_MANAGED for PermissionType
///
public static readonly PermissionType CUSTOMER_MANAGED = new PermissionType("CUSTOMER_MANAGED");
///
/// 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 PermissionType(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 PermissionType 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 PermissionType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PermissionTypeFilter.
///
public class PermissionTypeFilter : ConstantClass
{
///
/// Constant ALL for PermissionTypeFilter
///
public static readonly PermissionTypeFilter ALL = new PermissionTypeFilter("ALL");
///
/// Constant AWS_MANAGED for PermissionTypeFilter
///
public static readonly PermissionTypeFilter AWS_MANAGED = new PermissionTypeFilter("AWS_MANAGED");
///
/// Constant CUSTOMER_MANAGED for PermissionTypeFilter
///
public static readonly PermissionTypeFilter CUSTOMER_MANAGED = new PermissionTypeFilter("CUSTOMER_MANAGED");
///
/// 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 PermissionTypeFilter(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 PermissionTypeFilter 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 PermissionTypeFilter(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ReplacePermissionAssociationsWorkStatus.
///
public class ReplacePermissionAssociationsWorkStatus : ConstantClass
{
///
/// Constant COMPLETED for ReplacePermissionAssociationsWorkStatus
///
public static readonly ReplacePermissionAssociationsWorkStatus COMPLETED = new ReplacePermissionAssociationsWorkStatus("COMPLETED");
///
/// Constant FAILED for ReplacePermissionAssociationsWorkStatus
///
public static readonly ReplacePermissionAssociationsWorkStatus FAILED = new ReplacePermissionAssociationsWorkStatus("FAILED");
///
/// Constant IN_PROGRESS for ReplacePermissionAssociationsWorkStatus
///
public static readonly ReplacePermissionAssociationsWorkStatus IN_PROGRESS = new ReplacePermissionAssociationsWorkStatus("IN_PROGRESS");
///
/// 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 ReplacePermissionAssociationsWorkStatus(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 ReplacePermissionAssociationsWorkStatus 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 ReplacePermissionAssociationsWorkStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResourceOwner.
///
public class ResourceOwner : ConstantClass
{
///
/// Constant OTHERACCOUNTS for ResourceOwner
///
public static readonly ResourceOwner OTHERACCOUNTS = new ResourceOwner("OTHER-ACCOUNTS");
///
/// Constant SELF for ResourceOwner
///
public static readonly ResourceOwner SELF = new ResourceOwner("SELF");
///
/// 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 ResourceOwner(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 ResourceOwner 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 ResourceOwner(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResourceRegionScope.
///
public class ResourceRegionScope : ConstantClass
{
///
/// Constant GLOBAL for ResourceRegionScope
///
public static readonly ResourceRegionScope GLOBAL = new ResourceRegionScope("GLOBAL");
///
/// Constant REGIONAL for ResourceRegionScope
///
public static readonly ResourceRegionScope REGIONAL = new ResourceRegionScope("REGIONAL");
///
/// 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 ResourceRegionScope(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 ResourceRegionScope 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 ResourceRegionScope(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResourceRegionScopeFilter.
///
public class ResourceRegionScopeFilter : ConstantClass
{
///
/// Constant ALL for ResourceRegionScopeFilter
///
public static readonly ResourceRegionScopeFilter ALL = new ResourceRegionScopeFilter("ALL");
///
/// Constant GLOBAL for ResourceRegionScopeFilter
///
public static readonly ResourceRegionScopeFilter GLOBAL = new ResourceRegionScopeFilter("GLOBAL");
///
/// Constant REGIONAL for ResourceRegionScopeFilter
///
public static readonly ResourceRegionScopeFilter REGIONAL = new ResourceRegionScopeFilter("REGIONAL");
///
/// 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 ResourceRegionScopeFilter(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 ResourceRegionScopeFilter 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 ResourceRegionScopeFilter(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResourceShareAssociationStatus.
///
public class ResourceShareAssociationStatus : ConstantClass
{
///
/// Constant ASSOCIATED for ResourceShareAssociationStatus
///
public static readonly ResourceShareAssociationStatus ASSOCIATED = new ResourceShareAssociationStatus("ASSOCIATED");
///
/// Constant ASSOCIATING for ResourceShareAssociationStatus
///
public static readonly ResourceShareAssociationStatus ASSOCIATING = new ResourceShareAssociationStatus("ASSOCIATING");
///
/// Constant DISASSOCIATED for ResourceShareAssociationStatus
///
public static readonly ResourceShareAssociationStatus DISASSOCIATED = new ResourceShareAssociationStatus("DISASSOCIATED");
///
/// Constant DISASSOCIATING for ResourceShareAssociationStatus
///
public static readonly ResourceShareAssociationStatus DISASSOCIATING = new ResourceShareAssociationStatus("DISASSOCIATING");
///
/// Constant FAILED for ResourceShareAssociationStatus
///
public static readonly ResourceShareAssociationStatus FAILED = new ResourceShareAssociationStatus("FAILED");
///
/// 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 ResourceShareAssociationStatus(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 ResourceShareAssociationStatus 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 ResourceShareAssociationStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResourceShareAssociationType.
///
public class ResourceShareAssociationType : ConstantClass
{
///
/// Constant PRINCIPAL for ResourceShareAssociationType
///
public static readonly ResourceShareAssociationType PRINCIPAL = new ResourceShareAssociationType("PRINCIPAL");
///
/// Constant RESOURCE for ResourceShareAssociationType
///
public static readonly ResourceShareAssociationType RESOURCE = new ResourceShareAssociationType("RESOURCE");
///
/// 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 ResourceShareAssociationType(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 ResourceShareAssociationType 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 ResourceShareAssociationType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResourceShareFeatureSet.
///
public class ResourceShareFeatureSet : ConstantClass
{
///
/// Constant CREATED_FROM_POLICY for ResourceShareFeatureSet
///
public static readonly ResourceShareFeatureSet CREATED_FROM_POLICY = new ResourceShareFeatureSet("CREATED_FROM_POLICY");
///
/// Constant PROMOTING_TO_STANDARD for ResourceShareFeatureSet
///
public static readonly ResourceShareFeatureSet PROMOTING_TO_STANDARD = new ResourceShareFeatureSet("PROMOTING_TO_STANDARD");
///
/// Constant STANDARD for ResourceShareFeatureSet
///
public static readonly ResourceShareFeatureSet STANDARD = new ResourceShareFeatureSet("STANDARD");
///
/// 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 ResourceShareFeatureSet(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 ResourceShareFeatureSet 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 ResourceShareFeatureSet(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResourceShareInvitationStatus.
///
public class ResourceShareInvitationStatus : ConstantClass
{
///
/// Constant ACCEPTED for ResourceShareInvitationStatus
///
public static readonly ResourceShareInvitationStatus ACCEPTED = new ResourceShareInvitationStatus("ACCEPTED");
///
/// Constant EXPIRED for ResourceShareInvitationStatus
///
public static readonly ResourceShareInvitationStatus EXPIRED = new ResourceShareInvitationStatus("EXPIRED");
///
/// Constant PENDING for ResourceShareInvitationStatus
///
public static readonly ResourceShareInvitationStatus PENDING = new ResourceShareInvitationStatus("PENDING");
///
/// Constant REJECTED for ResourceShareInvitationStatus
///
public static readonly ResourceShareInvitationStatus REJECTED = new ResourceShareInvitationStatus("REJECTED");
///
/// 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 ResourceShareInvitationStatus(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 ResourceShareInvitationStatus 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 ResourceShareInvitationStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResourceShareStatus.
///
public class ResourceShareStatus : ConstantClass
{
///
/// Constant ACTIVE for ResourceShareStatus
///
public static readonly ResourceShareStatus ACTIVE = new ResourceShareStatus("ACTIVE");
///
/// Constant DELETED for ResourceShareStatus
///
public static readonly ResourceShareStatus DELETED = new ResourceShareStatus("DELETED");
///
/// Constant DELETING for ResourceShareStatus
///
public static readonly ResourceShareStatus DELETING = new ResourceShareStatus("DELETING");
///
/// Constant FAILED for ResourceShareStatus
///
public static readonly ResourceShareStatus FAILED = new ResourceShareStatus("FAILED");
///
/// Constant PENDING for ResourceShareStatus
///
public static readonly ResourceShareStatus PENDING = new ResourceShareStatus("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 ResourceShareStatus(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 ResourceShareStatus 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 ResourceShareStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResourceStatus.
///
public class ResourceStatus : ConstantClass
{
///
/// Constant AVAILABLE for ResourceStatus
///
public static readonly ResourceStatus AVAILABLE = new ResourceStatus("AVAILABLE");
///
/// Constant LIMIT_EXCEEDED for ResourceStatus
///
public static readonly ResourceStatus LIMIT_EXCEEDED = new ResourceStatus("LIMIT_EXCEEDED");
///
/// Constant PENDING for ResourceStatus
///
public static readonly ResourceStatus PENDING = new ResourceStatus("PENDING");
///
/// Constant UNAVAILABLE for ResourceStatus
///
public static readonly ResourceStatus UNAVAILABLE = new ResourceStatus("UNAVAILABLE");
///
/// Constant ZONAL_RESOURCE_INACCESSIBLE for ResourceStatus
///
public static readonly ResourceStatus ZONAL_RESOURCE_INACCESSIBLE = new ResourceStatus("ZONAL_RESOURCE_INACCESSIBLE");
///
/// 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 ResourceStatus(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 ResourceStatus 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 ResourceStatus(string value)
{
return FindValue(value);
}
}
}