/** * 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 Inspector2 { namespace Model { class DisassociateMemberResult { public: AWS_INSPECTOR2_API DisassociateMemberResult(); AWS_INSPECTOR2_API DisassociateMemberResult(const Aws::AmazonWebServiceResult& result); AWS_INSPECTOR2_API DisassociateMemberResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Web Services account ID of the successfully disassociated * member.

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

The Amazon Web Services account ID of the successfully disassociated * member.

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

The Amazon Web Services account ID of the successfully disassociated * member.

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

The Amazon Web Services account ID of the successfully disassociated * member.

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

The Amazon Web Services account ID of the successfully disassociated * member.

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

The Amazon Web Services account ID of the successfully disassociated * member.

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

The Amazon Web Services account ID of the successfully disassociated * member.

*/ inline DisassociateMemberResult& WithAccountId(const char* value) { SetAccountId(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DisassociateMemberResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DisassociateMemberResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DisassociateMemberResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_accountId; Aws::String m_requestId; }; } // namespace Model } // namespace Inspector2 } // namespace Aws