AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
49 template<typename NameT = Aws::String>
50 CreateDatasetRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
52
54
58 inline InputFormat GetFormat() const { return m_format; }
59 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
60 inline void SetFormat(InputFormat value) { m_formatHasBeenSet = true; m_format = value; }
61 inline CreateDatasetRequest& WithFormat(InputFormat value) { SetFormat(value); return *this;}
63
65
66 inline const FormatOptions& GetFormatOptions() const { return m_formatOptions; }
67 inline bool FormatOptionsHasBeenSet() const { return m_formatOptionsHasBeenSet; }
68 template<typename FormatOptionsT = FormatOptions>
69 void SetFormatOptions(FormatOptionsT&& value) { m_formatOptionsHasBeenSet = true; m_formatOptions = std::forward<FormatOptionsT>(value); }
70 template<typename FormatOptionsT = FormatOptions>
71 CreateDatasetRequest& WithFormatOptions(FormatOptionsT&& value) { SetFormatOptions(std::forward<FormatOptionsT>(value)); return *this;}
73
75
76 inline const Input& GetInput() const { return m_input; }
77 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
78 template<typename InputT = Input>
79 void SetInput(InputT&& value) { m_inputHasBeenSet = true; m_input = std::forward<InputT>(value); }
80 template<typename InputT = Input>
81 CreateDatasetRequest& WithInput(InputT&& value) { SetInput(std::forward<InputT>(value)); return *this;}
83
85
89 inline const PathOptions& GetPathOptions() const { return m_pathOptions; }
90 inline bool PathOptionsHasBeenSet() const { return m_pathOptionsHasBeenSet; }
91 template<typename PathOptionsT = PathOptions>
92 void SetPathOptions(PathOptionsT&& value) { m_pathOptionsHasBeenSet = true; m_pathOptions = std::forward<PathOptionsT>(value); }
93 template<typename PathOptionsT = PathOptions>
94 CreateDatasetRequest& WithPathOptions(PathOptionsT&& value) { SetPathOptions(std::forward<PathOptionsT>(value)); return *this;}
96
98
101 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
102 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
103 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
104 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
105 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
106 CreateDatasetRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
107 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
108 CreateDatasetRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
109 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
110 }
112 private:
113
114 Aws::String m_name;
115 bool m_nameHasBeenSet = false;
116
118 bool m_formatHasBeenSet = false;
119
120 FormatOptions m_formatOptions;
121 bool m_formatOptionsHasBeenSet = false;
122
123 Input m_input;
124 bool m_inputHasBeenSet = false;
125
126 PathOptions m_pathOptions;
127 bool m_pathOptionsHasBeenSet = false;
128
130 bool m_tagsHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace GlueDataBrew
135} // namespace Aws
AWS_GLUEDATABREW_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateDatasetRequest & WithFormat(InputFormat value)
CreateDatasetRequest & WithFormatOptions(FormatOptionsT &&value)
CreateDatasetRequest & WithTags(TagsT &&value)
CreateDatasetRequest & WithName(NameT &&value)
CreateDatasetRequest & WithInput(InputT &&value)
CreateDatasetRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateDatasetRequest & WithPathOptions(PathOptionsT &&value)
AWS_GLUEDATABREW_API CreateDatasetRequest()=default
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