AWS SDK for C++  1.9.109
AWS SDK for C++
CreateAccountResult.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 
47  inline const CreateAccountStatus& GetCreateAccountStatus() const{ return m_createAccountStatus; }
48 
61  inline void SetCreateAccountStatus(const CreateAccountStatus& value) { m_createAccountStatus = value; }
62 
75  inline void SetCreateAccountStatus(CreateAccountStatus&& value) { m_createAccountStatus = std::move(value); }
76 
89  inline CreateAccountResult& WithCreateAccountStatus(const CreateAccountStatus& value) { SetCreateAccountStatus(value); return *this;}
90 
103  inline CreateAccountResult& WithCreateAccountStatus(CreateAccountStatus&& value) { SetCreateAccountStatus(std::move(value)); return *this;}
104 
105  private:
106 
107  CreateAccountStatus m_createAccountStatus;
108  };
109 
110 } // namespace Model
111 } // namespace Organizations
112 } // namespace Aws
Aws::Organizations::Model::CreateAccountResult::operator=
CreateAccountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Organizations::Model::CreateAccountResult::WithCreateAccountStatus
CreateAccountResult & WithCreateAccountStatus(const CreateAccountStatus &value)
Definition: CreateAccountResult.h:89
Aws::Organizations::Model::CreateAccountResult::CreateAccountResult
CreateAccountResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Organizations::Model::CreateAccountResult::WithCreateAccountStatus
CreateAccountResult & WithCreateAccountStatus(CreateAccountStatus &&value)
Definition: CreateAccountResult.h:103
Aws::Organizations::Model::CreateAccountResult::GetCreateAccountStatus
const CreateAccountStatus & GetCreateAccountStatus() const
Definition: CreateAccountResult.h:47
Aws::Organizations::Model::CreateAccountResult
Definition: CreateAccountResult.h:28
Aws::Organizations::Model::CreateAccountResult::CreateAccountResult
CreateAccountResult()
AWS_ORGANIZATIONS_API
#define AWS_ORGANIZATIONS_API
Definition: Organizations_EXPORTS.h:28
CreateAccountStatus.h
Aws::Organizations::Model::CreateAccountStatus
Definition: CreateAccountStatus.h:37
Aws::Organizations::Model::CreateAccountResult::SetCreateAccountStatus
void SetCreateAccountStatus(const CreateAccountStatus &value)
Definition: CreateAccountResult.h:61
Aws
Definition: AccessManagementClient.h:15
Organizations_EXPORTS.h
Aws::Organizations::Model::CreateAccountResult::SetCreateAccountStatus
void SetCreateAccountStatus(CreateAccountStatus &&value)
Definition: CreateAccountResult.h:75