AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DataLakeDataset.h
1
6#pragma once
7#include <aws/supplychain/SupplyChain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/supplychain/model/DataLakeDatasetSchema.h>
10#include <aws/supplychain/model/DataLakeDatasetPartitionSpec.h>
11#include <aws/core/utils/DateTime.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 SupplyChain
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_SUPPLYCHAIN_API DataLakeDataset() = default;
38 AWS_SUPPLYCHAIN_API DataLakeDataset(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SUPPLYCHAIN_API DataLakeDataset& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
48 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
49 template<typename InstanceIdT = Aws::String>
50 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
51 template<typename InstanceIdT = Aws::String>
52 DataLakeDataset& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
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) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
69 template<typename NamespaceT = Aws::String>
70 DataLakeDataset& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
72
74
79 inline const Aws::String& GetName() const { return m_name; }
80 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
81 template<typename NameT = Aws::String>
82 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
83 template<typename NameT = Aws::String>
84 DataLakeDataset& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
86
88
91 inline const Aws::String& GetArn() const { return m_arn; }
92 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
93 template<typename ArnT = Aws::String>
94 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
95 template<typename ArnT = Aws::String>
96 DataLakeDataset& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
98
100
103 inline const DataLakeDatasetSchema& GetSchema() const { return m_schema; }
104 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
105 template<typename SchemaT = DataLakeDatasetSchema>
106 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet = true; m_schema = std::forward<SchemaT>(value); }
107 template<typename SchemaT = DataLakeDatasetSchema>
108 DataLakeDataset& WithSchema(SchemaT&& value) { SetSchema(std::forward<SchemaT>(value)); return *this;}
110
112
115 inline const Aws::String& GetDescription() const { return m_description; }
116 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
117 template<typename DescriptionT = Aws::String>
118 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
119 template<typename DescriptionT = Aws::String>
120 DataLakeDataset& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
122
124
125 inline const DataLakeDatasetPartitionSpec& GetPartitionSpec() const { return m_partitionSpec; }
126 inline bool PartitionSpecHasBeenSet() const { return m_partitionSpecHasBeenSet; }
127 template<typename PartitionSpecT = DataLakeDatasetPartitionSpec>
128 void SetPartitionSpec(PartitionSpecT&& value) { m_partitionSpecHasBeenSet = true; m_partitionSpec = std::forward<PartitionSpecT>(value); }
129 template<typename PartitionSpecT = DataLakeDatasetPartitionSpec>
130 DataLakeDataset& WithPartitionSpec(PartitionSpecT&& value) { SetPartitionSpec(std::forward<PartitionSpecT>(value)); return *this;}
132
134
137 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
138 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
139 template<typename CreatedTimeT = Aws::Utils::DateTime>
140 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
141 template<typename CreatedTimeT = Aws::Utils::DateTime>
142 DataLakeDataset& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
144
146
149 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
150 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
151 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
152 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
153 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
154 DataLakeDataset& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
156 private:
157
158 Aws::String m_instanceId;
159 bool m_instanceIdHasBeenSet = false;
160
161 Aws::String m_namespace;
162 bool m_namespaceHasBeenSet = false;
163
164 Aws::String m_name;
165 bool m_nameHasBeenSet = false;
166
167 Aws::String m_arn;
168 bool m_arnHasBeenSet = false;
169
170 DataLakeDatasetSchema m_schema;
171 bool m_schemaHasBeenSet = false;
172
173 Aws::String m_description;
174 bool m_descriptionHasBeenSet = false;
175
176 DataLakeDatasetPartitionSpec m_partitionSpec;
177 bool m_partitionSpecHasBeenSet = false;
178
179 Aws::Utils::DateTime m_createdTime{};
180 bool m_createdTimeHasBeenSet = false;
181
182 Aws::Utils::DateTime m_lastModifiedTime{};
183 bool m_lastModifiedTimeHasBeenSet = false;
184 };
185
186} // namespace Model
187} // namespace SupplyChain
188} // 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