repo_name
stringlengths
1
52
repo_creator
stringclasses
6 values
programming_language
stringclasses
4 values
code
stringlengths
0
9.68M
num_lines
int64
1
234k
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the CreateReportPlan operation. /// Creates a report plan. A report plan is a document that contains information about /// the contents of the report and where Backup will deliver it. /// /// /// <para> /// If you call <code>CreateReportPlan</code> with a plan that already exists, you receive /// an <code>AlreadyExistsException</code> exception. /// </para> /// </summary> public partial class CreateReportPlanRequest : AmazonBackupRequest { private string _idempotencyToken; private ReportDeliveryChannel _reportDeliveryChannel; private string _reportPlanDescription; private string _reportPlanName; private Dictionary<string, string> _reportPlanTags = new Dictionary<string, string>(); private ReportSetting _reportSetting; /// <summary> /// Gets and sets the property IdempotencyToken. /// <para> /// A customer-chosen string that you can use to distinguish between otherwise identical /// calls to <code>CreateReportPlanInput</code>. Retrying a successful request with the /// same idempotency token results in a success message with no action taken. /// </para> /// </summary> public string IdempotencyToken { get { return this._idempotencyToken; } set { this._idempotencyToken = value; } } // Check to see if IdempotencyToken property is set internal bool IsSetIdempotencyToken() { return this._idempotencyToken != null; } /// <summary> /// Gets and sets the property ReportDeliveryChannel. /// <para> /// A structure that contains information about where and how to deliver your reports, /// specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports. /// </para> /// </summary> [AWSProperty(Required=true)] public ReportDeliveryChannel ReportDeliveryChannel { get { return this._reportDeliveryChannel; } set { this._reportDeliveryChannel = value; } } // Check to see if ReportDeliveryChannel property is set internal bool IsSetReportDeliveryChannel() { return this._reportDeliveryChannel != null; } /// <summary> /// Gets and sets the property ReportPlanDescription. /// <para> /// An optional description of the report plan with a maximum of 1,024 characters. /// </para> /// </summary> [AWSProperty(Min=0, Max=1024)] public string ReportPlanDescription { get { return this._reportPlanDescription; } set { this._reportPlanDescription = value; } } // Check to see if ReportPlanDescription property is set internal bool IsSetReportPlanDescription() { return this._reportPlanDescription != null; } /// <summary> /// Gets and sets the property ReportPlanName. /// <para> /// The unique name of the report plan. The name must be between 1 and 256 characters, /// starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores /// (_). /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=256)] public string ReportPlanName { get { return this._reportPlanName; } set { this._reportPlanName = value; } } // Check to see if ReportPlanName property is set internal bool IsSetReportPlanName() { return this._reportPlanName != null; } /// <summary> /// Gets and sets the property ReportPlanTags. /// <para> /// Metadata that you can assign to help organize the report plans that you create. Each /// tag is a key-value pair. /// </para> /// </summary> public Dictionary<string, string> ReportPlanTags { get { return this._reportPlanTags; } set { this._reportPlanTags = value; } } // Check to see if ReportPlanTags property is set internal bool IsSetReportPlanTags() { return this._reportPlanTags != null && this._reportPlanTags.Count > 0; } /// <summary> /// Gets and sets the property ReportSetting. /// <para> /// Identifies the report template for the report. Reports are built using a report template. /// The report templates are: /// </para> /// /// <para> /// <code>RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT /// | COPY_JOB_REPORT | RESTORE_JOB_REPORT</code> /// </para> /// /// <para> /// If the report template is <code>RESOURCE_COMPLIANCE_REPORT</code> or <code>CONTROL_COMPLIANCE_REPORT</code>, /// this API resource also describes the report coverage by Amazon Web Services Regions /// and frameworks. /// </para> /// </summary> [AWSProperty(Required=true)] public ReportSetting ReportSetting { get { return this._reportSetting; } set { this._reportSetting = value; } } // Check to see if ReportSetting property is set internal bool IsSetReportSetting() { return this._reportSetting != null; } } }
182
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the CreateReportPlan operation. /// </summary> public partial class CreateReportPlanResponse : AmazonWebServiceResponse { private DateTime? _creationTime; private string _reportPlanArn; private string _reportPlanName; /// <summary> /// Gets and sets the property CreationTime. /// <para> /// The date and time a backup vault is created, in Unix format and Coordinated Universal /// Time (UTC). The value of <code>CreationTime</code> is accurate to milliseconds. For /// example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 /// AM. /// </para> /// </summary> public DateTime CreationTime { get { return this._creationTime.GetValueOrDefault(); } set { this._creationTime = value; } } // Check to see if CreationTime property is set internal bool IsSetCreationTime() { return this._creationTime.HasValue; } /// <summary> /// Gets and sets the property ReportPlanArn. /// <para> /// An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the /// ARN depends on the resource type. /// </para> /// </summary> public string ReportPlanArn { get { return this._reportPlanArn; } set { this._reportPlanArn = value; } } // Check to see if ReportPlanArn property is set internal bool IsSetReportPlanArn() { return this._reportPlanArn != null; } /// <summary> /// Gets and sets the property ReportPlanName. /// <para> /// The unique name of the report plan. /// </para> /// </summary> [AWSProperty(Min=1, Max=256)] public string ReportPlanName { get { return this._reportPlanName; } set { this._reportPlanName = value; } } // Check to see if ReportPlanName property is set internal bool IsSetReportPlanName() { return this._reportPlanName != null; } } }
100
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is a resource filter containing FromDate: DateTime and ToDate: DateTime. Both /// values are required. Future DateTime values are not permitted. /// /// /// <para> /// The date and time are in Unix format and Coordinated Universal Time (UTC), and it /// is accurate to milliseconds ((milliseconds are optional). For example, the value 1516925490.087 /// represents Friday, January 26, 2018 12:11:30.087 AM. /// </para> /// </summary> public partial class DateRange { private DateTime? _fromDate; private DateTime? _toDate; /// <summary> /// Gets and sets the property FromDate. /// <para> /// This value is the beginning date, inclusive. /// </para> /// /// <para> /// The date and time are in Unix format and Coordinated Universal Time (UTC), and it /// is accurate to milliseconds (milliseconds are optional). /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime FromDate { get { return this._fromDate.GetValueOrDefault(); } set { this._fromDate = value; } } // Check to see if FromDate property is set internal bool IsSetFromDate() { return this._fromDate.HasValue; } /// <summary> /// Gets and sets the property ToDate. /// <para> /// This value is the end date, inclusive. /// </para> /// /// <para> /// The date and time are in Unix format and Coordinated Universal Time (UTC), and it /// is accurate to milliseconds (milliseconds are optional). /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime ToDate { get { return this._toDate.GetValueOrDefault(); } set { this._toDate = value; } } // Check to see if ToDate property is set internal bool IsSetToDate() { return this._toDate.HasValue; } } }
96
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the DeleteBackupPlan operation. /// Deletes a backup plan. A backup plan can only be deleted after all associated selections /// of resources have been deleted. Deleting a backup plan deletes the current version /// of a backup plan. Previous versions, if any, will still exist. /// </summary> public partial class DeleteBackupPlanRequest : AmazonBackupRequest { private string _backupPlanId; /// <summary> /// Gets and sets the property BackupPlanId. /// <para> /// Uniquely identifies a backup plan. /// </para> /// </summary> [AWSProperty(Required=true)] public string BackupPlanId { get { return this._backupPlanId; } set { this._backupPlanId = value; } } // Check to see if BackupPlanId property is set internal bool IsSetBackupPlanId() { return this._backupPlanId != null; } } }
61
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the DeleteBackupPlan operation. /// </summary> public partial class DeleteBackupPlanResponse : AmazonWebServiceResponse { private string _backupPlanArn; private string _backupPlanId; private DateTime? _deletionDate; private string _versionId; /// <summary> /// Gets and sets the property BackupPlanArn. /// <para> /// An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example, /// <code>arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50</code>. /// </para> /// </summary> public string BackupPlanArn { get { return this._backupPlanArn; } set { this._backupPlanArn = value; } } // Check to see if BackupPlanArn property is set internal bool IsSetBackupPlanArn() { return this._backupPlanArn != null; } /// <summary> /// Gets and sets the property BackupPlanId. /// <para> /// Uniquely identifies a backup plan. /// </para> /// </summary> public string BackupPlanId { get { return this._backupPlanId; } set { this._backupPlanId = value; } } // Check to see if BackupPlanId property is set internal bool IsSetBackupPlanId() { return this._backupPlanId != null; } /// <summary> /// Gets and sets the property DeletionDate. /// <para> /// The date and time a backup plan is deleted, in Unix format and Coordinated Universal /// Time (UTC). The value of <code>DeletionDate</code> is accurate to milliseconds. For /// example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 /// AM. /// </para> /// </summary> public DateTime DeletionDate { get { return this._deletionDate.GetValueOrDefault(); } set { this._deletionDate = value; } } // Check to see if DeletionDate property is set internal bool IsSetDeletionDate() { return this._deletionDate.HasValue; } /// <summary> /// Gets and sets the property VersionId. /// <para> /// Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 /// bytes long. Version IDs cannot be edited. /// </para> /// </summary> public string VersionId { get { return this._versionId; } set { this._versionId = value; } } // Check to see if VersionId property is set internal bool IsSetVersionId() { return this._versionId != null; } } }
119
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the DeleteBackupSelection operation. /// Deletes the resource selection associated with a backup plan that is specified by /// the <code>SelectionId</code>. /// </summary> public partial class DeleteBackupSelectionRequest : AmazonBackupRequest { private string _backupPlanId; private string _selectionId; /// <summary> /// Gets and sets the property BackupPlanId. /// <para> /// Uniquely identifies a backup plan. /// </para> /// </summary> [AWSProperty(Required=true)] public string BackupPlanId { get { return this._backupPlanId; } set { this._backupPlanId = value; } } // Check to see if BackupPlanId property is set internal bool IsSetBackupPlanId() { return this._backupPlanId != null; } /// <summary> /// Gets and sets the property SelectionId. /// <para> /// Uniquely identifies the body of a request to assign a set of resources to a backup /// plan. /// </para> /// </summary> [AWSProperty(Required=true)] public string SelectionId { get { return this._selectionId; } set { this._selectionId = value; } } // Check to see if SelectionId property is set internal bool IsSetSelectionId() { return this._selectionId != null; } } }
81
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the DeleteBackupSelection operation. /// </summary> public partial class DeleteBackupSelectionResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the DeleteBackupVaultAccessPolicy operation. /// Deletes the policy document that manages permissions on a backup vault. /// </summary> public partial class DeleteBackupVaultAccessPolicyRequest : AmazonBackupRequest { private string _backupVaultName; /// <summary> /// Gets and sets the property BackupVaultName. /// <para> /// The name of a logical container where backups are stored. Backup vaults are identified /// by names that are unique to the account used to create them and the Amazon Web Services /// Region where they are created. They consist of lowercase letters, numbers, and hyphens. /// </para> /// </summary> [AWSProperty(Required=true)] public string BackupVaultName { get { return this._backupVaultName; } set { this._backupVaultName = value; } } // Check to see if BackupVaultName property is set internal bool IsSetBackupVaultName() { return this._backupVaultName != null; } } }
61
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the DeleteBackupVaultAccessPolicy operation. /// </summary> public partial class DeleteBackupVaultAccessPolicyResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the DeleteBackupVaultLockConfiguration operation. /// Deletes Backup Vault Lock from a backup vault specified by a backup vault name. /// /// /// <para> /// If the Vault Lock configuration is immutable, then you cannot delete Vault Lock using /// API operations, and you will receive an <code>InvalidRequestException</code> if you /// attempt to do so. For more information, see <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/vault-lock.html">Vault /// Lock</a> in the <i>Backup Developer Guide</i>. /// </para> /// </summary> public partial class DeleteBackupVaultLockConfigurationRequest : AmazonBackupRequest { private string _backupVaultName; /// <summary> /// Gets and sets the property BackupVaultName. /// <para> /// The name of the backup vault from which to delete Backup Vault Lock. /// </para> /// </summary> [AWSProperty(Required=true)] public string BackupVaultName { get { return this._backupVaultName; } set { this._backupVaultName = value; } } // Check to see if BackupVaultName property is set internal bool IsSetBackupVaultName() { return this._backupVaultName != null; } } }
67
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the DeleteBackupVaultLockConfiguration operation. /// </summary> public partial class DeleteBackupVaultLockConfigurationResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the DeleteBackupVaultNotifications operation. /// Deletes event notifications for the specified backup vault. /// </summary> public partial class DeleteBackupVaultNotificationsRequest : AmazonBackupRequest { private string _backupVaultName; /// <summary> /// Gets and sets the property BackupVaultName. /// <para> /// The name of a logical container where backups are stored. Backup vaults are identified /// by names that are unique to the account used to create them and the Region where they /// are created. They consist of lowercase letters, numbers, and hyphens. /// </para> /// </summary> [AWSProperty(Required=true)] public string BackupVaultName { get { return this._backupVaultName; } set { this._backupVaultName = value; } } // Check to see if BackupVaultName property is set internal bool IsSetBackupVaultName() { return this._backupVaultName != null; } } }
61
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the DeleteBackupVaultNotifications operation. /// </summary> public partial class DeleteBackupVaultNotificationsResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the DeleteBackupVault operation. /// Deletes the backup vault identified by its name. A vault can be deleted only if it /// is empty. /// </summary> public partial class DeleteBackupVaultRequest : AmazonBackupRequest { private string _backupVaultName; /// <summary> /// Gets and sets the property BackupVaultName. /// <para> /// The name of a logical container where backups are stored. Backup vaults are identified /// by names that are unique to the account used to create them and the Amazon Web Services /// Region where they are created. They consist of lowercase letters, numbers, and hyphens. /// </para> /// </summary> [AWSProperty(Required=true)] public string BackupVaultName { get { return this._backupVaultName; } set { this._backupVaultName = value; } } // Check to see if BackupVaultName property is set internal bool IsSetBackupVaultName() { return this._backupVaultName != null; } } }
62
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the DeleteBackupVault operation. /// </summary> public partial class DeleteBackupVaultResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the DeleteFramework operation. /// Deletes the framework specified by a framework name. /// </summary> public partial class DeleteFrameworkRequest : AmazonBackupRequest { private string _frameworkName; /// <summary> /// Gets and sets the property FrameworkName. /// <para> /// The unique name of a framework. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=256)] public string FrameworkName { get { return this._frameworkName; } set { this._frameworkName = value; } } // Check to see if FrameworkName property is set internal bool IsSetFrameworkName() { return this._frameworkName != null; } } }
59
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the DeleteFramework operation. /// </summary> public partial class DeleteFrameworkResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the DeleteRecoveryPoint operation. /// Deletes the recovery point specified by a recovery point ID. /// /// /// <para> /// If the recovery point ID belongs to a continuous backup, calling this endpoint deletes /// the existing continuous backup and stops future continuous backup. /// </para> /// /// <para> /// When an IAM role's permissions are insufficient to call this API, the service sends /// back an HTTP 200 response with an empty HTTP body, but the recovery point is not deleted. /// Instead, it enters an <code>EXPIRED</code> state. /// </para> /// /// <para> /// <code>EXPIRED</code> recovery points can be deleted with this API once the IAM role /// has the <code>iam:CreateServiceLinkedRole</code> action. To learn more about adding /// this role, see <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/deleting-backups.html#deleting-backups-troubleshooting"> /// Troubleshooting manual deletions</a>. /// </para> /// /// <para> /// If the user or role is deleted or the permission within the role is removed, the deletion /// will not be successful and will enter an <code>EXPIRED</code> state. /// </para> /// </summary> public partial class DeleteRecoveryPointRequest : AmazonBackupRequest { private string _backupVaultName; private string _recoveryPointArn; /// <summary> /// Gets and sets the property BackupVaultName. /// <para> /// The name of a logical container where backups are stored. Backup vaults are identified /// by names that are unique to the account used to create them and the Amazon Web Services /// Region where they are created. They consist of lowercase letters, numbers, and hyphens. /// </para> /// </summary> [AWSProperty(Required=true)] public string BackupVaultName { get { return this._backupVaultName; } set { this._backupVaultName = value; } } // Check to see if BackupVaultName property is set internal bool IsSetBackupVaultName() { return this._backupVaultName != null; } /// <summary> /// Gets and sets the property RecoveryPointArn. /// <para> /// An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example, /// <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public string RecoveryPointArn { get { return this._recoveryPointArn; } set { this._recoveryPointArn = value; } } // Check to see if RecoveryPointArn property is set internal bool IsSetRecoveryPointArn() { return this._recoveryPointArn != null; } } }
106
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the DeleteRecoveryPoint operation. /// </summary> public partial class DeleteRecoveryPointResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the DeleteReportPlan operation. /// Deletes the report plan specified by a report plan name. /// </summary> public partial class DeleteReportPlanRequest : AmazonBackupRequest { private string _reportPlanName; /// <summary> /// Gets and sets the property ReportPlanName. /// <para> /// The unique name of a report plan. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=256)] public string ReportPlanName { get { return this._reportPlanName; } set { this._reportPlanName = value; } } // Check to see if ReportPlanName property is set internal bool IsSetReportPlanName() { return this._reportPlanName != null; } } }
59
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the DeleteReportPlan operation. /// </summary> public partial class DeleteReportPlanResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// A dependent Amazon Web Services service or resource returned an error to the Backup /// service, and the action cannot be completed. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class DependencyFailureException : AmazonBackupException { private string _code; private string _context; private string _type; /// <summary> /// Constructs a new DependencyFailureException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public DependencyFailureException(string message) : base(message) {} /// <summary> /// Construct instance of DependencyFailureException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public DependencyFailureException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of DependencyFailureException /// </summary> /// <param name="innerException"></param> public DependencyFailureException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of DependencyFailureException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public DependencyFailureException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of DependencyFailureException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public DependencyFailureException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the DependencyFailureException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected DependencyFailureException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.Code = (string)info.GetValue("Code", typeof(string)); this.Context = (string)info.GetValue("Context", typeof(string)); this.Type = (string)info.GetValue("Type", typeof(string)); } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); info.AddValue("Code", this.Code); info.AddValue("Context", this.Context); info.AddValue("Type", this.Type); } #endif /// <summary> /// Gets and sets the property Code. /// </summary> public string Code { get { return this._code; } set { this._code = value; } } // Check to see if Code property is set internal bool IsSetCode() { return this._code != null; } /// <summary> /// Gets and sets the property Context. /// </summary> public string Context { get { return this._context; } set { this._context = value; } } // Check to see if Context property is set internal bool IsSetContext() { return this._context != null; } /// <summary> /// Gets and sets the property Type. /// </summary> public string Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }
179
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the DescribeBackupJob operation. /// Returns backup job details for the specified <code>BackupJobId</code>. /// </summary> public partial class DescribeBackupJobRequest : AmazonBackupRequest { private string _backupJobId; /// <summary> /// Gets and sets the property BackupJobId. /// <para> /// Uniquely identifies a request to Backup to back up a resource. /// </para> /// </summary> [AWSProperty(Required=true)] public string BackupJobId { get { return this._backupJobId; } set { this._backupJobId = value; } } // Check to see if BackupJobId property is set internal bool IsSetBackupJobId() { return this._backupJobId != null; } } }
59
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the DescribeBackupJob operation. /// </summary> public partial class DescribeBackupJobResponse : AmazonWebServiceResponse { private string _accountId; private string _backupJobId; private Dictionary<string, string> _backupOptions = new Dictionary<string, string>(); private long? _backupSizeInBytes; private string _backupType; private string _backupVaultArn; private string _backupVaultName; private long? _bytesTransferred; private Dictionary<string, long> _childJobsInState = new Dictionary<string, long>(); private DateTime? _completionDate; private RecoveryPointCreator _createdBy; private DateTime? _creationDate; private DateTime? _expectedCompletionDate; private string _iamRoleArn; private bool? _isParent; private long? _numberOfChildJobs; private string _parentJobId; private string _percentDone; private string _recoveryPointArn; private string _resourceArn; private string _resourceName; private string _resourceType; private DateTime? _startBy; private BackupJobState _state; private string _statusMessage; /// <summary> /// Gets and sets the property AccountId. /// <para> /// Returns the account ID that owns the backup job. /// </para> /// </summary> public string AccountId { get { return this._accountId; } set { this._accountId = value; } } // Check to see if AccountId property is set internal bool IsSetAccountId() { return this._accountId != null; } /// <summary> /// Gets and sets the property BackupJobId. /// <para> /// Uniquely identifies a request to Backup to back up a resource. /// </para> /// </summary> public string BackupJobId { get { return this._backupJobId; } set { this._backupJobId = value; } } // Check to see if BackupJobId property is set internal bool IsSetBackupJobId() { return this._backupJobId != null; } /// <summary> /// Gets and sets the property BackupOptions. /// <para> /// Represents the options specified as part of backup plan or on-demand backup job. /// </para> /// </summary> public Dictionary<string, string> BackupOptions { get { return this._backupOptions; } set { this._backupOptions = value; } } // Check to see if BackupOptions property is set internal bool IsSetBackupOptions() { return this._backupOptions != null && this._backupOptions.Count > 0; } /// <summary> /// Gets and sets the property BackupSizeInBytes. /// <para> /// The size, in bytes, of a backup. /// </para> /// </summary> public long BackupSizeInBytes { get { return this._backupSizeInBytes.GetValueOrDefault(); } set { this._backupSizeInBytes = value; } } // Check to see if BackupSizeInBytes property is set internal bool IsSetBackupSizeInBytes() { return this._backupSizeInBytes.HasValue; } /// <summary> /// Gets and sets the property BackupType. /// <para> /// Represents the actual backup type selected for a backup job. For example, if a successful /// Windows Volume Shadow Copy Service (VSS) backup was taken, <code>BackupType</code> /// returns <code>"WindowsVSS"</code>. If <code>BackupType</code> is empty, then the backup /// type was a regular backup. /// </para> /// </summary> public string BackupType { get { return this._backupType; } set { this._backupType = value; } } // Check to see if BackupType property is set internal bool IsSetBackupType() { return this._backupType != null; } /// <summary> /// Gets and sets the property BackupVaultArn. /// <para> /// An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, /// <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>. /// </para> /// </summary> public string BackupVaultArn { get { return this._backupVaultArn; } set { this._backupVaultArn = value; } } // Check to see if BackupVaultArn property is set internal bool IsSetBackupVaultArn() { return this._backupVaultArn != null; } /// <summary> /// Gets and sets the property BackupVaultName. /// <para> /// The name of a logical container where backups are stored. Backup vaults are identified /// by names that are unique to the account used to create them and the Amazon Web Services /// Region where they are created. They consist of lowercase letters, numbers, and hyphens. /// </para> /// </summary> public string BackupVaultName { get { return this._backupVaultName; } set { this._backupVaultName = value; } } // Check to see if BackupVaultName property is set internal bool IsSetBackupVaultName() { return this._backupVaultName != null; } /// <summary> /// Gets and sets the property BytesTransferred. /// <para> /// The size in bytes transferred to a backup vault at the time that the job status was /// queried. /// </para> /// </summary> public long BytesTransferred { get { return this._bytesTransferred.GetValueOrDefault(); } set { this._bytesTransferred = value; } } // Check to see if BytesTransferred property is set internal bool IsSetBytesTransferred() { return this._bytesTransferred.HasValue; } /// <summary> /// Gets and sets the property ChildJobsInState. /// <para> /// This returns the statistics of the included child (nested) backup jobs. /// </para> /// </summary> public Dictionary<string, long> ChildJobsInState { get { return this._childJobsInState; } set { this._childJobsInState = value; } } // Check to see if ChildJobsInState property is set internal bool IsSetChildJobsInState() { return this._childJobsInState != null && this._childJobsInState.Count > 0; } /// <summary> /// Gets and sets the property CompletionDate. /// <para> /// The date and time that a job to create a backup job is completed, in Unix format and /// Coordinated Universal Time (UTC). The value of <code>CompletionDate</code> is accurate /// to milliseconds. For example, the value 1516925490.087 represents Friday, January /// 26, 2018 12:11:30.087 AM. /// </para> /// </summary> public DateTime CompletionDate { get { return this._completionDate.GetValueOrDefault(); } set { this._completionDate = value; } } // Check to see if CompletionDate property is set internal bool IsSetCompletionDate() { return this._completionDate.HasValue; } /// <summary> /// Gets and sets the property CreatedBy. /// <para> /// Contains identifying information about the creation of a backup job, including the /// <code>BackupPlanArn</code>, <code>BackupPlanId</code>, <code>BackupPlanVersion</code>, /// and <code>BackupRuleId</code> of the backup plan that is used to create it. /// </para> /// </summary> public RecoveryPointCreator CreatedBy { get { return this._createdBy; } set { this._createdBy = value; } } // Check to see if CreatedBy property is set internal bool IsSetCreatedBy() { return this._createdBy != null; } /// <summary> /// Gets and sets the property CreationDate. /// <para> /// The date and time that a backup job is created, in Unix format and Coordinated Universal /// Time (UTC). The value of <code>CreationDate</code> is accurate to milliseconds. For /// example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 /// AM. /// </para> /// </summary> public DateTime CreationDate { get { return this._creationDate.GetValueOrDefault(); } set { this._creationDate = value; } } // Check to see if CreationDate property is set internal bool IsSetCreationDate() { return this._creationDate.HasValue; } /// <summary> /// Gets and sets the property ExpectedCompletionDate. /// <para> /// The date and time that a job to back up resources is expected to be completed, in /// Unix format and Coordinated Universal Time (UTC). The value of <code>ExpectedCompletionDate</code> /// is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, /// January 26, 2018 12:11:30.087 AM. /// </para> /// </summary> public DateTime ExpectedCompletionDate { get { return this._expectedCompletionDate.GetValueOrDefault(); } set { this._expectedCompletionDate = value; } } // Check to see if ExpectedCompletionDate property is set internal bool IsSetExpectedCompletionDate() { return this._expectedCompletionDate.HasValue; } /// <summary> /// Gets and sets the property IamRoleArn. /// <para> /// Specifies the IAM role ARN used to create the target recovery point; for example, /// <code>arn:aws:iam::123456789012:role/S3Access</code>. /// </para> /// </summary> public string IamRoleArn { get { return this._iamRoleArn; } set { this._iamRoleArn = value; } } // Check to see if IamRoleArn property is set internal bool IsSetIamRoleArn() { return this._iamRoleArn != null; } /// <summary> /// Gets and sets the property IsParent. /// <para> /// This returns the boolean value that a backup job is a parent (composite) job. /// </para> /// </summary> public bool IsParent { get { return this._isParent.GetValueOrDefault(); } set { this._isParent = value; } } // Check to see if IsParent property is set internal bool IsSetIsParent() { return this._isParent.HasValue; } /// <summary> /// Gets and sets the property NumberOfChildJobs. /// <para> /// This returns the number of child (nested) backup jobs. /// </para> /// </summary> public long NumberOfChildJobs { get { return this._numberOfChildJobs.GetValueOrDefault(); } set { this._numberOfChildJobs = value; } } // Check to see if NumberOfChildJobs property is set internal bool IsSetNumberOfChildJobs() { return this._numberOfChildJobs.HasValue; } /// <summary> /// Gets and sets the property ParentJobId. /// <para> /// This returns the parent (composite) resource backup job ID. /// </para> /// </summary> public string ParentJobId { get { return this._parentJobId; } set { this._parentJobId = value; } } // Check to see if ParentJobId property is set internal bool IsSetParentJobId() { return this._parentJobId != null; } /// <summary> /// Gets and sets the property PercentDone. /// <para> /// Contains an estimated percentage that is complete of a job at the time the job status /// was queried. /// </para> /// </summary> public string PercentDone { get { return this._percentDone; } set { this._percentDone = value; } } // Check to see if PercentDone property is set internal bool IsSetPercentDone() { return this._percentDone != null; } /// <summary> /// Gets and sets the property RecoveryPointArn. /// <para> /// An ARN that uniquely identifies a recovery point; for example, <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>. /// </para> /// </summary> public string RecoveryPointArn { get { return this._recoveryPointArn; } set { this._recoveryPointArn = value; } } // Check to see if RecoveryPointArn property is set internal bool IsSetRecoveryPointArn() { return this._recoveryPointArn != null; } /// <summary> /// Gets and sets the property ResourceArn. /// <para> /// An ARN that uniquely identifies a saved resource. The format of the ARN depends on /// the resource type. /// </para> /// </summary> public string ResourceArn { get { return this._resourceArn; } set { this._resourceArn = value; } } // Check to see if ResourceArn property is set internal bool IsSetResourceArn() { return this._resourceArn != null; } /// <summary> /// Gets and sets the property ResourceName. /// <para> /// This is the non-unique name of the resource that belongs to the specified backup. /// </para> /// </summary> public string ResourceName { get { return this._resourceName; } set { this._resourceName = value; } } // Check to see if ResourceName property is set internal bool IsSetResourceName() { return this._resourceName != null; } /// <summary> /// Gets and sets the property ResourceType. /// <para> /// The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic /// Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) /// database. /// </para> /// </summary> public string ResourceType { get { return this._resourceType; } set { this._resourceType = value; } } // Check to see if ResourceType property is set internal bool IsSetResourceType() { return this._resourceType != null; } /// <summary> /// Gets and sets the property StartBy. /// <para> /// Specifies the time in Unix format and Coordinated Universal Time (UTC) when a backup /// job must be started before it is canceled. The value is calculated by adding the start /// window to the scheduled time. So if the scheduled time were 6:00 PM and the start /// window is 2 hours, the <code>StartBy</code> time would be 8:00 PM on the date specified. /// The value of <code>StartBy</code> is accurate to milliseconds. For example, the value /// 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM. /// </para> /// </summary> public DateTime StartBy { get { return this._startBy.GetValueOrDefault(); } set { this._startBy = value; } } // Check to see if StartBy property is set internal bool IsSetStartBy() { return this._startBy.HasValue; } /// <summary> /// Gets and sets the property State. /// <para> /// The current state of a resource recovery point. /// </para> /// </summary> public BackupJobState State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } /// <summary> /// Gets and sets the property StatusMessage. /// <para> /// A detailed message explaining the status of the job to back up a resource. /// </para> /// </summary> public string StatusMessage { get { return this._statusMessage; } set { this._statusMessage = value; } } // Check to see if StatusMessage property is set internal bool IsSetStatusMessage() { return this._statusMessage != null; } } }
541
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the DescribeBackupVault operation. /// Returns metadata about a backup vault specified by its name. /// </summary> public partial class DescribeBackupVaultRequest : AmazonBackupRequest { private string _backupVaultName; /// <summary> /// Gets and sets the property BackupVaultName. /// <para> /// The name of a logical container where backups are stored. Backup vaults are identified /// by names that are unique to the account used to create them and the Amazon Web Services /// Region where they are created. They consist of lowercase letters, numbers, and hyphens. /// </para> /// </summary> [AWSProperty(Required=true)] public string BackupVaultName { get { return this._backupVaultName; } set { this._backupVaultName = value; } } // Check to see if BackupVaultName property is set internal bool IsSetBackupVaultName() { return this._backupVaultName != null; } } }
61
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the DescribeBackupVault operation. /// </summary> public partial class DescribeBackupVaultResponse : AmazonWebServiceResponse { private string _backupVaultArn; private string _backupVaultName; private DateTime? _creationDate; private string _creatorRequestId; private string _encryptionKeyArn; private DateTime? _lockDate; private bool? _locked; private long? _maxRetentionDays; private long? _minRetentionDays; private long? _numberOfRecoveryPoints; /// <summary> /// Gets and sets the property BackupVaultArn. /// <para> /// An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, /// <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>. /// </para> /// </summary> public string BackupVaultArn { get { return this._backupVaultArn; } set { this._backupVaultArn = value; } } // Check to see if BackupVaultArn property is set internal bool IsSetBackupVaultArn() { return this._backupVaultArn != null; } /// <summary> /// Gets and sets the property BackupVaultName. /// <para> /// The name of a logical container where backups are stored. Backup vaults are identified /// by names that are unique to the account used to create them and the Region where they /// are created. They consist of lowercase letters, numbers, and hyphens. /// </para> /// </summary> public string BackupVaultName { get { return this._backupVaultName; } set { this._backupVaultName = value; } } // Check to see if BackupVaultName property is set internal bool IsSetBackupVaultName() { return this._backupVaultName != null; } /// <summary> /// Gets and sets the property CreationDate. /// <para> /// The date and time that a backup vault is created, in Unix format and Coordinated Universal /// Time (UTC). The value of <code>CreationDate</code> is accurate to milliseconds. For /// example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 /// AM. /// </para> /// </summary> public DateTime CreationDate { get { return this._creationDate.GetValueOrDefault(); } set { this._creationDate = value; } } // Check to see if CreationDate property is set internal bool IsSetCreationDate() { return this._creationDate.HasValue; } /// <summary> /// Gets and sets the property CreatorRequestId. /// <para> /// A unique string that identifies the request and allows failed requests to be retried /// without the risk of running the operation twice. /// </para> /// </summary> public string CreatorRequestId { get { return this._creatorRequestId; } set { this._creatorRequestId = value; } } // Check to see if CreatorRequestId property is set internal bool IsSetCreatorRequestId() { return this._creatorRequestId != null; } /// <summary> /// Gets and sets the property EncryptionKeyArn. /// <para> /// The server-side encryption key that is used to protect your backups; for example, /// <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>. /// </para> /// </summary> public string EncryptionKeyArn { get { return this._encryptionKeyArn; } set { this._encryptionKeyArn = value; } } // Check to see if EncryptionKeyArn property is set internal bool IsSetEncryptionKeyArn() { return this._encryptionKeyArn != null; } /// <summary> /// Gets and sets the property LockDate. /// <para> /// The date and time when Backup Vault Lock configuration cannot be changed or deleted. /// </para> /// /// <para> /// If you applied Vault Lock to your vault without specifying a lock date, you can change /// any of your Vault Lock settings, or delete Vault Lock from the vault entirely, at /// any time. /// </para> /// /// <para> /// This value is in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. /// For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 /// AM. /// </para> /// </summary> public DateTime LockDate { get { return this._lockDate.GetValueOrDefault(); } set { this._lockDate = value; } } // Check to see if LockDate property is set internal bool IsSetLockDate() { return this._lockDate.HasValue; } /// <summary> /// Gets and sets the property Locked. /// <para> /// A Boolean that indicates whether Backup Vault Lock is currently protecting the backup /// vault. <code>True</code> means that Vault Lock causes delete or update operations /// on the recovery points stored in the vault to fail. /// </para> /// </summary> public bool Locked { get { return this._locked.GetValueOrDefault(); } set { this._locked = value; } } // Check to see if Locked property is set internal bool IsSetLocked() { return this._locked.HasValue; } /// <summary> /// Gets and sets the property MaxRetentionDays. /// <para> /// The Backup Vault Lock setting that specifies the maximum retention period that the /// vault retains its recovery points. If this parameter is not specified, Vault Lock /// does not enforce a maximum retention period on the recovery points in the vault (allowing /// indefinite storage). /// </para> /// /// <para> /// If specified, any backup or copy job to the vault must have a lifecycle policy with /// a retention period equal to or shorter than the maximum retention period. If the job's /// retention period is longer than that maximum retention period, then the vault fails /// the backup or copy job, and you should either modify your lifecycle settings or use /// a different vault. Recovery points already stored in the vault prior to Vault Lock /// are not affected. /// </para> /// </summary> public long MaxRetentionDays { get { return this._maxRetentionDays.GetValueOrDefault(); } set { this._maxRetentionDays = value; } } // Check to see if MaxRetentionDays property is set internal bool IsSetMaxRetentionDays() { return this._maxRetentionDays.HasValue; } /// <summary> /// Gets and sets the property MinRetentionDays. /// <para> /// The Backup Vault Lock setting that specifies the minimum retention period that the /// vault retains its recovery points. If this parameter is not specified, Vault Lock /// does not enforce a minimum retention period. /// </para> /// /// <para> /// If specified, any backup or copy job to the vault must have a lifecycle policy with /// a retention period equal to or longer than the minimum retention period. If the job's /// retention period is shorter than that minimum retention period, then the vault fails /// the backup or copy job, and you should either modify your lifecycle settings or use /// a different vault. Recovery points already stored in the vault prior to Vault Lock /// are not affected. /// </para> /// </summary> public long MinRetentionDays { get { return this._minRetentionDays.GetValueOrDefault(); } set { this._minRetentionDays = value; } } // Check to see if MinRetentionDays property is set internal bool IsSetMinRetentionDays() { return this._minRetentionDays.HasValue; } /// <summary> /// Gets and sets the property NumberOfRecoveryPoints. /// <para> /// The number of recovery points that are stored in a backup vault. /// </para> /// </summary> public long NumberOfRecoveryPoints { get { return this._numberOfRecoveryPoints.GetValueOrDefault(); } set { this._numberOfRecoveryPoints = value; } } // Check to see if NumberOfRecoveryPoints property is set internal bool IsSetNumberOfRecoveryPoints() { return this._numberOfRecoveryPoints.HasValue; } } }
273
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the DescribeCopyJob operation. /// Returns metadata associated with creating a copy of a resource. /// </summary> public partial class DescribeCopyJobRequest : AmazonBackupRequest { private string _copyJobId; /// <summary> /// Gets and sets the property CopyJobId. /// <para> /// Uniquely identifies a copy job. /// </para> /// </summary> [AWSProperty(Required=true)] public string CopyJobId { get { return this._copyJobId; } set { this._copyJobId = value; } } // Check to see if CopyJobId property is set internal bool IsSetCopyJobId() { return this._copyJobId != null; } } }
59
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the DescribeCopyJob operation. /// </summary> public partial class DescribeCopyJobResponse : AmazonWebServiceResponse { private CopyJob _copyJob; /// <summary> /// Gets and sets the property CopyJob. /// <para> /// Contains detailed information about a copy job. /// </para> /// </summary> public CopyJob CopyJob { get { return this._copyJob; } set { this._copyJob = value; } } // Check to see if CopyJob property is set internal bool IsSetCopyJob() { return this._copyJob != null; } } }
57
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the DescribeFramework operation. /// Returns the framework details for the specified <code>FrameworkName</code>. /// </summary> public partial class DescribeFrameworkRequest : AmazonBackupRequest { private string _frameworkName; /// <summary> /// Gets and sets the property FrameworkName. /// <para> /// The unique name of a framework. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=256)] public string FrameworkName { get { return this._frameworkName; } set { this._frameworkName = value; } } // Check to see if FrameworkName property is set internal bool IsSetFrameworkName() { return this._frameworkName != null; } } }
59
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the DescribeFramework operation. /// </summary> public partial class DescribeFrameworkResponse : AmazonWebServiceResponse { private DateTime? _creationTime; private string _deploymentStatus; private string _frameworkArn; private List<FrameworkControl> _frameworkControls = new List<FrameworkControl>(); private string _frameworkDescription; private string _frameworkName; private string _frameworkStatus; private string _idempotencyToken; /// <summary> /// Gets and sets the property CreationTime. /// <para> /// The date and time that a framework is created, in ISO 8601 representation. The value /// of <code>CreationTime</code> is accurate to milliseconds. For example, 2020-07-10T15:00:00.000-08:00 /// represents the 10th of July 2020 at 3:00 PM 8 hours behind UTC. /// </para> /// </summary> public DateTime CreationTime { get { return this._creationTime.GetValueOrDefault(); } set { this._creationTime = value; } } // Check to see if CreationTime property is set internal bool IsSetCreationTime() { return this._creationTime.HasValue; } /// <summary> /// Gets and sets the property DeploymentStatus. /// <para> /// The deployment status of a framework. The statuses are: /// </para> /// /// <para> /// <code>CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | /// FAILED</code> /// </para> /// </summary> public string DeploymentStatus { get { return this._deploymentStatus; } set { this._deploymentStatus = value; } } // Check to see if DeploymentStatus property is set internal bool IsSetDeploymentStatus() { return this._deploymentStatus != null; } /// <summary> /// Gets and sets the property FrameworkArn. /// <para> /// An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the /// ARN depends on the resource type. /// </para> /// </summary> public string FrameworkArn { get { return this._frameworkArn; } set { this._frameworkArn = value; } } // Check to see if FrameworkArn property is set internal bool IsSetFrameworkArn() { return this._frameworkArn != null; } /// <summary> /// Gets and sets the property FrameworkControls. /// <para> /// A list of the controls that make up the framework. Each control in the list has a /// name, input parameters, and scope. /// </para> /// </summary> public List<FrameworkControl> FrameworkControls { get { return this._frameworkControls; } set { this._frameworkControls = value; } } // Check to see if FrameworkControls property is set internal bool IsSetFrameworkControls() { return this._frameworkControls != null && this._frameworkControls.Count > 0; } /// <summary> /// Gets and sets the property FrameworkDescription. /// <para> /// An optional description of the framework. /// </para> /// </summary> [AWSProperty(Min=0, Max=1024)] public string FrameworkDescription { get { return this._frameworkDescription; } set { this._frameworkDescription = value; } } // Check to see if FrameworkDescription property is set internal bool IsSetFrameworkDescription() { return this._frameworkDescription != null; } /// <summary> /// Gets and sets the property FrameworkName. /// <para> /// The unique name of a framework. /// </para> /// </summary> [AWSProperty(Min=1, Max=256)] public string FrameworkName { get { return this._frameworkName; } set { this._frameworkName = value; } } // Check to see if FrameworkName property is set internal bool IsSetFrameworkName() { return this._frameworkName != null; } /// <summary> /// Gets and sets the property FrameworkStatus. /// <para> /// A framework consists of one or more controls. Each control governs a resource, such /// as backup plans, backup selections, backup vaults, or recovery points. You can also /// turn Config recording on or off for each resource. The statuses are: /// </para> /// <ul> <li> /// <para> /// <code>ACTIVE</code> when recording is turned on for all resources governed by the /// framework. /// </para> /// </li> <li> /// <para> /// <code>PARTIALLY_ACTIVE</code> when recording is turned off for at least one resource /// governed by the framework. /// </para> /// </li> <li> /// <para> /// <code>INACTIVE</code> when recording is turned off for all resources governed by /// the framework. /// </para> /// </li> <li> /// <para> /// <code>UNAVAILABLE</code> when Backup is unable to validate recording status at this /// time. /// </para> /// </li> </ul> /// </summary> public string FrameworkStatus { get { return this._frameworkStatus; } set { this._frameworkStatus = value; } } // Check to see if FrameworkStatus property is set internal bool IsSetFrameworkStatus() { return this._frameworkStatus != null; } /// <summary> /// Gets and sets the property IdempotencyToken. /// <para> /// A customer-chosen string that you can use to distinguish between otherwise identical /// calls to <code>DescribeFrameworkOutput</code>. Retrying a successful request with /// the same idempotency token results in a success message with no action taken. /// </para> /// </summary> public string IdempotencyToken { get { return this._idempotencyToken; } set { this._idempotencyToken = value; } } // Check to see if IdempotencyToken property is set internal bool IsSetIdempotencyToken() { return this._idempotencyToken != null; } } }
226
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the DescribeGlobalSettings operation. /// Describes whether the Amazon Web Services account is opted in to cross-account backup. /// Returns an error if the account is not a member of an Organizations organization. /// Example: <code>describe-global-settings --region us-west-2</code> /// </summary> public partial class DescribeGlobalSettingsRequest : AmazonBackupRequest { } }
41
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the DescribeGlobalSettings operation. /// </summary> public partial class DescribeGlobalSettingsResponse : AmazonWebServiceResponse { private Dictionary<string, string> _globalSettings = new Dictionary<string, string>(); private DateTime? _lastUpdateTime; /// <summary> /// Gets and sets the property GlobalSettings. /// <para> /// The status of the flag <code>isCrossAccountBackupEnabled</code>. /// </para> /// </summary> public Dictionary<string, string> GlobalSettings { get { return this._globalSettings; } set { this._globalSettings = value; } } // Check to see if GlobalSettings property is set internal bool IsSetGlobalSettings() { return this._globalSettings != null && this._globalSettings.Count > 0; } /// <summary> /// Gets and sets the property LastUpdateTime. /// <para> /// The date and time that the flag <code>isCrossAccountBackupEnabled</code> was last /// updated. This update is in Unix format and Coordinated Universal Time (UTC). The value /// of <code>LastUpdateTime</code> is accurate to milliseconds. For example, the value /// 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM. /// </para> /// </summary> public DateTime LastUpdateTime { get { return this._lastUpdateTime.GetValueOrDefault(); } set { this._lastUpdateTime = value; } } // Check to see if LastUpdateTime property is set internal bool IsSetLastUpdateTime() { return this._lastUpdateTime.HasValue; } } }
79
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the DescribeProtectedResource operation. /// Returns information about a saved resource, including the last time it was backed /// up, its Amazon Resource Name (ARN), and the Amazon Web Services service type of the /// saved resource. /// </summary> public partial class DescribeProtectedResourceRequest : AmazonBackupRequest { private string _resourceArn; /// <summary> /// Gets and sets the property ResourceArn. /// <para> /// An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the /// ARN depends on the resource type. /// </para> /// </summary> [AWSProperty(Required=true)] public string ResourceArn { get { return this._resourceArn; } set { this._resourceArn = value; } } // Check to see if ResourceArn property is set internal bool IsSetResourceArn() { return this._resourceArn != null; } } }
62
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the DescribeProtectedResource operation. /// </summary> public partial class DescribeProtectedResourceResponse : AmazonWebServiceResponse { private DateTime? _lastBackupTime; private string _resourceArn; private string _resourceName; private string _resourceType; /// <summary> /// Gets and sets the property LastBackupTime. /// <para> /// The date and time that a resource was last backed up, in Unix format and Coordinated /// Universal Time (UTC). The value of <code>LastBackupTime</code> is accurate to milliseconds. /// For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 /// AM. /// </para> /// </summary> public DateTime LastBackupTime { get { return this._lastBackupTime.GetValueOrDefault(); } set { this._lastBackupTime = value; } } // Check to see if LastBackupTime property is set internal bool IsSetLastBackupTime() { return this._lastBackupTime.HasValue; } /// <summary> /// Gets and sets the property ResourceArn. /// <para> /// An ARN that uniquely identifies a resource. The format of the ARN depends on the resource /// type. /// </para> /// </summary> public string ResourceArn { get { return this._resourceArn; } set { this._resourceArn = value; } } // Check to see if ResourceArn property is set internal bool IsSetResourceArn() { return this._resourceArn != null; } /// <summary> /// Gets and sets the property ResourceName. /// <para> /// This is the non-unique name of the resource that belongs to the specified backup. /// </para> /// </summary> public string ResourceName { get { return this._resourceName; } set { this._resourceName = value; } } // Check to see if ResourceName property is set internal bool IsSetResourceName() { return this._resourceName != null; } /// <summary> /// Gets and sets the property ResourceType. /// <para> /// The type of Amazon Web Services resource saved as a recovery point; for example, an /// Amazon EBS volume or an Amazon RDS database. /// </para> /// </summary> public string ResourceType { get { return this._resourceType; } set { this._resourceType = value; } } // Check to see if ResourceType property is set internal bool IsSetResourceType() { return this._resourceType != null; } } }
119
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the DescribeRecoveryPoint operation. /// Returns metadata associated with a recovery point, including ID, status, encryption, /// and lifecycle. /// </summary> public partial class DescribeRecoveryPointRequest : AmazonBackupRequest { private string _backupVaultName; private string _recoveryPointArn; /// <summary> /// Gets and sets the property BackupVaultName. /// <para> /// The name of a logical container where backups are stored. Backup vaults are identified /// by names that are unique to the account used to create them and the Amazon Web Services /// Region where they are created. They consist of lowercase letters, numbers, and hyphens. /// </para> /// </summary> [AWSProperty(Required=true)] public string BackupVaultName { get { return this._backupVaultName; } set { this._backupVaultName = value; } } // Check to see if BackupVaultName property is set internal bool IsSetBackupVaultName() { return this._backupVaultName != null; } /// <summary> /// Gets and sets the property RecoveryPointArn. /// <para> /// An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example, /// <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public string RecoveryPointArn { get { return this._recoveryPointArn; } set { this._recoveryPointArn = value; } } // Check to see if RecoveryPointArn property is set internal bool IsSetRecoveryPointArn() { return this._recoveryPointArn != null; } } }
83
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the DescribeRegionSettings operation. /// Returns the current service opt-in settings for the Region. If service opt-in is enabled /// for a service, Backup tries to protect that service's resources in this Region, when /// the resource is included in an on-demand backup or scheduled backup plan. Otherwise, /// Backup does not try to protect that service's resources in this Region. /// </summary> public partial class DescribeRegionSettingsRequest : AmazonBackupRequest { } }
42
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the DescribeRegionSettings operation. /// </summary> public partial class DescribeRegionSettingsResponse : AmazonWebServiceResponse { private Dictionary<string, bool> _resourceTypeManagementPreference = new Dictionary<string, bool>(); private Dictionary<string, bool> _resourceTypeOptInPreference = new Dictionary<string, bool>(); /// <summary> /// Gets and sets the property ResourceTypeManagementPreference. /// <para> /// Returns whether Backup fully manages the backups for a resource type. /// </para> /// /// <para> /// For the benefits of full Backup management, see <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#full-management"> /// Full Backup management</a>. /// </para> /// /// <para> /// For a list of resource types and whether each supports full Backup management, see /// the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> /// Feature availability by resource</a> table. /// </para> /// /// <para> /// If <code>"DynamoDB":false</code>, you can enable full Backup management for DynamoDB /// backup by enabling <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html#advanced-ddb-backup-enable-cli"> /// Backup's advanced DynamoDB backup features</a>. /// </para> /// </summary> public Dictionary<string, bool> ResourceTypeManagementPreference { get { return this._resourceTypeManagementPreference; } set { this._resourceTypeManagementPreference = value; } } // Check to see if ResourceTypeManagementPreference property is set internal bool IsSetResourceTypeManagementPreference() { return this._resourceTypeManagementPreference != null && this._resourceTypeManagementPreference.Count > 0; } /// <summary> /// Gets and sets the property ResourceTypeOptInPreference. /// <para> /// Returns a list of all services along with the opt-in preferences in the Region. /// </para> /// </summary> public Dictionary<string, bool> ResourceTypeOptInPreference { get { return this._resourceTypeOptInPreference; } set { this._resourceTypeOptInPreference = value; } } // Check to see if ResourceTypeOptInPreference property is set internal bool IsSetResourceTypeOptInPreference() { return this._resourceTypeOptInPreference != null && this._resourceTypeOptInPreference.Count > 0; } } }
93
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the DescribeReportJob operation. /// Returns the details associated with creating a report as specified by its <code>ReportJobId</code>. /// </summary> public partial class DescribeReportJobRequest : AmazonBackupRequest { private string _reportJobId; /// <summary> /// Gets and sets the property ReportJobId. /// <para> /// The identifier of the report job. A unique, randomly generated, Unicode, UTF-8 encoded /// string that is at most 1,024 bytes long. The report job ID cannot be edited. /// </para> /// </summary> [AWSProperty(Required=true)] public string ReportJobId { get { return this._reportJobId; } set { this._reportJobId = value; } } // Check to see if ReportJobId property is set internal bool IsSetReportJobId() { return this._reportJobId != null; } } }
60
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the DescribeReportJob operation. /// </summary> public partial class DescribeReportJobResponse : AmazonWebServiceResponse { private ReportJob _reportJob; /// <summary> /// Gets and sets the property ReportJob. /// <para> /// A list of information about a report job, including its completion and creation times, /// report destination, unique report job ID, Amazon Resource Name (ARN), report template, /// status, and status message. /// </para> /// </summary> public ReportJob ReportJob { get { return this._reportJob; } set { this._reportJob = value; } } // Check to see if ReportJob property is set internal bool IsSetReportJob() { return this._reportJob != null; } } }
59
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the DescribeReportPlan operation. /// Returns a list of all report plans for an Amazon Web Services account and Amazon Web /// Services Region. /// </summary> public partial class DescribeReportPlanRequest : AmazonBackupRequest { private string _reportPlanName; /// <summary> /// Gets and sets the property ReportPlanName. /// <para> /// The unique name of a report plan. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=256)] public string ReportPlanName { get { return this._reportPlanName; } set { this._reportPlanName = value; } } // Check to see if ReportPlanName property is set internal bool IsSetReportPlanName() { return this._reportPlanName != null; } } }
60
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the DescribeReportPlan operation. /// </summary> public partial class DescribeReportPlanResponse : AmazonWebServiceResponse { private ReportPlan _reportPlan; /// <summary> /// Gets and sets the property ReportPlan. /// <para> /// Returns details about the report plan that is specified by its name. These details /// include the report plan's Amazon Resource Name (ARN), description, settings, delivery /// channel, deployment status, creation time, and last attempted and successful run times. /// </para> /// </summary> public ReportPlan ReportPlan { get { return this._reportPlan; } set { this._reportPlan = value; } } // Check to see if ReportPlan property is set internal bool IsSetReportPlan() { return this._reportPlan != null; } } }
59
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the DescribeRestoreJob operation. /// Returns metadata associated with a restore job that is specified by a job ID. /// </summary> public partial class DescribeRestoreJobRequest : AmazonBackupRequest { private string _restoreJobId; /// <summary> /// Gets and sets the property RestoreJobId. /// <para> /// Uniquely identifies the job that restores a recovery point. /// </para> /// </summary> [AWSProperty(Required=true)] public string RestoreJobId { get { return this._restoreJobId; } set { this._restoreJobId = value; } } // Check to see if RestoreJobId property is set internal bool IsSetRestoreJobId() { return this._restoreJobId != null; } } }
59
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the DescribeRestoreJob operation. /// </summary> public partial class DescribeRestoreJobResponse : AmazonWebServiceResponse { private string _accountId; private long? _backupSizeInBytes; private DateTime? _completionDate; private string _createdResourceArn; private DateTime? _creationDate; private long? _expectedCompletionTimeMinutes; private string _iamRoleArn; private string _percentDone; private string _recoveryPointArn; private string _resourceType; private string _restoreJobId; private RestoreJobStatus _status; private string _statusMessage; /// <summary> /// Gets and sets the property AccountId. /// <para> /// Returns the account ID that owns the restore job. /// </para> /// </summary> public string AccountId { get { return this._accountId; } set { this._accountId = value; } } // Check to see if AccountId property is set internal bool IsSetAccountId() { return this._accountId != null; } /// <summary> /// Gets and sets the property BackupSizeInBytes. /// <para> /// The size, in bytes, of the restored resource. /// </para> /// </summary> public long BackupSizeInBytes { get { return this._backupSizeInBytes.GetValueOrDefault(); } set { this._backupSizeInBytes = value; } } // Check to see if BackupSizeInBytes property is set internal bool IsSetBackupSizeInBytes() { return this._backupSizeInBytes.HasValue; } /// <summary> /// Gets and sets the property CompletionDate. /// <para> /// The date and time that a job to restore a recovery point is completed, in Unix format /// and Coordinated Universal Time (UTC). The value of <code>CompletionDate</code> is /// accurate to milliseconds. For example, the value 1516925490.087 represents Friday, /// January 26, 2018 12:11:30.087 AM. /// </para> /// </summary> public DateTime CompletionDate { get { return this._completionDate.GetValueOrDefault(); } set { this._completionDate = value; } } // Check to see if CompletionDate property is set internal bool IsSetCompletionDate() { return this._completionDate.HasValue; } /// <summary> /// Gets and sets the property CreatedResourceArn. /// <para> /// An Amazon Resource Name (ARN) that uniquely identifies a resource whose recovery point /// is being restored. The format of the ARN depends on the resource type of the backed-up /// resource. /// </para> /// </summary> public string CreatedResourceArn { get { return this._createdResourceArn; } set { this._createdResourceArn = value; } } // Check to see if CreatedResourceArn property is set internal bool IsSetCreatedResourceArn() { return this._createdResourceArn != null; } /// <summary> /// Gets and sets the property CreationDate. /// <para> /// The date and time that a restore job is created, in Unix format and Coordinated Universal /// Time (UTC). The value of <code>CreationDate</code> is accurate to milliseconds. For /// example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 /// AM. /// </para> /// </summary> public DateTime CreationDate { get { return this._creationDate.GetValueOrDefault(); } set { this._creationDate = value; } } // Check to see if CreationDate property is set internal bool IsSetCreationDate() { return this._creationDate.HasValue; } /// <summary> /// Gets and sets the property ExpectedCompletionTimeMinutes. /// <para> /// The amount of time in minutes that a job restoring a recovery point is expected to /// take. /// </para> /// </summary> public long ExpectedCompletionTimeMinutes { get { return this._expectedCompletionTimeMinutes.GetValueOrDefault(); } set { this._expectedCompletionTimeMinutes = value; } } // Check to see if ExpectedCompletionTimeMinutes property is set internal bool IsSetExpectedCompletionTimeMinutes() { return this._expectedCompletionTimeMinutes.HasValue; } /// <summary> /// Gets and sets the property IamRoleArn. /// <para> /// Specifies the IAM role ARN used to create the target recovery point; for example, /// <code>arn:aws:iam::123456789012:role/S3Access</code>. /// </para> /// </summary> public string IamRoleArn { get { return this._iamRoleArn; } set { this._iamRoleArn = value; } } // Check to see if IamRoleArn property is set internal bool IsSetIamRoleArn() { return this._iamRoleArn != null; } /// <summary> /// Gets and sets the property PercentDone. /// <para> /// Contains an estimated percentage that is complete of a job at the time the job status /// was queried. /// </para> /// </summary> public string PercentDone { get { return this._percentDone; } set { this._percentDone = value; } } // Check to see if PercentDone property is set internal bool IsSetPercentDone() { return this._percentDone != null; } /// <summary> /// Gets and sets the property RecoveryPointArn. /// <para> /// An ARN that uniquely identifies a recovery point; for example, <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>. /// </para> /// </summary> public string RecoveryPointArn { get { return this._recoveryPointArn; } set { this._recoveryPointArn = value; } } // Check to see if RecoveryPointArn property is set internal bool IsSetRecoveryPointArn() { return this._recoveryPointArn != null; } /// <summary> /// Gets and sets the property ResourceType. /// <para> /// Returns metadata associated with a restore job listed by resource type. /// </para> /// </summary> public string ResourceType { get { return this._resourceType; } set { this._resourceType = value; } } // Check to see if ResourceType property is set internal bool IsSetResourceType() { return this._resourceType != null; } /// <summary> /// Gets and sets the property RestoreJobId. /// <para> /// Uniquely identifies the job that restores a recovery point. /// </para> /// </summary> public string RestoreJobId { get { return this._restoreJobId; } set { this._restoreJobId = value; } } // Check to see if RestoreJobId property is set internal bool IsSetRestoreJobId() { return this._restoreJobId != null; } /// <summary> /// Gets and sets the property Status. /// <para> /// Status code specifying the state of the job that is initiated by Backup to restore /// a recovery point. /// </para> /// </summary> public RestoreJobStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// <summary> /// Gets and sets the property StatusMessage. /// <para> /// A message showing the status of a job to restore a recovery point. /// </para> /// </summary> public string StatusMessage { get { return this._statusMessage; } set { this._statusMessage = value; } } // Check to see if StatusMessage property is set internal bool IsSetStatusMessage() { return this._statusMessage != null; } } }
297
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the DisassociateRecoveryPointFromParent operation. /// This action to a specific child (nested) recovery point removes the relationship between /// the specified recovery point and its parent (composite) recovery point. /// </summary> public partial class DisassociateRecoveryPointFromParentRequest : AmazonBackupRequest { private string _backupVaultName; private string _recoveryPointArn; /// <summary> /// Gets and sets the property BackupVaultName. /// <para> /// This is the name of a logical container where the child (nested) recovery point is /// stored. Backup vaults are identified by names that are unique to the account used /// to create them and the Amazon Web Services Region where they are created. They consist /// of lowercase letters, numbers, and hyphens. /// </para> /// </summary> [AWSProperty(Required=true)] public string BackupVaultName { get { return this._backupVaultName; } set { this._backupVaultName = value; } } // Check to see if BackupVaultName property is set internal bool IsSetBackupVaultName() { return this._backupVaultName != null; } /// <summary> /// Gets and sets the property RecoveryPointArn. /// <para> /// This is the Amazon Resource Name (ARN) that uniquely identifies the child (nested) /// recovery point; for example, <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.</code> /// /// </para> /// </summary> [AWSProperty(Required=true)] public string RecoveryPointArn { get { return this._recoveryPointArn; } set { this._recoveryPointArn = value; } } // Check to see if RecoveryPointArn property is set internal bool IsSetRecoveryPointArn() { return this._recoveryPointArn != null; } } }
85
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the DisassociateRecoveryPointFromParent operation. /// </summary> public partial class DisassociateRecoveryPointFromParentResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the DisassociateRecoveryPoint operation. /// Deletes the specified continuous backup recovery point from Backup and releases control /// of that continuous backup to the source service, such as Amazon RDS. The source service /// will continue to create and retain continuous backups using the lifecycle that you /// specified in your original backup plan. /// /// /// <para> /// Does not support snapshot backup recovery points. /// </para> /// </summary> public partial class DisassociateRecoveryPointRequest : AmazonBackupRequest { private string _backupVaultName; private string _recoveryPointArn; /// <summary> /// Gets and sets the property BackupVaultName. /// <para> /// The unique name of an Backup vault. /// </para> /// </summary> [AWSProperty(Required=true)] public string BackupVaultName { get { return this._backupVaultName; } set { this._backupVaultName = value; } } // Check to see if BackupVaultName property is set internal bool IsSetBackupVaultName() { return this._backupVaultName != null; } /// <summary> /// Gets and sets the property RecoveryPointArn. /// <para> /// An Amazon Resource Name (ARN) that uniquely identifies an Backup recovery point. /// </para> /// </summary> [AWSProperty(Required=true)] public string RecoveryPointArn { get { return this._recoveryPointArn; } set { this._recoveryPointArn = value; } } // Check to see if RecoveryPointArn property is set internal bool IsSetRecoveryPointArn() { return this._recoveryPointArn != null; } } }
87
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the DisassociateRecoveryPoint operation. /// </summary> public partial class DisassociateRecoveryPointResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the ExportBackupPlanTemplate operation. /// Returns the backup plan that is specified by the plan ID as a backup template. /// </summary> public partial class ExportBackupPlanTemplateRequest : AmazonBackupRequest { private string _backupPlanId; /// <summary> /// Gets and sets the property BackupPlanId. /// <para> /// Uniquely identifies a backup plan. /// </para> /// </summary> [AWSProperty(Required=true)] public string BackupPlanId { get { return this._backupPlanId; } set { this._backupPlanId = value; } } // Check to see if BackupPlanId property is set internal bool IsSetBackupPlanId() { return this._backupPlanId != null; } } }
59
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the ExportBackupPlanTemplate operation. /// </summary> public partial class ExportBackupPlanTemplateResponse : AmazonWebServiceResponse { private string _backupPlanTemplateJson; /// <summary> /// Gets and sets the property BackupPlanTemplateJson. /// <para> /// The body of a backup plan template in JSON format. /// </para> /// <note> /// <para> /// This is a signed JSON document that cannot be modified before being passed to <code>GetBackupPlanFromJSON.</code> /// /// </para> /// </note> /// </summary> public string BackupPlanTemplateJson { get { return this._backupPlanTemplateJson; } set { this._backupPlanTemplateJson = value; } } // Check to see if BackupPlanTemplateJson property is set internal bool IsSetBackupPlanTemplateJson() { return this._backupPlanTemplateJson != null; } } }
63
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Contains detailed information about a framework. Frameworks contain controls, which /// evaluate and report on your backup events and resources. Frameworks generate daily /// compliance results. /// </summary> public partial class Framework { private DateTime? _creationTime; private string _deploymentStatus; private string _frameworkArn; private string _frameworkDescription; private string _frameworkName; private int? _numberOfControls; /// <summary> /// Gets and sets the property CreationTime. /// <para> /// The date and time that a framework is created, in ISO 8601 representation. The value /// of <code>CreationTime</code> is accurate to milliseconds. For example, 2020-07-10T15:00:00.000-08:00 /// represents the 10th of July 2020 at 3:00 PM 8 hours behind UTC. /// </para> /// </summary> public DateTime CreationTime { get { return this._creationTime.GetValueOrDefault(); } set { this._creationTime = value; } } // Check to see if CreationTime property is set internal bool IsSetCreationTime() { return this._creationTime.HasValue; } /// <summary> /// Gets and sets the property DeploymentStatus. /// <para> /// The deployment status of a framework. The statuses are: /// </para> /// /// <para> /// <code>CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | /// FAILED</code> /// </para> /// </summary> public string DeploymentStatus { get { return this._deploymentStatus; } set { this._deploymentStatus = value; } } // Check to see if DeploymentStatus property is set internal bool IsSetDeploymentStatus() { return this._deploymentStatus != null; } /// <summary> /// Gets and sets the property FrameworkArn. /// <para> /// An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the /// ARN depends on the resource type. /// </para> /// </summary> public string FrameworkArn { get { return this._frameworkArn; } set { this._frameworkArn = value; } } // Check to see if FrameworkArn property is set internal bool IsSetFrameworkArn() { return this._frameworkArn != null; } /// <summary> /// Gets and sets the property FrameworkDescription. /// <para> /// An optional description of the framework with a maximum 1,024 characters. /// </para> /// </summary> [AWSProperty(Min=0, Max=1024)] public string FrameworkDescription { get { return this._frameworkDescription; } set { this._frameworkDescription = value; } } // Check to see if FrameworkDescription property is set internal bool IsSetFrameworkDescription() { return this._frameworkDescription != null; } /// <summary> /// Gets and sets the property FrameworkName. /// <para> /// The unique name of a framework. This name is between 1 and 256 characters, starting /// with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores /// (_). /// </para> /// </summary> [AWSProperty(Min=1, Max=256)] public string FrameworkName { get { return this._frameworkName; } set { this._frameworkName = value; } } // Check to see if FrameworkName property is set internal bool IsSetFrameworkName() { return this._frameworkName != null; } /// <summary> /// Gets and sets the property NumberOfControls. /// <para> /// The number of controls contained by the framework. /// </para> /// </summary> public int NumberOfControls { get { return this._numberOfControls.GetValueOrDefault(); } set { this._numberOfControls = value; } } // Check to see if NumberOfControls property is set internal bool IsSetNumberOfControls() { return this._numberOfControls.HasValue; } } }
166
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Contains detailed information about all of the controls of a framework. Each framework /// must contain at least one control. /// </summary> public partial class FrameworkControl { private List<ControlInputParameter> _controlInputParameters = new List<ControlInputParameter>(); private string _controlName; private ControlScope _controlScope; /// <summary> /// Gets and sets the property ControlInputParameters. /// <para> /// A list of <code>ParameterName</code> and <code>ParameterValue</code> pairs. /// </para> /// </summary> public List<ControlInputParameter> ControlInputParameters { get { return this._controlInputParameters; } set { this._controlInputParameters = value; } } // Check to see if ControlInputParameters property is set internal bool IsSetControlInputParameters() { return this._controlInputParameters != null && this._controlInputParameters.Count > 0; } /// <summary> /// Gets and sets the property ControlName. /// <para> /// The name of a control. This name is between 1 and 256 characters. /// </para> /// </summary> [AWSProperty(Required=true)] public string ControlName { get { return this._controlName; } set { this._controlName = value; } } // Check to see if ControlName property is set internal bool IsSetControlName() { return this._controlName != null; } /// <summary> /// Gets and sets the property ControlScope. /// <para> /// The scope of a control. The control scope defines what the control will evaluate. /// Three examples of control scopes are: a specific backup plan, all backup plans with /// a specific tag, or all backup plans. For more information, see <a href="aws-backup/latest/devguide/API_ControlScope.html"> /// <code>ControlScope</code>.</a> /// </para> /// </summary> public ControlScope ControlScope { get { return this._controlScope; } set { this._controlScope = value; } } // Check to see if ControlScope property is set internal bool IsSetControlScope() { return this._controlScope != null; } } }
100
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the GetBackupPlanFromJSON operation. /// Returns a valid JSON document specifying a backup plan or an error. /// </summary> public partial class GetBackupPlanFromJSONRequest : AmazonBackupRequest { private string _backupPlanTemplateJson; /// <summary> /// Gets and sets the property BackupPlanTemplateJson. /// <para> /// A customer-supplied backup plan document in JSON format. /// </para> /// </summary> [AWSProperty(Required=true)] public string BackupPlanTemplateJson { get { return this._backupPlanTemplateJson; } set { this._backupPlanTemplateJson = value; } } // Check to see if BackupPlanTemplateJson property is set internal bool IsSetBackupPlanTemplateJson() { return this._backupPlanTemplateJson != null; } } }
59
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the GetBackupPlanFromJSON operation. /// </summary> public partial class GetBackupPlanFromJSONResponse : AmazonWebServiceResponse { private BackupPlan _backupPlan; /// <summary> /// Gets and sets the property BackupPlan. /// <para> /// Specifies the body of a backup plan. Includes a <code>BackupPlanName</code> and one /// or more sets of <code>Rules</code>. /// </para> /// </summary> public BackupPlan BackupPlan { get { return this._backupPlan; } set { this._backupPlan = value; } } // Check to see if BackupPlan property is set internal bool IsSetBackupPlan() { return this._backupPlan != null; } } }
58
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the GetBackupPlanFromTemplate operation. /// Returns the template specified by its <code>templateId</code> as a backup plan. /// </summary> public partial class GetBackupPlanFromTemplateRequest : AmazonBackupRequest { private string _backupPlanTemplateId; /// <summary> /// Gets and sets the property BackupPlanTemplateId. /// <para> /// Uniquely identifies a stored backup plan template. /// </para> /// </summary> [AWSProperty(Required=true)] public string BackupPlanTemplateId { get { return this._backupPlanTemplateId; } set { this._backupPlanTemplateId = value; } } // Check to see if BackupPlanTemplateId property is set internal bool IsSetBackupPlanTemplateId() { return this._backupPlanTemplateId != null; } } }
59
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the GetBackupPlanFromTemplate operation. /// </summary> public partial class GetBackupPlanFromTemplateResponse : AmazonWebServiceResponse { private BackupPlan _backupPlanDocument; /// <summary> /// Gets and sets the property BackupPlanDocument. /// <para> /// Returns the body of a backup plan based on the target template, including the name, /// rules, and backup vault of the plan. /// </para> /// </summary> public BackupPlan BackupPlanDocument { get { return this._backupPlanDocument; } set { this._backupPlanDocument = value; } } // Check to see if BackupPlanDocument property is set internal bool IsSetBackupPlanDocument() { return this._backupPlanDocument != null; } } }
58
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the GetBackupPlan operation. /// Returns <code>BackupPlan</code> details for the specified <code>BackupPlanId</code>. /// The details are the body of a backup plan in JSON format, in addition to plan metadata. /// </summary> public partial class GetBackupPlanRequest : AmazonBackupRequest { private string _backupPlanId; private string _versionId; /// <summary> /// Gets and sets the property BackupPlanId. /// <para> /// Uniquely identifies a backup plan. /// </para> /// </summary> [AWSProperty(Required=true)] public string BackupPlanId { get { return this._backupPlanId; } set { this._backupPlanId = value; } } // Check to see if BackupPlanId property is set internal bool IsSetBackupPlanId() { return this._backupPlanId != null; } /// <summary> /// Gets and sets the property VersionId. /// <para> /// Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 /// bytes long. Version IDs cannot be edited. /// </para> /// </summary> public string VersionId { get { return this._versionId; } set { this._versionId = value; } } // Check to see if VersionId property is set internal bool IsSetVersionId() { return this._versionId != null; } } }
80
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the GetBackupPlan operation. /// </summary> public partial class GetBackupPlanResponse : AmazonWebServiceResponse { private List<AdvancedBackupSetting> _advancedBackupSettings = new List<AdvancedBackupSetting>(); private BackupPlan _backupPlan; private string _backupPlanArn; private string _backupPlanId; private DateTime? _creationDate; private string _creatorRequestId; private DateTime? _deletionDate; private DateTime? _lastExecutionDate; private string _versionId; /// <summary> /// Gets and sets the property AdvancedBackupSettings. /// <para> /// Contains a list of <code>BackupOptions</code> for each resource type. The list is /// populated only if the advanced option is set for the backup plan. /// </para> /// </summary> public List<AdvancedBackupSetting> AdvancedBackupSettings { get { return this._advancedBackupSettings; } set { this._advancedBackupSettings = value; } } // Check to see if AdvancedBackupSettings property is set internal bool IsSetAdvancedBackupSettings() { return this._advancedBackupSettings != null && this._advancedBackupSettings.Count > 0; } /// <summary> /// Gets and sets the property BackupPlan. /// <para> /// Specifies the body of a backup plan. Includes a <code>BackupPlanName</code> and one /// or more sets of <code>Rules</code>. /// </para> /// </summary> public BackupPlan BackupPlan { get { return this._backupPlan; } set { this._backupPlan = value; } } // Check to see if BackupPlan property is set internal bool IsSetBackupPlan() { return this._backupPlan != null; } /// <summary> /// Gets and sets the property BackupPlanArn. /// <para> /// An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example, /// <code>arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50</code>. /// </para> /// </summary> public string BackupPlanArn { get { return this._backupPlanArn; } set { this._backupPlanArn = value; } } // Check to see if BackupPlanArn property is set internal bool IsSetBackupPlanArn() { return this._backupPlanArn != null; } /// <summary> /// Gets and sets the property BackupPlanId. /// <para> /// Uniquely identifies a backup plan. /// </para> /// </summary> public string BackupPlanId { get { return this._backupPlanId; } set { this._backupPlanId = value; } } // Check to see if BackupPlanId property is set internal bool IsSetBackupPlanId() { return this._backupPlanId != null; } /// <summary> /// Gets and sets the property CreationDate. /// <para> /// The date and time that a backup plan is created, in Unix format and Coordinated Universal /// Time (UTC). The value of <code>CreationDate</code> is accurate to milliseconds. For /// example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 /// AM. /// </para> /// </summary> public DateTime CreationDate { get { return this._creationDate.GetValueOrDefault(); } set { this._creationDate = value; } } // Check to see if CreationDate property is set internal bool IsSetCreationDate() { return this._creationDate.HasValue; } /// <summary> /// Gets and sets the property CreatorRequestId. /// <para> /// A unique string that identifies the request and allows failed requests to be retried /// without the risk of running the operation twice. /// </para> /// </summary> public string CreatorRequestId { get { return this._creatorRequestId; } set { this._creatorRequestId = value; } } // Check to see if CreatorRequestId property is set internal bool IsSetCreatorRequestId() { return this._creatorRequestId != null; } /// <summary> /// Gets and sets the property DeletionDate. /// <para> /// The date and time that a backup plan is deleted, in Unix format and Coordinated Universal /// Time (UTC). The value of <code>DeletionDate</code> is accurate to milliseconds. For /// example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 /// AM. /// </para> /// </summary> public DateTime DeletionDate { get { return this._deletionDate.GetValueOrDefault(); } set { this._deletionDate = value; } } // Check to see if DeletionDate property is set internal bool IsSetDeletionDate() { return this._deletionDate.HasValue; } /// <summary> /// Gets and sets the property LastExecutionDate. /// <para> /// The last time a job to back up resources was run with this backup plan. A date and /// time, in Unix format and Coordinated Universal Time (UTC). The value of <code>LastExecutionDate</code> /// is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, /// January 26, 2018 12:11:30.087 AM. /// </para> /// </summary> public DateTime LastExecutionDate { get { return this._lastExecutionDate.GetValueOrDefault(); } set { this._lastExecutionDate = value; } } // Check to see if LastExecutionDate property is set internal bool IsSetLastExecutionDate() { return this._lastExecutionDate.HasValue; } /// <summary> /// Gets and sets the property VersionId. /// <para> /// Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 /// bytes long. Version IDs cannot be edited. /// </para> /// </summary> public string VersionId { get { return this._versionId; } set { this._versionId = value; } } // Check to see if VersionId property is set internal bool IsSetVersionId() { return this._versionId != null; } } }
223
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the GetBackupSelection operation. /// Returns selection metadata and a document in JSON format that specifies a list of /// resources that are associated with a backup plan. /// </summary> public partial class GetBackupSelectionRequest : AmazonBackupRequest { private string _backupPlanId; private string _selectionId; /// <summary> /// Gets and sets the property BackupPlanId. /// <para> /// Uniquely identifies a backup plan. /// </para> /// </summary> [AWSProperty(Required=true)] public string BackupPlanId { get { return this._backupPlanId; } set { this._backupPlanId = value; } } // Check to see if BackupPlanId property is set internal bool IsSetBackupPlanId() { return this._backupPlanId != null; } /// <summary> /// Gets and sets the property SelectionId. /// <para> /// Uniquely identifies the body of a request to assign a set of resources to a backup /// plan. /// </para> /// </summary> [AWSProperty(Required=true)] public string SelectionId { get { return this._selectionId; } set { this._selectionId = value; } } // Check to see if SelectionId property is set internal bool IsSetSelectionId() { return this._selectionId != null; } } }
81
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the GetBackupSelection operation. /// </summary> public partial class GetBackupSelectionResponse : AmazonWebServiceResponse { private string _backupPlanId; private BackupSelection _backupSelection; private DateTime? _creationDate; private string _creatorRequestId; private string _selectionId; /// <summary> /// Gets and sets the property BackupPlanId. /// <para> /// Uniquely identifies a backup plan. /// </para> /// </summary> public string BackupPlanId { get { return this._backupPlanId; } set { this._backupPlanId = value; } } // Check to see if BackupPlanId property is set internal bool IsSetBackupPlanId() { return this._backupPlanId != null; } /// <summary> /// Gets and sets the property BackupSelection. /// <para> /// Specifies the body of a request to assign a set of resources to a backup plan. /// </para> /// </summary> public BackupSelection BackupSelection { get { return this._backupSelection; } set { this._backupSelection = value; } } // Check to see if BackupSelection property is set internal bool IsSetBackupSelection() { return this._backupSelection != null; } /// <summary> /// Gets and sets the property CreationDate. /// <para> /// The date and time a backup selection is created, in Unix format and Coordinated Universal /// Time (UTC). The value of <code>CreationDate</code> is accurate to milliseconds. For /// example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 /// AM. /// </para> /// </summary> public DateTime CreationDate { get { return this._creationDate.GetValueOrDefault(); } set { this._creationDate = value; } } // Check to see if CreationDate property is set internal bool IsSetCreationDate() { return this._creationDate.HasValue; } /// <summary> /// Gets and sets the property CreatorRequestId. /// <para> /// A unique string that identifies the request and allows failed requests to be retried /// without the risk of running the operation twice. /// </para> /// </summary> public string CreatorRequestId { get { return this._creatorRequestId; } set { this._creatorRequestId = value; } } // Check to see if CreatorRequestId property is set internal bool IsSetCreatorRequestId() { return this._creatorRequestId != null; } /// <summary> /// Gets and sets the property SelectionId. /// <para> /// Uniquely identifies the body of a request to assign a set of resources to a backup /// plan. /// </para> /// </summary> public string SelectionId { get { return this._selectionId; } set { this._selectionId = value; } } // Check to see if SelectionId property is set internal bool IsSetSelectionId() { return this._selectionId != null; } } }
138
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the GetBackupVaultAccessPolicy operation. /// Returns the access policy document that is associated with the named backup vault. /// </summary> public partial class GetBackupVaultAccessPolicyRequest : AmazonBackupRequest { private string _backupVaultName; /// <summary> /// Gets and sets the property BackupVaultName. /// <para> /// The name of a logical container where backups are stored. Backup vaults are identified /// by names that are unique to the account used to create them and the Amazon Web Services /// Region where they are created. They consist of lowercase letters, numbers, and hyphens. /// </para> /// </summary> [AWSProperty(Required=true)] public string BackupVaultName { get { return this._backupVaultName; } set { this._backupVaultName = value; } } // Check to see if BackupVaultName property is set internal bool IsSetBackupVaultName() { return this._backupVaultName != null; } } }
61
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the GetBackupVaultAccessPolicy operation. /// </summary> public partial class GetBackupVaultAccessPolicyResponse : AmazonWebServiceResponse { private string _backupVaultArn; private string _backupVaultName; private string _policy; /// <summary> /// Gets and sets the property BackupVaultArn. /// <para> /// An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, /// <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>. /// </para> /// </summary> public string BackupVaultArn { get { return this._backupVaultArn; } set { this._backupVaultArn = value; } } // Check to see if BackupVaultArn property is set internal bool IsSetBackupVaultArn() { return this._backupVaultArn != null; } /// <summary> /// Gets and sets the property BackupVaultName. /// <para> /// The name of a logical container where backups are stored. Backup vaults are identified /// by names that are unique to the account used to create them and the Region where they /// are created. They consist of lowercase letters, numbers, and hyphens. /// </para> /// </summary> public string BackupVaultName { get { return this._backupVaultName; } set { this._backupVaultName = value; } } // Check to see if BackupVaultName property is set internal bool IsSetBackupVaultName() { return this._backupVaultName != null; } /// <summary> /// Gets and sets the property Policy. /// <para> /// The backup vault access policy document in JSON format. /// </para> /// </summary> public string Policy { get { return this._policy; } set { this._policy = value; } } // Check to see if Policy property is set internal bool IsSetPolicy() { return this._policy != null; } } }
98
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the GetBackupVaultNotifications operation. /// Returns event notifications for the specified backup vault. /// </summary> public partial class GetBackupVaultNotificationsRequest : AmazonBackupRequest { private string _backupVaultName; /// <summary> /// Gets and sets the property BackupVaultName. /// <para> /// The name of a logical container where backups are stored. Backup vaults are identified /// by names that are unique to the account used to create them and the Amazon Web Services /// Region where they are created. They consist of lowercase letters, numbers, and hyphens. /// </para> /// </summary> [AWSProperty(Required=true)] public string BackupVaultName { get { return this._backupVaultName; } set { this._backupVaultName = value; } } // Check to see if BackupVaultName property is set internal bool IsSetBackupVaultName() { return this._backupVaultName != null; } } }
61
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the GetBackupVaultNotifications operation. /// </summary> public partial class GetBackupVaultNotificationsResponse : AmazonWebServiceResponse { private string _backupVaultArn; private List<string> _backupVaultEvents = new List<string>(); private string _backupVaultName; private string _snsTopicArn; /// <summary> /// Gets and sets the property BackupVaultArn. /// <para> /// An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, /// <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>. /// </para> /// </summary> public string BackupVaultArn { get { return this._backupVaultArn; } set { this._backupVaultArn = value; } } // Check to see if BackupVaultArn property is set internal bool IsSetBackupVaultArn() { return this._backupVaultArn != null; } /// <summary> /// Gets and sets the property BackupVaultEvents. /// <para> /// An array of events that indicate the status of jobs to back up resources to the backup /// vault. /// </para> /// </summary> public List<string> BackupVaultEvents { get { return this._backupVaultEvents; } set { this._backupVaultEvents = value; } } // Check to see if BackupVaultEvents property is set internal bool IsSetBackupVaultEvents() { return this._backupVaultEvents != null && this._backupVaultEvents.Count > 0; } /// <summary> /// Gets and sets the property BackupVaultName. /// <para> /// The name of a logical container where backups are stored. Backup vaults are identified /// by names that are unique to the account used to create them and the Region where they /// are created. They consist of lowercase letters, numbers, and hyphens. /// </para> /// </summary> public string BackupVaultName { get { return this._backupVaultName; } set { this._backupVaultName = value; } } // Check to see if BackupVaultName property is set internal bool IsSetBackupVaultName() { return this._backupVaultName != null; } /// <summary> /// Gets and sets the property SNSTopicArn. /// <para> /// An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon SNS) /// topic; for example, <code>arn:aws:sns:us-west-2:111122223333:MyTopic</code>. /// </para> /// </summary> public string SNSTopicArn { get { return this._snsTopicArn; } set { this._snsTopicArn = value; } } // Check to see if SNSTopicArn property is set internal bool IsSetSNSTopicArn() { return this._snsTopicArn != null; } } }
119
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the GetLegalHold operation. /// This action returns details for a specified legal hold. The details are the body of /// a legal hold in JSON format, in addition to metadata. /// </summary> public partial class GetLegalHoldRequest : AmazonBackupRequest { private string _legalHoldId; /// <summary> /// Gets and sets the property LegalHoldId. /// <para> /// This is the ID required to use <code>GetLegalHold</code>. This unique ID is associated /// with a specific legal hold. /// </para> /// </summary> [AWSProperty(Required=true)] public string LegalHoldId { get { return this._legalHoldId; } set { this._legalHoldId = value; } } // Check to see if LegalHoldId property is set internal bool IsSetLegalHoldId() { return this._legalHoldId != null; } } }
61
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the GetLegalHold operation. /// </summary> public partial class GetLegalHoldResponse : AmazonWebServiceResponse { private string _cancelDescription; private DateTime? _cancellationDate; private DateTime? _creationDate; private string _description; private string _legalHoldArn; private string _legalHoldId; private RecoveryPointSelection _recoveryPointSelection; private DateTime? _retainRecordUntil; private LegalHoldStatus _status; private string _title; /// <summary> /// Gets and sets the property CancelDescription. /// <para> /// String describing the reason for removing the legal hold. /// </para> /// </summary> public string CancelDescription { get { return this._cancelDescription; } set { this._cancelDescription = value; } } // Check to see if CancelDescription property is set internal bool IsSetCancelDescription() { return this._cancelDescription != null; } /// <summary> /// Gets and sets the property CancellationDate. /// <para> /// Time in number when legal hold was cancelled. /// </para> /// </summary> public DateTime CancellationDate { get { return this._cancellationDate.GetValueOrDefault(); } set { this._cancellationDate = value; } } // Check to see if CancellationDate property is set internal bool IsSetCancellationDate() { return this._cancellationDate.HasValue; } /// <summary> /// Gets and sets the property CreationDate. /// <para> /// Time in number format when legal hold was created. /// </para> /// </summary> public DateTime CreationDate { get { return this._creationDate.GetValueOrDefault(); } set { this._creationDate = value; } } // Check to see if CreationDate property is set internal bool IsSetCreationDate() { return this._creationDate.HasValue; } /// <summary> /// Gets and sets the property Description. /// <para> /// This is the returned string description of the legal hold. /// </para> /// </summary> public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property LegalHoldArn. /// <para> /// This is the returned framework ARN for the specified legal hold. An Amazon Resource /// Name (ARN) uniquely identifies a resource. The format of the ARN depends on the resource /// type. /// </para> /// </summary> public string LegalHoldArn { get { return this._legalHoldArn; } set { this._legalHoldArn = value; } } // Check to see if LegalHoldArn property is set internal bool IsSetLegalHoldArn() { return this._legalHoldArn != null; } /// <summary> /// Gets and sets the property LegalHoldId. /// <para> /// This is the returned ID associated with a specified legal hold. /// </para> /// </summary> public string LegalHoldId { get { return this._legalHoldId; } set { this._legalHoldId = value; } } // Check to see if LegalHoldId property is set internal bool IsSetLegalHoldId() { return this._legalHoldId != null; } /// <summary> /// Gets and sets the property RecoveryPointSelection. /// <para> /// This specifies criteria to assign a set of resources, such as resource types or backup /// vaults. /// </para> /// </summary> public RecoveryPointSelection RecoveryPointSelection { get { return this._recoveryPointSelection; } set { this._recoveryPointSelection = value; } } // Check to see if RecoveryPointSelection property is set internal bool IsSetRecoveryPointSelection() { return this._recoveryPointSelection != null; } /// <summary> /// Gets and sets the property RetainRecordUntil. /// <para> /// This is the date and time until which the legal hold record will be retained. /// </para> /// </summary> public DateTime RetainRecordUntil { get { return this._retainRecordUntil.GetValueOrDefault(); } set { this._retainRecordUntil = value; } } // Check to see if RetainRecordUntil property is set internal bool IsSetRetainRecordUntil() { return this._retainRecordUntil.HasValue; } /// <summary> /// Gets and sets the property Status. /// <para> /// This is the status of the legal hold. Statuses can be <code>ACTIVE</code>, <code>CREATING</code>, /// <code>CANCELED</code>, and <code>CANCELING</code>. /// </para> /// </summary> public LegalHoldStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// <summary> /// Gets and sets the property Title. /// <para> /// This is the string title of the legal hold. /// </para> /// </summary> public string Title { get { return this._title; } set { this._title = value; } } // Check to see if Title property is set internal bool IsSetTitle() { return this._title != null; } } }
232
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the GetRecoveryPointRestoreMetadata operation. /// Returns a set of metadata key-value pairs that were used to create the backup. /// </summary> public partial class GetRecoveryPointRestoreMetadataRequest : AmazonBackupRequest { private string _backupVaultName; private string _recoveryPointArn; /// <summary> /// Gets and sets the property BackupVaultName. /// <para> /// The name of a logical container where backups are stored. Backup vaults are identified /// by names that are unique to the account used to create them and the Amazon Web Services /// Region where they are created. They consist of lowercase letters, numbers, and hyphens. /// </para> /// </summary> [AWSProperty(Required=true)] public string BackupVaultName { get { return this._backupVaultName; } set { this._backupVaultName = value; } } // Check to see if BackupVaultName property is set internal bool IsSetBackupVaultName() { return this._backupVaultName != null; } /// <summary> /// Gets and sets the property RecoveryPointArn. /// <para> /// An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example, /// <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public string RecoveryPointArn { get { return this._recoveryPointArn; } set { this._recoveryPointArn = value; } } // Check to see if RecoveryPointArn property is set internal bool IsSetRecoveryPointArn() { return this._recoveryPointArn != null; } } }
82
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the GetRecoveryPointRestoreMetadata operation. /// </summary> public partial class GetRecoveryPointRestoreMetadataResponse : AmazonWebServiceResponse { private string _backupVaultArn; private string _recoveryPointArn; private Dictionary<string, string> _restoreMetadata = new Dictionary<string, string>(); /// <summary> /// Gets and sets the property BackupVaultArn. /// <para> /// An ARN that uniquely identifies a backup vault; for example, <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>. /// </para> /// </summary> public string BackupVaultArn { get { return this._backupVaultArn; } set { this._backupVaultArn = value; } } // Check to see if BackupVaultArn property is set internal bool IsSetBackupVaultArn() { return this._backupVaultArn != null; } /// <summary> /// Gets and sets the property RecoveryPointArn. /// <para> /// An ARN that uniquely identifies a recovery point; for example, <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>. /// </para> /// </summary> public string RecoveryPointArn { get { return this._recoveryPointArn; } set { this._recoveryPointArn = value; } } // Check to see if RecoveryPointArn property is set internal bool IsSetRecoveryPointArn() { return this._recoveryPointArn != null; } /// <summary> /// Gets and sets the property RestoreMetadata. /// <para> /// The set of metadata key-value pairs that describe the original configuration of the /// backed-up resource. These values vary depending on the service that is being restored. /// </para> /// </summary> [AWSProperty(Sensitive=true)] public Dictionary<string, string> RestoreMetadata { get { return this._restoreMetadata; } set { this._restoreMetadata = value; } } // Check to see if RestoreMetadata property is set internal bool IsSetRestoreMetadata() { return this._restoreMetadata != null && this._restoreMetadata.Count > 0; } } }
97
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the GetSupportedResourceTypes operation. /// Returns the Amazon Web Services resource types supported by Backup. /// </summary> public partial class GetSupportedResourceTypesRequest : AmazonBackupRequest { } }
39
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the GetSupportedResourceTypes operation. /// </summary> public partial class GetSupportedResourceTypesResponse : AmazonWebServiceResponse { private List<string> _resourceTypes = new List<string>(); /// <summary> /// Gets and sets the property ResourceTypes. /// <para> /// Contains a string with the supported Amazon Web Services resource types: /// </para> /// <ul> <li> /// <para> /// <code>Aurora</code> for Amazon Aurora /// </para> /// </li> <li> /// <para> /// <code>DynamoDB</code> for Amazon DynamoDB /// </para> /// </li> <li> /// <para> /// <code>EBS</code> for Amazon Elastic Block Store /// </para> /// </li> <li> /// <para> /// <code>EC2</code> for Amazon Elastic Compute Cloud /// </para> /// </li> <li> /// <para> /// <code>EFS</code> for Amazon Elastic File System /// </para> /// </li> <li> /// <para> /// <code>FSX</code> for Amazon FSx /// </para> /// </li> <li> /// <para> /// <code>RDS</code> for Amazon Relational Database Service /// </para> /// </li> <li> /// <para> /// <code>Storage Gateway</code> for Storage Gateway /// </para> /// </li> <li> /// <para> /// <code>DocDB</code> for Amazon DocumentDB (with MongoDB compatibility) /// </para> /// </li> <li> /// <para> /// <code>Neptune</code> for Amazon Neptune /// </para> /// </li> </ul> /// </summary> public List<string> ResourceTypes { get { return this._resourceTypes; } set { this._resourceTypes = value; } } // Check to see if ResourceTypes property is set internal bool IsSetResourceTypes() { return this._resourceTypes != null && this._resourceTypes.Count > 0; } } }
98
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class InvalidParameterValueException : AmazonBackupException { private string _code; private string _context; private string _type; /// <summary> /// Constructs a new InvalidParameterValueException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public InvalidParameterValueException(string message) : base(message) {} /// <summary> /// Construct instance of InvalidParameterValueException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public InvalidParameterValueException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of InvalidParameterValueException /// </summary> /// <param name="innerException"></param> public InvalidParameterValueException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of InvalidParameterValueException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public InvalidParameterValueException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of InvalidParameterValueException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public InvalidParameterValueException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the InvalidParameterValueException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected InvalidParameterValueException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.Code = (string)info.GetValue("Code", typeof(string)); this.Context = (string)info.GetValue("Context", typeof(string)); this.Type = (string)info.GetValue("Type", typeof(string)); } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); info.AddValue("Code", this.Code); info.AddValue("Context", this.Context); info.AddValue("Type", this.Type); } #endif /// <summary> /// Gets and sets the property Code. /// </summary> public string Code { get { return this._code; } set { this._code = value; } } // Check to see if Code property is set internal bool IsSetCode() { return this._code != null; } /// <summary> /// Gets and sets the property Context. /// </summary> public string Context { get { return this._context; } set { this._context = value; } } // Check to see if Context property is set internal bool IsSetContext() { return this._context != null; } /// <summary> /// Gets and sets the property Type. /// </summary> public string Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }
179
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class InvalidRequestException : AmazonBackupException { private string _code; private string _context; private string _type; /// <summary> /// Constructs a new InvalidRequestException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public InvalidRequestException(string message) : base(message) {} /// <summary> /// Construct instance of InvalidRequestException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public InvalidRequestException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of InvalidRequestException /// </summary> /// <param name="innerException"></param> public InvalidRequestException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of InvalidRequestException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public InvalidRequestException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of InvalidRequestException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public InvalidRequestException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the InvalidRequestException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected InvalidRequestException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.Code = (string)info.GetValue("Code", typeof(string)); this.Context = (string)info.GetValue("Context", typeof(string)); this.Type = (string)info.GetValue("Type", typeof(string)); } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); info.AddValue("Code", this.Code); info.AddValue("Context", this.Context); info.AddValue("Type", this.Type); } #endif /// <summary> /// Gets and sets the property Code. /// </summary> public string Code { get { return this._code; } set { this._code = value; } } // Check to see if Code property is set internal bool IsSetCode() { return this._code != null; } /// <summary> /// Gets and sets the property Context. /// </summary> public string Context { get { return this._context; } set { this._context = value; } } // Check to see if Context property is set internal bool IsSetContext() { return this._context != null; } /// <summary> /// Gets and sets the property Type. /// </summary> public string Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }
179
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Backup is already performing an action on this recovery point. It can't perform the /// action you requested until the first action finishes. Try again later. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class InvalidResourceStateException : AmazonBackupException { private string _code; private string _context; private string _type; /// <summary> /// Constructs a new InvalidResourceStateException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public InvalidResourceStateException(string message) : base(message) {} /// <summary> /// Construct instance of InvalidResourceStateException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public InvalidResourceStateException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of InvalidResourceStateException /// </summary> /// <param name="innerException"></param> public InvalidResourceStateException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of InvalidResourceStateException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public InvalidResourceStateException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of InvalidResourceStateException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public InvalidResourceStateException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the InvalidResourceStateException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected InvalidResourceStateException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.Code = (string)info.GetValue("Code", typeof(string)); this.Context = (string)info.GetValue("Context", typeof(string)); this.Type = (string)info.GetValue("Type", typeof(string)); } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); info.AddValue("Code", this.Code); info.AddValue("Context", this.Context); info.AddValue("Type", this.Type); } #endif /// <summary> /// Gets and sets the property Code. /// </summary> public string Code { get { return this._code; } set { this._code = value; } } // Check to see if Code property is set internal bool IsSetCode() { return this._code != null; } /// <summary> /// Gets and sets the property Context. /// </summary> public string Context { get { return this._context; } set { this._context = value; } } // Check to see if Context property is set internal bool IsSetContext() { return this._context != null; } /// <summary> /// Gets and sets the property Type. /// </summary> public string Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }
179
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// A legal hold is an administrative tool that helps prevent backups from being deleted /// while under a hold. While the hold is in place, backups under a hold cannot be deleted /// and lifecycle policies that would alter the backup status (such as transition to cold /// storage) are delayed until the legal hold is removed. A backup can have more than /// one legal hold. Legal holds are applied to one or more backups (also known as recovery /// points). These backups can be filtered by resource types and by resource IDs. /// </summary> public partial class LegalHold { private DateTime? _cancellationDate; private DateTime? _creationDate; private string _description; private string _legalHoldArn; private string _legalHoldId; private LegalHoldStatus _status; private string _title; /// <summary> /// Gets and sets the property CancellationDate. /// <para> /// This is the time in number format when legal hold was cancelled. /// </para> /// </summary> public DateTime CancellationDate { get { return this._cancellationDate.GetValueOrDefault(); } set { this._cancellationDate = value; } } // Check to see if CancellationDate property is set internal bool IsSetCancellationDate() { return this._cancellationDate.HasValue; } /// <summary> /// Gets and sets the property CreationDate. /// <para> /// This is the time in number format when legal hold was created. /// </para> /// </summary> public DateTime CreationDate { get { return this._creationDate.GetValueOrDefault(); } set { this._creationDate = value; } } // Check to see if CreationDate property is set internal bool IsSetCreationDate() { return this._creationDate.HasValue; } /// <summary> /// Gets and sets the property Description. /// <para> /// This is the description of a legal hold. /// </para> /// </summary> public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property LegalHoldArn. /// <para> /// This is an Amazon Resource Number (ARN) that uniquely identifies the legal hold; for /// example, <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>. /// </para> /// </summary> public string LegalHoldArn { get { return this._legalHoldArn; } set { this._legalHoldArn = value; } } // Check to see if LegalHoldArn property is set internal bool IsSetLegalHoldArn() { return this._legalHoldArn != null; } /// <summary> /// Gets and sets the property LegalHoldId. /// <para> /// ID of specific legal hold on one or more recovery points. /// </para> /// </summary> public string LegalHoldId { get { return this._legalHoldId; } set { this._legalHoldId = value; } } // Check to see if LegalHoldId property is set internal bool IsSetLegalHoldId() { return this._legalHoldId != null; } /// <summary> /// Gets and sets the property Status. /// <para> /// This is the status of the legal hold. Statuses can be <code>ACTIVE</code>, <code>CREATING</code>, /// <code>CANCELED</code>, and <code>CANCELING</code>. /// </para> /// </summary> public LegalHoldStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// <summary> /// Gets and sets the property Title. /// <para> /// This is the title of a legal hold. /// </para> /// </summary> public string Title { get { return this._title; } set { this._title = value; } } // Check to see if Title property is set internal bool IsSetTitle() { return this._title != null; } } }
178
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// A limit in the request has been exceeded; for example, a maximum number of items allowed /// in a request. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class LimitExceededException : AmazonBackupException { private string _code; private string _context; private string _type; /// <summary> /// Constructs a new LimitExceededException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public LimitExceededException(string message) : base(message) {} /// <summary> /// Construct instance of LimitExceededException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public LimitExceededException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of LimitExceededException /// </summary> /// <param name="innerException"></param> public LimitExceededException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of LimitExceededException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public LimitExceededException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of LimitExceededException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public LimitExceededException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the LimitExceededException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected LimitExceededException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.Code = (string)info.GetValue("Code", typeof(string)); this.Context = (string)info.GetValue("Context", typeof(string)); this.Type = (string)info.GetValue("Type", typeof(string)); } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); info.AddValue("Code", this.Code); info.AddValue("Context", this.Context); info.AddValue("Type", this.Type); } #endif /// <summary> /// Gets and sets the property Code. /// </summary> public string Code { get { return this._code; } set { this._code = value; } } // Check to see if Code property is set internal bool IsSetCode() { return this._code != null; } /// <summary> /// Gets and sets the property Context. /// </summary> public string Context { get { return this._context; } set { this._context = value; } } // Check to see if Context property is set internal bool IsSetContext() { return this._context != null; } /// <summary> /// Gets and sets the property Type. /// </summary> public string Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }
179
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the ListBackupJobs operation. /// Returns a list of existing backup jobs for an authenticated account for the last 30 /// days. For a longer period of time, consider using these <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/monitoring.html">monitoring /// tools</a>. /// </summary> public partial class ListBackupJobsRequest : AmazonBackupRequest { private string _byAccountId; private string _byBackupVaultName; private DateTime? _byCompleteAfter; private DateTime? _byCompleteBefore; private DateTime? _byCreatedAfter; private DateTime? _byCreatedBefore; private string _byParentJobId; private string _byResourceArn; private string _byResourceType; private BackupJobState _byState; private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property ByAccountId. /// <para> /// The account ID to list the jobs from. Returns only backup jobs associated with the /// specified account ID. /// </para> /// /// <para> /// If used from an Organizations management account, passing <code>*</code> returns all /// jobs across the organization. /// </para> /// </summary> public string ByAccountId { get { return this._byAccountId; } set { this._byAccountId = value; } } // Check to see if ByAccountId property is set internal bool IsSetByAccountId() { return this._byAccountId != null; } /// <summary> /// Gets and sets the property ByBackupVaultName. /// <para> /// Returns only backup jobs that will be stored in the specified backup vault. Backup /// vaults are identified by names that are unique to the account used to create them /// and the Amazon Web Services Region where they are created. They consist of lowercase /// letters, numbers, and hyphens. /// </para> /// </summary> public string ByBackupVaultName { get { return this._byBackupVaultName; } set { this._byBackupVaultName = value; } } // Check to see if ByBackupVaultName property is set internal bool IsSetByBackupVaultName() { return this._byBackupVaultName != null; } /// <summary> /// Gets and sets the property ByCompleteAfter. /// <para> /// Returns only backup jobs completed after a date expressed in Unix format and Coordinated /// Universal Time (UTC). /// </para> /// </summary> public DateTime ByCompleteAfter { get { return this._byCompleteAfter.GetValueOrDefault(); } set { this._byCompleteAfter = value; } } // Check to see if ByCompleteAfter property is set internal bool IsSetByCompleteAfter() { return this._byCompleteAfter.HasValue; } /// <summary> /// Gets and sets the property ByCompleteBefore. /// <para> /// Returns only backup jobs completed before a date expressed in Unix format and Coordinated /// Universal Time (UTC). /// </para> /// </summary> public DateTime ByCompleteBefore { get { return this._byCompleteBefore.GetValueOrDefault(); } set { this._byCompleteBefore = value; } } // Check to see if ByCompleteBefore property is set internal bool IsSetByCompleteBefore() { return this._byCompleteBefore.HasValue; } /// <summary> /// Gets and sets the property ByCreatedAfter. /// <para> /// Returns only backup jobs that were created after the specified date. /// </para> /// </summary> public DateTime ByCreatedAfter { get { return this._byCreatedAfter.GetValueOrDefault(); } set { this._byCreatedAfter = value; } } // Check to see if ByCreatedAfter property is set internal bool IsSetByCreatedAfter() { return this._byCreatedAfter.HasValue; } /// <summary> /// Gets and sets the property ByCreatedBefore. /// <para> /// Returns only backup jobs that were created before the specified date. /// </para> /// </summary> public DateTime ByCreatedBefore { get { return this._byCreatedBefore.GetValueOrDefault(); } set { this._byCreatedBefore = value; } } // Check to see if ByCreatedBefore property is set internal bool IsSetByCreatedBefore() { return this._byCreatedBefore.HasValue; } /// <summary> /// Gets and sets the property ByParentJobId. /// <para> /// This is a filter to list child (nested) jobs based on parent job ID. /// </para> /// </summary> public string ByParentJobId { get { return this._byParentJobId; } set { this._byParentJobId = value; } } // Check to see if ByParentJobId property is set internal bool IsSetByParentJobId() { return this._byParentJobId != null; } /// <summary> /// Gets and sets the property ByResourceArn. /// <para> /// Returns only backup jobs that match the specified resource Amazon Resource Name (ARN). /// </para> /// </summary> public string ByResourceArn { get { return this._byResourceArn; } set { this._byResourceArn = value; } } // Check to see if ByResourceArn property is set internal bool IsSetByResourceArn() { return this._byResourceArn != null; } /// <summary> /// Gets and sets the property ByResourceType. /// <para> /// Returns only backup jobs for the specified resources: /// </para> /// <ul> <li> /// <para> /// <code>Aurora</code> for Amazon Aurora /// </para> /// </li> <li> /// <para> /// <code>DocumentDB</code> for Amazon DocumentDB (with MongoDB compatibility) /// </para> /// </li> <li> /// <para> /// <code>DynamoDB</code> for Amazon DynamoDB /// </para> /// </li> <li> /// <para> /// <code>EBS</code> for Amazon Elastic Block Store /// </para> /// </li> <li> /// <para> /// <code>EC2</code> for Amazon Elastic Compute Cloud /// </para> /// </li> <li> /// <para> /// <code>EFS</code> for Amazon Elastic File System /// </para> /// </li> <li> /// <para> /// <code>FSx</code> for Amazon FSx /// </para> /// </li> <li> /// <para> /// <code>Neptune</code> for Amazon Neptune /// </para> /// </li> <li> /// <para> /// <code>RDS</code> for Amazon Relational Database Service /// </para> /// </li> <li> /// <para> /// <code>Storage Gateway</code> for Storage Gateway /// </para> /// </li> <li> /// <para> /// <code>S3</code> for Amazon S3 /// </para> /// </li> <li> /// <para> /// <code>VirtualMachine</code> for virtual machines /// </para> /// </li> </ul> /// </summary> public string ByResourceType { get { return this._byResourceType; } set { this._byResourceType = value; } } // Check to see if ByResourceType property is set internal bool IsSetByResourceType() { return this._byResourceType != null; } /// <summary> /// Gets and sets the property ByState. /// <para> /// Returns only backup jobs that are in the specified state. /// </para> /// </summary> public BackupJobState ByState { get { return this._byState; } set { this._byState = value; } } // Check to see if ByState property is set internal bool IsSetByState() { return this._byState != null; } /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of items to be returned. /// </para> /// </summary> [AWSProperty(Min=1, Max=1000)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next item following a partial list of returned items. For example, if a request /// is made to return <code>maxResults</code> number of items, <code>NextToken</code> /// allows you to return more items in your list starting at the location pointed to by /// the next token. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
333
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the ListBackupJobs operation. /// </summary> public partial class ListBackupJobsResponse : AmazonWebServiceResponse { private List<BackupJob> _backupJobs = new List<BackupJob>(); private string _nextToken; /// <summary> /// Gets and sets the property BackupJobs. /// <para> /// An array of structures containing metadata about your backup jobs returned in JSON /// format. /// </para> /// </summary> public List<BackupJob> BackupJobs { get { return this._backupJobs; } set { this._backupJobs = value; } } // Check to see if BackupJobs property is set internal bool IsSetBackupJobs() { return this._backupJobs != null && this._backupJobs.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next item following a partial list of returned items. For example, if a request /// is made to return <code>maxResults</code> number of items, <code>NextToken</code> /// allows you to return more items in your list starting at the location pointed to by /// the next token. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
80
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the ListBackupPlans operation. /// Returns a list of all active backup plans for an authenticated account. The list contains /// information such as Amazon Resource Names (ARNs), plan IDs, creation and deletion /// dates, version IDs, plan names, and creator request IDs. /// </summary> public partial class ListBackupPlansRequest : AmazonBackupRequest { private bool? _includeDeleted; private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property IncludeDeleted. /// <para> /// A Boolean value with a default value of <code>FALSE</code> that returns deleted backup /// plans when set to <code>TRUE</code>. /// </para> /// </summary> public bool IncludeDeleted { get { return this._includeDeleted.GetValueOrDefault(); } set { this._includeDeleted = value; } } // Check to see if IncludeDeleted property is set internal bool IsSetIncludeDeleted() { return this._includeDeleted.HasValue; } /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of items to be returned. /// </para> /// </summary> [AWSProperty(Min=1, Max=1000)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next item following a partial list of returned items. For example, if a request /// is made to return <code>maxResults</code> number of items, <code>NextToken</code> /// allows you to return more items in your list starting at the location pointed to by /// the next token. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
103
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the ListBackupPlans operation. /// </summary> public partial class ListBackupPlansResponse : AmazonWebServiceResponse { private List<BackupPlansListMember> _backupPlansList = new List<BackupPlansListMember>(); private string _nextToken; /// <summary> /// Gets and sets the property BackupPlansList. /// <para> /// An array of backup plan list items containing metadata about your saved backup plans. /// </para> /// </summary> public List<BackupPlansListMember> BackupPlansList { get { return this._backupPlansList; } set { this._backupPlansList = value; } } // Check to see if BackupPlansList property is set internal bool IsSetBackupPlansList() { return this._backupPlansList != null && this._backupPlansList.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next item following a partial list of returned items. For example, if a request /// is made to return <code>maxResults</code> number of items, <code>NextToken</code> /// allows you to return more items in your list starting at the location pointed to by /// the next token. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
79
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the ListBackupPlanTemplates operation. /// Returns metadata of your saved backup plan templates, including the template ID, name, /// and the creation and deletion dates. /// </summary> public partial class ListBackupPlanTemplatesRequest : AmazonBackupRequest { private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of items to be returned. /// </para> /// </summary> [AWSProperty(Min=1, Max=1000)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next item following a partial list of returned items. For example, if a request /// is made to return <code>maxResults</code> number of items, <code>NextToken</code> /// allows you to return more items in your list starting at the location pointed to by /// the next token. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
82
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the ListBackupPlanTemplates operation. /// </summary> public partial class ListBackupPlanTemplatesResponse : AmazonWebServiceResponse { private List<BackupPlanTemplatesListMember> _backupPlanTemplatesList = new List<BackupPlanTemplatesListMember>(); private string _nextToken; /// <summary> /// Gets and sets the property BackupPlanTemplatesList. /// <para> /// An array of template list items containing metadata about your saved templates. /// </para> /// </summary> public List<BackupPlanTemplatesListMember> BackupPlanTemplatesList { get { return this._backupPlanTemplatesList; } set { this._backupPlanTemplatesList = value; } } // Check to see if BackupPlanTemplatesList property is set internal bool IsSetBackupPlanTemplatesList() { return this._backupPlanTemplatesList != null && this._backupPlanTemplatesList.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next item following a partial list of returned items. For example, if a request /// is made to return <code>maxResults</code> number of items, <code>NextToken</code> /// allows you to return more items in your list starting at the location pointed to by /// the next token. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
79
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the ListBackupPlanVersions operation. /// Returns version metadata of your backup plans, including Amazon Resource Names (ARNs), /// backup plan IDs, creation and deletion dates, plan names, and version IDs. /// </summary> public partial class ListBackupPlanVersionsRequest : AmazonBackupRequest { private string _backupPlanId; private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property BackupPlanId. /// <para> /// Uniquely identifies a backup plan. /// </para> /// </summary> [AWSProperty(Required=true)] public string BackupPlanId { get { return this._backupPlanId; } set { this._backupPlanId = value; } } // Check to see if BackupPlanId property is set internal bool IsSetBackupPlanId() { return this._backupPlanId != null; } /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of items to be returned. /// </para> /// </summary> [AWSProperty(Min=1, Max=1000)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next item following a partial list of returned items. For example, if a request /// is made to return <code>maxResults</code> number of items, <code>NextToken</code> /// allows you to return more items in your list starting at the location pointed to by /// the next token. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
102
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the ListBackupPlanVersions operation. /// </summary> public partial class ListBackupPlanVersionsResponse : AmazonWebServiceResponse { private List<BackupPlansListMember> _backupPlanVersionsList = new List<BackupPlansListMember>(); private string _nextToken; /// <summary> /// Gets and sets the property BackupPlanVersionsList. /// <para> /// An array of version list items containing metadata about your backup plans. /// </para> /// </summary> public List<BackupPlansListMember> BackupPlanVersionsList { get { return this._backupPlanVersionsList; } set { this._backupPlanVersionsList = value; } } // Check to see if BackupPlanVersionsList property is set internal bool IsSetBackupPlanVersionsList() { return this._backupPlanVersionsList != null && this._backupPlanVersionsList.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next item following a partial list of returned items. For example, if a request /// is made to return <code>maxResults</code> number of items, <code>NextToken</code> /// allows you to return more items in your list starting at the location pointed to by /// the next token. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
79
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the ListBackupSelections operation. /// Returns an array containing metadata of the resources associated with the target backup /// plan. /// </summary> public partial class ListBackupSelectionsRequest : AmazonBackupRequest { private string _backupPlanId; private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property BackupPlanId. /// <para> /// Uniquely identifies a backup plan. /// </para> /// </summary> [AWSProperty(Required=true)] public string BackupPlanId { get { return this._backupPlanId; } set { this._backupPlanId = value; } } // Check to see if BackupPlanId property is set internal bool IsSetBackupPlanId() { return this._backupPlanId != null; } /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of items to be returned. /// </para> /// </summary> [AWSProperty(Min=1, Max=1000)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next item following a partial list of returned items. For example, if a request /// is made to return <code>maxResults</code> number of items, <code>NextToken</code> /// allows you to return more items in your list starting at the location pointed to by /// the next token. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
102
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the ListBackupSelections operation. /// </summary> public partial class ListBackupSelectionsResponse : AmazonWebServiceResponse { private List<BackupSelectionsListMember> _backupSelectionsList = new List<BackupSelectionsListMember>(); private string _nextToken; /// <summary> /// Gets and sets the property BackupSelectionsList. /// <para> /// An array of backup selection list items containing metadata about each resource in /// the list. /// </para> /// </summary> public List<BackupSelectionsListMember> BackupSelectionsList { get { return this._backupSelectionsList; } set { this._backupSelectionsList = value; } } // Check to see if BackupSelectionsList property is set internal bool IsSetBackupSelectionsList() { return this._backupSelectionsList != null && this._backupSelectionsList.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next item following a partial list of returned items. For example, if a request /// is made to return <code>maxResults</code> number of items, <code>NextToken</code> /// allows you to return more items in your list starting at the location pointed to by /// the next token. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
80
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the ListBackupVaults operation. /// Returns a list of recovery point storage containers along with information about them. /// </summary> public partial class ListBackupVaultsRequest : AmazonBackupRequest { private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of items to be returned. /// </para> /// </summary> [AWSProperty(Min=1, Max=1000)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next item following a partial list of returned items. For example, if a request /// is made to return <code>maxResults</code> number of items, <code>NextToken</code> /// allows you to return more items in your list starting at the location pointed to by /// the next token. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
81
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the ListBackupVaults operation. /// </summary> public partial class ListBackupVaultsResponse : AmazonWebServiceResponse { private List<BackupVaultListMember> _backupVaultList = new List<BackupVaultListMember>(); private string _nextToken; /// <summary> /// Gets and sets the property BackupVaultList. /// <para> /// An array of backup vault list members containing vault metadata, including Amazon /// Resource Name (ARN), display name, creation date, number of saved recovery points, /// and encryption information if the resources saved in the backup vault are encrypted. /// </para> /// </summary> public List<BackupVaultListMember> BackupVaultList { get { return this._backupVaultList; } set { this._backupVaultList = value; } } // Check to see if BackupVaultList property is set internal bool IsSetBackupVaultList() { return this._backupVaultList != null && this._backupVaultList.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next item following a partial list of returned items. For example, if a request /// is made to return <code>maxResults</code> number of items, <code>NextToken</code> /// allows you to return more items in your list starting at the location pointed to by /// the next token. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
81
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the ListCopyJobs operation. /// Returns metadata about your copy jobs. /// </summary> public partial class ListCopyJobsRequest : AmazonBackupRequest { private string _byAccountId; private DateTime? _byCompleteAfter; private DateTime? _byCompleteBefore; private DateTime? _byCreatedAfter; private DateTime? _byCreatedBefore; private string _byDestinationVaultArn; private string _byParentJobId; private string _byResourceArn; private string _byResourceType; private CopyJobState _byState; private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property ByAccountId. /// <para> /// The account ID to list the jobs from. Returns only copy jobs associated with the specified /// account ID. /// </para> /// </summary> public string ByAccountId { get { return this._byAccountId; } set { this._byAccountId = value; } } // Check to see if ByAccountId property is set internal bool IsSetByAccountId() { return this._byAccountId != null; } /// <summary> /// Gets and sets the property ByCompleteAfter. /// <para> /// Returns only copy jobs completed after a date expressed in Unix format and Coordinated /// Universal Time (UTC). /// </para> /// </summary> public DateTime ByCompleteAfter { get { return this._byCompleteAfter.GetValueOrDefault(); } set { this._byCompleteAfter = value; } } // Check to see if ByCompleteAfter property is set internal bool IsSetByCompleteAfter() { return this._byCompleteAfter.HasValue; } /// <summary> /// Gets and sets the property ByCompleteBefore. /// <para> /// Returns only copy jobs completed before a date expressed in Unix format and Coordinated /// Universal Time (UTC). /// </para> /// </summary> public DateTime ByCompleteBefore { get { return this._byCompleteBefore.GetValueOrDefault(); } set { this._byCompleteBefore = value; } } // Check to see if ByCompleteBefore property is set internal bool IsSetByCompleteBefore() { return this._byCompleteBefore.HasValue; } /// <summary> /// Gets and sets the property ByCreatedAfter. /// <para> /// Returns only copy jobs that were created after the specified date. /// </para> /// </summary> public DateTime ByCreatedAfter { get { return this._byCreatedAfter.GetValueOrDefault(); } set { this._byCreatedAfter = value; } } // Check to see if ByCreatedAfter property is set internal bool IsSetByCreatedAfter() { return this._byCreatedAfter.HasValue; } /// <summary> /// Gets and sets the property ByCreatedBefore. /// <para> /// Returns only copy jobs that were created before the specified date. /// </para> /// </summary> public DateTime ByCreatedBefore { get { return this._byCreatedBefore.GetValueOrDefault(); } set { this._byCreatedBefore = value; } } // Check to see if ByCreatedBefore property is set internal bool IsSetByCreatedBefore() { return this._byCreatedBefore.HasValue; } /// <summary> /// Gets and sets the property ByDestinationVaultArn. /// <para> /// An Amazon Resource Name (ARN) that uniquely identifies a source backup vault to copy /// from; for example, <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>. /// /// </para> /// </summary> public string ByDestinationVaultArn { get { return this._byDestinationVaultArn; } set { this._byDestinationVaultArn = value; } } // Check to see if ByDestinationVaultArn property is set internal bool IsSetByDestinationVaultArn() { return this._byDestinationVaultArn != null; } /// <summary> /// Gets and sets the property ByParentJobId. /// <para> /// This is a filter to list child (nested) jobs based on parent job ID. /// </para> /// </summary> public string ByParentJobId { get { return this._byParentJobId; } set { this._byParentJobId = value; } } // Check to see if ByParentJobId property is set internal bool IsSetByParentJobId() { return this._byParentJobId != null; } /// <summary> /// Gets and sets the property ByResourceArn. /// <para> /// Returns only copy jobs that match the specified resource Amazon Resource Name (ARN). /// /// </para> /// </summary> public string ByResourceArn { get { return this._byResourceArn; } set { this._byResourceArn = value; } } // Check to see if ByResourceArn property is set internal bool IsSetByResourceArn() { return this._byResourceArn != null; } /// <summary> /// Gets and sets the property ByResourceType. /// <para> /// Returns only backup jobs for the specified resources: /// </para> /// <ul> <li> /// <para> /// <code>Aurora</code> for Amazon Aurora /// </para> /// </li> <li> /// <para> /// <code>DocumentDB</code> for Amazon DocumentDB (with MongoDB compatibility) /// </para> /// </li> <li> /// <para> /// <code>DynamoDB</code> for Amazon DynamoDB /// </para> /// </li> <li> /// <para> /// <code>EBS</code> for Amazon Elastic Block Store /// </para> /// </li> <li> /// <para> /// <code>EC2</code> for Amazon Elastic Compute Cloud /// </para> /// </li> <li> /// <para> /// <code>EFS</code> for Amazon Elastic File System /// </para> /// </li> <li> /// <para> /// <code>FSx</code> for Amazon FSx /// </para> /// </li> <li> /// <para> /// <code>Neptune</code> for Amazon Neptune /// </para> /// </li> <li> /// <para> /// <code>RDS</code> for Amazon Relational Database Service /// </para> /// </li> <li> /// <para> /// <code>Storage Gateway</code> for Storage Gateway /// </para> /// </li> <li> /// <para> /// <code>S3</code> for Amazon S3 /// </para> /// </li> <li> /// <para> /// <code>VirtualMachine</code> for virtual machines /// </para> /// </li> </ul> /// </summary> public string ByResourceType { get { return this._byResourceType; } set { this._byResourceType = value; } } // Check to see if ByResourceType property is set internal bool IsSetByResourceType() { return this._byResourceType != null; } /// <summary> /// Gets and sets the property ByState. /// <para> /// Returns only copy jobs that are in the specified state. /// </para> /// </summary> public CopyJobState ByState { get { return this._byState; } set { this._byState = value; } } // Check to see if ByState property is set internal bool IsSetByState() { return this._byState != null; } /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of items to be returned. /// </para> /// </summary> [AWSProperty(Min=1, Max=1000)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next item following a partial list of returned items. For example, if a request /// is made to return maxResults number of items, NextToken allows you to return more /// items in your list starting at the location pointed to by the next token. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
325
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the ListCopyJobs operation. /// </summary> public partial class ListCopyJobsResponse : AmazonWebServiceResponse { private List<CopyJob> _copyJobs = new List<CopyJob>(); private string _nextToken; /// <summary> /// Gets and sets the property CopyJobs. /// <para> /// An array of structures containing metadata about your copy jobs returned in JSON format. /// /// </para> /// </summary> public List<CopyJob> CopyJobs { get { return this._copyJobs; } set { this._copyJobs = value; } } // Check to see if CopyJobs property is set internal bool IsSetCopyJobs() { return this._copyJobs != null && this._copyJobs.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next item following a partial list of returned items. For example, if a request /// is made to return maxResults number of items, NextToken allows you to return more /// items in your list starting at the location pointed to by the next token. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
79
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the ListFrameworks operation. /// Returns a list of all frameworks for an Amazon Web Services account and Amazon Web /// Services Region. /// </summary> public partial class ListFrameworksRequest : AmazonBackupRequest { private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The number of desired results from 1 to 1000. Optional. If unspecified, the query /// will return 1 MB of data. /// </para> /// </summary> [AWSProperty(Min=1, Max=1000)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// An identifier that was returned from the previous call to this operation, which can /// be used to return the next set of items in the list. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
81
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the ListFrameworks operation. /// </summary> public partial class ListFrameworksResponse : AmazonWebServiceResponse { private List<Framework> _frameworks = new List<Framework>(); private string _nextToken; /// <summary> /// Gets and sets the property Frameworks. /// <para> /// A list of frameworks with details for each framework, including the framework name, /// Amazon Resource Name (ARN), description, number of controls, creation time, and deployment /// status. /// </para> /// </summary> public List<Framework> Frameworks { get { return this._frameworks; } set { this._frameworks = value; } } // Check to see if Frameworks property is set internal bool IsSetFrameworks() { return this._frameworks != null && this._frameworks.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// An identifier that was returned from the previous call to this operation, which can /// be used to return the next set of items in the list. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
79
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the ListLegalHolds operation. /// This action returns metadata about active and previous legal holds. /// </summary> public partial class ListLegalHoldsRequest : AmazonBackupRequest { private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of resource list items to be returned. /// </para> /// </summary> [AWSProperty(Min=1, Max=1000)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next item following a partial list of returned resources. For example, if a request /// is made to return <code>maxResults</code> number of resources, <code>NextToken</code> /// allows you to return more items in your list starting at the location pointed to by /// the next token. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
81
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the ListLegalHolds operation. /// </summary> public partial class ListLegalHoldsResponse : AmazonWebServiceResponse { private List<LegalHold> _legalHolds = new List<LegalHold>(); private string _nextToken; /// <summary> /// Gets and sets the property LegalHolds. /// <para> /// This is an array of returned legal holds, both active and previous. /// </para> /// </summary> public List<LegalHold> LegalHolds { get { return this._legalHolds; } set { this._legalHolds = value; } } // Check to see if LegalHolds property is set internal bool IsSetLegalHolds() { return this._legalHolds != null && this._legalHolds.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next item following a partial list of returned resources. For example, if a request /// is made to return <code>maxResults</code> number of resources, <code>NextToken</code> /// allows you to return more items in your list starting at the location pointed to by /// the next token. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
79
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the ListProtectedResources operation. /// Returns an array of resources successfully backed up by Backup, including the time /// the resource was saved, an Amazon Resource Name (ARN) of the resource, and a resource /// type. /// </summary> public partial class ListProtectedResourcesRequest : AmazonBackupRequest { private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of items to be returned. /// </para> /// </summary> [AWSProperty(Min=1, Max=1000)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next item following a partial list of returned items. For example, if a request /// is made to return <code>maxResults</code> number of items, <code>NextToken</code> /// allows you to return more items in your list starting at the location pointed to by /// the next token. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
83
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the ListProtectedResources operation. /// </summary> public partial class ListProtectedResourcesResponse : AmazonWebServiceResponse { private string _nextToken; private List<ProtectedResource> _results = new List<ProtectedResource>(); /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next item following a partial list of returned items. For example, if a request /// is made to return <code>maxResults</code> number of items, <code>NextToken</code> /// allows you to return more items in your list starting at the location pointed to by /// the next token. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property Results. /// <para> /// An array of resources successfully backed up by Backup including the time the resource /// was saved, an Amazon Resource Name (ARN) of the resource, and a resource type. /// </para> /// </summary> public List<ProtectedResource> Results { get { return this._results; } set { this._results = value; } } // Check to see if Results property is set internal bool IsSetResults() { return this._results != null && this._results.Count > 0; } } }
80
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the ListRecoveryPointsByBackupVault operation. /// Returns detailed information about the recovery points stored in a backup vault. /// </summary> public partial class ListRecoveryPointsByBackupVaultRequest : AmazonBackupRequest { private string _backupVaultName; private string _byBackupPlanId; private DateTime? _byCreatedAfter; private DateTime? _byCreatedBefore; private string _byParentRecoveryPointArn; private string _byResourceArn; private string _byResourceType; private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property BackupVaultName. /// <para> /// The name of a logical container where backups are stored. Backup vaults are identified /// by names that are unique to the account used to create them and the Amazon Web Services /// Region where they are created. They consist of lowercase letters, numbers, and hyphens. /// </para> /// <note> /// <para> /// Backup vault name might not be available when a supported service creates the backup. /// </para> /// </note> /// </summary> [AWSProperty(Required=true)] public string BackupVaultName { get { return this._backupVaultName; } set { this._backupVaultName = value; } } // Check to see if BackupVaultName property is set internal bool IsSetBackupVaultName() { return this._backupVaultName != null; } /// <summary> /// Gets and sets the property ByBackupPlanId. /// <para> /// Returns only recovery points that match the specified backup plan ID. /// </para> /// </summary> public string ByBackupPlanId { get { return this._byBackupPlanId; } set { this._byBackupPlanId = value; } } // Check to see if ByBackupPlanId property is set internal bool IsSetByBackupPlanId() { return this._byBackupPlanId != null; } /// <summary> /// Gets and sets the property ByCreatedAfter. /// <para> /// Returns only recovery points that were created after the specified timestamp. /// </para> /// </summary> public DateTime ByCreatedAfter { get { return this._byCreatedAfter.GetValueOrDefault(); } set { this._byCreatedAfter = value; } } // Check to see if ByCreatedAfter property is set internal bool IsSetByCreatedAfter() { return this._byCreatedAfter.HasValue; } /// <summary> /// Gets and sets the property ByCreatedBefore. /// <para> /// Returns only recovery points that were created before the specified timestamp. /// </para> /// </summary> public DateTime ByCreatedBefore { get { return this._byCreatedBefore.GetValueOrDefault(); } set { this._byCreatedBefore = value; } } // Check to see if ByCreatedBefore property is set internal bool IsSetByCreatedBefore() { return this._byCreatedBefore.HasValue; } /// <summary> /// Gets and sets the property ByParentRecoveryPointArn. /// <para> /// This returns only recovery points that match the specified parent (composite) recovery /// point Amazon Resource Name (ARN). /// </para> /// </summary> public string ByParentRecoveryPointArn { get { return this._byParentRecoveryPointArn; } set { this._byParentRecoveryPointArn = value; } } // Check to see if ByParentRecoveryPointArn property is set internal bool IsSetByParentRecoveryPointArn() { return this._byParentRecoveryPointArn != null; } /// <summary> /// Gets and sets the property ByResourceArn. /// <para> /// Returns only recovery points that match the specified resource Amazon Resource Name /// (ARN). /// </para> /// </summary> public string ByResourceArn { get { return this._byResourceArn; } set { this._byResourceArn = value; } } // Check to see if ByResourceArn property is set internal bool IsSetByResourceArn() { return this._byResourceArn != null; } /// <summary> /// Gets and sets the property ByResourceType. /// <para> /// Returns only recovery points that match the specified resource type. /// </para> /// </summary> public string ByResourceType { get { return this._byResourceType; } set { this._byResourceType = value; } } // Check to see if ByResourceType property is set internal bool IsSetByResourceType() { return this._byResourceType != null; } /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of items to be returned. /// </para> /// </summary> [AWSProperty(Min=1, Max=1000)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next item following a partial list of returned items. For example, if a request /// is made to return <code>maxResults</code> number of items, <code>NextToken</code> /// allows you to return more items in your list starting at the location pointed to by /// the next token. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
224
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the ListRecoveryPointsByBackupVault operation. /// </summary> public partial class ListRecoveryPointsByBackupVaultResponse : AmazonWebServiceResponse { private string _nextToken; private List<RecoveryPointByBackupVault> _recoveryPoints = new List<RecoveryPointByBackupVault>(); /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next item following a partial list of returned items. For example, if a request /// is made to return <code>maxResults</code> number of items, <code>NextToken</code> /// allows you to return more items in your list starting at the location pointed to by /// the next token. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property RecoveryPoints. /// <para> /// An array of objects that contain detailed information about recovery points saved /// in a backup vault. /// </para> /// </summary> public List<RecoveryPointByBackupVault> RecoveryPoints { get { return this._recoveryPoints; } set { this._recoveryPoints = value; } } // Check to see if RecoveryPoints property is set internal bool IsSetRecoveryPoints() { return this._recoveryPoints != null && this._recoveryPoints.Count > 0; } } }
80
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the ListRecoveryPointsByLegalHold operation. /// This action returns recovery point ARNs (Amazon Resource Names) of the specified legal /// hold. /// </summary> public partial class ListRecoveryPointsByLegalHoldRequest : AmazonBackupRequest { private string _legalHoldId; private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property LegalHoldId. /// <para> /// This is the ID of the legal hold. /// </para> /// </summary> [AWSProperty(Required=true)] public string LegalHoldId { get { return this._legalHoldId; } set { this._legalHoldId = value; } } // Check to see if LegalHoldId property is set internal bool IsSetLegalHoldId() { return this._legalHoldId != null; } /// <summary> /// Gets and sets the property MaxResults. /// <para> /// This is the maximum number of resource list items to be returned. /// </para> /// </summary> [AWSProperty(Min=1, Max=1000)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// This is the next item following a partial list of returned resources. For example, /// if a request is made to return <code>maxResults</code> number of resources, <code>NextToken</code> /// allows you to return more items in your list starting at the location pointed to by /// the next token. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
102
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the ListRecoveryPointsByLegalHold operation. /// </summary> public partial class ListRecoveryPointsByLegalHoldResponse : AmazonWebServiceResponse { private string _nextToken; private List<RecoveryPointMember> _recoveryPoints = new List<RecoveryPointMember>(); /// <summary> /// Gets and sets the property NextToken. /// <para> /// This return is the next item following a partial list of returned resources. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property RecoveryPoints. /// <para> /// This is a list of the recovery points returned by <code>ListRecoveryPointsByLegalHold</code>. /// </para> /// </summary> public List<RecoveryPointMember> RecoveryPoints { get { return this._recoveryPoints; } set { this._recoveryPoints = value; } } // Check to see if RecoveryPoints property is set internal bool IsSetRecoveryPoints() { return this._recoveryPoints != null && this._recoveryPoints.Count > 0; } } }
76
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// Container for the parameters to the ListRecoveryPointsByResource operation. /// Returns detailed information about all the recovery points of the type specified by /// a resource Amazon Resource Name (ARN). /// /// <note> /// <para> /// For Amazon EFS and Amazon EC2, this action only lists recovery points created by Backup. /// </para> /// </note> /// </summary> public partial class ListRecoveryPointsByResourceRequest : AmazonBackupRequest { private int? _maxResults; private string _nextToken; private string _resourceArn; /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of items to be returned. /// </para> /// <note> /// <para> /// Amazon RDS requires a value of at least 20. /// </para> /// </note> /// </summary> [AWSProperty(Min=1, Max=1000)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next item following a partial list of returned items. For example, if a request /// is made to return <code>maxResults</code> number of items, <code>NextToken</code> /// allows you to return more items in your list starting at the location pointed to by /// the next token. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property ResourceArn. /// <para> /// An ARN that uniquely identifies a resource. The format of the ARN depends on the resource /// type. /// </para> /// </summary> [AWSProperty(Required=true)] public string ResourceArn { get { return this._resourceArn; } set { this._resourceArn = value; } } // Check to see if ResourceArn property is set internal bool IsSetResourceArn() { return this._resourceArn != null; } } }
114
aws-sdk-net
aws
C#
/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Backup.Model { /// <summary> /// This is the response object from the ListRecoveryPointsByResource operation. /// </summary> public partial class ListRecoveryPointsByResourceResponse : AmazonWebServiceResponse { private string _nextToken; private List<RecoveryPointByResource> _recoveryPoints = new List<RecoveryPointByResource>(); /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next item following a partial list of returned items. For example, if a request /// is made to return <code>maxResults</code> number of items, <code>NextToken</code> /// allows you to return more items in your list starting at the location pointed to by /// the next token. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property RecoveryPoints. /// <para> /// An array of objects that contain detailed information about recovery points of the /// specified resource type. /// </para> /// <note> /// <para> /// Only Amazon EFS and Amazon EC2 recovery points return BackupVaultName. /// </para> /// </note> /// </summary> public List<RecoveryPointByResource> RecoveryPoints { get { return this._recoveryPoints; } set { this._recoveryPoints = value; } } // Check to see if RecoveryPoints property is set internal bool IsSetRecoveryPoints() { return this._recoveryPoints != null && this._recoveryPoints.Count > 0; } } }
85