/* * 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 resource-groups-2017-11-27.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.ResourceGroups.Model { /// /// Container for the parameters to the PutGroupConfiguration operation. /// Attaches a service configuration to the specified group. This occurs asynchronously, /// and can take time to complete. You can use GetGroupConfiguration to check the /// status of the update. /// /// /// /// Minimum permissions /// /// /// /// To run this command, you must have the following permissions: /// /// /// public partial class PutGroupConfigurationRequest : AmazonResourceGroupsRequest { private List _configuration = new List(); private string _group; /// /// Gets and sets the property Configuration. /// /// The new configuration to associate with the specified group. A configuration associates /// the resource group with an Amazon Web Services service and specifies how the service /// can interact with the resources in the group. A configuration is an array of GroupConfigurationItem /// elements. /// /// /// /// For information about the syntax of a service configuration, see Service /// configurations for Resource Groups. /// /// /// /// A resource group can contain either a Configuration or a ResourceQuery, /// but not both. /// /// /// [AWSProperty(Max=2)] public List Configuration { get { return this._configuration; } set { this._configuration = value; } } // Check to see if Configuration property is set internal bool IsSetConfiguration() { return this._configuration != null && this._configuration.Count > 0; } /// /// Gets and sets the property Group. /// /// The name or ARN of the resource group with the configuration that you want to update. /// /// [AWSProperty(Min=1, Max=1600)] public string Group { get { return this._group; } set { this._group = value; } } // Check to see if Group property is set internal bool IsSetGroup() { return this._group != null; } } }