/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The wrapper of Amazon Web Services account details, such as account ID or
* email address. See Also:
AWS
* API Reference
The identifier for the Amazon Web Services account.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The identifier for the Amazon Web Services account.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The identifier for the Amazon Web Services account.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The identifier for the Amazon Web Services account.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The identifier for the Amazon Web Services account.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The identifier for the Amazon Web Services account.
*/ inline AWSAccount& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The identifier for the Amazon Web Services account.
*/ inline AWSAccount& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The identifier for the Amazon Web Services account.
*/ inline AWSAccount& WithId(const char* value) { SetId(value); return *this;} /** *The email address that's associated with the Amazon Web Services account. *
*/ inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; } /** *The email address that's associated with the Amazon Web Services account. *
*/ inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; } /** *The email address that's associated with the Amazon Web Services account. *
*/ inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; } /** *The email address that's associated with the Amazon Web Services account. *
*/ inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); } /** *The email address that's associated with the Amazon Web Services account. *
*/ inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); } /** *The email address that's associated with the Amazon Web Services account. *
*/ inline AWSAccount& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;} /** *The email address that's associated with the Amazon Web Services account. *
*/ inline AWSAccount& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;} /** *The email address that's associated with the Amazon Web Services account. *
*/ inline AWSAccount& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;} /** *The name of the Amazon Web Services account.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the Amazon Web Services account.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the Amazon Web Services account.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the Amazon Web Services account.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the Amazon Web Services account.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the Amazon Web Services account.
*/ inline AWSAccount& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the Amazon Web Services account.
*/ inline AWSAccount& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the Amazon Web Services account.
*/ inline AWSAccount& WithName(const char* value) { SetName(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_emailAddress; bool m_emailAddressHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws