/*
* 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 verifiedpermissions-2021-12-01.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.VerifiedPermissions
{
///
/// Constants used for properties of type Decision.
///
public class Decision : ConstantClass
{
///
/// Constant ALLOW for Decision
///
public static readonly Decision ALLOW = new Decision("ALLOW");
///
/// Constant DENY for Decision
///
public static readonly Decision DENY = new Decision("DENY");
///
/// 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 Decision(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 Decision 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 Decision(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type OpenIdIssuer.
///
public class OpenIdIssuer : ConstantClass
{
///
/// Constant COGNITO for OpenIdIssuer
///
public static readonly OpenIdIssuer COGNITO = new OpenIdIssuer("COGNITO");
///
/// 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 OpenIdIssuer(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 OpenIdIssuer 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 OpenIdIssuer(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PolicyType.
///
public class PolicyType : ConstantClass
{
///
/// Constant STATIC for PolicyType
///
public static readonly PolicyType STATIC = new PolicyType("STATIC");
///
/// Constant TEMPLATE_LINKED for PolicyType
///
public static readonly PolicyType TEMPLATE_LINKED = new PolicyType("TEMPLATE_LINKED");
///
/// 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 PolicyType(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 PolicyType 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 PolicyType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResourceType.
///
public class ResourceType : ConstantClass
{
///
/// Constant IDENTITY_SOURCE for ResourceType
///
public static readonly ResourceType IDENTITY_SOURCE = new ResourceType("IDENTITY_SOURCE");
///
/// Constant POLICY for ResourceType
///
public static readonly ResourceType POLICY = new ResourceType("POLICY");
///
/// Constant POLICY_STORE for ResourceType
///
public static readonly ResourceType POLICY_STORE = new ResourceType("POLICY_STORE");
///
/// Constant POLICY_TEMPLATE for ResourceType
///
public static readonly ResourceType POLICY_TEMPLATE = new ResourceType("POLICY_TEMPLATE");
///
/// Constant SCHEMA for ResourceType
///
public static readonly ResourceType SCHEMA = new ResourceType("SCHEMA");
///
/// 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 ResourceType(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 ResourceType 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 ResourceType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ValidationMode.
///
public class ValidationMode : ConstantClass
{
///
/// Constant OFF for ValidationMode
///
public static readonly ValidationMode OFF = new ValidationMode("OFF");
///
/// Constant STRICT for ValidationMode
///
public static readonly ValidationMode STRICT = new ValidationMode("STRICT");
///
/// 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 ValidationMode(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 ValidationMode 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 ValidationMode(string value)
{
return FindValue(value);
}
}
}