AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateDatasetRequest.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 <utility>
15
16namespace Aws
17{
18namespace GlueDataBrew
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_GLUEDATABREW_API UpdateDatasetRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateDataset"; }
35
36 AWS_GLUEDATABREW_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetName() const { return m_name; }
44 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
45 template<typename NameT = Aws::String>
46 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
47 template<typename NameT = Aws::String>
48 UpdateDatasetRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
50
52
56 inline InputFormat GetFormat() const { return m_format; }
57 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
58 inline void SetFormat(InputFormat value) { m_formatHasBeenSet = true; m_format = value; }
59 inline UpdateDatasetRequest& WithFormat(InputFormat value) { SetFormat(value); return *this;}
61
63
64 inline const FormatOptions& GetFormatOptions() const { return m_formatOptions; }
65 inline bool FormatOptionsHasBeenSet() const { return m_formatOptionsHasBeenSet; }
66 template<typename FormatOptionsT = FormatOptions>
67 void SetFormatOptions(FormatOptionsT&& value) { m_formatOptionsHasBeenSet = true; m_formatOptions = std::forward<FormatOptionsT>(value); }
68 template<typename FormatOptionsT = FormatOptions>
69 UpdateDatasetRequest& WithFormatOptions(FormatOptionsT&& value) { SetFormatOptions(std::forward<FormatOptionsT>(value)); return *this;}
71
73
74 inline const Input& GetInput() const { return m_input; }
75 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
76 template<typename InputT = Input>
77 void SetInput(InputT&& value) { m_inputHasBeenSet = true; m_input = std::forward<InputT>(value); }
78 template<typename InputT = Input>
79 UpdateDatasetRequest& WithInput(InputT&& value) { SetInput(std::forward<InputT>(value)); return *this;}
81
83
87 inline const PathOptions& GetPathOptions() const { return m_pathOptions; }
88 inline bool PathOptionsHasBeenSet() const { return m_pathOptionsHasBeenSet; }
89 template<typename PathOptionsT = PathOptions>
90 void SetPathOptions(PathOptionsT&& value) { m_pathOptionsHasBeenSet = true; m_pathOptions = std::forward<PathOptionsT>(value); }
91 template<typename PathOptionsT = PathOptions>
92 UpdateDatasetRequest& WithPathOptions(PathOptionsT&& value) { SetPathOptions(std::forward<PathOptionsT>(value)); return *this;}
94 private:
95
96 Aws::String m_name;
97 bool m_nameHasBeenSet = false;
98
100 bool m_formatHasBeenSet = false;
101
102 FormatOptions m_formatOptions;
103 bool m_formatOptionsHasBeenSet = false;
104
105 Input m_input;
106 bool m_inputHasBeenSet = false;
107
108 PathOptions m_pathOptions;
109 bool m_pathOptionsHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace GlueDataBrew
114} // 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