/* * 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 keyspaces-2022-02-10.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.Keyspaces.Model { /// /// The replication specification of the keyspace includes: /// /// /// public partial class ReplicationSpecification { private List _regionList = new List(); private Rs _replicationStrategy; /// /// Gets and sets the property RegionList. /// /// The regionList can contain up to six Amazon Web Services Regions where /// the keyspace is replicated in. /// /// [AWSProperty(Min=2, Max=6)] public List RegionList { get { return this._regionList; } set { this._regionList = value; } } // Check to see if RegionList property is set internal bool IsSetRegionList() { return this._regionList != null && this._regionList.Count > 0; } /// /// Gets and sets the property ReplicationStrategy. /// /// The replicationStrategy of a keyspace, the required value is SINGLE_REGION /// or MULTI_REGION. /// /// [AWSProperty(Required=true, Min=1, Max=20)] public Rs ReplicationStrategy { get { return this._replicationStrategy; } set { this._replicationStrategy = value; } } // Check to see if ReplicationStrategy property is set internal bool IsSetReplicationStrategy() { return this._replicationStrategy != null; } } }