/* * 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 route53-recovery-readiness-2019-12-02.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.Route53RecoveryReadiness.Model { /// /// Container for the parameters to the CreateRecoveryGroup operation. /// Creates a recovery group in an account. A recovery group corresponds to an application /// and includes a list of the cells that make up the application. /// public partial class CreateRecoveryGroupRequest : AmazonRoute53RecoveryReadinessRequest { private List _cells = new List(); private string _recoveryGroupName; private Dictionary _tags = new Dictionary(); /// /// Gets and sets the property Cells. /// /// A list of the cell Amazon Resource Names (ARNs) in the recovery group. /// /// public List Cells { get { return this._cells; } set { this._cells = value; } } // Check to see if Cells property is set internal bool IsSetCells() { return this._cells != null && this._cells.Count > 0; } /// /// Gets and sets the property RecoveryGroupName. /// /// The name of the recovery group to create. /// /// [AWSProperty(Required=true)] public string RecoveryGroupName { get { return this._recoveryGroupName; } set { this._recoveryGroupName = value; } } // Check to see if RecoveryGroupName property is set internal bool IsSetRecoveryGroupName() { return this._recoveryGroupName != null; } /// /// Gets and sets the property Tags. /// public Dictionary Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }