/*
* 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 UpdateConfigurationProfile operation.
///
public partial class UpdateConfigurationProfileResponse : AmazonWebServiceResponse
{
private string _applicationId;
private string _description;
private string _id;
private string _locationUri;
private string _name;
private string _retrievalRoleArn;
private string _type;
private List _validators = new List();
///
/// Gets and sets the property ApplicationId.
///
/// The application ID.
///
///
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
///
/// Gets and sets the property Description.
///
/// The configuration profile description.
///
///
[AWSProperty(Min=0, 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 Id.
///
/// The configuration profile ID.
///
///
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 LocationUri.
///
/// The URI location of the configuration.
///
///
[AWSProperty(Min=1, Max=2048)]
public string LocationUri
{
get { return this._locationUri; }
set { this._locationUri = value; }
}
// Check to see if LocationUri property is set
internal bool IsSetLocationUri()
{
return this._locationUri != null;
}
///
/// Gets and sets the property Name.
///
/// The name of the configuration profile.
///
///
[AWSProperty(Min=1, Max=128)]
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;
}
///
/// Gets and sets the property RetrievalRoleArn.
///
/// The ARN of an IAM role with permission to access the configuration at the specified
/// LocationUri
.
///
///
[AWSProperty(Min=20, Max=2048)]
public string RetrievalRoleArn
{
get { return this._retrievalRoleArn; }
set { this._retrievalRoleArn = value; }
}
// Check to see if RetrievalRoleArn property is set
internal bool IsSetRetrievalRoleArn()
{
return this._retrievalRoleArn != null;
}
///
/// Gets and sets the property Type.
///
/// The type of configurations contained in the profile. AppConfig supports feature
/// flags
and freeform
configurations. We recommend you create feature
/// flag configurations to enable or disable new features and freeform configurations
/// to distribute configurations to an application. When calling this API, enter one of
/// the following values for Type
:
///
///
///
/// AWS.AppConfig.FeatureFlags
///
///
///
/// AWS.Freeform
///
///
public string Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
///
/// Gets and sets the property Validators.
///
/// A list of methods for validating the configuration.
///
///
[AWSProperty(Min=0, Max=2)]
public List Validators
{
get { return this._validators; }
set { this._validators = value; }
}
// Check to see if Validators property is set
internal bool IsSetValidators()
{
return this._validators != null && this._validators.Count > 0;
}
}
}