/*
* 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 workspaces-web-2020-07-08.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.WorkSpacesWeb
{
///
/// Constants used for properties of type AuthenticationType.
///
public class AuthenticationType : ConstantClass
{
///
/// Constant IAM_Identity_Center for AuthenticationType
///
public static readonly AuthenticationType IAM_Identity_Center = new AuthenticationType("IAM_Identity_Center");
///
/// Constant Standard for AuthenticationType
///
public static readonly AuthenticationType Standard = new AuthenticationType("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 AuthenticationType(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 AuthenticationType 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 AuthenticationType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type BrowserType.
///
public class BrowserType : ConstantClass
{
///
/// Constant Chrome for BrowserType
///
public static readonly BrowserType Chrome = new BrowserType("Chrome");
///
/// 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 BrowserType(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 BrowserType 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 BrowserType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EnabledType.
///
public class EnabledType : ConstantClass
{
///
/// Constant Disabled for EnabledType
///
public static readonly EnabledType Disabled = new EnabledType("Disabled");
///
/// Constant Enabled for EnabledType
///
public static readonly EnabledType Enabled = new EnabledType("Enabled");
///
/// 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 EnabledType(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 EnabledType 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 EnabledType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type IdentityProviderType.
///
public class IdentityProviderType : ConstantClass
{
///
/// Constant Facebook for IdentityProviderType
///
public static readonly IdentityProviderType Facebook = new IdentityProviderType("Facebook");
///
/// Constant Google for IdentityProviderType
///
public static readonly IdentityProviderType Google = new IdentityProviderType("Google");
///
/// Constant LoginWithAmazon for IdentityProviderType
///
public static readonly IdentityProviderType LoginWithAmazon = new IdentityProviderType("LoginWithAmazon");
///
/// Constant OIDC for IdentityProviderType
///
public static readonly IdentityProviderType OIDC = new IdentityProviderType("OIDC");
///
/// Constant SAML for IdentityProviderType
///
public static readonly IdentityProviderType SAML = new IdentityProviderType("SAML");
///
/// Constant SignInWithApple for IdentityProviderType
///
public static readonly IdentityProviderType SignInWithApple = new IdentityProviderType("SignInWithApple");
///
/// 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 IdentityProviderType(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 IdentityProviderType 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 IdentityProviderType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PortalStatus.
///
public class PortalStatus : ConstantClass
{
///
/// Constant Active for PortalStatus
///
public static readonly PortalStatus Active = new PortalStatus("Active");
///
/// Constant Incomplete for PortalStatus
///
public static readonly PortalStatus Incomplete = new PortalStatus("Incomplete");
///
/// Constant Pending for PortalStatus
///
public static readonly PortalStatus Pending = new PortalStatus("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 PortalStatus(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 PortalStatus 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 PortalStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RendererType.
///
public class RendererType : ConstantClass
{
///
/// Constant AppStream for RendererType
///
public static readonly RendererType AppStream = new RendererType("AppStream");
///
/// 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 RendererType(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 RendererType 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 RendererType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ValidationExceptionReason.
///
public class ValidationExceptionReason : ConstantClass
{
///
/// Constant CannotParse for ValidationExceptionReason
///
public static readonly ValidationExceptionReason CannotParse = new ValidationExceptionReason("cannotParse");
///
/// Constant FieldValidationFailed for ValidationExceptionReason
///
public static readonly ValidationExceptionReason FieldValidationFailed = new ValidationExceptionReason("fieldValidationFailed");
///
/// Constant Other for ValidationExceptionReason
///
public static readonly ValidationExceptionReason Other = new ValidationExceptionReason("other");
///
/// Constant UnknownOperation for ValidationExceptionReason
///
public static readonly ValidationExceptionReason UnknownOperation = new ValidationExceptionReason("unknownOperation");
///
/// 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 ValidationExceptionReason(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 ValidationExceptionReason 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 ValidationExceptionReason(string value)
{
return FindValue(value);
}
}
}