/*
* 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 appconfig-2019-10-09.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.AppConfig.Model
{
///
/// This is the response object from the CreateExtensionAssociation operation.
///
public partial class CreateExtensionAssociationResponse : AmazonWebServiceResponse
{
private string _arn;
private string _extensionArn;
private int? _extensionVersionNumber;
private string _id;
private Dictionary _parameters = new Dictionary();
private string _resourceArn;
///
/// Gets and sets the property Arn.
///
/// The system-generated Amazon Resource Name (ARN) for the extension.
///
///
[AWSProperty(Min=20, Max=2048)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
///
/// Gets and sets the property ExtensionArn.
///
/// The ARN of the extension defined in the association.
///
///
[AWSProperty(Min=20, Max=2048)]
public string ExtensionArn
{
get { return this._extensionArn; }
set { this._extensionArn = value; }
}
// Check to see if ExtensionArn property is set
internal bool IsSetExtensionArn()
{
return this._extensionArn != null;
}
///
/// Gets and sets the property ExtensionVersionNumber.
///
/// The version number for the extension defined in the association.
///
///
public int ExtensionVersionNumber
{
get { return this._extensionVersionNumber.GetValueOrDefault(); }
set { this._extensionVersionNumber = value; }
}
// Check to see if ExtensionVersionNumber property is set
internal bool IsSetExtensionVersionNumber()
{
return this._extensionVersionNumber.HasValue;
}
///
/// Gets and sets the property Id.
///
/// The system-generated ID for the association.
///
///
[AWSProperty(Min=1, Max=2048)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
///
/// Gets and sets the property Parameters.
///
/// The parameter names and values defined in the association.
///
///
[AWSProperty(Min=0, Max=5)]
public Dictionary Parameters
{
get { return this._parameters; }
set { this._parameters = value; }
}
// Check to see if Parameters property is set
internal bool IsSetParameters()
{
return this._parameters != null && this._parameters.Count > 0;
}
///
/// Gets and sets the property ResourceArn.
///
/// The ARNs of applications, configuration profiles, or environments defined in the association.
///
///
[AWSProperty(Min=20, Max=2048)]
public string ResourceArn
{
get { return this._resourceArn; }
set { this._resourceArn = value; }
}
// Check to see if ResourceArn property is set
internal bool IsSetResourceArn()
{
return this._resourceArn != null;
}
}
}