/*
* 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 codestar-notifications-2019-10-15.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.CodeStarNotifications
{
///
/// Constants used for properties of type DetailType.
///
public class DetailType : ConstantClass
{
///
/// Constant BASIC for DetailType
///
public static readonly DetailType BASIC = new DetailType("BASIC");
///
/// Constant FULL for DetailType
///
public static readonly DetailType FULL = new DetailType("FULL");
///
/// 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 DetailType(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 DetailType 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 DetailType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ListEventTypesFilterName.
///
public class ListEventTypesFilterName : ConstantClass
{
///
/// Constant RESOURCE_TYPE for ListEventTypesFilterName
///
public static readonly ListEventTypesFilterName RESOURCE_TYPE = new ListEventTypesFilterName("RESOURCE_TYPE");
///
/// Constant SERVICE_NAME for ListEventTypesFilterName
///
public static readonly ListEventTypesFilterName SERVICE_NAME = new ListEventTypesFilterName("SERVICE_NAME");
///
/// 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 ListEventTypesFilterName(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 ListEventTypesFilterName 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 ListEventTypesFilterName(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ListNotificationRulesFilterName.
///
public class ListNotificationRulesFilterName : ConstantClass
{
///
/// Constant CREATED_BY for ListNotificationRulesFilterName
///
public static readonly ListNotificationRulesFilterName CREATED_BY = new ListNotificationRulesFilterName("CREATED_BY");
///
/// Constant EVENT_TYPE_ID for ListNotificationRulesFilterName
///
public static readonly ListNotificationRulesFilterName EVENT_TYPE_ID = new ListNotificationRulesFilterName("EVENT_TYPE_ID");
///
/// Constant RESOURCE for ListNotificationRulesFilterName
///
public static readonly ListNotificationRulesFilterName RESOURCE = new ListNotificationRulesFilterName("RESOURCE");
///
/// Constant TARGET_ADDRESS for ListNotificationRulesFilterName
///
public static readonly ListNotificationRulesFilterName TARGET_ADDRESS = new ListNotificationRulesFilterName("TARGET_ADDRESS");
///
/// 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 ListNotificationRulesFilterName(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 ListNotificationRulesFilterName 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 ListNotificationRulesFilterName(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ListTargetsFilterName.
///
public class ListTargetsFilterName : ConstantClass
{
///
/// Constant TARGET_ADDRESS for ListTargetsFilterName
///
public static readonly ListTargetsFilterName TARGET_ADDRESS = new ListTargetsFilterName("TARGET_ADDRESS");
///
/// Constant TARGET_STATUS for ListTargetsFilterName
///
public static readonly ListTargetsFilterName TARGET_STATUS = new ListTargetsFilterName("TARGET_STATUS");
///
/// Constant TARGET_TYPE for ListTargetsFilterName
///
public static readonly ListTargetsFilterName TARGET_TYPE = new ListTargetsFilterName("TARGET_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 ListTargetsFilterName(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 ListTargetsFilterName 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 ListTargetsFilterName(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type NotificationRuleStatus.
///
public class NotificationRuleStatus : ConstantClass
{
///
/// Constant DISABLED for NotificationRuleStatus
///
public static readonly NotificationRuleStatus DISABLED = new NotificationRuleStatus("DISABLED");
///
/// Constant ENABLED for NotificationRuleStatus
///
public static readonly NotificationRuleStatus ENABLED = new NotificationRuleStatus("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 NotificationRuleStatus(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 NotificationRuleStatus 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 NotificationRuleStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type TargetStatus.
///
public class TargetStatus : ConstantClass
{
///
/// Constant ACTIVE for TargetStatus
///
public static readonly TargetStatus ACTIVE = new TargetStatus("ACTIVE");
///
/// Constant DEACTIVATED for TargetStatus
///
public static readonly TargetStatus DEACTIVATED = new TargetStatus("DEACTIVATED");
///
/// Constant INACTIVE for TargetStatus
///
public static readonly TargetStatus INACTIVE = new TargetStatus("INACTIVE");
///
/// Constant PENDING for TargetStatus
///
public static readonly TargetStatus PENDING = new TargetStatus("PENDING");
///
/// Constant UNREACHABLE for TargetStatus
///
public static readonly TargetStatus UNREACHABLE = new TargetStatus("UNREACHABLE");
///
/// 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 TargetStatus(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 TargetStatus 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 TargetStatus(string value)
{
return FindValue(value);
}
}
}