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 SecurityHub
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
35 
36  inline const Invitation& GetAdministrator() const{ return m_administrator; }
37 
38 
39  inline void SetAdministrator(const Invitation& value) { m_administrator = value; }
40 
41 
42  inline void SetAdministrator(Invitation&& value) { m_administrator = std::move(value); }
43 
44 
45  inline GetAdministratorAccountResult& WithAdministrator(const Invitation& value) { SetAdministrator(value); return *this;}
46 
47 
48  inline GetAdministratorAccountResult& WithAdministrator(Invitation&& value) { SetAdministrator(std::move(value)); return *this;}
49 
50  private:
51 
52  Invitation m_administrator;
53  };
54 
55 } // namespace Model
56 } // namespace SecurityHub
57 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SecurityHub::Model::GetAdministratorAccountResult::SetAdministrator
void SetAdministrator(Invitation &&value)
Definition: GetAdministratorAccountResult.h:42
Aws::SecurityHub::Model::Invitation
Definition: Invitation.h:33
Aws::SecurityHub::Model::GetAdministratorAccountResult
Definition: GetAdministratorAccountResult.h:28
Aws::SecurityHub::Model::GetAdministratorAccountResult::WithAdministrator
GetAdministratorAccountResult & WithAdministrator(const Invitation &value)
Definition: GetAdministratorAccountResult.h:45
Invitation.h
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::GetAdministratorAccountResult::operator=
GetAdministratorAccountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SecurityHub::Model::GetAdministratorAccountResult::GetAdministratorAccountResult
GetAdministratorAccountResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SecurityHub::Model::GetAdministratorAccountResult::GetAdministrator
const Invitation & GetAdministrator() const
Definition: GetAdministratorAccountResult.h:36
Aws::SecurityHub::Model::GetAdministratorAccountResult::GetAdministratorAccountResult
GetAdministratorAccountResult()
Aws
Definition: AccessManagementClient.h:15
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::GetAdministratorAccountResult::SetAdministrator
void SetAdministrator(const Invitation &value)
Definition: GetAdministratorAccountResult.h:39
Aws::SecurityHub::Model::GetAdministratorAccountResult::WithAdministrator
GetAdministratorAccountResult & WithAdministrator(Invitation &&value)
Definition: GetAdministratorAccountResult.h:48