/* * 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 resource-groups-2017-11-27.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.ResourceGroups { /// /// Constants used for properties of type GroupConfigurationStatus. /// public class GroupConfigurationStatus : ConstantClass { /// /// Constant UPDATE_COMPLETE for GroupConfigurationStatus /// public static readonly GroupConfigurationStatus UPDATE_COMPLETE = new GroupConfigurationStatus("UPDATE_COMPLETE"); /// /// Constant UPDATE_FAILED for GroupConfigurationStatus /// public static readonly GroupConfigurationStatus UPDATE_FAILED = new GroupConfigurationStatus("UPDATE_FAILED"); /// /// Constant UPDATING for GroupConfigurationStatus /// public static readonly GroupConfigurationStatus UPDATING = new GroupConfigurationStatus("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 GroupConfigurationStatus(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 GroupConfigurationStatus 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 GroupConfigurationStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type GroupFilterName. /// public class GroupFilterName : ConstantClass { /// /// Constant ConfigurationType for GroupFilterName /// public static readonly GroupFilterName ConfigurationType = new GroupFilterName("configuration-type"); /// /// Constant ResourceType for GroupFilterName /// public static readonly GroupFilterName ResourceType = new GroupFilterName("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 GroupFilterName(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 GroupFilterName 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 GroupFilterName(string value) { return FindValue(value); } } /// /// Constants used for properties of type GroupLifecycleEventsDesiredStatus. /// public class GroupLifecycleEventsDesiredStatus : ConstantClass { /// /// Constant ACTIVE for GroupLifecycleEventsDesiredStatus /// public static readonly GroupLifecycleEventsDesiredStatus ACTIVE = new GroupLifecycleEventsDesiredStatus("ACTIVE"); /// /// Constant INACTIVE for GroupLifecycleEventsDesiredStatus /// public static readonly GroupLifecycleEventsDesiredStatus INACTIVE = new GroupLifecycleEventsDesiredStatus("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 GroupLifecycleEventsDesiredStatus(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 GroupLifecycleEventsDesiredStatus 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 GroupLifecycleEventsDesiredStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type GroupLifecycleEventsStatus. /// public class GroupLifecycleEventsStatus : ConstantClass { /// /// Constant ACTIVE for GroupLifecycleEventsStatus /// public static readonly GroupLifecycleEventsStatus ACTIVE = new GroupLifecycleEventsStatus("ACTIVE"); /// /// Constant ERROR for GroupLifecycleEventsStatus /// public static readonly GroupLifecycleEventsStatus ERROR = new GroupLifecycleEventsStatus("ERROR"); /// /// Constant IN_PROGRESS for GroupLifecycleEventsStatus /// public static readonly GroupLifecycleEventsStatus IN_PROGRESS = new GroupLifecycleEventsStatus("IN_PROGRESS"); /// /// Constant INACTIVE for GroupLifecycleEventsStatus /// public static readonly GroupLifecycleEventsStatus INACTIVE = new GroupLifecycleEventsStatus("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 GroupLifecycleEventsStatus(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 GroupLifecycleEventsStatus 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 GroupLifecycleEventsStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type QueryErrorCode. /// public class QueryErrorCode : ConstantClass { /// /// Constant CLOUDFORMATION_STACK_INACTIVE for QueryErrorCode /// public static readonly QueryErrorCode CLOUDFORMATION_STACK_INACTIVE = new QueryErrorCode("CLOUDFORMATION_STACK_INACTIVE"); /// /// Constant CLOUDFORMATION_STACK_NOT_EXISTING for QueryErrorCode /// public static readonly QueryErrorCode CLOUDFORMATION_STACK_NOT_EXISTING = new QueryErrorCode("CLOUDFORMATION_STACK_NOT_EXISTING"); /// /// Constant CLOUDFORMATION_STACK_UNASSUMABLE_ROLE for QueryErrorCode /// public static readonly QueryErrorCode CLOUDFORMATION_STACK_UNASSUMABLE_ROLE = new QueryErrorCode("CLOUDFORMATION_STACK_UNASSUMABLE_ROLE"); /// /// 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 QueryErrorCode(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 QueryErrorCode 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 QueryErrorCode(string value) { return FindValue(value); } } /// /// Constants used for properties of type QueryType. /// public class QueryType : ConstantClass { /// /// Constant CLOUDFORMATION_STACK_1_0 for QueryType /// public static readonly QueryType CLOUDFORMATION_STACK_1_0 = new QueryType("CLOUDFORMATION_STACK_1_0"); /// /// Constant TAG_FILTERS_1_0 for QueryType /// public static readonly QueryType TAG_FILTERS_1_0 = new QueryType("TAG_FILTERS_1_0"); /// /// 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 QueryType(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 QueryType 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 QueryType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ResourceFilterName. /// public class ResourceFilterName : ConstantClass { /// /// Constant ResourceType for ResourceFilterName /// public static readonly ResourceFilterName ResourceType = new ResourceFilterName("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 ResourceFilterName(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 ResourceFilterName 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 ResourceFilterName(string value) { return FindValue(value); } } /// /// Constants used for properties of type ResourceStatusValue. /// public class ResourceStatusValue : ConstantClass { /// /// Constant PENDING for ResourceStatusValue /// public static readonly ResourceStatusValue PENDING = new ResourceStatusValue("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 ResourceStatusValue(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 ResourceStatusValue 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 ResourceStatusValue(string value) { return FindValue(value); } } }