AWS SDK for C++  1.9.109
AWS SDK for C++
GetMasterAccountResult.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 Macie2
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
41  inline const Invitation& GetMaster() const{ return m_master; }
42 
49  inline void SetMaster(const Invitation& value) { m_master = value; }
50 
57  inline void SetMaster(Invitation&& value) { m_master = std::move(value); }
58 
65  inline GetMasterAccountResult& WithMaster(const Invitation& value) { SetMaster(value); return *this;}
66 
73  inline GetMasterAccountResult& WithMaster(Invitation&& value) { SetMaster(std::move(value)); return *this;}
74 
75  private:
76 
77  Invitation m_master;
78  };
79 
80 } // namespace Model
81 } // namespace Macie2
82 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::GetMasterAccountResult::GetMaster
const Invitation & GetMaster() const
Definition: GetMasterAccountResult.h:41
Aws::Macie2::Model::GetMasterAccountResult::operator=
GetMasterAccountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Macie2_EXPORTS.h
Aws::Macie2::Model::Invitation
Definition: Invitation.h:35
Aws::Macie2::Model::GetMasterAccountResult::GetMasterAccountResult
GetMasterAccountResult()
Aws::Macie2::Model::GetMasterAccountResult::WithMaster
GetMasterAccountResult & WithMaster(Invitation &&value)
Definition: GetMasterAccountResult.h:73
Aws::Macie2::Model::GetMasterAccountResult
Definition: GetMasterAccountResult.h:28
Aws::Macie2::Model::GetMasterAccountResult::GetMasterAccountResult
GetMasterAccountResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Macie2::Model::GetMasterAccountResult::SetMaster
void SetMaster(const Invitation &value)
Definition: GetMasterAccountResult.h:49
Aws::Macie2::Model::GetMasterAccountResult::WithMaster
GetMasterAccountResult & WithMaster(const Invitation &value)
Definition: GetMasterAccountResult.h:65
Aws::Macie2::Model::GetMasterAccountResult::SetMaster
void SetMaster(Invitation &&value)
Definition: GetMasterAccountResult.h:57
Aws
Definition: AccessManagementClient.h:15
Invitation.h