AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DropNullFields.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#include <aws/glue/model/NullCheckBoxList.h>
11#include <aws/glue/model/NullValueField.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue {
23namespace Model {
24
35 public:
36 AWS_GLUE_API DropNullFields() = default;
40
42
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) {
49 m_nameHasBeenSet = true;
50 m_name = std::forward<NameT>(value);
51 }
52 template <typename NameT = Aws::String>
53 DropNullFields& WithName(NameT&& value) {
54 SetName(std::forward<NameT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::Vector<Aws::String>& GetInputs() const { return m_inputs; }
64 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
65 template <typename InputsT = Aws::Vector<Aws::String>>
66 void SetInputs(InputsT&& value) {
67 m_inputsHasBeenSet = true;
68 m_inputs = std::forward<InputsT>(value);
69 }
70 template <typename InputsT = Aws::Vector<Aws::String>>
71 DropNullFields& WithInputs(InputsT&& value) {
72 SetInputs(std::forward<InputsT>(value));
73 return *this;
74 }
75 template <typename InputsT = Aws::String>
76 DropNullFields& AddInputs(InputsT&& value) {
77 m_inputsHasBeenSet = true;
78 m_inputs.emplace_back(std::forward<InputsT>(value));
79 return *this;
80 }
82
84
88 inline const NullCheckBoxList& GetNullCheckBoxList() const { return m_nullCheckBoxList; }
89 inline bool NullCheckBoxListHasBeenSet() const { return m_nullCheckBoxListHasBeenSet; }
90 template <typename NullCheckBoxListT = NullCheckBoxList>
91 void SetNullCheckBoxList(NullCheckBoxListT&& value) {
92 m_nullCheckBoxListHasBeenSet = true;
93 m_nullCheckBoxList = std::forward<NullCheckBoxListT>(value);
94 }
95 template <typename NullCheckBoxListT = NullCheckBoxList>
96 DropNullFields& WithNullCheckBoxList(NullCheckBoxListT&& value) {
97 SetNullCheckBoxList(std::forward<NullCheckBoxListT>(value));
98 return *this;
99 }
101
103
110 inline const Aws::Vector<NullValueField>& GetNullTextList() const { return m_nullTextList; }
111 inline bool NullTextListHasBeenSet() const { return m_nullTextListHasBeenSet; }
112 template <typename NullTextListT = Aws::Vector<NullValueField>>
113 void SetNullTextList(NullTextListT&& value) {
114 m_nullTextListHasBeenSet = true;
115 m_nullTextList = std::forward<NullTextListT>(value);
116 }
117 template <typename NullTextListT = Aws::Vector<NullValueField>>
118 DropNullFields& WithNullTextList(NullTextListT&& value) {
119 SetNullTextList(std::forward<NullTextListT>(value));
120 return *this;
121 }
122 template <typename NullTextListT = NullValueField>
123 DropNullFields& AddNullTextList(NullTextListT&& value) {
124 m_nullTextListHasBeenSet = true;
125 m_nullTextList.emplace_back(std::forward<NullTextListT>(value));
126 return *this;
127 }
129 private:
130 Aws::String m_name;
131
133
134 NullCheckBoxList m_nullCheckBoxList;
135
136 Aws::Vector<NullValueField> m_nullTextList;
137 bool m_nameHasBeenSet = false;
138 bool m_inputsHasBeenSet = false;
139 bool m_nullCheckBoxListHasBeenSet = false;
140 bool m_nullTextListHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace Glue
145} // namespace Aws
const NullCheckBoxList & GetNullCheckBoxList() const
const Aws::Vector< Aws::String > & GetInputs() const
const Aws::String & GetName() const
AWS_GLUE_API DropNullFields(Aws::Utils::Json::JsonView jsonValue)
DropNullFields & AddInputs(InputsT &&value)
const Aws::Vector< NullValueField > & GetNullTextList() const
void SetNullCheckBoxList(NullCheckBoxListT &&value)
AWS_GLUE_API DropNullFields & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API DropNullFields()=default
DropNullFields & WithNullCheckBoxList(NullCheckBoxListT &&value)
DropNullFields & AddNullTextList(NullTextListT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInputs(InputsT &&value)
void SetNullTextList(NullTextListT &&value)
DropNullFields & WithInputs(InputsT &&value)
DropNullFields & WithName(NameT &&value)
DropNullFields & WithNullTextList(NullTextListT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue