/** * 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 { /** *

(Discontinued) Contains information about the Amazon Macie Classic member * account.

See Also:

AWS * API Reference

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

(Discontinued) The Amazon Web Services account ID of the Amazon Macie Classic * member account.

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

(Discontinued) The Amazon Web Services account ID of the Amazon Macie Classic * member account.

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

(Discontinued) The Amazon Web Services account ID of the Amazon Macie Classic * member account.

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

(Discontinued) The Amazon Web Services account ID of the Amazon Macie Classic * member account.

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

(Discontinued) The Amazon Web Services account ID of the Amazon Macie Classic * member account.

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

(Discontinued) The Amazon Web Services account ID of the Amazon Macie Classic * member account.

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

(Discontinued) The Amazon Web Services account ID of the Amazon Macie Classic * member account.

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

(Discontinued) The Amazon Web Services 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 = false; }; } // namespace Model } // namespace Macie } // namespace Aws