/*
* 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 ssm-2014-11-06.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.SimpleSystemsManagement.Model
{
///
/// Container for the parameters to the UpdateOpsMetadata operation.
/// Amazon Web Services Systems Manager calls this API operation when you edit OpsMetadata
/// in Application Manager.
///
public partial class UpdateOpsMetadataRequest : AmazonSimpleSystemsManagementRequest
{
private List _keysToDelete = new List();
private Dictionary _metadataToUpdate = new Dictionary();
private string _opsMetadataArn;
///
/// Gets and sets the property KeysToDelete.
///
/// The metadata keys to delete from the OpsMetadata object.
///
///
[AWSProperty(Min=1, Max=10)]
public List KeysToDelete
{
get { return this._keysToDelete; }
set { this._keysToDelete = value; }
}
// Check to see if KeysToDelete property is set
internal bool IsSetKeysToDelete()
{
return this._keysToDelete != null && this._keysToDelete.Count > 0;
}
///
/// Gets and sets the property MetadataToUpdate.
///
/// Metadata to add to an OpsMetadata object.
///
///
[AWSProperty(Min=1, Max=5)]
public Dictionary MetadataToUpdate
{
get { return this._metadataToUpdate; }
set { this._metadataToUpdate = value; }
}
// Check to see if MetadataToUpdate property is set
internal bool IsSetMetadataToUpdate()
{
return this._metadataToUpdate != null && this._metadataToUpdate.Count > 0;
}
///
/// Gets and sets the property OpsMetadataArn.
///
/// The Amazon Resource Name (ARN) of the OpsMetadata Object to update.
///
///
[AWSProperty(Required=true, Min=1, Max=1011)]
public string OpsMetadataArn
{
get { return this._opsMetadataArn; }
set { this._opsMetadataArn = value; }
}
// Check to see if OpsMetadataArn property is set
internal bool IsSetOpsMetadataArn()
{
return this._opsMetadataArn != null;
}
}
}