AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#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 Account
25{
26namespace Model
27{
29 {
30 public:
31 AWS_ACCOUNT_API GetAccountInformationResult() = default;
34
35
37
40 inline const Aws::Utils::DateTime& GetAccountCreatedDate() const { return m_accountCreatedDate; }
41 template<typename AccountCreatedDateT = Aws::Utils::DateTime>
42 void SetAccountCreatedDate(AccountCreatedDateT&& value) { m_accountCreatedDateHasBeenSet = true; m_accountCreatedDate = std::forward<AccountCreatedDateT>(value); }
43 template<typename AccountCreatedDateT = Aws::Utils::DateTime>
44 GetAccountInformationResult& WithAccountCreatedDate(AccountCreatedDateT&& value) { SetAccountCreatedDate(std::forward<AccountCreatedDateT>(value)); return *this;}
46
48
66 inline const Aws::String& GetAccountId() const { return m_accountId; }
67 template<typename AccountIdT = Aws::String>
68 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
69 template<typename AccountIdT = Aws::String>
70 GetAccountInformationResult& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
72
74
77 inline const Aws::String& GetAccountName() const { return m_accountName; }
78 template<typename AccountNameT = Aws::String>
79 void SetAccountName(AccountNameT&& value) { m_accountNameHasBeenSet = true; m_accountName = std::forward<AccountNameT>(value); }
80 template<typename AccountNameT = Aws::String>
81 GetAccountInformationResult& WithAccountName(AccountNameT&& value) { SetAccountName(std::forward<AccountNameT>(value)); return *this;}
83
85
86 inline const Aws::String& GetRequestId() const { return m_requestId; }
87 template<typename RequestIdT = Aws::String>
88 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
89 template<typename RequestIdT = Aws::String>
90 GetAccountInformationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
92 private:
93
94 Aws::Utils::DateTime m_accountCreatedDate{};
95 bool m_accountCreatedDateHasBeenSet = false;
96
97 Aws::String m_accountId;
98 bool m_accountIdHasBeenSet = false;
99
100 Aws::String m_accountName;
101 bool m_accountNameHasBeenSet = false;
102
103 Aws::String m_requestId;
104 bool m_requestIdHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Account
109} // 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