AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DataLakeDataset.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/supplychain/SupplyChain_EXPORTS.h>
10#include <aws/supplychain/model/DataLakeDatasetPartitionSpec.h>
11#include <aws/supplychain/model/DataLakeDatasetSchema.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SupplyChain {
23namespace Model {
24
31 public:
32 AWS_SUPPLYCHAIN_API DataLakeDataset() = default;
33 AWS_SUPPLYCHAIN_API DataLakeDataset(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SUPPLYCHAIN_API DataLakeDataset& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
42 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
43 template <typename InstanceIdT = Aws::String>
44 void SetInstanceId(InstanceIdT&& value) {
45 m_instanceIdHasBeenSet = true;
46 m_instanceId = std::forward<InstanceIdT>(value);
47 }
48 template <typename InstanceIdT = Aws::String>
49 DataLakeDataset& WithInstanceId(InstanceIdT&& value) {
50 SetInstanceId(std::forward<InstanceIdT>(value));
51 return *this;
52 }
54
56
65 inline const Aws::String& GetNamespace() const { return m_namespace; }
66 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
67 template <typename NamespaceT = Aws::String>
68 void SetNamespace(NamespaceT&& value) {
69 m_namespaceHasBeenSet = true;
70 m_namespace = std::forward<NamespaceT>(value);
71 }
72 template <typename NamespaceT = Aws::String>
73 DataLakeDataset& WithNamespace(NamespaceT&& value) {
74 SetNamespace(std::forward<NamespaceT>(value));
75 return *this;
76 }
78
80
85 inline const Aws::String& GetName() const { return m_name; }
86 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
87 template <typename NameT = Aws::String>
88 void SetName(NameT&& value) {
89 m_nameHasBeenSet = true;
90 m_name = std::forward<NameT>(value);
91 }
92 template <typename NameT = Aws::String>
93 DataLakeDataset& WithName(NameT&& value) {
94 SetName(std::forward<NameT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::String& GetArn() const { return m_arn; }
104 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
105 template <typename ArnT = Aws::String>
106 void SetArn(ArnT&& value) {
107 m_arnHasBeenSet = true;
108 m_arn = std::forward<ArnT>(value);
109 }
110 template <typename ArnT = Aws::String>
111 DataLakeDataset& WithArn(ArnT&& value) {
112 SetArn(std::forward<ArnT>(value));
113 return *this;
114 }
116
118
121 inline const DataLakeDatasetSchema& GetSchema() const { return m_schema; }
122 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
123 template <typename SchemaT = DataLakeDatasetSchema>
124 void SetSchema(SchemaT&& value) {
125 m_schemaHasBeenSet = true;
126 m_schema = std::forward<SchemaT>(value);
127 }
128 template <typename SchemaT = DataLakeDatasetSchema>
129 DataLakeDataset& WithSchema(SchemaT&& value) {
130 SetSchema(std::forward<SchemaT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::String& GetDescription() const { return m_description; }
140 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
141 template <typename DescriptionT = Aws::String>
142 void SetDescription(DescriptionT&& value) {
143 m_descriptionHasBeenSet = true;
144 m_description = std::forward<DescriptionT>(value);
145 }
146 template <typename DescriptionT = Aws::String>
147 DataLakeDataset& WithDescription(DescriptionT&& value) {
148 SetDescription(std::forward<DescriptionT>(value));
149 return *this;
150 }
152
154
155 inline const DataLakeDatasetPartitionSpec& GetPartitionSpec() const { return m_partitionSpec; }
156 inline bool PartitionSpecHasBeenSet() const { return m_partitionSpecHasBeenSet; }
157 template <typename PartitionSpecT = DataLakeDatasetPartitionSpec>
158 void SetPartitionSpec(PartitionSpecT&& value) {
159 m_partitionSpecHasBeenSet = true;
160 m_partitionSpec = std::forward<PartitionSpecT>(value);
161 }
162 template <typename PartitionSpecT = DataLakeDatasetPartitionSpec>
163 DataLakeDataset& WithPartitionSpec(PartitionSpecT&& value) {
164 SetPartitionSpec(std::forward<PartitionSpecT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
174 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
175 template <typename CreatedTimeT = Aws::Utils::DateTime>
176 void SetCreatedTime(CreatedTimeT&& value) {
177 m_createdTimeHasBeenSet = true;
178 m_createdTime = std::forward<CreatedTimeT>(value);
179 }
180 template <typename CreatedTimeT = Aws::Utils::DateTime>
181 DataLakeDataset& WithCreatedTime(CreatedTimeT&& value) {
182 SetCreatedTime(std::forward<CreatedTimeT>(value));
183 return *this;
184 }
186
188
191 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
192 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
193 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
194 void SetLastModifiedTime(LastModifiedTimeT&& value) {
195 m_lastModifiedTimeHasBeenSet = true;
196 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
197 }
198 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
199 DataLakeDataset& WithLastModifiedTime(LastModifiedTimeT&& value) {
200 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
201 return *this;
202 }
204 private:
205 Aws::String m_instanceId;
206
207 Aws::String m_namespace;
208
209 Aws::String m_name;
210
211 Aws::String m_arn;
212
213 DataLakeDatasetSchema m_schema;
214
215 Aws::String m_description;
216
217 DataLakeDatasetPartitionSpec m_partitionSpec;
218
219 Aws::Utils::DateTime m_createdTime{};
220
221 Aws::Utils::DateTime m_lastModifiedTime{};
222 bool m_instanceIdHasBeenSet = false;
223 bool m_namespaceHasBeenSet = false;
224 bool m_nameHasBeenSet = false;
225 bool m_arnHasBeenSet = false;
226 bool m_schemaHasBeenSet = false;
227 bool m_descriptionHasBeenSet = false;
228 bool m_partitionSpecHasBeenSet = false;
229 bool m_createdTimeHasBeenSet = false;
230 bool m_lastModifiedTimeHasBeenSet = false;
231};
232
233} // namespace Model
234} // namespace SupplyChain
235} // namespace Aws
DataLakeDataset & WithName(NameT &&value)
const Aws::String & GetInstanceId() const
DataLakeDataset & WithSchema(SchemaT &&value)
AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
DataLakeDataset & WithInstanceId(InstanceIdT &&value)
DataLakeDataset & WithNamespace(NamespaceT &&value)
DataLakeDataset & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetCreatedTime(CreatedTimeT &&value)
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetCreatedTime() const
DataLakeDataset & WithPartitionSpec(PartitionSpecT &&value)
void SetInstanceId(InstanceIdT &&value)
const DataLakeDatasetPartitionSpec & GetPartitionSpec() const
AWS_SUPPLYCHAIN_API DataLakeDataset(Aws::Utils::Json::JsonView jsonValue)
AWS_SUPPLYCHAIN_API DataLakeDataset()=default
const Aws::String & GetName() const
const DataLakeDatasetSchema & GetSchema() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetNamespace() const
DataLakeDataset & WithArn(ArnT &&value)
void SetPartitionSpec(PartitionSpecT &&value)
AWS_SUPPLYCHAIN_API DataLakeDataset & operator=(Aws::Utils::Json::JsonView jsonValue)
DataLakeDataset & WithCreatedTime(CreatedTimeT &&value)
DataLakeDataset & WithLastModifiedTime(LastModifiedTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue