AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetAccountInformationResult.h
1
6#pragma once
7#include <aws/account/Account_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Account {
23namespace Model {
25 public:
26 AWS_ACCOUNT_API GetAccountInformationResult() = default;
29
31
34 inline const Aws::Utils::DateTime& GetAccountCreatedDate() const { return m_accountCreatedDate; }
35 template <typename AccountCreatedDateT = Aws::Utils::DateTime>
36 void SetAccountCreatedDate(AccountCreatedDateT&& value) {
37 m_accountCreatedDateHasBeenSet = true;
38 m_accountCreatedDate = std::forward<AccountCreatedDateT>(value);
39 }
40 template <typename AccountCreatedDateT = Aws::Utils::DateTime>
42 SetAccountCreatedDate(std::forward<AccountCreatedDateT>(value));
43 return *this;
44 }
46
48
66 inline const Aws::String& GetAccountId() const { return m_accountId; }
67 template <typename AccountIdT = Aws::String>
68 void SetAccountId(AccountIdT&& value) {
69 m_accountIdHasBeenSet = true;
70 m_accountId = std::forward<AccountIdT>(value);
71 }
72 template <typename AccountIdT = Aws::String>
74 SetAccountId(std::forward<AccountIdT>(value));
75 return *this;
76 }
78
80
83 inline const Aws::String& GetAccountName() const { return m_accountName; }
84 template <typename AccountNameT = Aws::String>
85 void SetAccountName(AccountNameT&& value) {
86 m_accountNameHasBeenSet = true;
87 m_accountName = std::forward<AccountNameT>(value);
88 }
89 template <typename AccountNameT = Aws::String>
91 SetAccountName(std::forward<AccountNameT>(value));
92 return *this;
93 }
95
97
98 inline const Aws::String& GetRequestId() const { return m_requestId; }
99 template <typename RequestIdT = Aws::String>
100 void SetRequestId(RequestIdT&& value) {
101 m_requestIdHasBeenSet = true;
102 m_requestId = std::forward<RequestIdT>(value);
103 }
104 template <typename RequestIdT = Aws::String>
106 SetRequestId(std::forward<RequestIdT>(value));
107 return *this;
108 }
110 private:
111 Aws::Utils::DateTime m_accountCreatedDate{};
112
113 Aws::String m_accountId;
114
115 Aws::String m_accountName;
116
117 Aws::String m_requestId;
118 bool m_accountCreatedDateHasBeenSet = false;
119 bool m_accountIdHasBeenSet = false;
120 bool m_accountNameHasBeenSet = false;
121 bool m_requestIdHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace Account
126} // 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