/* * 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 servicecatalog-2015-12-10.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.ServiceCatalog.Model { /// <summary> /// Container for the parameters to the DeletePortfolioShare operation. /// Stops sharing the specified portfolio with the specified account or organization node. /// Shares to an organization node can only be deleted by the management account of an /// organization or by a delegated administrator. /// /// /// <para> /// Note that if a delegated admin is de-registered, portfolio shares created from that /// account are removed. /// </para> /// </summary> public partial class DeletePortfolioShareRequest : AmazonServiceCatalogRequest { private string _acceptLanguage; private string _accountId; private OrganizationNode _organizationNode; private string _portfolioId; /// <summary> /// Gets and sets the property AcceptLanguage. /// <para> /// The language code. /// </para> /// <ul> <li> /// <para> /// <code>jp</code> - Japanese /// </para> /// </li> <li> /// <para> /// <code>zh</code> - Chinese /// </para> /// </li> </ul> /// </summary> [AWSProperty(Max=100)] public string AcceptLanguage { get { return this._acceptLanguage; } set { this._acceptLanguage = value; } } // Check to see if AcceptLanguage property is set internal bool IsSetAcceptLanguage() { return this._acceptLanguage != null; } /// <summary> /// Gets and sets the property AccountId. /// <para> /// The Amazon Web Services account ID. /// </para> /// </summary> public string AccountId { get { return this._accountId; } set { this._accountId = value; } } // Check to see if AccountId property is set internal bool IsSetAccountId() { return this._accountId != null; } /// <summary> /// Gets and sets the property OrganizationNode. /// <para> /// The organization node to whom you are going to stop sharing. /// </para> /// </summary> public OrganizationNode OrganizationNode { get { return this._organizationNode; } set { this._organizationNode = value; } } // Check to see if OrganizationNode property is set internal bool IsSetOrganizationNode() { return this._organizationNode != null; } /// <summary> /// Gets and sets the property PortfolioId. /// <para> /// The portfolio identifier. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=100)] public string PortfolioId { get { return this._portfolioId; } set { this._portfolioId = value; } } // Check to see if PortfolioId property is set internal bool IsSetPortfolioId() { return this._portfolioId != null; } } }