/*
* 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 servicecatalog-appregistry-2020-06-24.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.AppRegistry.Model
{
///
/// Container for the parameters to the UpdateAttributeGroup operation.
/// Updates an existing attribute group with new details.
///
public partial class UpdateAttributeGroupRequest : AmazonAppRegistryRequest
{
private string _attributeGroup;
private string _attributes;
private string _description;
private string _name;
///
/// Gets and sets the property AttributeGroup.
///
/// The name, ID, or ARN of the attribute group that holds the attributes to describe
/// the application.
///
///
[AWSProperty(Required=true, Min=1, Max=512)]
public string AttributeGroup
{
get { return this._attributeGroup; }
set { this._attributeGroup = value; }
}
// Check to see if AttributeGroup property is set
internal bool IsSetAttributeGroup()
{
return this._attributeGroup != null;
}
///
/// Gets and sets the property Attributes.
///
/// A JSON string in the form of nested key-value pairs that represent the attributes
/// in the group and describes an application and its components.
///
///
[AWSProperty(Min=1, Max=8000)]
public string Attributes
{
get { return this._attributes; }
set { this._attributes = value; }
}
// Check to see if Attributes property is set
internal bool IsSetAttributes()
{
return this._attributes != null;
}
///
/// Gets and sets the property Description.
///
/// The description of the attribute group that the user provides.
///
///
[AWSProperty(Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property Name.
///
/// Deprecated: The new name of the attribute group. The name must be unique in the region
/// in which you are updating the attribute group. Please do not use this field as we
/// have stopped supporting name updates.
///
///
[Obsolete("Name update for attribute group is deprecated.")]
[AWSProperty(Min=1, Max=256)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
}
}