AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Dataset.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/DatasetKind.h>
10#include <aws/finspace-data/model/DatasetOwnerInfo.h>
11#include <aws/finspace-data/model/SchemaUnion.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace FinSpaceData
25{
26namespace Model
27{
28
34 class Dataset
35 {
36 public:
37 AWS_FINSPACEDATA_API Dataset();
38 AWS_FINSPACEDATA_API Dataset(Aws::Utils::Json::JsonView jsonValue);
39 AWS_FINSPACEDATA_API Dataset& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_FINSPACEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDatasetId() const{ return m_datasetId; }
48 inline bool DatasetIdHasBeenSet() const { return m_datasetIdHasBeenSet; }
49 inline void SetDatasetId(const Aws::String& value) { m_datasetIdHasBeenSet = true; m_datasetId = value; }
50 inline void SetDatasetId(Aws::String&& value) { m_datasetIdHasBeenSet = true; m_datasetId = std::move(value); }
51 inline void SetDatasetId(const char* value) { m_datasetIdHasBeenSet = true; m_datasetId.assign(value); }
52 inline Dataset& WithDatasetId(const Aws::String& value) { SetDatasetId(value); return *this;}
53 inline Dataset& WithDatasetId(Aws::String&& value) { SetDatasetId(std::move(value)); return *this;}
54 inline Dataset& WithDatasetId(const char* value) { SetDatasetId(value); return *this;}
56
58
61 inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
62 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
63 inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; }
64 inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); }
65 inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); }
66 inline Dataset& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
67 inline Dataset& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
68 inline Dataset& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
70
72
75 inline const Aws::String& GetDatasetTitle() const{ return m_datasetTitle; }
76 inline bool DatasetTitleHasBeenSet() const { return m_datasetTitleHasBeenSet; }
77 inline void SetDatasetTitle(const Aws::String& value) { m_datasetTitleHasBeenSet = true; m_datasetTitle = value; }
78 inline void SetDatasetTitle(Aws::String&& value) { m_datasetTitleHasBeenSet = true; m_datasetTitle = std::move(value); }
79 inline void SetDatasetTitle(const char* value) { m_datasetTitleHasBeenSet = true; m_datasetTitle.assign(value); }
80 inline Dataset& WithDatasetTitle(const Aws::String& value) { SetDatasetTitle(value); return *this;}
81 inline Dataset& WithDatasetTitle(Aws::String&& value) { SetDatasetTitle(std::move(value)); return *this;}
82 inline Dataset& WithDatasetTitle(const char* value) { SetDatasetTitle(value); return *this;}
84
86
92 inline const DatasetKind& GetKind() const{ return m_kind; }
93 inline bool KindHasBeenSet() const { return m_kindHasBeenSet; }
94 inline void SetKind(const DatasetKind& value) { m_kindHasBeenSet = true; m_kind = value; }
95 inline void SetKind(DatasetKind&& value) { m_kindHasBeenSet = true; m_kind = std::move(value); }
96 inline Dataset& WithKind(const DatasetKind& value) { SetKind(value); return *this;}
97 inline Dataset& WithKind(DatasetKind&& value) { SetKind(std::move(value)); return *this;}
99
101
104 inline const Aws::String& GetDatasetDescription() const{ return m_datasetDescription; }
105 inline bool DatasetDescriptionHasBeenSet() const { return m_datasetDescriptionHasBeenSet; }
106 inline void SetDatasetDescription(const Aws::String& value) { m_datasetDescriptionHasBeenSet = true; m_datasetDescription = value; }
107 inline void SetDatasetDescription(Aws::String&& value) { m_datasetDescriptionHasBeenSet = true; m_datasetDescription = std::move(value); }
108 inline void SetDatasetDescription(const char* value) { m_datasetDescriptionHasBeenSet = true; m_datasetDescription.assign(value); }
109 inline Dataset& WithDatasetDescription(const Aws::String& value) { SetDatasetDescription(value); return *this;}
110 inline Dataset& WithDatasetDescription(Aws::String&& value) { SetDatasetDescription(std::move(value)); return *this;}
111 inline Dataset& WithDatasetDescription(const char* value) { SetDatasetDescription(value); return *this;}
113
115
118 inline const DatasetOwnerInfo& GetOwnerInfo() const{ return m_ownerInfo; }
119 inline bool OwnerInfoHasBeenSet() const { return m_ownerInfoHasBeenSet; }
120 inline void SetOwnerInfo(const DatasetOwnerInfo& value) { m_ownerInfoHasBeenSet = true; m_ownerInfo = value; }
121 inline void SetOwnerInfo(DatasetOwnerInfo&& value) { m_ownerInfoHasBeenSet = true; m_ownerInfo = std::move(value); }
122 inline Dataset& WithOwnerInfo(const DatasetOwnerInfo& value) { SetOwnerInfo(value); return *this;}
123 inline Dataset& WithOwnerInfo(DatasetOwnerInfo&& value) { SetOwnerInfo(std::move(value)); return *this;}
125
127
132 inline long long GetCreateTime() const{ return m_createTime; }
133 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
134 inline void SetCreateTime(long long value) { m_createTimeHasBeenSet = true; m_createTime = value; }
135 inline Dataset& WithCreateTime(long long value) { SetCreateTime(value); return *this;}
137
139
144 inline long long GetLastModifiedTime() const{ return m_lastModifiedTime; }
145 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
146 inline void SetLastModifiedTime(long long value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
147 inline Dataset& WithLastModifiedTime(long long value) { SetLastModifiedTime(value); return *this;}
149
151
154 inline const SchemaUnion& GetSchemaDefinition() const{ return m_schemaDefinition; }
155 inline bool SchemaDefinitionHasBeenSet() const { return m_schemaDefinitionHasBeenSet; }
156 inline void SetSchemaDefinition(const SchemaUnion& value) { m_schemaDefinitionHasBeenSet = true; m_schemaDefinition = value; }
157 inline void SetSchemaDefinition(SchemaUnion&& value) { m_schemaDefinitionHasBeenSet = true; m_schemaDefinition = std::move(value); }
158 inline Dataset& WithSchemaDefinition(const SchemaUnion& value) { SetSchemaDefinition(value); return *this;}
159 inline Dataset& WithSchemaDefinition(SchemaUnion&& value) { SetSchemaDefinition(std::move(value)); return *this;}
161
163
166 inline const Aws::String& GetAlias() const{ return m_alias; }
167 inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
168 inline void SetAlias(const Aws::String& value) { m_aliasHasBeenSet = true; m_alias = value; }
169 inline void SetAlias(Aws::String&& value) { m_aliasHasBeenSet = true; m_alias = std::move(value); }
170 inline void SetAlias(const char* value) { m_aliasHasBeenSet = true; m_alias.assign(value); }
171 inline Dataset& WithAlias(const Aws::String& value) { SetAlias(value); return *this;}
172 inline Dataset& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;}
173 inline Dataset& WithAlias(const char* value) { SetAlias(value); return *this;}
175 private:
176
177 Aws::String m_datasetId;
178 bool m_datasetIdHasBeenSet = false;
179
180 Aws::String m_datasetArn;
181 bool m_datasetArnHasBeenSet = false;
182
183 Aws::String m_datasetTitle;
184 bool m_datasetTitleHasBeenSet = false;
185
186 DatasetKind m_kind;
187 bool m_kindHasBeenSet = false;
188
189 Aws::String m_datasetDescription;
190 bool m_datasetDescriptionHasBeenSet = false;
191
192 DatasetOwnerInfo m_ownerInfo;
193 bool m_ownerInfoHasBeenSet = false;
194
195 long long m_createTime;
196 bool m_createTimeHasBeenSet = false;
197
198 long long m_lastModifiedTime;
199 bool m_lastModifiedTimeHasBeenSet = false;
200
201 SchemaUnion m_schemaDefinition;
202 bool m_schemaDefinitionHasBeenSet = false;
203
204 Aws::String m_alias;
205 bool m_aliasHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace FinSpaceData
210} // namespace Aws
void SetCreateTime(long long value)
Definition Dataset.h:134
void SetDatasetArn(const char *value)
Definition Dataset.h:65
Dataset & WithCreateTime(long long value)
Definition Dataset.h:135
void SetDatasetDescription(const char *value)
Definition Dataset.h:108
Dataset & WithDatasetDescription(Aws::String &&value)
Definition Dataset.h:110
void SetDatasetId(const Aws::String &value)
Definition Dataset.h:49
Dataset & WithDatasetTitle(Aws::String &&value)
Definition Dataset.h:81
const Aws::String & GetDatasetArn() const
Definition Dataset.h:61
void SetDatasetId(const char *value)
Definition Dataset.h:51
void SetDatasetTitle(const Aws::String &value)
Definition Dataset.h:77
void SetDatasetDescription(const Aws::String &value)
Definition Dataset.h:106
Dataset & WithDatasetId(const Aws::String &value)
Definition Dataset.h:52
Dataset & WithDatasetDescription(const Aws::String &value)
Definition Dataset.h:109
Dataset & WithDatasetArn(Aws::String &&value)
Definition Dataset.h:67
const Aws::String & GetDatasetTitle() const
Definition Dataset.h:75
void SetAlias(const Aws::String &value)
Definition Dataset.h:168
Dataset & WithSchemaDefinition(const SchemaUnion &value)
Definition Dataset.h:158
Dataset & WithDatasetId(Aws::String &&value)
Definition Dataset.h:53
void SetDatasetDescription(Aws::String &&value)
Definition Dataset.h:107
void SetSchemaDefinition(const SchemaUnion &value)
Definition Dataset.h:156
void SetSchemaDefinition(SchemaUnion &&value)
Definition Dataset.h:157
long long GetCreateTime() const
Definition Dataset.h:132
bool DatasetTitleHasBeenSet() const
Definition Dataset.h:76
void SetOwnerInfo(DatasetOwnerInfo &&value)
Definition Dataset.h:121
void SetDatasetArn(const Aws::String &value)
Definition Dataset.h:63
AWS_FINSPACEDATA_API Dataset & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedTime(long long value)
Definition Dataset.h:146
const SchemaUnion & GetSchemaDefinition() const
Definition Dataset.h:154
void SetKind(const DatasetKind &value)
Definition Dataset.h:94
Dataset & WithDatasetId(const char *value)
Definition Dataset.h:54
void SetDatasetTitle(const char *value)
Definition Dataset.h:79
void SetAlias(const char *value)
Definition Dataset.h:170
bool DatasetDescriptionHasBeenSet() const
Definition Dataset.h:105
Dataset & WithDatasetTitle(const Aws::String &value)
Definition Dataset.h:80
Dataset & WithAlias(Aws::String &&value)
Definition Dataset.h:172
AWS_FINSPACEDATA_API Dataset(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDatasetDescription() const
Definition Dataset.h:104
Dataset & WithLastModifiedTime(long long value)
Definition Dataset.h:147
Dataset & WithKind(DatasetKind &&value)
Definition Dataset.h:97
void SetKind(DatasetKind &&value)
Definition Dataset.h:95
void SetOwnerInfo(const DatasetOwnerInfo &value)
Definition Dataset.h:120
Dataset & WithDatasetArn(const char *value)
Definition Dataset.h:68
const DatasetOwnerInfo & GetOwnerInfo() const
Definition Dataset.h:118
Dataset & WithOwnerInfo(const DatasetOwnerInfo &value)
Definition Dataset.h:122
Dataset & WithDatasetTitle(const char *value)
Definition Dataset.h:82
Dataset & WithDatasetDescription(const char *value)
Definition Dataset.h:111
const Aws::String & GetDatasetId() const
Definition Dataset.h:47
const DatasetKind & GetKind() const
Definition Dataset.h:92
Dataset & WithOwnerInfo(DatasetOwnerInfo &&value)
Definition Dataset.h:123
Dataset & WithDatasetArn(const Aws::String &value)
Definition Dataset.h:66
void SetDatasetId(Aws::String &&value)
Definition Dataset.h:50
bool LastModifiedTimeHasBeenSet() const
Definition Dataset.h:145
AWS_FINSPACEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
Dataset & WithKind(const DatasetKind &value)
Definition Dataset.h:96
AWS_FINSPACEDATA_API Dataset()
long long GetLastModifiedTime() const
Definition Dataset.h:144
Dataset & WithAlias(const Aws::String &value)
Definition Dataset.h:171
const Aws::String & GetAlias() const
Definition Dataset.h:166
Dataset & WithAlias(const char *value)
Definition Dataset.h:173
void SetDatasetArn(Aws::String &&value)
Definition Dataset.h:64
bool SchemaDefinitionHasBeenSet() const
Definition Dataset.h:155
Dataset & WithSchemaDefinition(SchemaUnion &&value)
Definition Dataset.h:159
void SetDatasetTitle(Aws::String &&value)
Definition Dataset.h:78
void SetAlias(Aws::String &&value)
Definition Dataset.h:169
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue