/* * 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 glacier-2012-06-01.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.Glacier { /// /// Constants used for properties of type ActionCode. /// public class ActionCode : ConstantClass { /// /// Constant ArchiveRetrieval for ActionCode /// public static readonly ActionCode ArchiveRetrieval = new ActionCode("ArchiveRetrieval"); /// /// Constant InventoryRetrieval for ActionCode /// public static readonly ActionCode InventoryRetrieval = new ActionCode("InventoryRetrieval"); /// /// Constant Select for ActionCode /// public static readonly ActionCode Select = new ActionCode("Select"); /// /// 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 ActionCode(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 ActionCode 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 ActionCode(string value) { return FindValue(value); } } /// /// Constants used for properties of type CannedACL. /// public class CannedACL : ConstantClass { /// /// Constant AuthenticatedRead for CannedACL /// public static readonly CannedACL AuthenticatedRead = new CannedACL("authenticated-read"); /// /// Constant AwsExecRead for CannedACL /// public static readonly CannedACL AwsExecRead = new CannedACL("aws-exec-read"); /// /// Constant BucketOwnerFullControl for CannedACL /// public static readonly CannedACL BucketOwnerFullControl = new CannedACL("bucket-owner-full-control"); /// /// Constant BucketOwnerRead for CannedACL /// public static readonly CannedACL BucketOwnerRead = new CannedACL("bucket-owner-read"); /// /// Constant Private for CannedACL /// public static readonly CannedACL Private = new CannedACL("private"); /// /// Constant PublicRead for CannedACL /// public static readonly CannedACL PublicRead = new CannedACL("public-read"); /// /// Constant PublicReadWrite for CannedACL /// public static readonly CannedACL PublicReadWrite = new CannedACL("public-read-write"); /// /// 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 CannedACL(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 CannedACL 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 CannedACL(string value) { return FindValue(value); } } /// /// Constants used for properties of type EncryptionType. /// public class EncryptionType : ConstantClass { /// /// Constant AES256 for EncryptionType /// public static readonly EncryptionType AES256 = new EncryptionType("AES256"); /// /// Constant AwsKms for EncryptionType /// public static readonly EncryptionType AwsKms = new EncryptionType("aws:kms"); /// /// 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 EncryptionType(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 EncryptionType 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 EncryptionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ExpressionType. /// public class ExpressionType : ConstantClass { /// /// Constant SQL for ExpressionType /// public static readonly ExpressionType SQL = new ExpressionType("SQL"); /// /// 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 ExpressionType(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 ExpressionType 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 ExpressionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type FileHeaderInfo. /// public class FileHeaderInfo : ConstantClass { /// /// Constant IGNORE for FileHeaderInfo /// public static readonly FileHeaderInfo IGNORE = new FileHeaderInfo("IGNORE"); /// /// Constant NONE for FileHeaderInfo /// public static readonly FileHeaderInfo NONE = new FileHeaderInfo("NONE"); /// /// Constant USE for FileHeaderInfo /// public static readonly FileHeaderInfo USE = new FileHeaderInfo("USE"); /// /// 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 FileHeaderInfo(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 FileHeaderInfo 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 FileHeaderInfo(string value) { return FindValue(value); } } /// /// Constants used for properties of type Permission. /// public class Permission : ConstantClass { /// /// Constant FULL_CONTROL for Permission /// public static readonly Permission FULL_CONTROL = new Permission("FULL_CONTROL"); /// /// Constant READ for Permission /// public static readonly Permission READ = new Permission("READ"); /// /// Constant READ_ACP for Permission /// public static readonly Permission READ_ACP = new Permission("READ_ACP"); /// /// Constant WRITE for Permission /// public static readonly Permission WRITE = new Permission("WRITE"); /// /// Constant WRITE_ACP for Permission /// public static readonly Permission WRITE_ACP = new Permission("WRITE_ACP"); /// /// 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 Permission(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 Permission 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 Permission(string value) { return FindValue(value); } } /// /// Constants used for properties of type QuoteFields. /// public class QuoteFields : ConstantClass { /// /// Constant ALWAYS for QuoteFields /// public static readonly QuoteFields ALWAYS = new QuoteFields("ALWAYS"); /// /// Constant ASNEEDED for QuoteFields /// public static readonly QuoteFields ASNEEDED = new QuoteFields("ASNEEDED"); /// /// 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 QuoteFields(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 QuoteFields 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 QuoteFields(string value) { return FindValue(value); } } /// /// Constants used for properties of type StatusCode. /// public class StatusCode : ConstantClass { /// /// Constant Failed for StatusCode /// public static readonly StatusCode Failed = new StatusCode("Failed"); /// /// Constant InProgress for StatusCode /// public static readonly StatusCode InProgress = new StatusCode("InProgress"); /// /// Constant Succeeded for StatusCode /// public static readonly StatusCode Succeeded = new StatusCode("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 StatusCode(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 StatusCode 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 StatusCode(string value) { return FindValue(value); } } /// /// Constants used for properties of type StorageClass. /// public class StorageClass : ConstantClass { /// /// Constant REDUCED_REDUNDANCY for StorageClass /// public static readonly StorageClass REDUCED_REDUNDANCY = new StorageClass("REDUCED_REDUNDANCY"); /// /// Constant STANDARD for StorageClass /// public static readonly StorageClass STANDARD = new StorageClass("STANDARD"); /// /// Constant STANDARD_IA for StorageClass /// public static readonly StorageClass STANDARD_IA = new StorageClass("STANDARD_IA"); /// /// 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 StorageClass(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 StorageClass 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 StorageClass(string value) { return FindValue(value); } } /// /// Constants used for properties of type Type. /// public class Type : ConstantClass { /// /// Constant AmazonCustomerByEmail for Type /// public static readonly Type AmazonCustomerByEmail = new Type("AmazonCustomerByEmail"); /// /// Constant CanonicalUser for Type /// public static readonly Type CanonicalUser = new Type("CanonicalUser"); /// /// Constant Group for Type /// public static readonly Type Group = new Type("Group"); /// /// 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 Type(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 Type 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 Type(string value) { return FindValue(value); } } }