/*
* 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 cloud9-2017-09-23.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.Cloud9
{
///
/// Constants used for properties of type ConnectionType.
///
public class ConnectionType : ConstantClass
{
///
/// Constant CONNECT_SSH for ConnectionType
///
public static readonly ConnectionType CONNECT_SSH = new ConnectionType("CONNECT_SSH");
///
/// Constant CONNECT_SSM for ConnectionType
///
public static readonly ConnectionType CONNECT_SSM = new ConnectionType("CONNECT_SSM");
///
/// 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 ConnectionType(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 ConnectionType 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 ConnectionType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EnvironmentLifecycleStatus.
///
public class EnvironmentLifecycleStatus : ConstantClass
{
///
/// Constant CREATE_FAILED for EnvironmentLifecycleStatus
///
public static readonly EnvironmentLifecycleStatus CREATE_FAILED = new EnvironmentLifecycleStatus("CREATE_FAILED");
///
/// Constant CREATED for EnvironmentLifecycleStatus
///
public static readonly EnvironmentLifecycleStatus CREATED = new EnvironmentLifecycleStatus("CREATED");
///
/// Constant CREATING for EnvironmentLifecycleStatus
///
public static readonly EnvironmentLifecycleStatus CREATING = new EnvironmentLifecycleStatus("CREATING");
///
/// Constant DELETE_FAILED for EnvironmentLifecycleStatus
///
public static readonly EnvironmentLifecycleStatus DELETE_FAILED = new EnvironmentLifecycleStatus("DELETE_FAILED");
///
/// Constant DELETING for EnvironmentLifecycleStatus
///
public static readonly EnvironmentLifecycleStatus DELETING = new EnvironmentLifecycleStatus("DELETING");
///
/// 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 EnvironmentLifecycleStatus(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 EnvironmentLifecycleStatus 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 EnvironmentLifecycleStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EnvironmentStatus.
///
public class EnvironmentStatus : ConstantClass
{
///
/// Constant Connecting for EnvironmentStatus
///
public static readonly EnvironmentStatus Connecting = new EnvironmentStatus("connecting");
///
/// Constant Creating for EnvironmentStatus
///
public static readonly EnvironmentStatus Creating = new EnvironmentStatus("creating");
///
/// Constant Deleting for EnvironmentStatus
///
public static readonly EnvironmentStatus Deleting = new EnvironmentStatus("deleting");
///
/// Constant Error for EnvironmentStatus
///
public static readonly EnvironmentStatus Error = new EnvironmentStatus("error");
///
/// Constant Ready for EnvironmentStatus
///
public static readonly EnvironmentStatus Ready = new EnvironmentStatus("ready");
///
/// Constant Stopped for EnvironmentStatus
///
public static readonly EnvironmentStatus Stopped = new EnvironmentStatus("stopped");
///
/// Constant Stopping for EnvironmentStatus
///
public static readonly EnvironmentStatus Stopping = new EnvironmentStatus("stopping");
///
/// 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 EnvironmentStatus(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 EnvironmentStatus 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 EnvironmentStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EnvironmentType.
///
public class EnvironmentType : ConstantClass
{
///
/// Constant Ec2 for EnvironmentType
///
public static readonly EnvironmentType Ec2 = new EnvironmentType("ec2");
///
/// Constant Ssh for EnvironmentType
///
public static readonly EnvironmentType Ssh = new EnvironmentType("ssh");
///
/// 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 EnvironmentType(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 EnvironmentType 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 EnvironmentType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ManagedCredentialsAction.
///
public class ManagedCredentialsAction : ConstantClass
{
///
/// Constant DISABLE for ManagedCredentialsAction
///
public static readonly ManagedCredentialsAction DISABLE = new ManagedCredentialsAction("DISABLE");
///
/// Constant ENABLE for ManagedCredentialsAction
///
public static readonly ManagedCredentialsAction ENABLE = new ManagedCredentialsAction("ENABLE");
///
/// 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 ManagedCredentialsAction(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 ManagedCredentialsAction 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 ManagedCredentialsAction(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ManagedCredentialsStatus.
///
public class ManagedCredentialsStatus : ConstantClass
{
///
/// Constant DISABLED_BY_COLLABORATOR for ManagedCredentialsStatus
///
public static readonly ManagedCredentialsStatus DISABLED_BY_COLLABORATOR = new ManagedCredentialsStatus("DISABLED_BY_COLLABORATOR");
///
/// Constant DISABLED_BY_DEFAULT for ManagedCredentialsStatus
///
public static readonly ManagedCredentialsStatus DISABLED_BY_DEFAULT = new ManagedCredentialsStatus("DISABLED_BY_DEFAULT");
///
/// Constant DISABLED_BY_OWNER for ManagedCredentialsStatus
///
public static readonly ManagedCredentialsStatus DISABLED_BY_OWNER = new ManagedCredentialsStatus("DISABLED_BY_OWNER");
///
/// Constant ENABLED_BY_OWNER for ManagedCredentialsStatus
///
public static readonly ManagedCredentialsStatus ENABLED_BY_OWNER = new ManagedCredentialsStatus("ENABLED_BY_OWNER");
///
/// Constant ENABLED_ON_CREATE for ManagedCredentialsStatus
///
public static readonly ManagedCredentialsStatus ENABLED_ON_CREATE = new ManagedCredentialsStatus("ENABLED_ON_CREATE");
///
/// Constant FAILED_REMOVAL_BY_COLLABORATOR for ManagedCredentialsStatus
///
public static readonly ManagedCredentialsStatus FAILED_REMOVAL_BY_COLLABORATOR = new ManagedCredentialsStatus("FAILED_REMOVAL_BY_COLLABORATOR");
///
/// Constant FAILED_REMOVAL_BY_OWNER for ManagedCredentialsStatus
///
public static readonly ManagedCredentialsStatus FAILED_REMOVAL_BY_OWNER = new ManagedCredentialsStatus("FAILED_REMOVAL_BY_OWNER");
///
/// Constant PENDING_REMOVAL_BY_COLLABORATOR for ManagedCredentialsStatus
///
public static readonly ManagedCredentialsStatus PENDING_REMOVAL_BY_COLLABORATOR = new ManagedCredentialsStatus("PENDING_REMOVAL_BY_COLLABORATOR");
///
/// Constant PENDING_REMOVAL_BY_OWNER for ManagedCredentialsStatus
///
public static readonly ManagedCredentialsStatus PENDING_REMOVAL_BY_OWNER = new ManagedCredentialsStatus("PENDING_REMOVAL_BY_OWNER");
///
/// Constant PENDING_START_REMOVAL_BY_COLLABORATOR for ManagedCredentialsStatus
///
public static readonly ManagedCredentialsStatus PENDING_START_REMOVAL_BY_COLLABORATOR = new ManagedCredentialsStatus("PENDING_START_REMOVAL_BY_COLLABORATOR");
///
/// Constant PENDING_START_REMOVAL_BY_OWNER for ManagedCredentialsStatus
///
public static readonly ManagedCredentialsStatus PENDING_START_REMOVAL_BY_OWNER = new ManagedCredentialsStatus("PENDING_START_REMOVAL_BY_OWNER");
///
/// 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 ManagedCredentialsStatus(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 ManagedCredentialsStatus 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 ManagedCredentialsStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type MemberPermissions.
///
public class MemberPermissions : ConstantClass
{
///
/// Constant ReadOnly for MemberPermissions
///
public static readonly MemberPermissions ReadOnly = new MemberPermissions("read-only");
///
/// Constant ReadWrite for MemberPermissions
///
public static readonly MemberPermissions ReadWrite = new MemberPermissions("read-write");
///
/// 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 MemberPermissions(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 MemberPermissions 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 MemberPermissions(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PermissionsType.
///
public class PermissionsType : ConstantClass
{
///
/// Constant Owner for PermissionsType
///
public static readonly PermissionsType Owner = new PermissionsType("owner");
///
/// Constant ReadOnly for PermissionsType
///
public static readonly PermissionsType ReadOnly = new PermissionsType("read-only");
///
/// Constant ReadWrite for PermissionsType
///
public static readonly PermissionsType ReadWrite = new PermissionsType("read-write");
///
/// 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 PermissionsType(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 PermissionsType 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 PermissionsType(string value)
{
return FindValue(value);
}
}
}