AWS SDK for C++  1.9.105
AWS SDK for C++
InviteAccountToOrganizationResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Organizations
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline const Handshake& GetHandshake() const{ return m_handshake; }
40 
45  inline void SetHandshake(const Handshake& value) { m_handshake = value; }
46 
51  inline void SetHandshake(Handshake&& value) { m_handshake = std::move(value); }
52 
57  inline InviteAccountToOrganizationResult& WithHandshake(const Handshake& value) { SetHandshake(value); return *this;}
58 
63  inline InviteAccountToOrganizationResult& WithHandshake(Handshake&& value) { SetHandshake(std::move(value)); return *this;}
64 
65  private:
66 
67  Handshake m_handshake;
68  };
69 
70 } // namespace Model
71 } // namespace Organizations
72 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Organizations::Model::InviteAccountToOrganizationResult::InviteAccountToOrganizationResult
InviteAccountToOrganizationResult()
Aws::Organizations::Model::InviteAccountToOrganizationResult::operator=
InviteAccountToOrganizationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Organizations::Model::Handshake
Definition: Handshake.h:45
Handshake.h
Aws::Organizations::Model::InviteAccountToOrganizationResult::SetHandshake
void SetHandshake(Handshake &&value)
Definition: InviteAccountToOrganizationResult.h:51
Aws::Organizations::Model::InviteAccountToOrganizationResult::GetHandshake
const Handshake & GetHandshake() const
Definition: InviteAccountToOrganizationResult.h:39
AWS_ORGANIZATIONS_API
#define AWS_ORGANIZATIONS_API
Definition: Organizations_EXPORTS.h:28
Aws::Organizations::Model::InviteAccountToOrganizationResult::WithHandshake
InviteAccountToOrganizationResult & WithHandshake(const Handshake &value)
Definition: InviteAccountToOrganizationResult.h:57
Aws::Organizations::Model::InviteAccountToOrganizationResult
Definition: InviteAccountToOrganizationResult.h:28
Aws::Organizations::Model::InviteAccountToOrganizationResult::InviteAccountToOrganizationResult
InviteAccountToOrganizationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Organizations::Model::InviteAccountToOrganizationResult::WithHandshake
InviteAccountToOrganizationResult & WithHandshake(Handshake &&value)
Definition: InviteAccountToOrganizationResult.h:63
Aws::Organizations::Model::InviteAccountToOrganizationResult::SetHandshake
void SetHandshake(const Handshake &value)
Definition: InviteAccountToOrganizationResult.h:45
Aws
Definition: AccessManagementClient.h:15
Organizations_EXPORTS.h