AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataViewSummary.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/core/utils/memory/stl/AWSVector.h>
10#include <aws/finspace-data/model/DataViewStatus.h>
11#include <aws/finspace-data/model/DataViewErrorInfo.h>
12#include <aws/finspace-data/model/DataViewDestinationTypeParams.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 DataViewSummary();
39 AWS_FINSPACEDATA_API DataViewSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_FINSPACEDATA_API DataViewSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_FINSPACEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetDataViewId() const{ return m_dataViewId; }
49 inline bool DataViewIdHasBeenSet() const { return m_dataViewIdHasBeenSet; }
50 inline void SetDataViewId(const Aws::String& value) { m_dataViewIdHasBeenSet = true; m_dataViewId = value; }
51 inline void SetDataViewId(Aws::String&& value) { m_dataViewIdHasBeenSet = true; m_dataViewId = std::move(value); }
52 inline void SetDataViewId(const char* value) { m_dataViewIdHasBeenSet = true; m_dataViewId.assign(value); }
53 inline DataViewSummary& WithDataViewId(const Aws::String& value) { SetDataViewId(value); return *this;}
54 inline DataViewSummary& WithDataViewId(Aws::String&& value) { SetDataViewId(std::move(value)); return *this;}
55 inline DataViewSummary& WithDataViewId(const char* value) { SetDataViewId(value); return *this;}
57
59
62 inline const Aws::String& GetDataViewArn() const{ return m_dataViewArn; }
63 inline bool DataViewArnHasBeenSet() const { return m_dataViewArnHasBeenSet; }
64 inline void SetDataViewArn(const Aws::String& value) { m_dataViewArnHasBeenSet = true; m_dataViewArn = value; }
65 inline void SetDataViewArn(Aws::String&& value) { m_dataViewArnHasBeenSet = true; m_dataViewArn = std::move(value); }
66 inline void SetDataViewArn(const char* value) { m_dataViewArnHasBeenSet = true; m_dataViewArn.assign(value); }
67 inline DataViewSummary& WithDataViewArn(const Aws::String& value) { SetDataViewArn(value); return *this;}
68 inline DataViewSummary& WithDataViewArn(Aws::String&& value) { SetDataViewArn(std::move(value)); return *this;}
69 inline DataViewSummary& WithDataViewArn(const char* value) { SetDataViewArn(value); return *this;}
71
73
76 inline const Aws::String& GetDatasetId() const{ return m_datasetId; }
77 inline bool DatasetIdHasBeenSet() const { return m_datasetIdHasBeenSet; }
78 inline void SetDatasetId(const Aws::String& value) { m_datasetIdHasBeenSet = true; m_datasetId = value; }
79 inline void SetDatasetId(Aws::String&& value) { m_datasetIdHasBeenSet = true; m_datasetId = std::move(value); }
80 inline void SetDatasetId(const char* value) { m_datasetIdHasBeenSet = true; m_datasetId.assign(value); }
81 inline DataViewSummary& WithDatasetId(const Aws::String& value) { SetDatasetId(value); return *this;}
82 inline DataViewSummary& WithDatasetId(Aws::String&& value) { SetDatasetId(std::move(value)); return *this;}
83 inline DataViewSummary& WithDatasetId(const char* value) { SetDatasetId(value); return *this;}
85
87
92 inline long long GetAsOfTimestamp() const{ return m_asOfTimestamp; }
93 inline bool AsOfTimestampHasBeenSet() const { return m_asOfTimestampHasBeenSet; }
94 inline void SetAsOfTimestamp(long long value) { m_asOfTimestampHasBeenSet = true; m_asOfTimestamp = value; }
95 inline DataViewSummary& WithAsOfTimestamp(long long value) { SetAsOfTimestamp(value); return *this;}
97
99
102 inline const Aws::Vector<Aws::String>& GetPartitionColumns() const{ return m_partitionColumns; }
103 inline bool PartitionColumnsHasBeenSet() const { return m_partitionColumnsHasBeenSet; }
104 inline void SetPartitionColumns(const Aws::Vector<Aws::String>& value) { m_partitionColumnsHasBeenSet = true; m_partitionColumns = value; }
105 inline void SetPartitionColumns(Aws::Vector<Aws::String>&& value) { m_partitionColumnsHasBeenSet = true; m_partitionColumns = std::move(value); }
107 inline DataViewSummary& WithPartitionColumns(Aws::Vector<Aws::String>&& value) { SetPartitionColumns(std::move(value)); return *this;}
108 inline DataViewSummary& AddPartitionColumns(const Aws::String& value) { m_partitionColumnsHasBeenSet = true; m_partitionColumns.push_back(value); return *this; }
109 inline DataViewSummary& AddPartitionColumns(Aws::String&& value) { m_partitionColumnsHasBeenSet = true; m_partitionColumns.push_back(std::move(value)); return *this; }
110 inline DataViewSummary& AddPartitionColumns(const char* value) { m_partitionColumnsHasBeenSet = true; m_partitionColumns.push_back(value); return *this; }
112
114
117 inline const Aws::Vector<Aws::String>& GetSortColumns() const{ return m_sortColumns; }
118 inline bool SortColumnsHasBeenSet() const { return m_sortColumnsHasBeenSet; }
119 inline void SetSortColumns(const Aws::Vector<Aws::String>& value) { m_sortColumnsHasBeenSet = true; m_sortColumns = value; }
120 inline void SetSortColumns(Aws::Vector<Aws::String>&& value) { m_sortColumnsHasBeenSet = true; m_sortColumns = std::move(value); }
121 inline DataViewSummary& WithSortColumns(const Aws::Vector<Aws::String>& value) { SetSortColumns(value); return *this;}
122 inline DataViewSummary& WithSortColumns(Aws::Vector<Aws::String>&& value) { SetSortColumns(std::move(value)); return *this;}
123 inline DataViewSummary& AddSortColumns(const Aws::String& value) { m_sortColumnsHasBeenSet = true; m_sortColumns.push_back(value); return *this; }
124 inline DataViewSummary& AddSortColumns(Aws::String&& value) { m_sortColumnsHasBeenSet = true; m_sortColumns.push_back(std::move(value)); return *this; }
125 inline DataViewSummary& AddSortColumns(const char* value) { m_sortColumnsHasBeenSet = true; m_sortColumns.push_back(value); return *this; }
127
129
140 inline const DataViewStatus& GetStatus() const{ return m_status; }
141 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
142 inline void SetStatus(const DataViewStatus& value) { m_statusHasBeenSet = true; m_status = value; }
143 inline void SetStatus(DataViewStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
144 inline DataViewSummary& WithStatus(const DataViewStatus& value) { SetStatus(value); return *this;}
145 inline DataViewSummary& WithStatus(DataViewStatus&& value) { SetStatus(std::move(value)); return *this;}
147
149
152 inline const DataViewErrorInfo& GetErrorInfo() const{ return m_errorInfo; }
153 inline bool ErrorInfoHasBeenSet() const { return m_errorInfoHasBeenSet; }
154 inline void SetErrorInfo(const DataViewErrorInfo& value) { m_errorInfoHasBeenSet = true; m_errorInfo = value; }
155 inline void SetErrorInfo(DataViewErrorInfo&& value) { m_errorInfoHasBeenSet = true; m_errorInfo = std::move(value); }
156 inline DataViewSummary& WithErrorInfo(const DataViewErrorInfo& value) { SetErrorInfo(value); return *this;}
157 inline DataViewSummary& WithErrorInfo(DataViewErrorInfo&& value) { SetErrorInfo(std::move(value)); return *this;}
159
161
164 inline const DataViewDestinationTypeParams& GetDestinationTypeProperties() const{ return m_destinationTypeProperties; }
165 inline bool DestinationTypePropertiesHasBeenSet() const { return m_destinationTypePropertiesHasBeenSet; }
166 inline void SetDestinationTypeProperties(const DataViewDestinationTypeParams& value) { m_destinationTypePropertiesHasBeenSet = true; m_destinationTypeProperties = value; }
167 inline void SetDestinationTypeProperties(DataViewDestinationTypeParams&& value) { m_destinationTypePropertiesHasBeenSet = true; m_destinationTypeProperties = std::move(value); }
171
173
176 inline bool GetAutoUpdate() const{ return m_autoUpdate; }
177 inline bool AutoUpdateHasBeenSet() const { return m_autoUpdateHasBeenSet; }
178 inline void SetAutoUpdate(bool value) { m_autoUpdateHasBeenSet = true; m_autoUpdate = value; }
179 inline DataViewSummary& WithAutoUpdate(bool value) { SetAutoUpdate(value); return *this;}
181
183
188 inline long long GetCreateTime() const{ return m_createTime; }
189 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
190 inline void SetCreateTime(long long value) { m_createTimeHasBeenSet = true; m_createTime = value; }
191 inline DataViewSummary& WithCreateTime(long long value) { SetCreateTime(value); return *this;}
193
195
200 inline long long GetLastModifiedTime() const{ return m_lastModifiedTime; }
201 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
202 inline void SetLastModifiedTime(long long value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
203 inline DataViewSummary& WithLastModifiedTime(long long value) { SetLastModifiedTime(value); return *this;}
205 private:
206
207 Aws::String m_dataViewId;
208 bool m_dataViewIdHasBeenSet = false;
209
210 Aws::String m_dataViewArn;
211 bool m_dataViewArnHasBeenSet = false;
212
213 Aws::String m_datasetId;
214 bool m_datasetIdHasBeenSet = false;
215
216 long long m_asOfTimestamp;
217 bool m_asOfTimestampHasBeenSet = false;
218
219 Aws::Vector<Aws::String> m_partitionColumns;
220 bool m_partitionColumnsHasBeenSet = false;
221
222 Aws::Vector<Aws::String> m_sortColumns;
223 bool m_sortColumnsHasBeenSet = false;
224
225 DataViewStatus m_status;
226 bool m_statusHasBeenSet = false;
227
228 DataViewErrorInfo m_errorInfo;
229 bool m_errorInfoHasBeenSet = false;
230
231 DataViewDestinationTypeParams m_destinationTypeProperties;
232 bool m_destinationTypePropertiesHasBeenSet = false;
233
234 bool m_autoUpdate;
235 bool m_autoUpdateHasBeenSet = false;
236
237 long long m_createTime;
238 bool m_createTimeHasBeenSet = false;
239
240 long long m_lastModifiedTime;
241 bool m_lastModifiedTimeHasBeenSet = false;
242 };
243
244} // namespace Model
245} // namespace FinSpaceData
246} // namespace Aws
DataViewSummary & WithDestinationTypeProperties(DataViewDestinationTypeParams &&value)
const Aws::String & GetDataViewArn() const
DataViewSummary & WithSortColumns(const Aws::Vector< Aws::String > &value)
AWS_FINSPACEDATA_API DataViewSummary(Aws::Utils::Json::JsonView jsonValue)
DataViewSummary & WithErrorInfo(DataViewErrorInfo &&value)
DataViewSummary & WithDataViewId(Aws::String &&value)
DataViewSummary & AddSortColumns(const Aws::String &value)
DataViewSummary & WithAsOfTimestamp(long long value)
void SetStatus(DataViewStatus &&value)
const Aws::Vector< Aws::String > & GetPartitionColumns() const
AWS_FINSPACEDATA_API DataViewSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorInfo(DataViewErrorInfo &&value)
DataViewSummary & WithLastModifiedTime(long long value)
void SetPartitionColumns(const Aws::Vector< Aws::String > &value)
void SetDataViewArn(const Aws::String &value)
DataViewSummary & WithDataViewId(const Aws::String &value)
DataViewSummary & WithSortColumns(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSortColumns() const
DataViewSummary & WithStatus(const DataViewStatus &value)
DataViewSummary & WithDataViewArn(const char *value)
DataViewSummary & WithCreateTime(long long value)
const Aws::String & GetDataViewId() const
void SetSortColumns(const Aws::Vector< Aws::String > &value)
const DataViewStatus & GetStatus() const
DataViewSummary & WithStatus(DataViewStatus &&value)
DataViewSummary & WithDataViewId(const char *value)
DataViewSummary & AddPartitionColumns(Aws::String &&value)
DataViewSummary & WithPartitionColumns(const Aws::Vector< Aws::String > &value)
void SetDataViewId(const Aws::String &value)
DataViewSummary & WithDataViewArn(const Aws::String &value)
AWS_FINSPACEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
DataViewSummary & WithErrorInfo(const DataViewErrorInfo &value)
DataViewSummary & WithDataViewArn(Aws::String &&value)
const DataViewDestinationTypeParams & GetDestinationTypeProperties() const
DataViewSummary & WithAutoUpdate(bool value)
void SetDatasetId(const Aws::String &value)
void SetDestinationTypeProperties(const DataViewDestinationTypeParams &value)
DataViewSummary & WithDestinationTypeProperties(const DataViewDestinationTypeParams &value)
DataViewSummary & WithDatasetId(const Aws::String &value)
DataViewSummary & WithDatasetId(const char *value)
void SetPartitionColumns(Aws::Vector< Aws::String > &&value)
DataViewSummary & AddPartitionColumns(const Aws::String &value)
DataViewSummary & AddSortColumns(Aws::String &&value)
const DataViewErrorInfo & GetErrorInfo() const
DataViewSummary & WithDatasetId(Aws::String &&value)
void SetDestinationTypeProperties(DataViewDestinationTypeParams &&value)
void SetSortColumns(Aws::Vector< Aws::String > &&value)
DataViewSummary & AddPartitionColumns(const char *value)
void SetStatus(const DataViewStatus &value)
DataViewSummary & AddSortColumns(const char *value)
const Aws::String & GetDatasetId() const
DataViewSummary & WithPartitionColumns(Aws::Vector< Aws::String > &&value)
void SetErrorInfo(const DataViewErrorInfo &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