/** * 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 Macie { namespace Model { /** *

Contains information about the Amazon Macie Classic member * account.

See Also:

AWS * API Reference

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

The AWS account ID of the Amazon Macie Classic member account.

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

The AWS account ID of the Amazon Macie Classic member account.

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

The AWS account ID of the Amazon Macie Classic member account.

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

The AWS account ID of the Amazon Macie Classic member account.

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

The AWS account ID of the Amazon Macie Classic member account.

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

The AWS account ID of the Amazon Macie Classic member account.

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

The AWS account ID of the Amazon Macie Classic member account.

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

The AWS account ID of the Amazon Macie Classic member account.

*/ inline MemberAccount& WithAccountId(const char* value) { SetAccountId(value); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet; }; } // namespace Model } // namespace Macie } // namespace Aws