AWS SDK for C++  1.9.105
AWS SDK for C++
DescribeCreateAccountStatusResult.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 CreateAccountStatus& GetCreateAccountStatus() const{ return m_createAccountStatus; }
40 
45  inline void SetCreateAccountStatus(const CreateAccountStatus& value) { m_createAccountStatus = value; }
46 
51  inline void SetCreateAccountStatus(CreateAccountStatus&& value) { m_createAccountStatus = std::move(value); }
52 
57  inline DescribeCreateAccountStatusResult& WithCreateAccountStatus(const CreateAccountStatus& value) { SetCreateAccountStatus(value); return *this;}
58 
63  inline DescribeCreateAccountStatusResult& WithCreateAccountStatus(CreateAccountStatus&& value) { SetCreateAccountStatus(std::move(value)); return *this;}
64 
65  private:
66 
67  CreateAccountStatus m_createAccountStatus;
68  };
69 
70 } // namespace Model
71 } // namespace Organizations
72 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Organizations::Model::DescribeCreateAccountStatusResult::SetCreateAccountStatus
void SetCreateAccountStatus(const CreateAccountStatus &value)
Definition: DescribeCreateAccountStatusResult.h:45
Aws::Organizations::Model::DescribeCreateAccountStatusResult::DescribeCreateAccountStatusResult
DescribeCreateAccountStatusResult()
Aws::Organizations::Model::DescribeCreateAccountStatusResult::GetCreateAccountStatus
const CreateAccountStatus & GetCreateAccountStatus() const
Definition: DescribeCreateAccountStatusResult.h:39
AWS_ORGANIZATIONS_API
#define AWS_ORGANIZATIONS_API
Definition: Organizations_EXPORTS.h:28
CreateAccountStatus.h
Aws::Organizations::Model::DescribeCreateAccountStatusResult::WithCreateAccountStatus
DescribeCreateAccountStatusResult & WithCreateAccountStatus(const CreateAccountStatus &value)
Definition: DescribeCreateAccountStatusResult.h:57
Aws::Organizations::Model::DescribeCreateAccountStatusResult::DescribeCreateAccountStatusResult
DescribeCreateAccountStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Organizations::Model::CreateAccountStatus
Definition: CreateAccountStatus.h:37
Aws::Organizations::Model::DescribeCreateAccountStatusResult
Definition: DescribeCreateAccountStatusResult.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::Organizations::Model::DescribeCreateAccountStatusResult::operator=
DescribeCreateAccountStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Organizations::Model::DescribeCreateAccountStatusResult::WithCreateAccountStatus
DescribeCreateAccountStatusResult & WithCreateAccountStatus(CreateAccountStatus &&value)
Definition: DescribeCreateAccountStatusResult.h:63
Organizations_EXPORTS.h
Aws::Organizations::Model::DescribeCreateAccountStatusResult::SetCreateAccountStatus
void SetCreateAccountStatus(CreateAccountStatus &&value)
Definition: DescribeCreateAccountStatusResult.h:51