AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDatasetRequest.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/databrew/GlueDataBrewRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/databrew/model/InputFormat.h>
11#include <aws/databrew/model/FormatOptions.h>
12#include <aws/databrew/model/Input.h>
13#include <aws/databrew/model/PathOptions.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <utility>
16
17namespace Aws
18{
19namespace GlueDataBrew
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_GLUEDATABREW_API CreateDatasetRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateDataset"; }
36
37 AWS_GLUEDATABREW_API Aws::String SerializePayload() const override;
38
39
41
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline CreateDatasetRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline CreateDatasetRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline CreateDatasetRequest& WithName(const char* value) { SetName(value); return *this;}
54
56
60 inline const InputFormat& GetFormat() const{ return m_format; }
61 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
62 inline void SetFormat(const InputFormat& value) { m_formatHasBeenSet = true; m_format = value; }
63 inline void SetFormat(InputFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
64 inline CreateDatasetRequest& WithFormat(const InputFormat& value) { SetFormat(value); return *this;}
65 inline CreateDatasetRequest& WithFormat(InputFormat&& value) { SetFormat(std::move(value)); return *this;}
67
69
70 inline const FormatOptions& GetFormatOptions() const{ return m_formatOptions; }
71 inline bool FormatOptionsHasBeenSet() const { return m_formatOptionsHasBeenSet; }
72 inline void SetFormatOptions(const FormatOptions& value) { m_formatOptionsHasBeenSet = true; m_formatOptions = value; }
73 inline void SetFormatOptions(FormatOptions&& value) { m_formatOptionsHasBeenSet = true; m_formatOptions = std::move(value); }
74 inline CreateDatasetRequest& WithFormatOptions(const FormatOptions& value) { SetFormatOptions(value); return *this;}
75 inline CreateDatasetRequest& WithFormatOptions(FormatOptions&& value) { SetFormatOptions(std::move(value)); return *this;}
77
79
80 inline const Input& GetInput() const{ return m_input; }
81 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
82 inline void SetInput(const Input& value) { m_inputHasBeenSet = true; m_input = value; }
83 inline void SetInput(Input&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
84 inline CreateDatasetRequest& WithInput(const Input& value) { SetInput(value); return *this;}
85 inline CreateDatasetRequest& WithInput(Input&& value) { SetInput(std::move(value)); return *this;}
87
89
93 inline const PathOptions& GetPathOptions() const{ return m_pathOptions; }
94 inline bool PathOptionsHasBeenSet() const { return m_pathOptionsHasBeenSet; }
95 inline void SetPathOptions(const PathOptions& value) { m_pathOptionsHasBeenSet = true; m_pathOptions = value; }
96 inline void SetPathOptions(PathOptions&& value) { m_pathOptionsHasBeenSet = true; m_pathOptions = std::move(value); }
97 inline CreateDatasetRequest& WithPathOptions(const PathOptions& value) { SetPathOptions(value); return *this;}
98 inline CreateDatasetRequest& WithPathOptions(PathOptions&& value) { SetPathOptions(std::move(value)); return *this;}
100
102
105 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
106 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
107 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
108 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
109 inline CreateDatasetRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
110 inline CreateDatasetRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
111 inline CreateDatasetRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
112 inline CreateDatasetRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
113 inline CreateDatasetRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
114 inline CreateDatasetRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
115 inline CreateDatasetRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
116 inline CreateDatasetRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
117 inline CreateDatasetRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
119 private:
120
121 Aws::String m_name;
122 bool m_nameHasBeenSet = false;
123
124 InputFormat m_format;
125 bool m_formatHasBeenSet = false;
126
127 FormatOptions m_formatOptions;
128 bool m_formatOptionsHasBeenSet = false;
129
130 Input m_input;
131 bool m_inputHasBeenSet = false;
132
133 PathOptions m_pathOptions;
134 bool m_pathOptionsHasBeenSet = false;
135
137 bool m_tagsHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace GlueDataBrew
142} // namespace Aws
CreateDatasetRequest & WithFormatOptions(FormatOptions &&value)
AWS_GLUEDATABREW_API Aws::String SerializePayload() const override
CreateDatasetRequest & AddTags(const char *key, Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateDatasetRequest & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDatasetRequest & WithFormatOptions(const FormatOptions &value)
CreateDatasetRequest & AddTags(Aws::String &&key, const char *value)
CreateDatasetRequest & AddTags(const char *key, const char *value)
CreateDatasetRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateDatasetRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateDatasetRequest & WithName(const Aws::String &value)
CreateDatasetRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDatasetRequest & WithInput(Input &&value)
CreateDatasetRequest & WithPathOptions(const PathOptions &value)
CreateDatasetRequest & WithFormat(const InputFormat &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateDatasetRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateDatasetRequest & WithInput(const Input &value)
CreateDatasetRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetFormatOptions(const FormatOptions &value)
CreateDatasetRequest & WithPathOptions(PathOptions &&value)
CreateDatasetRequest & WithName(Aws::String &&value)
CreateDatasetRequest & WithFormat(InputFormat &&value)
CreateDatasetRequest & WithName(const char *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