/*
* 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 shield-2016-06-02.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.Shield
{
///
/// Constants used for properties of type ApplicationLayerAutomaticResponseStatus.
///
public class ApplicationLayerAutomaticResponseStatus : ConstantClass
{
///
/// Constant DISABLED for ApplicationLayerAutomaticResponseStatus
///
public static readonly ApplicationLayerAutomaticResponseStatus DISABLED = new ApplicationLayerAutomaticResponseStatus("DISABLED");
///
/// Constant ENABLED for ApplicationLayerAutomaticResponseStatus
///
public static readonly ApplicationLayerAutomaticResponseStatus ENABLED = new ApplicationLayerAutomaticResponseStatus("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 ApplicationLayerAutomaticResponseStatus(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 ApplicationLayerAutomaticResponseStatus 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 ApplicationLayerAutomaticResponseStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type AttackLayer.
///
public class AttackLayer : ConstantClass
{
///
/// Constant APPLICATION for AttackLayer
///
public static readonly AttackLayer APPLICATION = new AttackLayer("APPLICATION");
///
/// Constant NETWORK for AttackLayer
///
public static readonly AttackLayer NETWORK = new AttackLayer("NETWORK");
///
/// 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 AttackLayer(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 AttackLayer 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 AttackLayer(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type AttackPropertyIdentifier.
///
public class AttackPropertyIdentifier : ConstantClass
{
///
/// Constant DESTINATION_URL for AttackPropertyIdentifier
///
public static readonly AttackPropertyIdentifier DESTINATION_URL = new AttackPropertyIdentifier("DESTINATION_URL");
///
/// Constant REFERRER for AttackPropertyIdentifier
///
public static readonly AttackPropertyIdentifier REFERRER = new AttackPropertyIdentifier("REFERRER");
///
/// Constant SOURCE_ASN for AttackPropertyIdentifier
///
public static readonly AttackPropertyIdentifier SOURCE_ASN = new AttackPropertyIdentifier("SOURCE_ASN");
///
/// Constant SOURCE_COUNTRY for AttackPropertyIdentifier
///
public static readonly AttackPropertyIdentifier SOURCE_COUNTRY = new AttackPropertyIdentifier("SOURCE_COUNTRY");
///
/// Constant SOURCE_IP_ADDRESS for AttackPropertyIdentifier
///
public static readonly AttackPropertyIdentifier SOURCE_IP_ADDRESS = new AttackPropertyIdentifier("SOURCE_IP_ADDRESS");
///
/// Constant SOURCE_USER_AGENT for AttackPropertyIdentifier
///
public static readonly AttackPropertyIdentifier SOURCE_USER_AGENT = new AttackPropertyIdentifier("SOURCE_USER_AGENT");
///
/// Constant WORDPRESS_PINGBACK_REFLECTOR for AttackPropertyIdentifier
///
public static readonly AttackPropertyIdentifier WORDPRESS_PINGBACK_REFLECTOR = new AttackPropertyIdentifier("WORDPRESS_PINGBACK_REFLECTOR");
///
/// Constant WORDPRESS_PINGBACK_SOURCE for AttackPropertyIdentifier
///
public static readonly AttackPropertyIdentifier WORDPRESS_PINGBACK_SOURCE = new AttackPropertyIdentifier("WORDPRESS_PINGBACK_SOURCE");
///
/// 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 AttackPropertyIdentifier(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 AttackPropertyIdentifier 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 AttackPropertyIdentifier(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type AutoRenew.
///
public class AutoRenew : ConstantClass
{
///
/// Constant DISABLED for AutoRenew
///
public static readonly AutoRenew DISABLED = new AutoRenew("DISABLED");
///
/// Constant ENABLED for AutoRenew
///
public static readonly AutoRenew ENABLED = new AutoRenew("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 AutoRenew(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 AutoRenew 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 AutoRenew(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ProactiveEngagementStatus.
///
public class ProactiveEngagementStatus : ConstantClass
{
///
/// Constant DISABLED for ProactiveEngagementStatus
///
public static readonly ProactiveEngagementStatus DISABLED = new ProactiveEngagementStatus("DISABLED");
///
/// Constant ENABLED for ProactiveEngagementStatus
///
public static readonly ProactiveEngagementStatus ENABLED = new ProactiveEngagementStatus("ENABLED");
///
/// Constant PENDING for ProactiveEngagementStatus
///
public static readonly ProactiveEngagementStatus PENDING = new ProactiveEngagementStatus("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 ProactiveEngagementStatus(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 ProactiveEngagementStatus 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 ProactiveEngagementStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ProtectedResourceType.
///
public class ProtectedResourceType : ConstantClass
{
///
/// Constant APPLICATION_LOAD_BALANCER for ProtectedResourceType
///
public static readonly ProtectedResourceType APPLICATION_LOAD_BALANCER = new ProtectedResourceType("APPLICATION_LOAD_BALANCER");
///
/// Constant CLASSIC_LOAD_BALANCER for ProtectedResourceType
///
public static readonly ProtectedResourceType CLASSIC_LOAD_BALANCER = new ProtectedResourceType("CLASSIC_LOAD_BALANCER");
///
/// Constant CLOUDFRONT_DISTRIBUTION for ProtectedResourceType
///
public static readonly ProtectedResourceType CLOUDFRONT_DISTRIBUTION = new ProtectedResourceType("CLOUDFRONT_DISTRIBUTION");
///
/// Constant ELASTIC_IP_ALLOCATION for ProtectedResourceType
///
public static readonly ProtectedResourceType ELASTIC_IP_ALLOCATION = new ProtectedResourceType("ELASTIC_IP_ALLOCATION");
///
/// Constant GLOBAL_ACCELERATOR for ProtectedResourceType
///
public static readonly ProtectedResourceType GLOBAL_ACCELERATOR = new ProtectedResourceType("GLOBAL_ACCELERATOR");
///
/// Constant ROUTE_53_HOSTED_ZONE for ProtectedResourceType
///
public static readonly ProtectedResourceType ROUTE_53_HOSTED_ZONE = new ProtectedResourceType("ROUTE_53_HOSTED_ZONE");
///
/// 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 ProtectedResourceType(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 ProtectedResourceType 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 ProtectedResourceType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ProtectionGroupAggregation.
///
public class ProtectionGroupAggregation : ConstantClass
{
///
/// Constant MAX for ProtectionGroupAggregation
///
public static readonly ProtectionGroupAggregation MAX = new ProtectionGroupAggregation("MAX");
///
/// Constant MEAN for ProtectionGroupAggregation
///
public static readonly ProtectionGroupAggregation MEAN = new ProtectionGroupAggregation("MEAN");
///
/// Constant SUM for ProtectionGroupAggregation
///
public static readonly ProtectionGroupAggregation SUM = new ProtectionGroupAggregation("SUM");
///
/// 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 ProtectionGroupAggregation(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 ProtectionGroupAggregation 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 ProtectionGroupAggregation(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ProtectionGroupPattern.
///
public class ProtectionGroupPattern : ConstantClass
{
///
/// Constant ALL for ProtectionGroupPattern
///
public static readonly ProtectionGroupPattern ALL = new ProtectionGroupPattern("ALL");
///
/// Constant ARBITRARY for ProtectionGroupPattern
///
public static readonly ProtectionGroupPattern ARBITRARY = new ProtectionGroupPattern("ARBITRARY");
///
/// Constant BY_RESOURCE_TYPE for ProtectionGroupPattern
///
public static readonly ProtectionGroupPattern BY_RESOURCE_TYPE = new ProtectionGroupPattern("BY_RESOURCE_TYPE");
///
/// 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 ProtectionGroupPattern(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 ProtectionGroupPattern 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 ProtectionGroupPattern(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SubResourceType.
///
public class SubResourceType : ConstantClass
{
///
/// Constant IP for SubResourceType
///
public static readonly SubResourceType IP = new SubResourceType("IP");
///
/// Constant URL for SubResourceType
///
public static readonly SubResourceType URL = new SubResourceType("URL");
///
/// 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 SubResourceType(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 SubResourceType 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 SubResourceType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SubscriptionState.
///
public class SubscriptionState : ConstantClass
{
///
/// Constant ACTIVE for SubscriptionState
///
public static readonly SubscriptionState ACTIVE = new SubscriptionState("ACTIVE");
///
/// Constant INACTIVE for SubscriptionState
///
public static readonly SubscriptionState INACTIVE = new SubscriptionState("INACTIVE");
///
/// 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 SubscriptionState(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 SubscriptionState 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 SubscriptionState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Unit.
///
public class Unit : ConstantClass
{
///
/// Constant BITS for Unit
///
public static readonly Unit BITS = new Unit("BITS");
///
/// Constant BYTES for Unit
///
public static readonly Unit BYTES = new Unit("BYTES");
///
/// Constant PACKETS for Unit
///
public static readonly Unit PACKETS = new Unit("PACKETS");
///
/// Constant REQUESTS for Unit
///
public static readonly Unit REQUESTS = new Unit("REQUESTS");
///
/// 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 Unit(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 Unit 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 Unit(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ValidationExceptionReason.
///
public class ValidationExceptionReason : ConstantClass
{
///
/// Constant FIELD_VALIDATION_FAILED for ValidationExceptionReason
///
public static readonly ValidationExceptionReason FIELD_VALIDATION_FAILED = new ValidationExceptionReason("FIELD_VALIDATION_FAILED");
///
/// Constant OTHER for ValidationExceptionReason
///
public static readonly ValidationExceptionReason OTHER = new ValidationExceptionReason("OTHER");
///
/// 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);
}
}
}