/*
* 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 rolesanywhere-2018-05-10.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.IAMRolesAnywhere
{
///
/// Constants used for properties of type NotificationChannel.
///
public class NotificationChannel : ConstantClass
{
///
/// Constant ALL for NotificationChannel
///
public static readonly NotificationChannel ALL = new NotificationChannel("ALL");
///
/// 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 NotificationChannel(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 NotificationChannel 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 NotificationChannel(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type NotificationEvent.
///
public class NotificationEvent : ConstantClass
{
///
/// Constant CA_CERTIFICATE_EXPIRY for NotificationEvent
///
public static readonly NotificationEvent CA_CERTIFICATE_EXPIRY = new NotificationEvent("CA_CERTIFICATE_EXPIRY");
///
/// Constant END_ENTITY_CERTIFICATE_EXPIRY for NotificationEvent
///
public static readonly NotificationEvent END_ENTITY_CERTIFICATE_EXPIRY = new NotificationEvent("END_ENTITY_CERTIFICATE_EXPIRY");
///
/// 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 NotificationEvent(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 NotificationEvent 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 NotificationEvent(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type TrustAnchorType.
///
public class TrustAnchorType : ConstantClass
{
///
/// Constant AWS_ACM_PCA for TrustAnchorType
///
public static readonly TrustAnchorType AWS_ACM_PCA = new TrustAnchorType("AWS_ACM_PCA");
///
/// Constant CERTIFICATE_BUNDLE for TrustAnchorType
///
public static readonly TrustAnchorType CERTIFICATE_BUNDLE = new TrustAnchorType("CERTIFICATE_BUNDLE");
///
/// Constant SELF_SIGNED_REPOSITORY for TrustAnchorType
///
public static readonly TrustAnchorType SELF_SIGNED_REPOSITORY = new TrustAnchorType("SELF_SIGNED_REPOSITORY");
///
/// 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 TrustAnchorType(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 TrustAnchorType 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 TrustAnchorType(string value)
{
return FindValue(value);
}
}
}