/*
* Copyright 2010-2014 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 dynamodb-2012-08-10.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.DynamoDBv2.Model
{
///
/// Represents one of the following:
///
/// -
///
/// A new replica to be added to an existing global table.
///
///
-
///
/// New parameters for an existing replica.
///
///
-
///
/// An existing replica to be removed from an existing global table.
///
///
///
public partial class ReplicaUpdate
{
private CreateReplicaAction _create;
private DeleteReplicaAction _delete;
///
/// Gets and sets the property Create.
///
/// The parameters required for creating a replica on an existing global table.
///
///
public CreateReplicaAction Create
{
get { return this._create; }
set { this._create = value; }
}
// Check to see if Create property is set
internal bool IsSetCreate()
{
return this._create != null;
}
///
/// Gets and sets the property Delete.
///
/// The name of the existing replica to be removed.
///
///
public DeleteReplicaAction Delete
{
get { return this._delete; }
set { this._delete = value; }
}
// Check to see if Delete property is set
internal bool IsSetDelete()
{
return this._delete != null;
}
}
}