/*
* 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 account-2021-02-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.Account.Model
{
///
/// Container for the parameters to the GetContactInformation operation.
/// Retrieves the primary contact information of an Amazon Web Services account.
///
///
///
/// For complete details about how to use the primary contact operations, see Update
/// the primary and alternate contact information.
///
///
public partial class GetContactInformationRequest : AmazonAccountRequest
{
private string _accountId;
///
/// Gets and sets the property AccountId.
///
/// Specifies the 12-digit account ID number of the Amazon Web Services account that you
/// want to access or modify with this operation. If you don't specify this parameter,
/// it defaults to the Amazon Web Services account of the identity used to call the operation.
/// To use this parameter, the caller must be an identity in the organization's
/// management account or a delegated administrator account. The specified account
/// ID must also be a member account in the same organization. The organization must have
/// all
/// features enabled, and the organization must have trusted
/// access enabled for the Account Management service, and optionally a delegated
/// admin account assigned.
///
///
///
/// The management account can't specify its own AccountId
. It must call
/// the operation in standalone context by not including the AccountId
parameter.
///
///
///
/// To call this operation on an account that is not a member of an organization, don't
/// specify this parameter. Instead, call the operation using an identity belonging to
/// the account whose contacts you wish to retrieve or modify.
///
///
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;
}
}
}