/*
* 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 health-2016-08-04.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.AWSHealth
{
///
/// Constants used for properties of type EntityStatusCode.
///
public class EntityStatusCode : ConstantClass
{
///
/// Constant IMPAIRED for EntityStatusCode
///
public static readonly EntityStatusCode IMPAIRED = new EntityStatusCode("IMPAIRED");
///
/// Constant UNIMPAIRED for EntityStatusCode
///
public static readonly EntityStatusCode UNIMPAIRED = new EntityStatusCode("UNIMPAIRED");
///
/// Constant UNKNOWN for EntityStatusCode
///
public static readonly EntityStatusCode UNKNOWN = new EntityStatusCode("UNKNOWN");
///
/// 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 EntityStatusCode(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 EntityStatusCode 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 EntityStatusCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EventAggregateField.
///
public class EventAggregateField : ConstantClass
{
///
/// Constant EventTypeCategory for EventAggregateField
///
public static readonly EventAggregateField EventTypeCategory = new EventAggregateField("eventTypeCategory");
///
/// 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 EventAggregateField(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 EventAggregateField 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 EventAggregateField(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EventScopeCode.
///
public class EventScopeCode : ConstantClass
{
///
/// Constant ACCOUNT_SPECIFIC for EventScopeCode
///
public static readonly EventScopeCode ACCOUNT_SPECIFIC = new EventScopeCode("ACCOUNT_SPECIFIC");
///
/// Constant NONE for EventScopeCode
///
public static readonly EventScopeCode NONE = new EventScopeCode("NONE");
///
/// Constant PUBLIC for EventScopeCode
///
public static readonly EventScopeCode PUBLIC = new EventScopeCode("PUBLIC");
///
/// 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 EventScopeCode(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 EventScopeCode 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 EventScopeCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EventStatusCode.
///
public class EventStatusCode : ConstantClass
{
///
/// Constant Closed for EventStatusCode
///
public static readonly EventStatusCode Closed = new EventStatusCode("closed");
///
/// Constant Open for EventStatusCode
///
public static readonly EventStatusCode Open = new EventStatusCode("open");
///
/// Constant Upcoming for EventStatusCode
///
public static readonly EventStatusCode Upcoming = new EventStatusCode("upcoming");
///
/// 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 EventStatusCode(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 EventStatusCode 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 EventStatusCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EventTypeCategory.
///
public class EventTypeCategory : ConstantClass
{
///
/// Constant AccountNotification for EventTypeCategory
///
public static readonly EventTypeCategory AccountNotification = new EventTypeCategory("accountNotification");
///
/// Constant Investigation for EventTypeCategory
///
public static readonly EventTypeCategory Investigation = new EventTypeCategory("investigation");
///
/// Constant Issue for EventTypeCategory
///
public static readonly EventTypeCategory Issue = new EventTypeCategory("issue");
///
/// Constant ScheduledChange for EventTypeCategory
///
public static readonly EventTypeCategory ScheduledChange = new EventTypeCategory("scheduledChange");
///
/// 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 EventTypeCategory(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 EventTypeCategory 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 EventTypeCategory(string value)
{
return FindValue(value);
}
}
}