/*
* 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 memorydb-2021-01-01.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.MemoryDB.Model
{
///
/// Container for the parameters to the BatchUpdateCluster operation.
/// Apply the service update to a list of clusters supplied. For more information on service
/// updates and applying them, see Applying
/// the service updates.
///
public partial class BatchUpdateClusterRequest : AmazonMemoryDBRequest
{
private List _clusterNames = new List();
private ServiceUpdateRequest _serviceUpdate;
///
/// Gets and sets the property ClusterNames.
///
/// The cluster names to apply the updates.
///
///
[AWSProperty(Required=true, Max=20)]
public List ClusterNames
{
get { return this._clusterNames; }
set { this._clusterNames = value; }
}
// Check to see if ClusterNames property is set
internal bool IsSetClusterNames()
{
return this._clusterNames != null && this._clusterNames.Count > 0;
}
///
/// Gets and sets the property ServiceUpdate.
///
/// The unique ID of the service update
///
///
public ServiceUpdateRequest ServiceUpdate
{
get { return this._serviceUpdate; }
set { this._serviceUpdate = value; }
}
// Check to see if ServiceUpdate property is set
internal bool IsSetServiceUpdate()
{
return this._serviceUpdate != null;
}
}
}