/* * 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 macie2-2020-01-01.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.Macie2.Model { /// /// Container for the parameters to the AcceptInvitation operation. /// Accepts an Amazon Macie membership invitation that was received from a specific account. /// public partial class AcceptInvitationRequest : AmazonMacie2Request { private string _administratorAccountId; private string _invitationId; private string _masterAccount; /// /// Gets and sets the property AdministratorAccountId. /// /// The Amazon Web Services account ID for the account that sent the invitation. /// /// public string AdministratorAccountId { get { return this._administratorAccountId; } set { this._administratorAccountId = value; } } // Check to see if AdministratorAccountId property is set internal bool IsSetAdministratorAccountId() { return this._administratorAccountId != null; } /// /// Gets and sets the property InvitationId. /// /// The unique identifier for the invitation to accept. /// /// [AWSProperty(Required=true)] public string InvitationId { get { return this._invitationId; } set { this._invitationId = value; } } // Check to see if InvitationId property is set internal bool IsSetInvitationId() { return this._invitationId != null; } /// /// Gets and sets the property MasterAccount. /// /// (Deprecated) The Amazon Web Services account ID for the account that sent the invitation. /// This property has been replaced by the administratorAccountId property and is retained /// only for backward compatibility. /// /// public string MasterAccount { get { return this._masterAccount; } set { this._masterAccount = value; } } // Check to see if MasterAccount property is set internal bool IsSetMasterAccount() { return this._masterAccount != null; } } }