AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SplitFields.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
36 {
37 public:
38 AWS_GLUE_API SplitFields() = default;
39 AWS_GLUE_API SplitFields(Aws::Utils::Json::JsonView jsonValue);
42
43
45
48 inline const Aws::String& GetName() const { return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 template<typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
52 template<typename NameT = Aws::String>
53 SplitFields& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_inputsHasBeenSet = true; m_inputs = std::forward<InputsT>(value); }
64 template<typename InputsT = Aws::Vector<Aws::String>>
65 SplitFields& WithInputs(InputsT&& value) { SetInputs(std::forward<InputsT>(value)); return *this;}
66 template<typename InputsT = Aws::String>
67 SplitFields& AddInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs.emplace_back(std::forward<InputsT>(value)); return *this; }
69
71
74 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetPaths() const { return m_paths; }
75 inline bool PathsHasBeenSet() const { return m_pathsHasBeenSet; }
76 template<typename PathsT = Aws::Vector<Aws::Vector<Aws::String>>>
77 void SetPaths(PathsT&& value) { m_pathsHasBeenSet = true; m_paths = std::forward<PathsT>(value); }
78 template<typename PathsT = Aws::Vector<Aws::Vector<Aws::String>>>
79 SplitFields& WithPaths(PathsT&& value) { SetPaths(std::forward<PathsT>(value)); return *this;}
80 template<typename PathsT = Aws::Vector<Aws::String>>
81 SplitFields& AddPaths(PathsT&& value) { m_pathsHasBeenSet = true; m_paths.emplace_back(std::forward<PathsT>(value)); return *this; }
83 private:
84
85 Aws::String m_name;
86 bool m_nameHasBeenSet = false;
87
89 bool m_inputsHasBeenSet = false;
90
92 bool m_pathsHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Glue
97} // namespace Aws
SplitFields & AddInputs(InputsT &&value)
Definition SplitFields.h:67
const Aws::String & GetName() const
Definition SplitFields.h:48
AWS_GLUE_API SplitFields(Aws::Utils::Json::JsonView jsonValue)
SplitFields & WithInputs(InputsT &&value)
Definition SplitFields.h:65
SplitFields & AddPaths(PathsT &&value)
Definition SplitFields.h:81
SplitFields & WithName(NameT &&value)
Definition SplitFields.h:53
AWS_GLUE_API SplitFields()=default
const Aws::Vector< Aws::Vector< Aws::String > > & GetPaths() const
Definition SplitFields.h:74
void SetPaths(PathsT &&value)
Definition SplitFields.h:77
const Aws::Vector< Aws::String > & GetInputs() const
Definition SplitFields.h:60
void SetName(NameT &&value)
Definition SplitFields.h:51
AWS_GLUE_API SplitFields & operator=(Aws::Utils::Json::JsonView jsonValue)
SplitFields & WithPaths(PathsT &&value)
Definition SplitFields.h:79
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