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

A structure that contains details about the handshake that is created to * support this invitation request.

*/ inline const Handshake& GetHandshake() const{ return m_handshake; } /** *

A structure that contains details about the handshake that is created to * support this invitation request.

*/ inline void SetHandshake(const Handshake& value) { m_handshake = value; } /** *

A structure that contains details about the handshake that is created to * support this invitation request.

*/ inline void SetHandshake(Handshake&& value) { m_handshake = std::move(value); } /** *

A structure that contains details about the handshake that is created to * support this invitation request.

*/ inline InviteAccountToOrganizationResult& WithHandshake(const Handshake& value) { SetHandshake(value); return *this;} /** *

A structure that contains details about the handshake that is created to * support this invitation request.

*/ inline InviteAccountToOrganizationResult& WithHandshake(Handshake&& value) { SetHandshake(std::move(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 InviteAccountToOrganizationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline InviteAccountToOrganizationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline InviteAccountToOrganizationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Handshake m_handshake; Aws::String m_requestId; }; } // namespace Model } // namespace Organizations } // namespace Aws