/* * 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 { /// <summary> /// A summary of a configuration profile. /// </summary> public partial class ConfigurationProfileSummary { private string _applicationId; private string _id; private string _locationUri; private string _name; private string _type; private List<string> _validatorTypes = new List<string>(); /// <summary> /// Gets and sets the property ApplicationId. /// <para> /// The application ID. /// </para> /// </summary> 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; } /// <summary> /// Gets and sets the property Id. /// <para> /// The ID of the configuration profile. /// </para> /// </summary> 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; } /// <summary> /// Gets and sets the property LocationUri. /// <para> /// The URI location of the configuration. /// </para> /// </summary> [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; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the configuration profile. /// </para> /// </summary> [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; } /// <summary> /// Gets and sets the property Type. /// <para> /// The type of configurations contained in the profile. AppConfig supports <code>feature /// flags</code> and <code>freeform</code> 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 <code>Type</code>: /// </para> /// /// <para> /// <code>AWS.AppConfig.FeatureFlags</code> /// </para> /// /// <para> /// <code>AWS.Freeform</code> /// </para> /// </summary> 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; } /// <summary> /// Gets and sets the property ValidatorTypes. /// <para> /// The types of validators in the configuration profile. /// </para> /// </summary> [AWSProperty(Min=0, Max=2)] public List<string> ValidatorTypes { get { return this._validatorTypes; } set { this._validatorTypes = value; } } // Check to see if ValidatorTypes property is set internal bool IsSetValidatorTypes() { return this._validatorTypes != null && this._validatorTypes.Count > 0; } } }