/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Macie2 { namespace Model { class AWS_MACIE2_API CreateMemberResult { public: CreateMemberResult(); CreateMemberResult(const Aws::AmazonWebServiceResult& result); CreateMemberResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the account that was associated with the * master account.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the account that was associated with the * master account.

*/ inline void SetArn(const Aws::String& value) { m_arn = value; } /** *

The Amazon Resource Name (ARN) of the account that was associated with the * master account.

*/ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the account that was associated with the * master account.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the account that was associated with the * master account.

*/ inline CreateMemberResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the account that was associated with the * master account.

*/ inline CreateMemberResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the account that was associated with the * master account.

*/ inline CreateMemberResult& WithArn(const char* value) { SetArn(value); return *this;} private: Aws::String m_arn; }; } // namespace Model } // namespace Macie2 } // namespace Aws