AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SupplyChain
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SUPPLYCHAIN_API DataLakeDataset();
37 AWS_SUPPLYCHAIN_API DataLakeDataset(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SUPPLYCHAIN_API DataLakeDataset& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
47 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
48 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
49 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
50 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
51 inline DataLakeDataset& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
52 inline DataLakeDataset& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
53 inline DataLakeDataset& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
55
57
65 inline const Aws::String& GetNamespace() const{ return m_namespace; }
66 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
67 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
68 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
69 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
70 inline DataLakeDataset& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
71 inline DataLakeDataset& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
72 inline DataLakeDataset& WithNamespace(const char* value) { SetNamespace(value); return *this;}
74
76
81 inline const Aws::String& GetName() const{ return m_name; }
82 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
83 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
84 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
85 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
86 inline DataLakeDataset& WithName(const Aws::String& value) { SetName(value); return *this;}
87 inline DataLakeDataset& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
88 inline DataLakeDataset& WithName(const char* value) { SetName(value); return *this;}
90
92
95 inline const Aws::String& GetArn() const{ return m_arn; }
96 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
97 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
98 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
99 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
100 inline DataLakeDataset& WithArn(const Aws::String& value) { SetArn(value); return *this;}
101 inline DataLakeDataset& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
102 inline DataLakeDataset& WithArn(const char* value) { SetArn(value); return *this;}
104
106
109 inline const DataLakeDatasetSchema& GetSchema() const{ return m_schema; }
110 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
111 inline void SetSchema(const DataLakeDatasetSchema& value) { m_schemaHasBeenSet = true; m_schema = value; }
112 inline void SetSchema(DataLakeDatasetSchema&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); }
113 inline DataLakeDataset& WithSchema(const DataLakeDatasetSchema& value) { SetSchema(value); return *this;}
114 inline DataLakeDataset& WithSchema(DataLakeDatasetSchema&& value) { SetSchema(std::move(value)); return *this;}
116
118
121 inline const Aws::String& GetDescription() const{ return m_description; }
122 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
123 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
124 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
125 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
126 inline DataLakeDataset& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
127 inline DataLakeDataset& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
128 inline DataLakeDataset& WithDescription(const char* value) { SetDescription(value); return *this;}
130
132
135 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
136 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
137 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
138 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
139 inline DataLakeDataset& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
140 inline DataLakeDataset& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
142
144
147 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
148 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
149 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
150 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
152 inline DataLakeDataset& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
154 private:
155
156 Aws::String m_instanceId;
157 bool m_instanceIdHasBeenSet = false;
158
159 Aws::String m_namespace;
160 bool m_namespaceHasBeenSet = false;
161
162 Aws::String m_name;
163 bool m_nameHasBeenSet = false;
164
165 Aws::String m_arn;
166 bool m_arnHasBeenSet = false;
167
168 DataLakeDatasetSchema m_schema;
169 bool m_schemaHasBeenSet = false;
170
171 Aws::String m_description;
172 bool m_descriptionHasBeenSet = false;
173
174 Aws::Utils::DateTime m_createdTime;
175 bool m_createdTimeHasBeenSet = false;
176
177 Aws::Utils::DateTime m_lastModifiedTime;
178 bool m_lastModifiedTimeHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace SupplyChain
183} // namespace Aws
const Aws::String & GetInstanceId() const
AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
DataLakeDataset & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetName(const Aws::String &value)
DataLakeDataset & WithNamespace(Aws::String &&value)
void SetNamespace(const Aws::String &value)
DataLakeDataset & WithSchema(const DataLakeDatasetSchema &value)
void SetSchema(const DataLakeDatasetSchema &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
void SetArn(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
DataLakeDataset & WithName(const char *value)
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetCreatedTime() const
void SetCreatedTime(Aws::Utils::DateTime &&value)
AWS_SUPPLYCHAIN_API DataLakeDataset(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
DataLakeDataset & WithName(Aws::String &&value)
DataLakeDataset & WithDescription(Aws::String &&value)
const DataLakeDatasetSchema & GetSchema() const
DataLakeDataset & WithSchema(DataLakeDatasetSchema &&value)
DataLakeDataset & WithDescription(const Aws::String &value)
void SetInstanceId(const Aws::String &value)
DataLakeDataset & WithCreatedTime(Aws::Utils::DateTime &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetDescription(const Aws::String &value)
const Aws::String & GetNamespace() const
DataLakeDataset & WithDescription(const char *value)
DataLakeDataset & WithNamespace(const Aws::String &value)
DataLakeDataset & WithArn(Aws::String &&value)
void SetSchema(DataLakeDatasetSchema &&value)
AWS_SUPPLYCHAIN_API DataLakeDataset & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInstanceId(Aws::String &&value)
DataLakeDataset & WithArn(const char *value)
DataLakeDataset & WithNamespace(const char *value)
DataLakeDataset & WithInstanceId(const char *value)
DataLakeDataset & WithInstanceId(const Aws::String &value)
DataLakeDataset & WithInstanceId(Aws::String &&value)
DataLakeDataset & WithName(const Aws::String &value)
DataLakeDataset & WithArn(const Aws::String &value)
DataLakeDataset & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DataLakeDataset & WithLastModifiedTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue