/* * 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 { /// /// Container for the parameters to the UpdateConfigurationProfile operation. /// Updates a configuration profile. /// public partial class UpdateConfigurationProfileRequest : AmazonAppConfigRequest { private string _applicationId; private string _configurationProfileId; private string _description; private string _name; private string _retrievalRoleArn; private List _validators = new List(); /// /// Gets and sets the property ApplicationId. /// /// The application ID. /// /// [AWSProperty(Required=true)] 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 ConfigurationProfileId. /// /// The ID of the configuration profile. /// /// [AWSProperty(Required=true)] public string ConfigurationProfileId { get { return this._configurationProfileId; } set { this._configurationProfileId = value; } } // Check to see if ConfigurationProfileId property is set internal bool IsSetConfigurationProfileId() { return this._configurationProfileId != null; } /// /// Gets and sets the property Description. /// /// A description of the configuration profile. /// /// [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 Name. /// /// The name of the configuration profile. /// /// [AWSProperty(Min=1, Max=64)] 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 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; } } }