AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
UpdateDatasetRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/databrew/GlueDataBrewRequest.h>
9#include <aws/databrew/GlueDataBrew_EXPORTS.h>
10#include <aws/databrew/model/FormatOptions.h>
11#include <aws/databrew/model/Input.h>
12#include <aws/databrew/model/InputFormat.h>
13#include <aws/databrew/model/PathOptions.h>
14
15#include <utility>
16
17namespace Aws {
18namespace GlueDataBrew {
19namespace Model {
20
24 public:
25 AWS_GLUEDATABREW_API UpdateDatasetRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateDataset"; }
32
33 AWS_GLUEDATABREW_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
52
54
58 inline InputFormat GetFormat() const { return m_format; }
59 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
60 inline void SetFormat(InputFormat value) {
61 m_formatHasBeenSet = true;
62 m_format = value;
63 }
65 SetFormat(value);
66 return *this;
67 }
69
71
72 inline const FormatOptions& GetFormatOptions() const { return m_formatOptions; }
73 inline bool FormatOptionsHasBeenSet() const { return m_formatOptionsHasBeenSet; }
74 template <typename FormatOptionsT = FormatOptions>
75 void SetFormatOptions(FormatOptionsT&& value) {
76 m_formatOptionsHasBeenSet = true;
77 m_formatOptions = std::forward<FormatOptionsT>(value);
78 }
79 template <typename FormatOptionsT = FormatOptions>
80 UpdateDatasetRequest& WithFormatOptions(FormatOptionsT&& value) {
81 SetFormatOptions(std::forward<FormatOptionsT>(value));
82 return *this;
83 }
85
87
88 inline const Input& GetInput() const { return m_input; }
89 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
90 template <typename InputT = Input>
91 void SetInput(InputT&& value) {
92 m_inputHasBeenSet = true;
93 m_input = std::forward<InputT>(value);
94 }
95 template <typename InputT = Input>
97 SetInput(std::forward<InputT>(value));
98 return *this;
99 }
101
103
107 inline const PathOptions& GetPathOptions() const { return m_pathOptions; }
108 inline bool PathOptionsHasBeenSet() const { return m_pathOptionsHasBeenSet; }
109 template <typename PathOptionsT = PathOptions>
110 void SetPathOptions(PathOptionsT&& value) {
111 m_pathOptionsHasBeenSet = true;
112 m_pathOptions = std::forward<PathOptionsT>(value);
113 }
114 template <typename PathOptionsT = PathOptions>
115 UpdateDatasetRequest& WithPathOptions(PathOptionsT&& value) {
116 SetPathOptions(std::forward<PathOptionsT>(value));
117 return *this;
118 }
120 private:
121 Aws::String m_name;
122
124
125 FormatOptions m_formatOptions;
126
127 Input m_input;
128
129 PathOptions m_pathOptions;
130 bool m_nameHasBeenSet = false;
131 bool m_formatHasBeenSet = false;
132 bool m_formatOptionsHasBeenSet = false;
133 bool m_inputHasBeenSet = false;
134 bool m_pathOptionsHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace GlueDataBrew
139} // namespace Aws
UpdateDatasetRequest & WithInput(InputT &&value)
UpdateDatasetRequest & WithName(NameT &&value)
UpdateDatasetRequest & WithFormatOptions(FormatOptionsT &&value)
AWS_GLUEDATABREW_API UpdateDatasetRequest()=default
UpdateDatasetRequest & WithPathOptions(PathOptionsT &&value)
UpdateDatasetRequest & WithFormat(InputFormat value)
AWS_GLUEDATABREW_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String