AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
46 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
47 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
48 inline UpdateDatasetRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
49 inline UpdateDatasetRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
50 inline UpdateDatasetRequest& WithName(const char* value) { SetName(value); return *this;}
52
54
58 inline const InputFormat& GetFormat() const{ return m_format; }
59 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
60 inline void SetFormat(const InputFormat& value) { m_formatHasBeenSet = true; m_format = value; }
61 inline void SetFormat(InputFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
62 inline UpdateDatasetRequest& WithFormat(const InputFormat& value) { SetFormat(value); return *this;}
63 inline UpdateDatasetRequest& WithFormat(InputFormat&& value) { SetFormat(std::move(value)); return *this;}
65
67
68 inline const FormatOptions& GetFormatOptions() const{ return m_formatOptions; }
69 inline bool FormatOptionsHasBeenSet() const { return m_formatOptionsHasBeenSet; }
70 inline void SetFormatOptions(const FormatOptions& value) { m_formatOptionsHasBeenSet = true; m_formatOptions = value; }
71 inline void SetFormatOptions(FormatOptions&& value) { m_formatOptionsHasBeenSet = true; m_formatOptions = std::move(value); }
72 inline UpdateDatasetRequest& WithFormatOptions(const FormatOptions& value) { SetFormatOptions(value); return *this;}
73 inline UpdateDatasetRequest& WithFormatOptions(FormatOptions&& value) { SetFormatOptions(std::move(value)); return *this;}
75
77
78 inline const Input& GetInput() const{ return m_input; }
79 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
80 inline void SetInput(const Input& value) { m_inputHasBeenSet = true; m_input = value; }
81 inline void SetInput(Input&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
82 inline UpdateDatasetRequest& WithInput(const Input& value) { SetInput(value); return *this;}
83 inline UpdateDatasetRequest& WithInput(Input&& value) { SetInput(std::move(value)); return *this;}
85
87
91 inline const PathOptions& GetPathOptions() const{ return m_pathOptions; }
92 inline bool PathOptionsHasBeenSet() const { return m_pathOptionsHasBeenSet; }
93 inline void SetPathOptions(const PathOptions& value) { m_pathOptionsHasBeenSet = true; m_pathOptions = value; }
94 inline void SetPathOptions(PathOptions&& value) { m_pathOptionsHasBeenSet = true; m_pathOptions = std::move(value); }
95 inline UpdateDatasetRequest& WithPathOptions(const PathOptions& value) { SetPathOptions(value); return *this;}
96 inline UpdateDatasetRequest& WithPathOptions(PathOptions&& value) { SetPathOptions(std::move(value)); return *this;}
98 private:
99
100 Aws::String m_name;
101 bool m_nameHasBeenSet = false;
102
103 InputFormat m_format;
104 bool m_formatHasBeenSet = false;
105
106 FormatOptions m_formatOptions;
107 bool m_formatOptionsHasBeenSet = false;
108
109 Input m_input;
110 bool m_inputHasBeenSet = false;
111
112 PathOptions m_pathOptions;
113 bool m_pathOptionsHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace GlueDataBrew
118} // namespace Aws
UpdateDatasetRequest & WithPathOptions(const PathOptions &value)
UpdateDatasetRequest & WithFormatOptions(const FormatOptions &value)
UpdateDatasetRequest & WithInput(Input &&value)
UpdateDatasetRequest & WithName(const char *value)
UpdateDatasetRequest & WithName(Aws::String &&value)
UpdateDatasetRequest & WithFormatOptions(FormatOptions &&value)
UpdateDatasetRequest & WithName(const Aws::String &value)
UpdateDatasetRequest & WithInput(const Input &value)
UpdateDatasetRequest & WithFormat(const InputFormat &value)
UpdateDatasetRequest & WithFormat(InputFormat &&value)
void SetFormatOptions(const FormatOptions &value)
UpdateDatasetRequest & WithPathOptions(PathOptions &&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