/* * 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 backup-2018-11-15.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.Backup { /// /// Constants used for properties of type BackupJobState. /// public class BackupJobState : ConstantClass { /// /// Constant ABORTED for BackupJobState /// public static readonly BackupJobState ABORTED = new BackupJobState("ABORTED"); /// /// Constant ABORTING for BackupJobState /// public static readonly BackupJobState ABORTING = new BackupJobState("ABORTING"); /// /// Constant COMPLETED for BackupJobState /// public static readonly BackupJobState COMPLETED = new BackupJobState("COMPLETED"); /// /// Constant CREATED for BackupJobState /// public static readonly BackupJobState CREATED = new BackupJobState("CREATED"); /// /// Constant EXPIRED for BackupJobState /// public static readonly BackupJobState EXPIRED = new BackupJobState("EXPIRED"); /// /// Constant FAILED for BackupJobState /// public static readonly BackupJobState FAILED = new BackupJobState("FAILED"); /// /// Constant PARTIAL for BackupJobState /// public static readonly BackupJobState PARTIAL = new BackupJobState("PARTIAL"); /// /// Constant PENDING for BackupJobState /// public static readonly BackupJobState PENDING = new BackupJobState("PENDING"); /// /// Constant RUNNING for BackupJobState /// public static readonly BackupJobState RUNNING = new BackupJobState("RUNNING"); /// /// 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 BackupJobState(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 BackupJobState 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 BackupJobState(string value) { return FindValue(value); } } /// /// Constants used for properties of type BackupVaultEvent. /// public class BackupVaultEvent : ConstantClass { /// /// Constant BACKUP_JOB_COMPLETED for BackupVaultEvent /// public static readonly BackupVaultEvent BACKUP_JOB_COMPLETED = new BackupVaultEvent("BACKUP_JOB_COMPLETED"); /// /// Constant BACKUP_JOB_EXPIRED for BackupVaultEvent /// public static readonly BackupVaultEvent BACKUP_JOB_EXPIRED = new BackupVaultEvent("BACKUP_JOB_EXPIRED"); /// /// Constant BACKUP_JOB_FAILED for BackupVaultEvent /// public static readonly BackupVaultEvent BACKUP_JOB_FAILED = new BackupVaultEvent("BACKUP_JOB_FAILED"); /// /// Constant BACKUP_JOB_STARTED for BackupVaultEvent /// public static readonly BackupVaultEvent BACKUP_JOB_STARTED = new BackupVaultEvent("BACKUP_JOB_STARTED"); /// /// Constant BACKUP_JOB_SUCCESSFUL for BackupVaultEvent /// public static readonly BackupVaultEvent BACKUP_JOB_SUCCESSFUL = new BackupVaultEvent("BACKUP_JOB_SUCCESSFUL"); /// /// Constant BACKUP_PLAN_CREATED for BackupVaultEvent /// public static readonly BackupVaultEvent BACKUP_PLAN_CREATED = new BackupVaultEvent("BACKUP_PLAN_CREATED"); /// /// Constant BACKUP_PLAN_MODIFIED for BackupVaultEvent /// public static readonly BackupVaultEvent BACKUP_PLAN_MODIFIED = new BackupVaultEvent("BACKUP_PLAN_MODIFIED"); /// /// Constant COPY_JOB_FAILED for BackupVaultEvent /// public static readonly BackupVaultEvent COPY_JOB_FAILED = new BackupVaultEvent("COPY_JOB_FAILED"); /// /// Constant COPY_JOB_STARTED for BackupVaultEvent /// public static readonly BackupVaultEvent COPY_JOB_STARTED = new BackupVaultEvent("COPY_JOB_STARTED"); /// /// Constant COPY_JOB_SUCCESSFUL for BackupVaultEvent /// public static readonly BackupVaultEvent COPY_JOB_SUCCESSFUL = new BackupVaultEvent("COPY_JOB_SUCCESSFUL"); /// /// Constant RECOVERY_POINT_MODIFIED for BackupVaultEvent /// public static readonly BackupVaultEvent RECOVERY_POINT_MODIFIED = new BackupVaultEvent("RECOVERY_POINT_MODIFIED"); /// /// Constant RESTORE_JOB_COMPLETED for BackupVaultEvent /// public static readonly BackupVaultEvent RESTORE_JOB_COMPLETED = new BackupVaultEvent("RESTORE_JOB_COMPLETED"); /// /// Constant RESTORE_JOB_FAILED for BackupVaultEvent /// public static readonly BackupVaultEvent RESTORE_JOB_FAILED = new BackupVaultEvent("RESTORE_JOB_FAILED"); /// /// Constant RESTORE_JOB_STARTED for BackupVaultEvent /// public static readonly BackupVaultEvent RESTORE_JOB_STARTED = new BackupVaultEvent("RESTORE_JOB_STARTED"); /// /// Constant RESTORE_JOB_SUCCESSFUL for BackupVaultEvent /// public static readonly BackupVaultEvent RESTORE_JOB_SUCCESSFUL = new BackupVaultEvent("RESTORE_JOB_SUCCESSFUL"); /// /// Constant S3_BACKUP_OBJECT_FAILED for BackupVaultEvent /// public static readonly BackupVaultEvent S3_BACKUP_OBJECT_FAILED = new BackupVaultEvent("S3_BACKUP_OBJECT_FAILED"); /// /// Constant S3_RESTORE_OBJECT_FAILED for BackupVaultEvent /// public static readonly BackupVaultEvent S3_RESTORE_OBJECT_FAILED = new BackupVaultEvent("S3_RESTORE_OBJECT_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 BackupVaultEvent(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 BackupVaultEvent 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 BackupVaultEvent(string value) { return FindValue(value); } } /// /// Constants used for properties of type ConditionType. /// public class ConditionType : ConstantClass { /// /// Constant STRINGEQUALS for ConditionType /// public static readonly ConditionType STRINGEQUALS = new ConditionType("STRINGEQUALS"); /// /// 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 ConditionType(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 ConditionType 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 ConditionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type CopyJobState. /// public class CopyJobState : ConstantClass { /// /// Constant COMPLETED for CopyJobState /// public static readonly CopyJobState COMPLETED = new CopyJobState("COMPLETED"); /// /// Constant CREATED for CopyJobState /// public static readonly CopyJobState CREATED = new CopyJobState("CREATED"); /// /// Constant FAILED for CopyJobState /// public static readonly CopyJobState FAILED = new CopyJobState("FAILED"); /// /// Constant PARTIAL for CopyJobState /// public static readonly CopyJobState PARTIAL = new CopyJobState("PARTIAL"); /// /// Constant RUNNING for CopyJobState /// public static readonly CopyJobState RUNNING = new CopyJobState("RUNNING"); /// /// 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 CopyJobState(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 CopyJobState 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 CopyJobState(string value) { return FindValue(value); } } /// /// Constants used for properties of type LegalHoldStatus. /// public class LegalHoldStatus : ConstantClass { /// /// Constant ACTIVE for LegalHoldStatus /// public static readonly LegalHoldStatus ACTIVE = new LegalHoldStatus("ACTIVE"); /// /// Constant CANCELED for LegalHoldStatus /// public static readonly LegalHoldStatus CANCELED = new LegalHoldStatus("CANCELED"); /// /// Constant CANCELING for LegalHoldStatus /// public static readonly LegalHoldStatus CANCELING = new LegalHoldStatus("CANCELING"); /// /// Constant CREATING for LegalHoldStatus /// public static readonly LegalHoldStatus CREATING = new LegalHoldStatus("CREATING"); /// /// 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 LegalHoldStatus(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 LegalHoldStatus 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 LegalHoldStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type RecoveryPointStatus. /// public class RecoveryPointStatus : ConstantClass { /// /// Constant COMPLETED for RecoveryPointStatus /// public static readonly RecoveryPointStatus COMPLETED = new RecoveryPointStatus("COMPLETED"); /// /// Constant DELETING for RecoveryPointStatus /// public static readonly RecoveryPointStatus DELETING = new RecoveryPointStatus("DELETING"); /// /// Constant EXPIRED for RecoveryPointStatus /// public static readonly RecoveryPointStatus EXPIRED = new RecoveryPointStatus("EXPIRED"); /// /// Constant PARTIAL for RecoveryPointStatus /// public static readonly RecoveryPointStatus PARTIAL = new RecoveryPointStatus("PARTIAL"); /// /// 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 RecoveryPointStatus(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 RecoveryPointStatus 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 RecoveryPointStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type RestoreJobStatus. /// public class RestoreJobStatus : ConstantClass { /// /// Constant ABORTED for RestoreJobStatus /// public static readonly RestoreJobStatus ABORTED = new RestoreJobStatus("ABORTED"); /// /// Constant COMPLETED for RestoreJobStatus /// public static readonly RestoreJobStatus COMPLETED = new RestoreJobStatus("COMPLETED"); /// /// Constant FAILED for RestoreJobStatus /// public static readonly RestoreJobStatus FAILED = new RestoreJobStatus("FAILED"); /// /// Constant PENDING for RestoreJobStatus /// public static readonly RestoreJobStatus PENDING = new RestoreJobStatus("PENDING"); /// /// Constant RUNNING for RestoreJobStatus /// public static readonly RestoreJobStatus RUNNING = new RestoreJobStatus("RUNNING"); /// /// 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 RestoreJobStatus(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 RestoreJobStatus 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 RestoreJobStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type StorageClass. /// public class StorageClass : ConstantClass { /// /// Constant COLD for StorageClass /// public static readonly StorageClass COLD = new StorageClass("COLD"); /// /// Constant DELETED for StorageClass /// public static readonly StorageClass DELETED = new StorageClass("DELETED"); /// /// Constant WARM for StorageClass /// public static readonly StorageClass WARM = new StorageClass("WARM"); /// /// 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); } } }