/* * 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 cognito-sync-2014-06-30.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.CognitoSync { /// /// Constants used for properties of type BulkPublishStatus. /// public class BulkPublishStatus : ConstantClass { /// /// Constant FAILED for BulkPublishStatus /// public static readonly BulkPublishStatus FAILED = new BulkPublishStatus("FAILED"); /// /// Constant IN_PROGRESS for BulkPublishStatus /// public static readonly BulkPublishStatus IN_PROGRESS = new BulkPublishStatus("IN_PROGRESS"); /// /// Constant NOT_STARTED for BulkPublishStatus /// public static readonly BulkPublishStatus NOT_STARTED = new BulkPublishStatus("NOT_STARTED"); /// /// Constant SUCCEEDED for BulkPublishStatus /// public static readonly BulkPublishStatus SUCCEEDED = new BulkPublishStatus("SUCCEEDED"); /// /// 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 BulkPublishStatus(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 BulkPublishStatus 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 BulkPublishStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type Operation. /// public class Operation : ConstantClass { /// /// Constant Remove for Operation /// public static readonly Operation Remove = new Operation("remove"); /// /// Constant Replace for Operation /// public static readonly Operation Replace = new Operation("replace"); /// /// 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 Operation(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 Operation 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 Operation(string value) { return FindValue(value); } } /// /// Constants used for properties of type Platform. /// public class Platform : ConstantClass { /// /// Constant ADM for Platform /// public static readonly Platform ADM = new Platform("ADM"); /// /// Constant APNS for Platform /// public static readonly Platform APNS = new Platform("APNS"); /// /// Constant APNS_SANDBOX for Platform /// public static readonly Platform APNS_SANDBOX = new Platform("APNS_SANDBOX"); /// /// Constant GCM for Platform /// public static readonly Platform GCM = new Platform("GCM"); /// /// 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 Platform(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 Platform 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 Platform(string value) { return FindValue(value); } } /// /// Constants used for properties of type StreamingStatus. /// public class StreamingStatus : ConstantClass { /// /// Constant DISABLED for StreamingStatus /// public static readonly StreamingStatus DISABLED = new StreamingStatus("DISABLED"); /// /// Constant ENABLED for StreamingStatus /// public static readonly StreamingStatus ENABLED = new StreamingStatus("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 StreamingStatus(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 StreamingStatus 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 StreamingStatus(string value) { return FindValue(value); } } }