AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetKxDataviewResult.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/finspace/model/KxAzMode.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/finspace/model/KxDataviewStatus.h>
13#include <aws/finspace/model/KxDataviewSegmentConfiguration.h>
14#include <aws/finspace/model/KxDataviewActiveVersion.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace finspace
30{
31namespace Model
32{
34 {
35 public:
36 AWS_FINSPACE_API GetKxDataviewResult() = default;
39
40
42
45 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
46 template<typename DatabaseNameT = Aws::String>
47 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
48 template<typename DatabaseNameT = Aws::String>
49 GetKxDataviewResult& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetDataviewName() const { return m_dataviewName; }
57 template<typename DataviewNameT = Aws::String>
58 void SetDataviewName(DataviewNameT&& value) { m_dataviewNameHasBeenSet = true; m_dataviewName = std::forward<DataviewNameT>(value); }
59 template<typename DataviewNameT = Aws::String>
60 GetKxDataviewResult& WithDataviewName(DataviewNameT&& value) { SetDataviewName(std::forward<DataviewNameT>(value)); return *this;}
62
64
69 inline KxAzMode GetAzMode() const { return m_azMode; }
70 inline void SetAzMode(KxAzMode value) { m_azModeHasBeenSet = true; m_azMode = value; }
71 inline GetKxDataviewResult& WithAzMode(KxAzMode value) { SetAzMode(value); return *this;}
73
75
78 inline const Aws::String& GetAvailabilityZoneId() const { return m_availabilityZoneId; }
79 template<typename AvailabilityZoneIdT = Aws::String>
80 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value); }
81 template<typename AvailabilityZoneIdT = Aws::String>
82 GetKxDataviewResult& WithAvailabilityZoneId(AvailabilityZoneIdT&& value) { SetAvailabilityZoneId(std::forward<AvailabilityZoneIdT>(value)); return *this;}
84
86
90 inline const Aws::String& GetChangesetId() const { return m_changesetId; }
91 template<typename ChangesetIdT = Aws::String>
92 void SetChangesetId(ChangesetIdT&& value) { m_changesetIdHasBeenSet = true; m_changesetId = std::forward<ChangesetIdT>(value); }
93 template<typename ChangesetIdT = Aws::String>
94 GetKxDataviewResult& WithChangesetId(ChangesetIdT&& value) { SetChangesetId(std::forward<ChangesetIdT>(value)); return *this;}
96
98
105 inline const Aws::Vector<KxDataviewSegmentConfiguration>& GetSegmentConfigurations() const { return m_segmentConfigurations; }
106 template<typename SegmentConfigurationsT = Aws::Vector<KxDataviewSegmentConfiguration>>
107 void SetSegmentConfigurations(SegmentConfigurationsT&& value) { m_segmentConfigurationsHasBeenSet = true; m_segmentConfigurations = std::forward<SegmentConfigurationsT>(value); }
108 template<typename SegmentConfigurationsT = Aws::Vector<KxDataviewSegmentConfiguration>>
109 GetKxDataviewResult& WithSegmentConfigurations(SegmentConfigurationsT&& value) { SetSegmentConfigurations(std::forward<SegmentConfigurationsT>(value)); return *this;}
110 template<typename SegmentConfigurationsT = KxDataviewSegmentConfiguration>
111 GetKxDataviewResult& AddSegmentConfigurations(SegmentConfigurationsT&& value) { m_segmentConfigurationsHasBeenSet = true; m_segmentConfigurations.emplace_back(std::forward<SegmentConfigurationsT>(value)); return *this; }
113
115
119 inline const Aws::Vector<KxDataviewActiveVersion>& GetActiveVersions() const { return m_activeVersions; }
120 template<typename ActiveVersionsT = Aws::Vector<KxDataviewActiveVersion>>
121 void SetActiveVersions(ActiveVersionsT&& value) { m_activeVersionsHasBeenSet = true; m_activeVersions = std::forward<ActiveVersionsT>(value); }
122 template<typename ActiveVersionsT = Aws::Vector<KxDataviewActiveVersion>>
123 GetKxDataviewResult& WithActiveVersions(ActiveVersionsT&& value) { SetActiveVersions(std::forward<ActiveVersionsT>(value)); return *this;}
124 template<typename ActiveVersionsT = KxDataviewActiveVersion>
125 GetKxDataviewResult& AddActiveVersions(ActiveVersionsT&& value) { m_activeVersionsHasBeenSet = true; m_activeVersions.emplace_back(std::forward<ActiveVersionsT>(value)); return *this; }
127
129
132 inline const Aws::String& GetDescription() const { return m_description; }
133 template<typename DescriptionT = Aws::String>
134 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
135 template<typename DescriptionT = Aws::String>
136 GetKxDataviewResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
138
140
145 inline bool GetAutoUpdate() const { return m_autoUpdate; }
146 inline void SetAutoUpdate(bool value) { m_autoUpdateHasBeenSet = true; m_autoUpdate = value; }
147 inline GetKxDataviewResult& WithAutoUpdate(bool value) { SetAutoUpdate(value); return *this;}
149
151
155 inline bool GetReadWrite() const { return m_readWrite; }
156 inline void SetReadWrite(bool value) { m_readWriteHasBeenSet = true; m_readWrite = value; }
157 inline GetKxDataviewResult& WithReadWrite(bool value) { SetReadWrite(value); return *this;}
159
161
165 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
166 template<typename EnvironmentIdT = Aws::String>
167 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
168 template<typename EnvironmentIdT = Aws::String>
169 GetKxDataviewResult& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
171
173
178 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
179 template<typename CreatedTimestampT = Aws::Utils::DateTime>
180 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
181 template<typename CreatedTimestampT = Aws::Utils::DateTime>
182 GetKxDataviewResult& WithCreatedTimestamp(CreatedTimestampT&& value) { SetCreatedTimestamp(std::forward<CreatedTimestampT>(value)); return *this;}
184
186
191 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const { return m_lastModifiedTimestamp; }
192 template<typename LastModifiedTimestampT = Aws::Utils::DateTime>
193 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) { m_lastModifiedTimestampHasBeenSet = true; m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value); }
194 template<typename LastModifiedTimestampT = Aws::Utils::DateTime>
195 GetKxDataviewResult& WithLastModifiedTimestamp(LastModifiedTimestampT&& value) { SetLastModifiedTimestamp(std::forward<LastModifiedTimestampT>(value)); return *this;}
197
199
205 inline KxDataviewStatus GetStatus() const { return m_status; }
206 inline void SetStatus(KxDataviewStatus value) { m_statusHasBeenSet = true; m_status = value; }
207 inline GetKxDataviewResult& WithStatus(KxDataviewStatus value) { SetStatus(value); return *this;}
209
211
214 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
215 template<typename StatusReasonT = Aws::String>
216 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::forward<StatusReasonT>(value); }
217 template<typename StatusReasonT = Aws::String>
218 GetKxDataviewResult& WithStatusReason(StatusReasonT&& value) { SetStatusReason(std::forward<StatusReasonT>(value)); return *this;}
220
222
223 inline const Aws::String& GetRequestId() const { return m_requestId; }
224 template<typename RequestIdT = Aws::String>
225 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
226 template<typename RequestIdT = Aws::String>
227 GetKxDataviewResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
229 private:
230
231 Aws::String m_databaseName;
232 bool m_databaseNameHasBeenSet = false;
233
234 Aws::String m_dataviewName;
235 bool m_dataviewNameHasBeenSet = false;
236
237 KxAzMode m_azMode{KxAzMode::NOT_SET};
238 bool m_azModeHasBeenSet = false;
239
240 Aws::String m_availabilityZoneId;
241 bool m_availabilityZoneIdHasBeenSet = false;
242
243 Aws::String m_changesetId;
244 bool m_changesetIdHasBeenSet = false;
245
246 Aws::Vector<KxDataviewSegmentConfiguration> m_segmentConfigurations;
247 bool m_segmentConfigurationsHasBeenSet = false;
248
250 bool m_activeVersionsHasBeenSet = false;
251
252 Aws::String m_description;
253 bool m_descriptionHasBeenSet = false;
254
255 bool m_autoUpdate{false};
256 bool m_autoUpdateHasBeenSet = false;
257
258 bool m_readWrite{false};
259 bool m_readWriteHasBeenSet = false;
260
261 Aws::String m_environmentId;
262 bool m_environmentIdHasBeenSet = false;
263
264 Aws::Utils::DateTime m_createdTimestamp{};
265 bool m_createdTimestampHasBeenSet = false;
266
267 Aws::Utils::DateTime m_lastModifiedTimestamp{};
268 bool m_lastModifiedTimestampHasBeenSet = false;
269
271 bool m_statusHasBeenSet = false;
272
273 Aws::String m_statusReason;
274 bool m_statusReasonHasBeenSet = false;
275
276 Aws::String m_requestId;
277 bool m_requestIdHasBeenSet = false;
278 };
279
280} // namespace Model
281} // namespace finspace
282} // 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
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue