AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DropNullFields.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/model/NullCheckBoxList.h>
11#include <aws/glue/model/NullValueField.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Glue
25{
26namespace Model
27{
28
39 {
40 public:
41 AWS_GLUE_API DropNullFields() = default;
45
46
48
51 inline const Aws::String& GetName() const { return m_name; }
52 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 template<typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
55 template<typename NameT = Aws::String>
56 DropNullFields& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_inputsHasBeenSet = true; m_inputs = std::forward<InputsT>(value); }
67 template<typename InputsT = Aws::Vector<Aws::String>>
68 DropNullFields& WithInputs(InputsT&& value) { SetInputs(std::forward<InputsT>(value)); return *this;}
69 template<typename InputsT = Aws::String>
70 DropNullFields& AddInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs.emplace_back(std::forward<InputsT>(value)); return *this; }
72
74
78 inline const NullCheckBoxList& GetNullCheckBoxList() const { return m_nullCheckBoxList; }
79 inline bool NullCheckBoxListHasBeenSet() const { return m_nullCheckBoxListHasBeenSet; }
80 template<typename NullCheckBoxListT = NullCheckBoxList>
81 void SetNullCheckBoxList(NullCheckBoxListT&& value) { m_nullCheckBoxListHasBeenSet = true; m_nullCheckBoxList = std::forward<NullCheckBoxListT>(value); }
82 template<typename NullCheckBoxListT = NullCheckBoxList>
83 DropNullFields& WithNullCheckBoxList(NullCheckBoxListT&& value) { SetNullCheckBoxList(std::forward<NullCheckBoxListT>(value)); return *this;}
85
87
94 inline const Aws::Vector<NullValueField>& GetNullTextList() const { return m_nullTextList; }
95 inline bool NullTextListHasBeenSet() const { return m_nullTextListHasBeenSet; }
96 template<typename NullTextListT = Aws::Vector<NullValueField>>
97 void SetNullTextList(NullTextListT&& value) { m_nullTextListHasBeenSet = true; m_nullTextList = std::forward<NullTextListT>(value); }
98 template<typename NullTextListT = Aws::Vector<NullValueField>>
99 DropNullFields& WithNullTextList(NullTextListT&& value) { SetNullTextList(std::forward<NullTextListT>(value)); return *this;}
100 template<typename NullTextListT = NullValueField>
101 DropNullFields& AddNullTextList(NullTextListT&& value) { m_nullTextListHasBeenSet = true; m_nullTextList.emplace_back(std::forward<NullTextListT>(value)); return *this; }
103 private:
104
105 Aws::String m_name;
106 bool m_nameHasBeenSet = false;
107
109 bool m_inputsHasBeenSet = false;
110
111 NullCheckBoxList m_nullCheckBoxList;
112 bool m_nullCheckBoxListHasBeenSet = false;
113
114 Aws::Vector<NullValueField> m_nullTextList;
115 bool m_nullTextListHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace Glue
120} // 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