AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ChangesetSummary.h
1
6#pragma once
7#include <aws/finspace-data/FinSpaceData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/finspace-data/model/ChangeType.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/finspace-data/model/IngestionStatus.h>
12#include <aws/finspace-data/model/ChangesetErrorInfo.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace FinSpaceData
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_FINSPACEDATA_API ChangesetSummary();
39 AWS_FINSPACEDATA_API ChangesetSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_FINSPACEDATA_API ChangesetSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_FINSPACEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetChangesetId() const{ return m_changesetId; }
49 inline bool ChangesetIdHasBeenSet() const { return m_changesetIdHasBeenSet; }
50 inline void SetChangesetId(const Aws::String& value) { m_changesetIdHasBeenSet = true; m_changesetId = value; }
51 inline void SetChangesetId(Aws::String&& value) { m_changesetIdHasBeenSet = true; m_changesetId = std::move(value); }
52 inline void SetChangesetId(const char* value) { m_changesetIdHasBeenSet = true; m_changesetId.assign(value); }
53 inline ChangesetSummary& WithChangesetId(const Aws::String& value) { SetChangesetId(value); return *this;}
54 inline ChangesetSummary& WithChangesetId(Aws::String&& value) { SetChangesetId(std::move(value)); return *this;}
55 inline ChangesetSummary& WithChangesetId(const char* value) { SetChangesetId(value); return *this;}
57
59
62 inline const Aws::String& GetChangesetArn() const{ return m_changesetArn; }
63 inline bool ChangesetArnHasBeenSet() const { return m_changesetArnHasBeenSet; }
64 inline void SetChangesetArn(const Aws::String& value) { m_changesetArnHasBeenSet = true; m_changesetArn = value; }
65 inline void SetChangesetArn(Aws::String&& value) { m_changesetArnHasBeenSet = true; m_changesetArn = std::move(value); }
66 inline void SetChangesetArn(const char* value) { m_changesetArnHasBeenSet = true; m_changesetArn.assign(value); }
67 inline ChangesetSummary& WithChangesetArn(const Aws::String& value) { SetChangesetArn(value); return *this;}
68 inline ChangesetSummary& WithChangesetArn(Aws::String&& value) { SetChangesetArn(std::move(value)); return *this;}
69 inline ChangesetSummary& WithChangesetArn(const char* value) { SetChangesetArn(value); return *this;}
71
73
77 inline const Aws::String& GetDatasetId() const{ return m_datasetId; }
78 inline bool DatasetIdHasBeenSet() const { return m_datasetIdHasBeenSet; }
79 inline void SetDatasetId(const Aws::String& value) { m_datasetIdHasBeenSet = true; m_datasetId = value; }
80 inline void SetDatasetId(Aws::String&& value) { m_datasetIdHasBeenSet = true; m_datasetId = std::move(value); }
81 inline void SetDatasetId(const char* value) { m_datasetIdHasBeenSet = true; m_datasetId.assign(value); }
82 inline ChangesetSummary& WithDatasetId(const Aws::String& value) { SetDatasetId(value); return *this;}
83 inline ChangesetSummary& WithDatasetId(Aws::String&& value) { SetDatasetId(std::move(value)); return *this;}
84 inline ChangesetSummary& WithDatasetId(const char* value) { SetDatasetId(value); return *this;}
86
88
96 inline const ChangeType& GetChangeType() const{ return m_changeType; }
97 inline bool ChangeTypeHasBeenSet() const { return m_changeTypeHasBeenSet; }
98 inline void SetChangeType(const ChangeType& value) { m_changeTypeHasBeenSet = true; m_changeType = value; }
99 inline void SetChangeType(ChangeType&& value) { m_changeTypeHasBeenSet = true; m_changeType = std::move(value); }
100 inline ChangesetSummary& WithChangeType(const ChangeType& value) { SetChangeType(value); return *this;}
101 inline ChangesetSummary& WithChangeType(ChangeType&& value) { SetChangeType(std::move(value)); return *this;}
103
105
108 inline const Aws::Map<Aws::String, Aws::String>& GetSourceParams() const{ return m_sourceParams; }
109 inline bool SourceParamsHasBeenSet() const { return m_sourceParamsHasBeenSet; }
110 inline void SetSourceParams(const Aws::Map<Aws::String, Aws::String>& value) { m_sourceParamsHasBeenSet = true; m_sourceParams = value; }
111 inline void SetSourceParams(Aws::Map<Aws::String, Aws::String>&& value) { m_sourceParamsHasBeenSet = true; m_sourceParams = std::move(value); }
113 inline ChangesetSummary& WithSourceParams(Aws::Map<Aws::String, Aws::String>&& value) { SetSourceParams(std::move(value)); return *this;}
114 inline ChangesetSummary& AddSourceParams(const Aws::String& key, const Aws::String& value) { m_sourceParamsHasBeenSet = true; m_sourceParams.emplace(key, value); return *this; }
115 inline ChangesetSummary& AddSourceParams(Aws::String&& key, const Aws::String& value) { m_sourceParamsHasBeenSet = true; m_sourceParams.emplace(std::move(key), value); return *this; }
116 inline ChangesetSummary& AddSourceParams(const Aws::String& key, Aws::String&& value) { m_sourceParamsHasBeenSet = true; m_sourceParams.emplace(key, std::move(value)); return *this; }
117 inline ChangesetSummary& AddSourceParams(Aws::String&& key, Aws::String&& value) { m_sourceParamsHasBeenSet = true; m_sourceParams.emplace(std::move(key), std::move(value)); return *this; }
118 inline ChangesetSummary& AddSourceParams(const char* key, Aws::String&& value) { m_sourceParamsHasBeenSet = true; m_sourceParams.emplace(key, std::move(value)); return *this; }
119 inline ChangesetSummary& AddSourceParams(Aws::String&& key, const char* value) { m_sourceParamsHasBeenSet = true; m_sourceParams.emplace(std::move(key), value); return *this; }
120 inline ChangesetSummary& AddSourceParams(const char* key, const char* value) { m_sourceParamsHasBeenSet = true; m_sourceParams.emplace(key, value); return *this; }
122
124
127 inline const Aws::Map<Aws::String, Aws::String>& GetFormatParams() const{ return m_formatParams; }
128 inline bool FormatParamsHasBeenSet() const { return m_formatParamsHasBeenSet; }
129 inline void SetFormatParams(const Aws::Map<Aws::String, Aws::String>& value) { m_formatParamsHasBeenSet = true; m_formatParams = value; }
130 inline void SetFormatParams(Aws::Map<Aws::String, Aws::String>&& value) { m_formatParamsHasBeenSet = true; m_formatParams = std::move(value); }
132 inline ChangesetSummary& WithFormatParams(Aws::Map<Aws::String, Aws::String>&& value) { SetFormatParams(std::move(value)); return *this;}
133 inline ChangesetSummary& AddFormatParams(const Aws::String& key, const Aws::String& value) { m_formatParamsHasBeenSet = true; m_formatParams.emplace(key, value); return *this; }
134 inline ChangesetSummary& AddFormatParams(Aws::String&& key, const Aws::String& value) { m_formatParamsHasBeenSet = true; m_formatParams.emplace(std::move(key), value); return *this; }
135 inline ChangesetSummary& AddFormatParams(const Aws::String& key, Aws::String&& value) { m_formatParamsHasBeenSet = true; m_formatParams.emplace(key, std::move(value)); return *this; }
136 inline ChangesetSummary& AddFormatParams(Aws::String&& key, Aws::String&& value) { m_formatParamsHasBeenSet = true; m_formatParams.emplace(std::move(key), std::move(value)); return *this; }
137 inline ChangesetSummary& AddFormatParams(const char* key, Aws::String&& value) { m_formatParamsHasBeenSet = true; m_formatParams.emplace(key, std::move(value)); return *this; }
138 inline ChangesetSummary& AddFormatParams(Aws::String&& key, const char* value) { m_formatParamsHasBeenSet = true; m_formatParams.emplace(std::move(key), value); return *this; }
139 inline ChangesetSummary& AddFormatParams(const char* key, const char* value) { m_formatParamsHasBeenSet = true; m_formatParams.emplace(key, value); return *this; }
141
143
148 inline long long GetCreateTime() const{ return m_createTime; }
149 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
150 inline void SetCreateTime(long long value) { m_createTimeHasBeenSet = true; m_createTime = value; }
151 inline ChangesetSummary& WithCreateTime(long long value) { SetCreateTime(value); return *this;}
153
155
163 inline const IngestionStatus& GetStatus() const{ return m_status; }
164 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
165 inline void SetStatus(const IngestionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
166 inline void SetStatus(IngestionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
167 inline ChangesetSummary& WithStatus(const IngestionStatus& value) { SetStatus(value); return *this;}
168 inline ChangesetSummary& WithStatus(IngestionStatus&& value) { SetStatus(std::move(value)); return *this;}
170
172
175 inline const ChangesetErrorInfo& GetErrorInfo() const{ return m_errorInfo; }
176 inline bool ErrorInfoHasBeenSet() const { return m_errorInfoHasBeenSet; }
177 inline void SetErrorInfo(const ChangesetErrorInfo& value) { m_errorInfoHasBeenSet = true; m_errorInfo = value; }
178 inline void SetErrorInfo(ChangesetErrorInfo&& value) { m_errorInfoHasBeenSet = true; m_errorInfo = std::move(value); }
179 inline ChangesetSummary& WithErrorInfo(const ChangesetErrorInfo& value) { SetErrorInfo(value); return *this;}
180 inline ChangesetSummary& WithErrorInfo(ChangesetErrorInfo&& value) { SetErrorInfo(std::move(value)); return *this;}
182
184
189 inline long long GetActiveUntilTimestamp() const{ return m_activeUntilTimestamp; }
190 inline bool ActiveUntilTimestampHasBeenSet() const { return m_activeUntilTimestampHasBeenSet; }
191 inline void SetActiveUntilTimestamp(long long value) { m_activeUntilTimestampHasBeenSet = true; m_activeUntilTimestamp = value; }
192 inline ChangesetSummary& WithActiveUntilTimestamp(long long value) { SetActiveUntilTimestamp(value); return *this;}
194
196
201 inline long long GetActiveFromTimestamp() const{ return m_activeFromTimestamp; }
202 inline bool ActiveFromTimestampHasBeenSet() const { return m_activeFromTimestampHasBeenSet; }
203 inline void SetActiveFromTimestamp(long long value) { m_activeFromTimestampHasBeenSet = true; m_activeFromTimestamp = value; }
204 inline ChangesetSummary& WithActiveFromTimestamp(long long value) { SetActiveFromTimestamp(value); return *this;}
206
208
211 inline const Aws::String& GetUpdatesChangesetId() const{ return m_updatesChangesetId; }
212 inline bool UpdatesChangesetIdHasBeenSet() const { return m_updatesChangesetIdHasBeenSet; }
213 inline void SetUpdatesChangesetId(const Aws::String& value) { m_updatesChangesetIdHasBeenSet = true; m_updatesChangesetId = value; }
214 inline void SetUpdatesChangesetId(Aws::String&& value) { m_updatesChangesetIdHasBeenSet = true; m_updatesChangesetId = std::move(value); }
215 inline void SetUpdatesChangesetId(const char* value) { m_updatesChangesetIdHasBeenSet = true; m_updatesChangesetId.assign(value); }
216 inline ChangesetSummary& WithUpdatesChangesetId(const Aws::String& value) { SetUpdatesChangesetId(value); return *this;}
217 inline ChangesetSummary& WithUpdatesChangesetId(Aws::String&& value) { SetUpdatesChangesetId(std::move(value)); return *this;}
218 inline ChangesetSummary& WithUpdatesChangesetId(const char* value) { SetUpdatesChangesetId(value); return *this;}
220
222
225 inline const Aws::String& GetUpdatedByChangesetId() const{ return m_updatedByChangesetId; }
226 inline bool UpdatedByChangesetIdHasBeenSet() const { return m_updatedByChangesetIdHasBeenSet; }
227 inline void SetUpdatedByChangesetId(const Aws::String& value) { m_updatedByChangesetIdHasBeenSet = true; m_updatedByChangesetId = value; }
228 inline void SetUpdatedByChangesetId(Aws::String&& value) { m_updatedByChangesetIdHasBeenSet = true; m_updatedByChangesetId = std::move(value); }
229 inline void SetUpdatedByChangesetId(const char* value) { m_updatedByChangesetIdHasBeenSet = true; m_updatedByChangesetId.assign(value); }
231 inline ChangesetSummary& WithUpdatedByChangesetId(Aws::String&& value) { SetUpdatedByChangesetId(std::move(value)); return *this;}
232 inline ChangesetSummary& WithUpdatedByChangesetId(const char* value) { SetUpdatedByChangesetId(value); return *this;}
234 private:
235
236 Aws::String m_changesetId;
237 bool m_changesetIdHasBeenSet = false;
238
239 Aws::String m_changesetArn;
240 bool m_changesetArnHasBeenSet = false;
241
242 Aws::String m_datasetId;
243 bool m_datasetIdHasBeenSet = false;
244
245 ChangeType m_changeType;
246 bool m_changeTypeHasBeenSet = false;
247
249 bool m_sourceParamsHasBeenSet = false;
250
252 bool m_formatParamsHasBeenSet = false;
253
254 long long m_createTime;
255 bool m_createTimeHasBeenSet = false;
256
257 IngestionStatus m_status;
258 bool m_statusHasBeenSet = false;
259
260 ChangesetErrorInfo m_errorInfo;
261 bool m_errorInfoHasBeenSet = false;
262
263 long long m_activeUntilTimestamp;
264 bool m_activeUntilTimestampHasBeenSet = false;
265
266 long long m_activeFromTimestamp;
267 bool m_activeFromTimestampHasBeenSet = false;
268
269 Aws::String m_updatesChangesetId;
270 bool m_updatesChangesetIdHasBeenSet = false;
271
272 Aws::String m_updatedByChangesetId;
273 bool m_updatedByChangesetIdHasBeenSet = false;
274 };
275
276} // namespace Model
277} // namespace FinSpaceData
278} // namespace Aws
void SetErrorInfo(ChangesetErrorInfo &&value)
ChangesetSummary & WithStatus(IngestionStatus &&value)
void SetChangeType(const ChangeType &value)
ChangesetSummary & WithErrorInfo(ChangesetErrorInfo &&value)
ChangesetSummary & WithDatasetId(const Aws::String &value)
ChangesetSummary & WithUpdatedByChangesetId(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetSourceParams() const
void SetStatus(IngestionStatus &&value)
ChangesetSummary & WithChangesetId(const char *value)
ChangesetSummary & WithChangeType(const ChangeType &value)
const Aws::String & GetChangesetId() const
ChangesetSummary & WithActiveUntilTimestamp(long long value)
const Aws::String & GetUpdatedByChangesetId() const
const ChangesetErrorInfo & GetErrorInfo() const
const Aws::Map< Aws::String, Aws::String > & GetFormatParams() const
void SetStatus(const IngestionStatus &value)
void SetSourceParams(const Aws::Map< Aws::String, Aws::String > &value)
ChangesetSummary & WithDatasetId(const char *value)
ChangesetSummary & WithFormatParams(const Aws::Map< Aws::String, Aws::String > &value)
void SetSourceParams(Aws::Map< Aws::String, Aws::String > &&value)
ChangesetSummary & WithUpdatesChangesetId(Aws::String &&value)
const IngestionStatus & GetStatus() const
ChangesetSummary & WithUpdatesChangesetId(const Aws::String &value)
ChangesetSummary & AddSourceParams(const char *key, const char *value)
ChangesetSummary & AddFormatParams(Aws::String &&key, const Aws::String &value)
ChangesetSummary & WithChangesetArn(const Aws::String &value)
ChangesetSummary & WithErrorInfo(const ChangesetErrorInfo &value)
const Aws::String & GetUpdatesChangesetId() const
void SetUpdatesChangesetId(const Aws::String &value)
ChangesetSummary & AddFormatParams(const Aws::String &key, const Aws::String &value)
ChangesetSummary & WithUpdatedByChangesetId(const Aws::String &value)
ChangesetSummary & WithFormatParams(Aws::Map< Aws::String, Aws::String > &&value)
ChangesetSummary & AddSourceParams(const Aws::String &key, Aws::String &&value)
ChangesetSummary & WithUpdatedByChangesetId(const char *value)
ChangesetSummary & WithChangesetId(const Aws::String &value)
ChangesetSummary & WithDatasetId(Aws::String &&value)
void SetErrorInfo(const ChangesetErrorInfo &value)
void SetDatasetId(const Aws::String &value)
ChangesetSummary & AddFormatParams(const Aws::String &key, Aws::String &&value)
ChangesetSummary & AddFormatParams(const char *key, Aws::String &&value)
void SetUpdatedByChangesetId(Aws::String &&value)
void SetFormatParams(Aws::Map< Aws::String, Aws::String > &&value)
ChangesetSummary & AddFormatParams(Aws::String &&key, Aws::String &&value)
ChangesetSummary & AddSourceParams(Aws::String &&key, const char *value)
ChangesetSummary & AddFormatParams(Aws::String &&key, const char *value)
ChangesetSummary & WithUpdatesChangesetId(const char *value)
ChangesetSummary & WithChangeType(ChangeType &&value)
ChangesetSummary & AddSourceParams(const char *key, Aws::String &&value)
AWS_FINSPACEDATA_API ChangesetSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_FINSPACEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetChangesetArn() const
void SetChangesetId(const Aws::String &value)
void SetUpdatesChangesetId(Aws::String &&value)
void SetUpdatedByChangesetId(const Aws::String &value)
ChangesetSummary & AddSourceParams(Aws::String &&key, const Aws::String &value)
ChangesetSummary & WithCreateTime(long long value)
ChangesetSummary & AddSourceParams(const Aws::String &key, const Aws::String &value)
ChangesetSummary & WithChangesetArn(const char *value)
ChangesetSummary & WithActiveFromTimestamp(long long value)
ChangesetSummary & WithChangesetArn(Aws::String &&value)
ChangesetSummary & WithSourceParams(const Aws::Map< Aws::String, Aws::String > &value)
void SetChangesetArn(const Aws::String &value)
ChangesetSummary & WithSourceParams(Aws::Map< Aws::String, Aws::String > &&value)
ChangesetSummary & WithChangesetId(Aws::String &&value)
void SetFormatParams(const Aws::Map< Aws::String, Aws::String > &value)
ChangesetSummary & AddFormatParams(const char *key, const char *value)
ChangesetSummary & WithStatus(const IngestionStatus &value)
ChangesetSummary & AddSourceParams(Aws::String &&key, Aws::String &&value)
AWS_FINSPACEDATA_API ChangesetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue