/* * 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 organizations-2016-11-28.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.Organizations.Model { /// /// Contains additional data that is needed to process a handshake. /// public partial class HandshakeResource { private List _resources = new List(); private HandshakeResourceType _type; private string _value; /// /// Gets and sets the property Resources. /// /// When needed, contains an additional array of HandshakeResource objects. /// /// public List Resources { get { return this._resources; } set { this._resources = value; } } // Check to see if Resources property is set internal bool IsSetResources() { return this._resources != null && this._resources.Count > 0; } /// /// Gets and sets the property Type. /// /// The type of information being passed, specifying how the value is to be interpreted /// by the other party: /// ///
  • /// /// ACCOUNT - Specifies an Amazon Web Services account ID number. /// ///
  • /// /// ORGANIZATION - Specifies an organization ID number. /// ///
  • /// /// EMAIL - Specifies the email address that is associated with the account /// that receives the handshake. /// ///
  • /// /// OWNER_EMAIL - Specifies the email address associated with the management /// account. Included as information about an organization. /// ///
  • /// /// OWNER_NAME - Specifies the name associated with the management account. /// Included as information about an organization. /// ///
  • /// /// NOTES - Additional text provided by the handshake initiator and intended /// for the recipient to read. /// ///
///
public HandshakeResourceType Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } /// /// Gets and sets the property Value. /// /// The information that is passed to the other party in the handshake. The format of /// the value string must match the requirements of the specified type. /// /// [AWSProperty(Sensitive=true)] public string Value { get { return this._value; } set { this._value = value; } } // Check to see if Value property is set internal bool IsSetValue() { return this._value != null; } } }