/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Detective { namespace Model { /** *

An Amazon Web Services account that is the administrator account of or a * member of a behavior graph.

See Also:

AWS * API Reference

*/ class Account { public: AWS_DETECTIVE_API Account(); AWS_DETECTIVE_API Account(Aws::Utils::Json::JsonView jsonValue); AWS_DETECTIVE_API Account& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The account identifier of the Amazon Web Services account.

*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *

The account identifier of the Amazon Web Services account.

*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *

The account identifier of the Amazon Web Services account.

*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *

The account identifier of the Amazon Web Services account.

*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *

The account identifier of the Amazon Web Services account.

*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *

The account identifier of the Amazon Web Services account.

*/ inline Account& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *

The account identifier of the Amazon Web Services account.

*/ inline Account& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *

The account identifier of the Amazon Web Services account.

*/ inline Account& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *

The Amazon Web Services account root user email address for the Amazon Web * Services account.

*/ inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; } /** *

The Amazon Web Services account root user email address for the Amazon Web * Services account.

*/ inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; } /** *

The Amazon Web Services account root user email address for the Amazon Web * Services account.

*/ inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; } /** *

The Amazon Web Services account root user email address for the Amazon Web * Services account.

*/ inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); } /** *

The Amazon Web Services account root user email address for the Amazon Web * Services account.

*/ inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); } /** *

The Amazon Web Services account root user email address for the Amazon Web * Services account.

*/ inline Account& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;} /** *

The Amazon Web Services account root user email address for the Amazon Web * Services account.

*/ inline Account& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;} /** *

The Amazon Web Services account root user email address for the Amazon Web * Services account.

*/ inline Account& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_emailAddress; bool m_emailAddressHasBeenSet = false; }; } // namespace Model } // namespace Detective } // namespace Aws