AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
CreateKxDataviewResult.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/KxDataviewSegmentConfiguration.h>
14#include <aws/finspace/model/KxDataviewStatus.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace finspace {
28namespace Model {
30 public:
31 AWS_FINSPACE_API CreateKxDataviewResult() = default;
34
36
39 inline const Aws::String& GetDataviewName() const { return m_dataviewName; }
40 template <typename DataviewNameT = Aws::String>
41 void SetDataviewName(DataviewNameT&& value) {
42 m_dataviewNameHasBeenSet = true;
43 m_dataviewName = std::forward<DataviewNameT>(value);
44 }
45 template <typename DataviewNameT = Aws::String>
46 CreateKxDataviewResult& WithDataviewName(DataviewNameT&& value) {
47 SetDataviewName(std::forward<DataviewNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
57 template <typename DatabaseNameT = Aws::String>
58 void SetDatabaseName(DatabaseNameT&& value) {
59 m_databaseNameHasBeenSet = true;
60 m_databaseName = std::forward<DatabaseNameT>(value);
61 }
62 template <typename DatabaseNameT = Aws::String>
63 CreateKxDataviewResult& WithDatabaseName(DatabaseNameT&& value) {
64 SetDatabaseName(std::forward<DatabaseNameT>(value));
65 return *this;
66 }
68
70
74 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
75 template <typename EnvironmentIdT = Aws::String>
76 void SetEnvironmentId(EnvironmentIdT&& value) {
77 m_environmentIdHasBeenSet = true;
78 m_environmentId = std::forward<EnvironmentIdT>(value);
79 }
80 template <typename EnvironmentIdT = Aws::String>
81 CreateKxDataviewResult& WithEnvironmentId(EnvironmentIdT&& value) {
82 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
83 return *this;
84 }
86
88
93 inline KxAzMode GetAzMode() const { return m_azMode; }
94 inline void SetAzMode(KxAzMode value) {
95 m_azModeHasBeenSet = true;
96 m_azMode = value;
97 }
99 SetAzMode(value);
100 return *this;
101 }
103
105
108 inline const Aws::String& GetAvailabilityZoneId() const { return m_availabilityZoneId; }
109 template <typename AvailabilityZoneIdT = Aws::String>
110 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) {
111 m_availabilityZoneIdHasBeenSet = true;
112 m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value);
113 }
114 template <typename AvailabilityZoneIdT = Aws::String>
115 CreateKxDataviewResult& WithAvailabilityZoneId(AvailabilityZoneIdT&& value) {
116 SetAvailabilityZoneId(std::forward<AvailabilityZoneIdT>(value));
117 return *this;
118 }
120
122
125 inline const Aws::String& GetChangesetId() const { return m_changesetId; }
126 template <typename ChangesetIdT = Aws::String>
127 void SetChangesetId(ChangesetIdT&& value) {
128 m_changesetIdHasBeenSet = true;
129 m_changesetId = std::forward<ChangesetIdT>(value);
130 }
131 template <typename ChangesetIdT = Aws::String>
133 SetChangesetId(std::forward<ChangesetIdT>(value));
134 return *this;
135 }
137
139
146 inline const Aws::Vector<KxDataviewSegmentConfiguration>& GetSegmentConfigurations() const { return m_segmentConfigurations; }
147 template <typename SegmentConfigurationsT = Aws::Vector<KxDataviewSegmentConfiguration>>
148 void SetSegmentConfigurations(SegmentConfigurationsT&& value) {
149 m_segmentConfigurationsHasBeenSet = true;
150 m_segmentConfigurations = std::forward<SegmentConfigurationsT>(value);
151 }
152 template <typename SegmentConfigurationsT = Aws::Vector<KxDataviewSegmentConfiguration>>
153 CreateKxDataviewResult& WithSegmentConfigurations(SegmentConfigurationsT&& value) {
154 SetSegmentConfigurations(std::forward<SegmentConfigurationsT>(value));
155 return *this;
156 }
157 template <typename SegmentConfigurationsT = KxDataviewSegmentConfiguration>
158 CreateKxDataviewResult& AddSegmentConfigurations(SegmentConfigurationsT&& value) {
159 m_segmentConfigurationsHasBeenSet = true;
160 m_segmentConfigurations.emplace_back(std::forward<SegmentConfigurationsT>(value));
161 return *this;
162 }
164
166
169 inline const Aws::String& GetDescription() const { return m_description; }
170 template <typename DescriptionT = Aws::String>
171 void SetDescription(DescriptionT&& value) {
172 m_descriptionHasBeenSet = true;
173 m_description = std::forward<DescriptionT>(value);
174 }
175 template <typename DescriptionT = Aws::String>
177 SetDescription(std::forward<DescriptionT>(value));
178 return *this;
179 }
181
183
188 inline bool GetAutoUpdate() const { return m_autoUpdate; }
189 inline void SetAutoUpdate(bool value) {
190 m_autoUpdateHasBeenSet = true;
191 m_autoUpdate = value;
192 }
194 SetAutoUpdate(value);
195 return *this;
196 }
198
200
204 inline bool GetReadWrite() const { return m_readWrite; }
205 inline void SetReadWrite(bool value) {
206 m_readWriteHasBeenSet = true;
207 m_readWrite = value;
208 }
210 SetReadWrite(value);
211 return *this;
212 }
214
216
221 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
222 template <typename CreatedTimestampT = Aws::Utils::DateTime>
223 void SetCreatedTimestamp(CreatedTimestampT&& value) {
224 m_createdTimestampHasBeenSet = true;
225 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
226 }
227 template <typename CreatedTimestampT = Aws::Utils::DateTime>
228 CreateKxDataviewResult& WithCreatedTimestamp(CreatedTimestampT&& value) {
229 SetCreatedTimestamp(std::forward<CreatedTimestampT>(value));
230 return *this;
231 }
233
235
240 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const { return m_lastModifiedTimestamp; }
241 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
242 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) {
243 m_lastModifiedTimestampHasBeenSet = true;
244 m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value);
245 }
246 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
247 CreateKxDataviewResult& WithLastModifiedTimestamp(LastModifiedTimestampT&& value) {
248 SetLastModifiedTimestamp(std::forward<LastModifiedTimestampT>(value));
249 return *this;
250 }
252
254
260 inline KxDataviewStatus GetStatus() const { return m_status; }
261 inline void SetStatus(KxDataviewStatus value) {
262 m_statusHasBeenSet = true;
263 m_status = value;
264 }
266 SetStatus(value);
267 return *this;
268 }
270
272
273 inline const Aws::String& GetRequestId() const { return m_requestId; }
274 template <typename RequestIdT = Aws::String>
275 void SetRequestId(RequestIdT&& value) {
276 m_requestIdHasBeenSet = true;
277 m_requestId = std::forward<RequestIdT>(value);
278 }
279 template <typename RequestIdT = Aws::String>
281 SetRequestId(std::forward<RequestIdT>(value));
282 return *this;
283 }
285 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
286
287 private:
288 Aws::String m_dataviewName;
289
290 Aws::String m_databaseName;
291
292 Aws::String m_environmentId;
293
294 KxAzMode m_azMode{KxAzMode::NOT_SET};
295
296 Aws::String m_availabilityZoneId;
297
298 Aws::String m_changesetId;
299
300 Aws::Vector<KxDataviewSegmentConfiguration> m_segmentConfigurations;
301
302 Aws::String m_description;
303
304 bool m_autoUpdate{false};
305
306 bool m_readWrite{false};
307
308 Aws::Utils::DateTime m_createdTimestamp{};
309
310 Aws::Utils::DateTime m_lastModifiedTimestamp{};
311
313
314 Aws::String m_requestId;
315 Aws::Http::HttpResponseCode m_HttpResponseCode;
316 bool m_dataviewNameHasBeenSet = false;
317 bool m_databaseNameHasBeenSet = false;
318 bool m_environmentIdHasBeenSet = false;
319 bool m_azModeHasBeenSet = false;
320 bool m_availabilityZoneIdHasBeenSet = false;
321 bool m_changesetIdHasBeenSet = false;
322 bool m_segmentConfigurationsHasBeenSet = false;
323 bool m_descriptionHasBeenSet = false;
324 bool m_autoUpdateHasBeenSet = false;
325 bool m_readWriteHasBeenSet = false;
326 bool m_createdTimestampHasBeenSet = false;
327 bool m_lastModifiedTimestampHasBeenSet = false;
328 bool m_statusHasBeenSet = false;
329 bool m_requestIdHasBeenSet = false;
330};
331
332} // namespace Model
333} // namespace finspace
334} // namespace Aws
CreateKxDataviewResult & WithReadWrite(bool value)
void SetCreatedTimestamp(CreatedTimestampT &&value)
CreateKxDataviewResult & WithAzMode(KxAzMode value)
CreateKxDataviewResult & AddSegmentConfigurations(SegmentConfigurationsT &&value)
CreateKxDataviewResult & WithEnvironmentId(EnvironmentIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
void SetSegmentConfigurations(SegmentConfigurationsT &&value)
CreateKxDataviewResult & WithSegmentConfigurations(SegmentConfigurationsT &&value)
CreateKxDataviewResult & WithChangesetId(ChangesetIdT &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
CreateKxDataviewResult & WithDataviewName(DataviewNameT &&value)
AWS_FINSPACE_API CreateKxDataviewResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateKxDataviewResult & WithRequestId(RequestIdT &&value)
CreateKxDataviewResult & WithCreatedTimestamp(CreatedTimestampT &&value)
const Aws::Vector< KxDataviewSegmentConfiguration > & GetSegmentConfigurations() const
CreateKxDataviewResult & WithDatabaseName(DatabaseNameT &&value)
void SetLastModifiedTimestamp(LastModifiedTimestampT &&value)
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
CreateKxDataviewResult & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
AWS_FINSPACE_API CreateKxDataviewResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_FINSPACE_API CreateKxDataviewResult()=default
CreateKxDataviewResult & WithDescription(DescriptionT &&value)
CreateKxDataviewResult & WithStatus(KxDataviewStatus value)
CreateKxDataviewResult & WithAutoUpdate(bool value)
CreateKxDataviewResult & WithLastModifiedTimestamp(LastModifiedTimestampT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue