AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DropFields.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUE_API DropFields() = default;
37 AWS_GLUE_API DropFields(Aws::Utils::Json::JsonView jsonValue);
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 DropFields& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_inputsHasBeenSet = true; m_inputs = std::forward<InputsT>(value); }
62 template<typename InputsT = Aws::Vector<Aws::String>>
63 DropFields& WithInputs(InputsT&& value) { SetInputs(std::forward<InputsT>(value)); return *this;}
64 template<typename InputsT = Aws::String>
65 DropFields& AddInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs.emplace_back(std::forward<InputsT>(value)); return *this; }
67
69
72 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetPaths() const { return m_paths; }
73 inline bool PathsHasBeenSet() const { return m_pathsHasBeenSet; }
74 template<typename PathsT = Aws::Vector<Aws::Vector<Aws::String>>>
75 void SetPaths(PathsT&& value) { m_pathsHasBeenSet = true; m_paths = std::forward<PathsT>(value); }
76 template<typename PathsT = Aws::Vector<Aws::Vector<Aws::String>>>
77 DropFields& WithPaths(PathsT&& value) { SetPaths(std::forward<PathsT>(value)); return *this;}
78 template<typename PathsT = Aws::Vector<Aws::String>>
79 DropFields& AddPaths(PathsT&& value) { m_pathsHasBeenSet = true; m_paths.emplace_back(std::forward<PathsT>(value)); return *this; }
81 private:
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85
87 bool m_inputsHasBeenSet = false;
88
90 bool m_pathsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Glue
95} // namespace Aws
DropFields & WithName(NameT &&value)
Definition DropFields.h:51
void SetPaths(PathsT &&value)
Definition DropFields.h:75
void SetName(NameT &&value)
Definition DropFields.h:49
AWS_GLUE_API DropFields & operator=(Aws::Utils::Json::JsonView jsonValue)
DropFields & AddPaths(PathsT &&value)
Definition DropFields.h:79
const Aws::String & GetName() const
Definition DropFields.h:46
AWS_GLUE_API DropFields(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::Vector< Aws::String > > & GetPaths() const
Definition DropFields.h:72
DropFields & WithInputs(InputsT &&value)
Definition DropFields.h:63
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:77
DropFields & AddInputs(InputsT &&value)
Definition DropFields.h:65
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