/* * 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 ecs-2014-11-13.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.ECS.Model { /// /// Container for the parameters to the DeleteAccountSetting operation. /// Disables an account setting for a specified user, role, or the root user for an account. /// public partial class DeleteAccountSettingRequest : AmazonECSRequest { private SettingName _name; private string _principalArn; /// /// Gets and sets the property Name. /// /// The resource name to disable the account setting for. If serviceLongArnFormat /// is specified, the ARN for your Amazon ECS services is affected. If taskLongArnFormat /// is specified, the ARN and resource ID for your Amazon ECS tasks is affected. If containerInstanceLongArnFormat /// is specified, the ARN and resource ID for your Amazon ECS container instances is affected. /// If awsvpcTrunking is specified, the ENI limit for your Amazon ECS container /// instances is affected. /// /// [AWSProperty(Required=true)] public SettingName 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 PrincipalArn. /// /// The Amazon Resource Name (ARN) of the principal. It can be an user, role, or the root /// user. If you specify the root user, it disables the account setting for all users, /// roles, and the root user of the account unless a user or role explicitly overrides /// these settings. If this field is omitted, the setting is changed only for the authenticated /// user. /// /// public string PrincipalArn { get { return this._principalArn; } set { this._principalArn = value; } } // Check to see if PrincipalArn property is set internal bool IsSetPrincipalArn() { return this._principalArn != null; } } }