AWS SDK for C++  1.9.109
AWS SDK for C++
GetAdministratorAccountResult.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& GetAdministrator() const{ return m_administrator; }
42 
49  inline void SetAdministrator(const Invitation& value) { m_administrator = value; }
50 
57  inline void SetAdministrator(Invitation&& value) { m_administrator = std::move(value); }
58 
65  inline GetAdministratorAccountResult& WithAdministrator(const Invitation& value) { SetAdministrator(value); return *this;}
66 
73  inline GetAdministratorAccountResult& WithAdministrator(Invitation&& value) { SetAdministrator(std::move(value)); return *this;}
74 
75  private:
76 
77  Invitation m_administrator;
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::GetAdministratorAccountResult::GetAdministratorAccountResult
GetAdministratorAccountResult()
Aws::Macie2::Model::GetAdministratorAccountResult::operator=
GetAdministratorAccountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Macie2_EXPORTS.h
Aws::Macie2::Model::Invitation
Definition: Invitation.h:35
Aws::Macie2::Model::GetAdministratorAccountResult::WithAdministrator
GetAdministratorAccountResult & WithAdministrator(Invitation &&value)
Definition: GetAdministratorAccountResult.h:73
Aws::Macie2::Model::GetAdministratorAccountResult
Definition: GetAdministratorAccountResult.h:28
Aws::Macie2::Model::GetAdministratorAccountResult::WithAdministrator
GetAdministratorAccountResult & WithAdministrator(const Invitation &value)
Definition: GetAdministratorAccountResult.h:65
Aws::Macie2::Model::GetAdministratorAccountResult::GetAdministratorAccountResult
GetAdministratorAccountResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::Macie2::Model::GetAdministratorAccountResult::SetAdministrator
void SetAdministrator(Invitation &&value)
Definition: GetAdministratorAccountResult.h:57
Aws::Macie2::Model::GetAdministratorAccountResult::SetAdministrator
void SetAdministrator(const Invitation &value)
Definition: GetAdministratorAccountResult.h:49
Invitation.h
Aws::Macie2::Model::GetAdministratorAccountResult::GetAdministrator
const Invitation & GetAdministrator() const
Definition: GetAdministratorAccountResult.h:41