AWS SDK for C++  1.9.66
AWS SDK for C++
DescribeCreateAccountStatusRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Organizations
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DescribeCreateAccountStatus"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
46  inline const Aws::String& GetCreateAccountRequestId() const{ return m_createAccountRequestId; }
47 
57  inline bool CreateAccountRequestIdHasBeenSet() const { return m_createAccountRequestIdHasBeenSet; }
58 
68  inline void SetCreateAccountRequestId(const Aws::String& value) { m_createAccountRequestIdHasBeenSet = true; m_createAccountRequestId = value; }
69 
79  inline void SetCreateAccountRequestId(Aws::String&& value) { m_createAccountRequestIdHasBeenSet = true; m_createAccountRequestId = std::move(value); }
80 
90  inline void SetCreateAccountRequestId(const char* value) { m_createAccountRequestIdHasBeenSet = true; m_createAccountRequestId.assign(value); }
91 
101  inline DescribeCreateAccountStatusRequest& WithCreateAccountRequestId(const Aws::String& value) { SetCreateAccountRequestId(value); return *this;}
102 
112  inline DescribeCreateAccountStatusRequest& WithCreateAccountRequestId(Aws::String&& value) { SetCreateAccountRequestId(std::move(value)); return *this;}
113 
123  inline DescribeCreateAccountStatusRequest& WithCreateAccountRequestId(const char* value) { SetCreateAccountRequestId(value); return *this;}
124 
125  private:
126 
127  Aws::String m_createAccountRequestId;
128  bool m_createAccountRequestIdHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace Organizations
133 } // namespace Aws
Aws::Organizations::Model::DescribeCreateAccountStatusRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Organizations::Model::DescribeCreateAccountStatusRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Organizations::Model::DescribeCreateAccountStatusRequest::SetCreateAccountRequestId
void SetCreateAccountRequestId(const Aws::String &value)
Definition: DescribeCreateAccountStatusRequest.h:68
Aws::Organizations::Model::DescribeCreateAccountStatusRequest::WithCreateAccountRequestId
DescribeCreateAccountStatusRequest & WithCreateAccountRequestId(Aws::String &&value)
Definition: DescribeCreateAccountStatusRequest.h:112
Aws::Organizations::Model::DescribeCreateAccountStatusRequest::CreateAccountRequestIdHasBeenSet
bool CreateAccountRequestIdHasBeenSet() const
Definition: DescribeCreateAccountStatusRequest.h:57
Aws::Organizations::Model::DescribeCreateAccountStatusRequest::DescribeCreateAccountStatusRequest
DescribeCreateAccountStatusRequest()
AWS_ORGANIZATIONS_API
#define AWS_ORGANIZATIONS_API
Definition: Organizations_EXPORTS.h:28
Aws::Organizations::Model::DescribeCreateAccountStatusRequest::GetCreateAccountRequestId
const Aws::String & GetCreateAccountRequestId() const
Definition: DescribeCreateAccountStatusRequest.h:46
Aws::Organizations::Model::DescribeCreateAccountStatusRequest::SetCreateAccountRequestId
void SetCreateAccountRequestId(const char *value)
Definition: DescribeCreateAccountStatusRequest.h:90
Aws::Organizations::OrganizationsRequest
Definition: OrganizationsRequest.h:17
Aws::Organizations::Model::DescribeCreateAccountStatusRequest::WithCreateAccountRequestId
DescribeCreateAccountStatusRequest & WithCreateAccountRequestId(const Aws::String &value)
Definition: DescribeCreateAccountStatusRequest.h:101
AWSString.h
Aws::Organizations::Model::DescribeCreateAccountStatusRequest::SetCreateAccountRequestId
void SetCreateAccountRequestId(Aws::String &&value)
Definition: DescribeCreateAccountStatusRequest.h:79
Aws::Organizations::Model::DescribeCreateAccountStatusRequest::WithCreateAccountRequestId
DescribeCreateAccountStatusRequest & WithCreateAccountRequestId(const char *value)
Definition: DescribeCreateAccountStatusRequest.h:123
Aws::Organizations::Model::DescribeCreateAccountStatusRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeCreateAccountStatusRequest.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Organizations_EXPORTS.h
Aws::Organizations::Model::DescribeCreateAccountStatusRequest
Definition: DescribeCreateAccountStatusRequest.h:22
OrganizationsRequest.h