AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAccountResult.h
1
6#pragma once
7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/organizations/model/CreateAccountStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Organizations
25{
26namespace Model
27{
29 {
30 public:
31 AWS_ORGANIZATIONS_API CreateAccountResult();
34
35
37
48 inline const CreateAccountStatus& GetCreateAccountStatus() const{ return m_createAccountStatus; }
49 inline void SetCreateAccountStatus(const CreateAccountStatus& value) { m_createAccountStatus = value; }
50 inline void SetCreateAccountStatus(CreateAccountStatus&& value) { m_createAccountStatus = std::move(value); }
54
56
57 inline const Aws::String& GetRequestId() const{ return m_requestId; }
58 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
59 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
60 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
61 inline CreateAccountResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
62 inline CreateAccountResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
63 inline CreateAccountResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
65 private:
66
67 CreateAccountStatus m_createAccountStatus;
68
69 Aws::String m_requestId;
70 };
71
72} // namespace Model
73} // namespace Organizations
74} // namespace Aws
void SetCreateAccountStatus(CreateAccountStatus &&value)
AWS_ORGANIZATIONS_API CreateAccountResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreateAccountStatus(const CreateAccountStatus &value)
const CreateAccountStatus & GetCreateAccountStatus() const
CreateAccountResult & WithRequestId(const char *value)
CreateAccountResult & WithRequestId(const Aws::String &value)
AWS_ORGANIZATIONS_API CreateAccountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAccountResult & WithCreateAccountStatus(CreateAccountStatus &&value)
CreateAccountResult & WithRequestId(Aws::String &&value)
CreateAccountResult & WithCreateAccountStatus(const CreateAccountStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue