AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
GetAccountPoolResult.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/AccountSource.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/datazone/model/ResolutionStrategy.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DataZone
27{
28namespace Model
29{
31 {
32 public:
33 AWS_DATAZONE_API GetAccountPoolResult() = default;
36
37
39
44 inline const AccountSource& GetAccountSource() const { return m_accountSource; }
45 template<typename AccountSourceT = AccountSource>
46 void SetAccountSource(AccountSourceT&& value) { m_accountSourceHasBeenSet = true; m_accountSource = std::forward<AccountSourceT>(value); }
47 template<typename AccountSourceT = AccountSource>
48 GetAccountPoolResult& WithAccountSource(AccountSourceT&& value) { SetAccountSource(std::forward<AccountSourceT>(value)); return *this;}
50
52
55 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
56 template<typename CreatedAtT = Aws::Utils::DateTime>
57 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
58 template<typename CreatedAtT = Aws::Utils::DateTime>
59 GetAccountPoolResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
61
63
66 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
67 template<typename CreatedByT = Aws::String>
68 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
69 template<typename CreatedByT = Aws::String>
70 GetAccountPoolResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
72
74
77 inline const Aws::String& GetDescription() const { return m_description; }
78 template<typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
80 template<typename DescriptionT = Aws::String>
81 GetAccountPoolResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
83
85
89 inline const Aws::String& GetDomainId() const { return m_domainId; }
90 template<typename DomainIdT = Aws::String>
91 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
92 template<typename DomainIdT = Aws::String>
93 GetAccountPoolResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
95
97
100 inline const Aws::String& GetDomainUnitId() const { return m_domainUnitId; }
101 template<typename DomainUnitIdT = Aws::String>
102 void SetDomainUnitId(DomainUnitIdT&& value) { m_domainUnitIdHasBeenSet = true; m_domainUnitId = std::forward<DomainUnitIdT>(value); }
103 template<typename DomainUnitIdT = Aws::String>
104 GetAccountPoolResult& WithDomainUnitId(DomainUnitIdT&& value) { SetDomainUnitId(std::forward<DomainUnitIdT>(value)); return *this;}
106
108
111 inline const Aws::String& GetId() const { return m_id; }
112 template<typename IdT = Aws::String>
113 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
114 template<typename IdT = Aws::String>
115 GetAccountPoolResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
117
119
122 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
123 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
124 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
125 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
126 GetAccountPoolResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
128
130
133 inline const Aws::String& GetName() const { return m_name; }
134 template<typename NameT = Aws::String>
135 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
136 template<typename NameT = Aws::String>
137 GetAccountPoolResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
139
141
145 inline ResolutionStrategy GetResolutionStrategy() const { return m_resolutionStrategy; }
146 inline void SetResolutionStrategy(ResolutionStrategy value) { m_resolutionStrategyHasBeenSet = true; m_resolutionStrategy = value; }
149
151
154 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
155 template<typename UpdatedByT = Aws::String>
156 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::forward<UpdatedByT>(value); }
157 template<typename UpdatedByT = Aws::String>
158 GetAccountPoolResult& WithUpdatedBy(UpdatedByT&& value) { SetUpdatedBy(std::forward<UpdatedByT>(value)); return *this;}
160
162
163 inline const Aws::String& GetRequestId() const { return m_requestId; }
164 template<typename RequestIdT = Aws::String>
165 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
166 template<typename RequestIdT = Aws::String>
167 GetAccountPoolResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
169 private:
170
171 AccountSource m_accountSource;
172 bool m_accountSourceHasBeenSet = false;
173
174 Aws::Utils::DateTime m_createdAt{};
175 bool m_createdAtHasBeenSet = false;
176
177 Aws::String m_createdBy;
178 bool m_createdByHasBeenSet = false;
179
180 Aws::String m_description;
181 bool m_descriptionHasBeenSet = false;
182
183 Aws::String m_domainId;
184 bool m_domainIdHasBeenSet = false;
185
186 Aws::String m_domainUnitId;
187 bool m_domainUnitIdHasBeenSet = false;
188
189 Aws::String m_id;
190 bool m_idHasBeenSet = false;
191
192 Aws::Utils::DateTime m_lastUpdatedAt{};
193 bool m_lastUpdatedAtHasBeenSet = false;
194
195 Aws::String m_name;
196 bool m_nameHasBeenSet = false;
197
199 bool m_resolutionStrategyHasBeenSet = false;
200
201 Aws::String m_updatedBy;
202 bool m_updatedByHasBeenSet = false;
203
204 Aws::String m_requestId;
205 bool m_requestIdHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace DataZone
210} // namespace Aws
GetAccountPoolResult & WithCreatedBy(CreatedByT &&value)
GetAccountPoolResult & WithUpdatedBy(UpdatedByT &&value)
GetAccountPoolResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
GetAccountPoolResult & WithAccountSource(AccountSourceT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetAccountPoolResult & WithRequestId(RequestIdT &&value)
AWS_DATAZONE_API GetAccountPoolResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAccountPoolResult & WithDomainId(DomainIdT &&value)
GetAccountPoolResult & WithName(NameT &&value)
GetAccountPoolResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetResolutionStrategy(ResolutionStrategy value)
GetAccountPoolResult & WithResolutionStrategy(ResolutionStrategy value)
AWS_DATAZONE_API GetAccountPoolResult()=default
const AccountSource & GetAccountSource() const
GetAccountPoolResult & WithId(IdT &&value)
AWS_DATAZONE_API GetAccountPoolResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAccountPoolResult & WithDescription(DescriptionT &&value)
GetAccountPoolResult & WithDomainUnitId(DomainUnitIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue