AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline SplitFields& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline SplitFields& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline SplitFields& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const Aws::Vector<Aws::String>& GetInputs() const{ return m_inputs; }
63 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
64 inline void SetInputs(const Aws::Vector<Aws::String>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
65 inline void SetInputs(Aws::Vector<Aws::String>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
66 inline SplitFields& WithInputs(const Aws::Vector<Aws::String>& value) { SetInputs(value); return *this;}
67 inline SplitFields& WithInputs(Aws::Vector<Aws::String>&& value) { SetInputs(std::move(value)); return *this;}
68 inline SplitFields& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
69 inline SplitFields& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
70 inline SplitFields& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
72
74
77 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetPaths() const{ return m_paths; }
78 inline bool PathsHasBeenSet() const { return m_pathsHasBeenSet; }
79 inline void SetPaths(const Aws::Vector<Aws::Vector<Aws::String>>& value) { m_pathsHasBeenSet = true; m_paths = value; }
80 inline void SetPaths(Aws::Vector<Aws::Vector<Aws::String>>&& value) { m_pathsHasBeenSet = true; m_paths = std::move(value); }
81 inline SplitFields& WithPaths(const Aws::Vector<Aws::Vector<Aws::String>>& value) { SetPaths(value); return *this;}
82 inline SplitFields& WithPaths(Aws::Vector<Aws::Vector<Aws::String>>&& value) { SetPaths(std::move(value)); return *this;}
83 inline SplitFields& AddPaths(const Aws::Vector<Aws::String>& value) { m_pathsHasBeenSet = true; m_paths.push_back(value); return *this; }
84 inline SplitFields& AddPaths(Aws::Vector<Aws::String>&& value) { m_pathsHasBeenSet = true; m_paths.push_back(std::move(value)); return *this; }
86 private:
87
88 Aws::String m_name;
89 bool m_nameHasBeenSet = false;
90
92 bool m_inputsHasBeenSet = false;
93
95 bool m_pathsHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Glue
100} // namespace Aws
SplitFields & AddInputs(const char *value)
Definition SplitFields.h:70
const Aws::String & GetName() const
Definition SplitFields.h:48
AWS_GLUE_API SplitFields(Aws::Utils::Json::JsonView jsonValue)
SplitFields & AddPaths(const Aws::Vector< Aws::String > &value)
Definition SplitFields.h:83
void SetName(Aws::String &&value)
Definition SplitFields.h:51
SplitFields & AddInputs(Aws::String &&value)
Definition SplitFields.h:69
void SetPaths(Aws::Vector< Aws::Vector< Aws::String > > &&value)
Definition SplitFields.h:80
const Aws::Vector< Aws::Vector< Aws::String > > & GetPaths() const
Definition SplitFields.h:77
void SetInputs(Aws::Vector< Aws::String > &&value)
Definition SplitFields.h:65
void SetInputs(const Aws::Vector< Aws::String > &value)
Definition SplitFields.h:64
SplitFields & WithInputs(const Aws::Vector< Aws::String > &value)
Definition SplitFields.h:66
void SetPaths(const Aws::Vector< Aws::Vector< Aws::String > > &value)
Definition SplitFields.h:79
const Aws::Vector< Aws::String > & GetInputs() const
Definition SplitFields.h:62
SplitFields & WithName(const Aws::String &value)
Definition SplitFields.h:53
AWS_GLUE_API SplitFields & operator=(Aws::Utils::Json::JsonView jsonValue)
SplitFields & AddInputs(const Aws::String &value)
Definition SplitFields.h:68
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
SplitFields & WithInputs(Aws::Vector< Aws::String > &&value)
Definition SplitFields.h:67
SplitFields & AddPaths(Aws::Vector< Aws::String > &&value)
Definition SplitFields.h:84
void SetName(const Aws::String &value)
Definition SplitFields.h:50
SplitFields & WithPaths(Aws::Vector< Aws::Vector< Aws::String > > &&value)
Definition SplitFields.h:82
SplitFields & WithName(Aws::String &&value)
Definition SplitFields.h:54
SplitFields & WithName(const char *value)
Definition SplitFields.h:55
SplitFields & WithPaths(const Aws::Vector< Aws::Vector< Aws::String > > &value)
Definition SplitFields.h:81
void SetName(const char *value)
Definition SplitFields.h:52
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue