AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
GetAccountInformationResult.h
1
6#pragma once
7#include <aws/account/Account_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Account {
24namespace Model {
26 public:
27 AWS_ACCOUNT_API GetAccountInformationResult() = default;
30
32
35 inline const Aws::Utils::DateTime& GetAccountCreatedDate() const { return m_accountCreatedDate; }
36 template <typename AccountCreatedDateT = Aws::Utils::DateTime>
37 void SetAccountCreatedDate(AccountCreatedDateT&& value) {
38 m_accountCreatedDateHasBeenSet = true;
39 m_accountCreatedDate = std::forward<AccountCreatedDateT>(value);
40 }
41 template <typename AccountCreatedDateT = Aws::Utils::DateTime>
43 SetAccountCreatedDate(std::forward<AccountCreatedDateT>(value));
44 return *this;
45 }
47
49
67 inline const Aws::String& GetAccountId() const { return m_accountId; }
68 template <typename AccountIdT = Aws::String>
69 void SetAccountId(AccountIdT&& value) {
70 m_accountIdHasBeenSet = true;
71 m_accountId = std::forward<AccountIdT>(value);
72 }
73 template <typename AccountIdT = Aws::String>
75 SetAccountId(std::forward<AccountIdT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::String& GetAccountName() const { return m_accountName; }
85 template <typename AccountNameT = Aws::String>
86 void SetAccountName(AccountNameT&& value) {
87 m_accountNameHasBeenSet = true;
88 m_accountName = std::forward<AccountNameT>(value);
89 }
90 template <typename AccountNameT = Aws::String>
92 SetAccountName(std::forward<AccountNameT>(value));
93 return *this;
94 }
96
98
99 inline const Aws::String& GetRequestId() const { return m_requestId; }
100 template <typename RequestIdT = Aws::String>
101 void SetRequestId(RequestIdT&& value) {
102 m_requestIdHasBeenSet = true;
103 m_requestId = std::forward<RequestIdT>(value);
104 }
105 template <typename RequestIdT = Aws::String>
107 SetRequestId(std::forward<RequestIdT>(value));
108 return *this;
109 }
111 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
112
113 private:
114 Aws::Utils::DateTime m_accountCreatedDate{};
115
116 Aws::String m_accountId;
117
118 Aws::String m_accountName;
119
120 Aws::String m_requestId;
121 Aws::Http::HttpResponseCode m_HttpResponseCode;
122 bool m_accountCreatedDateHasBeenSet = false;
123 bool m_accountIdHasBeenSet = false;
124 bool m_accountNameHasBeenSet = false;
125 bool m_requestIdHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace Account
130} // namespace Aws
AWS_ACCOUNT_API GetAccountInformationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ACCOUNT_API GetAccountInformationResult()=default
GetAccountInformationResult & WithAccountCreatedDate(AccountCreatedDateT &&value)
GetAccountInformationResult & WithAccountId(AccountIdT &&value)
GetAccountInformationResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetAccountCreatedDate() const
GetAccountInformationResult & WithAccountName(AccountNameT &&value)
AWS_ACCOUNT_API GetAccountInformationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue