AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
GetKxDataviewResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/finspace/Finspace_EXPORTS.h>
12#include <aws/finspace/model/KxAzMode.h>
13#include <aws/finspace/model/KxDataviewActiveVersion.h>
14#include <aws/finspace/model/KxDataviewSegmentConfiguration.h>
15#include <aws/finspace/model/KxDataviewStatus.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace finspace {
29namespace Model {
31 public:
32 AWS_FINSPACE_API GetKxDataviewResult() = default;
35
37
40 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
41 template <typename DatabaseNameT = Aws::String>
42 void SetDatabaseName(DatabaseNameT&& value) {
43 m_databaseNameHasBeenSet = true;
44 m_databaseName = std::forward<DatabaseNameT>(value);
45 }
46 template <typename DatabaseNameT = Aws::String>
47 GetKxDataviewResult& WithDatabaseName(DatabaseNameT&& value) {
48 SetDatabaseName(std::forward<DatabaseNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDataviewName() const { return m_dataviewName; }
58 template <typename DataviewNameT = Aws::String>
59 void SetDataviewName(DataviewNameT&& value) {
60 m_dataviewNameHasBeenSet = true;
61 m_dataviewName = std::forward<DataviewNameT>(value);
62 }
63 template <typename DataviewNameT = Aws::String>
64 GetKxDataviewResult& WithDataviewName(DataviewNameT&& value) {
65 SetDataviewName(std::forward<DataviewNameT>(value));
66 return *this;
67 }
69
71
76 inline KxAzMode GetAzMode() const { return m_azMode; }
77 inline void SetAzMode(KxAzMode value) {
78 m_azModeHasBeenSet = true;
79 m_azMode = value;
80 }
82 SetAzMode(value);
83 return *this;
84 }
86
88
91 inline const Aws::String& GetAvailabilityZoneId() const { return m_availabilityZoneId; }
92 template <typename AvailabilityZoneIdT = Aws::String>
93 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) {
94 m_availabilityZoneIdHasBeenSet = true;
95 m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value);
96 }
97 template <typename AvailabilityZoneIdT = Aws::String>
98 GetKxDataviewResult& WithAvailabilityZoneId(AvailabilityZoneIdT&& value) {
99 SetAvailabilityZoneId(std::forward<AvailabilityZoneIdT>(value));
100 return *this;
101 }
103
105
109 inline const Aws::String& GetChangesetId() const { return m_changesetId; }
110 template <typename ChangesetIdT = Aws::String>
111 void SetChangesetId(ChangesetIdT&& value) {
112 m_changesetIdHasBeenSet = true;
113 m_changesetId = std::forward<ChangesetIdT>(value);
114 }
115 template <typename ChangesetIdT = Aws::String>
116 GetKxDataviewResult& WithChangesetId(ChangesetIdT&& value) {
117 SetChangesetId(std::forward<ChangesetIdT>(value));
118 return *this;
119 }
121
123
130 inline const Aws::Vector<KxDataviewSegmentConfiguration>& GetSegmentConfigurations() const { return m_segmentConfigurations; }
131 template <typename SegmentConfigurationsT = Aws::Vector<KxDataviewSegmentConfiguration>>
132 void SetSegmentConfigurations(SegmentConfigurationsT&& value) {
133 m_segmentConfigurationsHasBeenSet = true;
134 m_segmentConfigurations = std::forward<SegmentConfigurationsT>(value);
135 }
136 template <typename SegmentConfigurationsT = Aws::Vector<KxDataviewSegmentConfiguration>>
137 GetKxDataviewResult& WithSegmentConfigurations(SegmentConfigurationsT&& value) {
138 SetSegmentConfigurations(std::forward<SegmentConfigurationsT>(value));
139 return *this;
140 }
141 template <typename SegmentConfigurationsT = KxDataviewSegmentConfiguration>
142 GetKxDataviewResult& AddSegmentConfigurations(SegmentConfigurationsT&& value) {
143 m_segmentConfigurationsHasBeenSet = true;
144 m_segmentConfigurations.emplace_back(std::forward<SegmentConfigurationsT>(value));
145 return *this;
146 }
148
150
154 inline const Aws::Vector<KxDataviewActiveVersion>& GetActiveVersions() const { return m_activeVersions; }
155 template <typename ActiveVersionsT = Aws::Vector<KxDataviewActiveVersion>>
156 void SetActiveVersions(ActiveVersionsT&& value) {
157 m_activeVersionsHasBeenSet = true;
158 m_activeVersions = std::forward<ActiveVersionsT>(value);
159 }
160 template <typename ActiveVersionsT = Aws::Vector<KxDataviewActiveVersion>>
161 GetKxDataviewResult& WithActiveVersions(ActiveVersionsT&& value) {
162 SetActiveVersions(std::forward<ActiveVersionsT>(value));
163 return *this;
164 }
165 template <typename ActiveVersionsT = KxDataviewActiveVersion>
166 GetKxDataviewResult& AddActiveVersions(ActiveVersionsT&& value) {
167 m_activeVersionsHasBeenSet = true;
168 m_activeVersions.emplace_back(std::forward<ActiveVersionsT>(value));
169 return *this;
170 }
172
174
177 inline const Aws::String& GetDescription() const { return m_description; }
178 template <typename DescriptionT = Aws::String>
179 void SetDescription(DescriptionT&& value) {
180 m_descriptionHasBeenSet = true;
181 m_description = std::forward<DescriptionT>(value);
182 }
183 template <typename DescriptionT = Aws::String>
184 GetKxDataviewResult& WithDescription(DescriptionT&& value) {
185 SetDescription(std::forward<DescriptionT>(value));
186 return *this;
187 }
189
191
196 inline bool GetAutoUpdate() const { return m_autoUpdate; }
197 inline void SetAutoUpdate(bool value) {
198 m_autoUpdateHasBeenSet = true;
199 m_autoUpdate = value;
200 }
202 SetAutoUpdate(value);
203 return *this;
204 }
206
208
212 inline bool GetReadWrite() const { return m_readWrite; }
213 inline void SetReadWrite(bool value) {
214 m_readWriteHasBeenSet = true;
215 m_readWrite = value;
216 }
217 inline GetKxDataviewResult& WithReadWrite(bool value) {
218 SetReadWrite(value);
219 return *this;
220 }
222
224
228 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
229 template <typename EnvironmentIdT = Aws::String>
230 void SetEnvironmentId(EnvironmentIdT&& value) {
231 m_environmentIdHasBeenSet = true;
232 m_environmentId = std::forward<EnvironmentIdT>(value);
233 }
234 template <typename EnvironmentIdT = Aws::String>
235 GetKxDataviewResult& WithEnvironmentId(EnvironmentIdT&& value) {
236 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
237 return *this;
238 }
240
242
247 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
248 template <typename CreatedTimestampT = Aws::Utils::DateTime>
249 void SetCreatedTimestamp(CreatedTimestampT&& value) {
250 m_createdTimestampHasBeenSet = true;
251 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
252 }
253 template <typename CreatedTimestampT = Aws::Utils::DateTime>
254 GetKxDataviewResult& WithCreatedTimestamp(CreatedTimestampT&& value) {
255 SetCreatedTimestamp(std::forward<CreatedTimestampT>(value));
256 return *this;
257 }
259
261
266 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const { return m_lastModifiedTimestamp; }
267 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
268 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) {
269 m_lastModifiedTimestampHasBeenSet = true;
270 m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value);
271 }
272 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
273 GetKxDataviewResult& WithLastModifiedTimestamp(LastModifiedTimestampT&& value) {
274 SetLastModifiedTimestamp(std::forward<LastModifiedTimestampT>(value));
275 return *this;
276 }
278
280
286 inline KxDataviewStatus GetStatus() const { return m_status; }
287 inline void SetStatus(KxDataviewStatus value) {
288 m_statusHasBeenSet = true;
289 m_status = value;
290 }
292 SetStatus(value);
293 return *this;
294 }
296
298
301 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
302 template <typename StatusReasonT = Aws::String>
303 void SetStatusReason(StatusReasonT&& value) {
304 m_statusReasonHasBeenSet = true;
305 m_statusReason = std::forward<StatusReasonT>(value);
306 }
307 template <typename StatusReasonT = Aws::String>
308 GetKxDataviewResult& WithStatusReason(StatusReasonT&& value) {
309 SetStatusReason(std::forward<StatusReasonT>(value));
310 return *this;
311 }
313
315
316 inline const Aws::String& GetRequestId() const { return m_requestId; }
317 template <typename RequestIdT = Aws::String>
318 void SetRequestId(RequestIdT&& value) {
319 m_requestIdHasBeenSet = true;
320 m_requestId = std::forward<RequestIdT>(value);
321 }
322 template <typename RequestIdT = Aws::String>
323 GetKxDataviewResult& WithRequestId(RequestIdT&& value) {
324 SetRequestId(std::forward<RequestIdT>(value));
325 return *this;
326 }
328 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
329
330 private:
331 Aws::String m_databaseName;
332
333 Aws::String m_dataviewName;
334
335 KxAzMode m_azMode{KxAzMode::NOT_SET};
336
337 Aws::String m_availabilityZoneId;
338
339 Aws::String m_changesetId;
340
341 Aws::Vector<KxDataviewSegmentConfiguration> m_segmentConfigurations;
342
344
345 Aws::String m_description;
346
347 bool m_autoUpdate{false};
348
349 bool m_readWrite{false};
350
351 Aws::String m_environmentId;
352
353 Aws::Utils::DateTime m_createdTimestamp{};
354
355 Aws::Utils::DateTime m_lastModifiedTimestamp{};
356
358
359 Aws::String m_statusReason;
360
361 Aws::String m_requestId;
362 Aws::Http::HttpResponseCode m_HttpResponseCode;
363 bool m_databaseNameHasBeenSet = false;
364 bool m_dataviewNameHasBeenSet = false;
365 bool m_azModeHasBeenSet = false;
366 bool m_availabilityZoneIdHasBeenSet = false;
367 bool m_changesetIdHasBeenSet = false;
368 bool m_segmentConfigurationsHasBeenSet = false;
369 bool m_activeVersionsHasBeenSet = false;
370 bool m_descriptionHasBeenSet = false;
371 bool m_autoUpdateHasBeenSet = false;
372 bool m_readWriteHasBeenSet = false;
373 bool m_environmentIdHasBeenSet = false;
374 bool m_createdTimestampHasBeenSet = false;
375 bool m_lastModifiedTimestampHasBeenSet = false;
376 bool m_statusHasBeenSet = false;
377 bool m_statusReasonHasBeenSet = false;
378 bool m_requestIdHasBeenSet = false;
379};
380
381} // namespace Model
382} // namespace finspace
383} // namespace Aws
GetKxDataviewResult & WithRequestId(RequestIdT &&value)
GetKxDataviewResult & WithEnvironmentId(EnvironmentIdT &&value)
void SetCreatedTimestamp(CreatedTimestampT &&value)
void SetEnvironmentId(EnvironmentIdT &&value)
GetKxDataviewResult & WithDataviewName(DataviewNameT &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
GetKxDataviewResult & WithStatus(KxDataviewStatus value)
void SetActiveVersions(ActiveVersionsT &&value)
GetKxDataviewResult & WithCreatedTimestamp(CreatedTimestampT &&value)
GetKxDataviewResult & WithAutoUpdate(bool value)
GetKxDataviewResult & WithActiveVersions(ActiveVersionsT &&value)
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
GetKxDataviewResult & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
GetKxDataviewResult & WithDescription(DescriptionT &&value)
const Aws::String & GetAvailabilityZoneId() const
AWS_FINSPACE_API GetKxDataviewResult()=default
AWS_FINSPACE_API GetKxDataviewResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetKxDataviewResult & WithStatusReason(StatusReasonT &&value)
GetKxDataviewResult & AddSegmentConfigurations(SegmentConfigurationsT &&value)
GetKxDataviewResult & WithDatabaseName(DatabaseNameT &&value)
GetKxDataviewResult & WithAzMode(KxAzMode value)
void SetSegmentConfigurations(SegmentConfigurationsT &&value)
const Aws::Vector< KxDataviewActiveVersion > & GetActiveVersions() const
GetKxDataviewResult & WithReadWrite(bool value)
void SetLastModifiedTimestamp(LastModifiedTimestampT &&value)
GetKxDataviewResult & AddActiveVersions(ActiveVersionsT &&value)
GetKxDataviewResult & WithSegmentConfigurations(SegmentConfigurationsT &&value)
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
GetKxDataviewResult & WithChangesetId(ChangesetIdT &&value)
GetKxDataviewResult & WithLastModifiedTimestamp(LastModifiedTimestampT &&value)
AWS_FINSPACE_API GetKxDataviewResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< KxDataviewSegmentConfiguration > & GetSegmentConfigurations() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue