AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DropFields.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/Glue_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
30 public:
31 AWS_GLUE_API DropFields() = default;
32 AWS_GLUE_API DropFields(Aws::Utils::Json::JsonView jsonValue);
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
48 DropFields& WithName(NameT&& value) {
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Vector<Aws::String>& GetInputs() const { return m_inputs; }
59 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
60 template <typename InputsT = Aws::Vector<Aws::String>>
61 void SetInputs(InputsT&& value) {
62 m_inputsHasBeenSet = true;
63 m_inputs = std::forward<InputsT>(value);
64 }
65 template <typename InputsT = Aws::Vector<Aws::String>>
66 DropFields& WithInputs(InputsT&& value) {
67 SetInputs(std::forward<InputsT>(value));
68 return *this;
69 }
70 template <typename InputsT = Aws::String>
71 DropFields& AddInputs(InputsT&& value) {
72 m_inputsHasBeenSet = true;
73 m_inputs.emplace_back(std::forward<InputsT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetPaths() const { return m_paths; }
83 inline bool PathsHasBeenSet() const { return m_pathsHasBeenSet; }
84 template <typename PathsT = Aws::Vector<Aws::Vector<Aws::String>>>
85 void SetPaths(PathsT&& value) {
86 m_pathsHasBeenSet = true;
87 m_paths = std::forward<PathsT>(value);
88 }
89 template <typename PathsT = Aws::Vector<Aws::Vector<Aws::String>>>
90 DropFields& WithPaths(PathsT&& value) {
91 SetPaths(std::forward<PathsT>(value));
92 return *this;
93 }
94 template <typename PathsT = Aws::Vector<Aws::String>>
95 DropFields& AddPaths(PathsT&& value) {
96 m_pathsHasBeenSet = true;
97 m_paths.emplace_back(std::forward<PathsT>(value));
98 return *this;
99 }
101 private:
102 Aws::String m_name;
103
105
107 bool m_nameHasBeenSet = false;
108 bool m_inputsHasBeenSet = false;
109 bool m_pathsHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace Glue
114} // namespace Aws
DropFields & WithName(NameT &&value)
Definition DropFields.h:48
void SetPaths(PathsT &&value)
Definition DropFields.h:85
void SetName(NameT &&value)
Definition DropFields.h:43
AWS_GLUE_API DropFields & operator=(Aws::Utils::Json::JsonView jsonValue)
DropFields & AddPaths(PathsT &&value)
Definition DropFields.h:95
const Aws::String & GetName() const
Definition DropFields.h:40
AWS_GLUE_API DropFields(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::Vector< Aws::String > > & GetPaths() const
Definition DropFields.h:82
DropFields & WithInputs(InputsT &&value)
Definition DropFields.h:66
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInputs(InputsT &&value)
Definition DropFields.h:61
AWS_GLUE_API DropFields()=default
DropFields & WithPaths(PathsT &&value)
Definition DropFields.h:90
DropFields & AddInputs(InputsT &&value)
Definition DropFields.h:71
const Aws::Vector< Aws::String > & GetInputs() const
Definition DropFields.h:58
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue