/*
* 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
{
///
/// Information about a cell.
///
public partial class CellOutput
{
private string _cellArn;
private string _cellName;
private List _cells = new List();
private List _parentReadinessScopes = new List();
private Dictionary _tags = new Dictionary();
///
/// Gets and sets the property CellArn.
///
/// The Amazon Resource Name (ARN) for the cell.
///
///
[AWSProperty(Required=true, Max=256)]
public string CellArn
{
get { return this._cellArn; }
set { this._cellArn = value; }
}
// Check to see if CellArn property is set
internal bool IsSetCellArn()
{
return this._cellArn != null;
}
///
/// Gets and sets the property CellName.
///
/// The name of the cell.
///
///
[AWSProperty(Required=true, Max=64)]
public string CellName
{
get { return this._cellName; }
set { this._cellName = value; }
}
// Check to see if CellName property is set
internal bool IsSetCellName()
{
return this._cellName != null;
}
///
/// Gets and sets the property Cells.
///
/// A list of cell ARNs.
///
///
[AWSProperty(Required=true)]
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 ParentReadinessScopes.
///
/// The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or
/// a recovery group ARN. This is a list but currently can have only one element.
///
///
[AWSProperty(Required=true)]
public List ParentReadinessScopes
{
get { return this._parentReadinessScopes; }
set { this._parentReadinessScopes = value; }
}
// Check to see if ParentReadinessScopes property is set
internal bool IsSetParentReadinessScopes()
{
return this._parentReadinessScopes != null && this._parentReadinessScopes.Count > 0;
}
///
/// Gets and sets the property Tags.
///
/// Tags on the resources.
///
///
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;
}
}
}