AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
SplitFields.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
32 public:
33 AWS_GLUE_API SplitFields() = default;
34 AWS_GLUE_API SplitFields(Aws::Utils::Json::JsonView jsonValue);
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
50 SplitFields& WithName(NameT&& value) {
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::Vector<Aws::String>& GetInputs() const { return m_inputs; }
61 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
62 template <typename InputsT = Aws::Vector<Aws::String>>
63 void SetInputs(InputsT&& value) {
64 m_inputsHasBeenSet = true;
65 m_inputs = std::forward<InputsT>(value);
66 }
67 template <typename InputsT = Aws::Vector<Aws::String>>
68 SplitFields& WithInputs(InputsT&& value) {
69 SetInputs(std::forward<InputsT>(value));
70 return *this;
71 }
72 template <typename InputsT = Aws::String>
73 SplitFields& AddInputs(InputsT&& value) {
74 m_inputsHasBeenSet = true;
75 m_inputs.emplace_back(std::forward<InputsT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetPaths() const { return m_paths; }
85 inline bool PathsHasBeenSet() const { return m_pathsHasBeenSet; }
86 template <typename PathsT = Aws::Vector<Aws::Vector<Aws::String>>>
87 void SetPaths(PathsT&& value) {
88 m_pathsHasBeenSet = true;
89 m_paths = std::forward<PathsT>(value);
90 }
91 template <typename PathsT = Aws::Vector<Aws::Vector<Aws::String>>>
92 SplitFields& WithPaths(PathsT&& value) {
93 SetPaths(std::forward<PathsT>(value));
94 return *this;
95 }
96 template <typename PathsT = Aws::Vector<Aws::String>>
97 SplitFields& AddPaths(PathsT&& value) {
98 m_pathsHasBeenSet = true;
99 m_paths.emplace_back(std::forward<PathsT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_name;
105
107
109 bool m_nameHasBeenSet = false;
110 bool m_inputsHasBeenSet = false;
111 bool m_pathsHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace Glue
116} // namespace Aws
SplitFields & AddInputs(InputsT &&value)
Definition SplitFields.h:73
const Aws::String & GetName() const
Definition SplitFields.h:42
AWS_GLUE_API SplitFields(Aws::Utils::Json::JsonView jsonValue)
SplitFields & WithInputs(InputsT &&value)
Definition SplitFields.h:68
SplitFields & AddPaths(PathsT &&value)
Definition SplitFields.h:97
SplitFields & WithName(NameT &&value)
Definition SplitFields.h:50
AWS_GLUE_API SplitFields()=default
const Aws::Vector< Aws::Vector< Aws::String > > & GetPaths() const
Definition SplitFields.h:84
void SetPaths(PathsT &&value)
Definition SplitFields.h:87
const Aws::Vector< Aws::String > & GetInputs() const
Definition SplitFields.h:60
void SetName(NameT &&value)
Definition SplitFields.h:45
AWS_GLUE_API SplitFields & operator=(Aws::Utils::Json::JsonView jsonValue)
SplitFields & WithPaths(PathsT &&value)
Definition SplitFields.h:92
void SetInputs(InputsT &&value)
Definition SplitFields.h:63
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue