AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDataLakeDatasetRequest.h
1
6#pragma once
7#include <aws/supplychain/SupplyChain_EXPORTS.h>
8#include <aws/supplychain/SupplyChainRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/supplychain/model/DataLakeDatasetSchema.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SupplyChain
17{
18namespace Model
19{
20
28 {
29 public:
30 AWS_SUPPLYCHAIN_API CreateDataLakeDatasetRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateDataLakeDataset"; }
37
38 AWS_SUPPLYCHAIN_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
46 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
47 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
48 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
49 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
50 inline CreateDataLakeDatasetRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
51 inline CreateDataLakeDatasetRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
52 inline CreateDataLakeDatasetRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
54
56
63 inline const Aws::String& GetNamespace() const{ return m_namespace; }
64 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
65 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
66 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
67 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
68 inline CreateDataLakeDatasetRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
69 inline CreateDataLakeDatasetRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
70 inline CreateDataLakeDatasetRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
72
74
79 inline const Aws::String& GetName() const{ return m_name; }
80 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
81 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
82 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
83 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
84 inline CreateDataLakeDatasetRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
85 inline CreateDataLakeDatasetRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
86 inline CreateDataLakeDatasetRequest& WithName(const char* value) { SetName(value); return *this;}
88
90
94 inline const DataLakeDatasetSchema& GetSchema() const{ return m_schema; }
95 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
96 inline void SetSchema(const DataLakeDatasetSchema& value) { m_schemaHasBeenSet = true; m_schema = value; }
97 inline void SetSchema(DataLakeDatasetSchema&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); }
98 inline CreateDataLakeDatasetRequest& WithSchema(const DataLakeDatasetSchema& value) { SetSchema(value); return *this;}
99 inline CreateDataLakeDatasetRequest& WithSchema(DataLakeDatasetSchema&& value) { SetSchema(std::move(value)); return *this;}
101
103
106 inline const Aws::String& GetDescription() const{ return m_description; }
107 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
108 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
109 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
110 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
111 inline CreateDataLakeDatasetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
112 inline CreateDataLakeDatasetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
113 inline CreateDataLakeDatasetRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
115
117
120 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
121 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
122 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
123 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
125 inline CreateDataLakeDatasetRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
126 inline CreateDataLakeDatasetRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
127 inline CreateDataLakeDatasetRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
128 inline CreateDataLakeDatasetRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
129 inline CreateDataLakeDatasetRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
130 inline CreateDataLakeDatasetRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
131 inline CreateDataLakeDatasetRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
132 inline CreateDataLakeDatasetRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
134 private:
135
136 Aws::String m_instanceId;
137 bool m_instanceIdHasBeenSet = false;
138
139 Aws::String m_namespace;
140 bool m_namespaceHasBeenSet = false;
141
142 Aws::String m_name;
143 bool m_nameHasBeenSet = false;
144
145 DataLakeDatasetSchema m_schema;
146 bool m_schemaHasBeenSet = false;
147
148 Aws::String m_description;
149 bool m_descriptionHasBeenSet = false;
150
152 bool m_tagsHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace SupplyChain
157} // namespace Aws
CreateDataLakeDatasetRequest & AddTags(const char *key, const char *value)
CreateDataLakeDatasetRequest & WithInstanceId(const Aws::String &value)
CreateDataLakeDatasetRequest & WithSchema(DataLakeDatasetSchema &&value)
CreateDataLakeDatasetRequest & WithSchema(const DataLakeDatasetSchema &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateDataLakeDatasetRequest & WithDescription(const char *value)
CreateDataLakeDatasetRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateDataLakeDatasetRequest & AddTags(const char *key, Aws::String &&value)
CreateDataLakeDatasetRequest & WithName(const Aws::String &value)
CreateDataLakeDatasetRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateDataLakeDatasetRequest & WithInstanceId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateDataLakeDatasetRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateDataLakeDatasetRequest & WithDescription(Aws::String &&value)
CreateDataLakeDatasetRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDataLakeDatasetRequest & WithNamespace(const Aws::String &value)
CreateDataLakeDatasetRequest & WithInstanceId(Aws::String &&value)
CreateDataLakeDatasetRequest & WithNamespace(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDataLakeDatasetRequest & WithDescription(const Aws::String &value)
CreateDataLakeDatasetRequest & WithName(Aws::String &&value)
AWS_SUPPLYCHAIN_API Aws::String SerializePayload() const override
CreateDataLakeDatasetRequest & WithNamespace(Aws::String &&value)
CreateDataLakeDatasetRequest & AddTags(Aws::String &&key, const char *value)
CreateDataLakeDatasetRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateDataLakeDatasetRequest & WithName(const char *value)
CreateDataLakeDatasetRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String