/*
* 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 ssm-incidents-2018-05-10.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.SSMIncidents
{
///
/// Constants used for properties of type IncidentRecordStatus.
///
public class IncidentRecordStatus : ConstantClass
{
///
/// Constant OPEN for IncidentRecordStatus
///
public static readonly IncidentRecordStatus OPEN = new IncidentRecordStatus("OPEN");
///
/// Constant RESOLVED for IncidentRecordStatus
///
public static readonly IncidentRecordStatus RESOLVED = new IncidentRecordStatus("RESOLVED");
///
/// 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 IncidentRecordStatus(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 IncidentRecordStatus 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 IncidentRecordStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ItemType.
///
public class ItemType : ConstantClass
{
///
/// Constant ANALYSIS for ItemType
///
public static readonly ItemType ANALYSIS = new ItemType("ANALYSIS");
///
/// Constant ATTACHMENT for ItemType
///
public static readonly ItemType ATTACHMENT = new ItemType("ATTACHMENT");
///
/// Constant AUTOMATION for ItemType
///
public static readonly ItemType AUTOMATION = new ItemType("AUTOMATION");
///
/// Constant INCIDENT for ItemType
///
public static readonly ItemType INCIDENT = new ItemType("INCIDENT");
///
/// Constant INVOLVED_RESOURCE for ItemType
///
public static readonly ItemType INVOLVED_RESOURCE = new ItemType("INVOLVED_RESOURCE");
///
/// Constant METRIC for ItemType
///
public static readonly ItemType METRIC = new ItemType("METRIC");
///
/// Constant OTHER for ItemType
///
public static readonly ItemType OTHER = new ItemType("OTHER");
///
/// Constant PARENT for ItemType
///
public static readonly ItemType PARENT = new ItemType("PARENT");
///
/// Constant TASK for ItemType
///
public static readonly ItemType TASK = new ItemType("TASK");
///
/// 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 ItemType(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 ItemType 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 ItemType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RegionStatus.
///
public class RegionStatus : ConstantClass
{
///
/// Constant ACTIVE for RegionStatus
///
public static readonly RegionStatus ACTIVE = new RegionStatus("ACTIVE");
///
/// Constant CREATING for RegionStatus
///
public static readonly RegionStatus CREATING = new RegionStatus("CREATING");
///
/// Constant DELETING for RegionStatus
///
public static readonly RegionStatus DELETING = new RegionStatus("DELETING");
///
/// Constant FAILED for RegionStatus
///
public static readonly RegionStatus FAILED = new RegionStatus("FAILED");
///
/// 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 RegionStatus(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 RegionStatus 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 RegionStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ReplicationSetStatus.
///
public class ReplicationSetStatus : ConstantClass
{
///
/// Constant ACTIVE for ReplicationSetStatus
///
public static readonly ReplicationSetStatus ACTIVE = new ReplicationSetStatus("ACTIVE");
///
/// Constant CREATING for ReplicationSetStatus
///
public static readonly ReplicationSetStatus CREATING = new ReplicationSetStatus("CREATING");
///
/// Constant DELETING for ReplicationSetStatus
///
public static readonly ReplicationSetStatus DELETING = new ReplicationSetStatus("DELETING");
///
/// Constant FAILED for ReplicationSetStatus
///
public static readonly ReplicationSetStatus FAILED = new ReplicationSetStatus("FAILED");
///
/// Constant UPDATING for ReplicationSetStatus
///
public static readonly ReplicationSetStatus UPDATING = new ReplicationSetStatus("UPDATING");
///
/// 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 ReplicationSetStatus(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 ReplicationSetStatus 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 ReplicationSetStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResourceType.
///
public class ResourceType : ConstantClass
{
///
/// Constant INCIDENT_RECORD for ResourceType
///
public static readonly ResourceType INCIDENT_RECORD = new ResourceType("INCIDENT_RECORD");
///
/// Constant REPLICATION_SET for ResourceType
///
public static readonly ResourceType REPLICATION_SET = new ResourceType("REPLICATION_SET");
///
/// Constant RESOURCE_POLICY for ResourceType
///
public static readonly ResourceType RESOURCE_POLICY = new ResourceType("RESOURCE_POLICY");
///
/// Constant RESPONSE_PLAN for ResourceType
///
public static readonly ResourceType RESPONSE_PLAN = new ResourceType("RESPONSE_PLAN");
///
/// Constant TIMELINE_EVENT for ResourceType
///
public static readonly ResourceType TIMELINE_EVENT = new ResourceType("TIMELINE_EVENT");
///
/// 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 ServiceCode.
///
public class ServiceCode : ConstantClass
{
///
/// Constant SsmIncidents for ServiceCode
///
public static readonly ServiceCode SsmIncidents = new ServiceCode("ssm-incidents");
///
/// 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 ServiceCode(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 ServiceCode 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 ServiceCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SortOrder.
///
public class SortOrder : ConstantClass
{
///
/// Constant ASCENDING for SortOrder
///
public static readonly SortOrder ASCENDING = new SortOrder("ASCENDING");
///
/// Constant DESCENDING for SortOrder
///
public static readonly SortOrder DESCENDING = new SortOrder("DESCENDING");
///
/// 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 SortOrder(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 SortOrder 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 SortOrder(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SsmTargetAccount.
///
public class SsmTargetAccount : ConstantClass
{
///
/// Constant IMPACTED_ACCOUNT for SsmTargetAccount
///
public static readonly SsmTargetAccount IMPACTED_ACCOUNT = new SsmTargetAccount("IMPACTED_ACCOUNT");
///
/// Constant RESPONSE_PLAN_OWNER_ACCOUNT for SsmTargetAccount
///
public static readonly SsmTargetAccount RESPONSE_PLAN_OWNER_ACCOUNT = new SsmTargetAccount("RESPONSE_PLAN_OWNER_ACCOUNT");
///
/// 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 SsmTargetAccount(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 SsmTargetAccount 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 SsmTargetAccount(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type TimelineEventSort.
///
public class TimelineEventSort : ConstantClass
{
///
/// Constant EVENT_TIME for TimelineEventSort
///
public static readonly TimelineEventSort EVENT_TIME = new TimelineEventSort("EVENT_TIME");
///
/// 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 TimelineEventSort(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 TimelineEventSort 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 TimelineEventSort(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type VariableType.
///
public class VariableType : ConstantClass
{
///
/// Constant INCIDENT_RECORD_ARN for VariableType
///
public static readonly VariableType INCIDENT_RECORD_ARN = new VariableType("INCIDENT_RECORD_ARN");
///
/// Constant INVOLVED_RESOURCES for VariableType
///
public static readonly VariableType INVOLVED_RESOURCES = new VariableType("INVOLVED_RESOURCES");
///
/// 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 VariableType(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 VariableType 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 VariableType(string value)
{
return FindValue(value);
}
}
}