AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SelectFields.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 SelectFields();
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline SelectFields& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline SelectFields& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline SelectFields& WithName(const char* value) { SetName(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 inline void SetInputs(const Aws::Vector<Aws::String>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
63 inline void SetInputs(Aws::Vector<Aws::String>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
64 inline SelectFields& WithInputs(const Aws::Vector<Aws::String>& value) { SetInputs(value); return *this;}
65 inline SelectFields& WithInputs(Aws::Vector<Aws::String>&& value) { SetInputs(std::move(value)); return *this;}
66 inline SelectFields& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
67 inline SelectFields& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
68 inline SelectFields& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
70
72
75 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetPaths() const{ return m_paths; }
76 inline bool PathsHasBeenSet() const { return m_pathsHasBeenSet; }
77 inline void SetPaths(const Aws::Vector<Aws::Vector<Aws::String>>& value) { m_pathsHasBeenSet = true; m_paths = value; }
78 inline void SetPaths(Aws::Vector<Aws::Vector<Aws::String>>&& value) { m_pathsHasBeenSet = true; m_paths = std::move(value); }
79 inline SelectFields& WithPaths(const Aws::Vector<Aws::Vector<Aws::String>>& value) { SetPaths(value); return *this;}
80 inline SelectFields& WithPaths(Aws::Vector<Aws::Vector<Aws::String>>&& value) { SetPaths(std::move(value)); return *this;}
81 inline SelectFields& AddPaths(const Aws::Vector<Aws::String>& value) { m_pathsHasBeenSet = true; m_paths.push_back(value); return *this; }
82 inline SelectFields& AddPaths(Aws::Vector<Aws::String>&& value) { m_pathsHasBeenSet = true; m_paths.push_back(std::move(value)); return *this; }
84 private:
85
86 Aws::String m_name;
87 bool m_nameHasBeenSet = false;
88
90 bool m_inputsHasBeenSet = false;
91
93 bool m_pathsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Glue
98} // namespace Aws
const Aws::String & GetName() const
void SetPaths(const Aws::Vector< Aws::Vector< Aws::String > > &value)
const Aws::Vector< Aws::Vector< Aws::String > > & GetPaths() const
AWS_GLUE_API SelectFields(Aws::Utils::Json::JsonView jsonValue)
void SetInputs(Aws::Vector< Aws::String > &&value)
void SetInputs(const Aws::Vector< Aws::String > &value)
SelectFields & AddInputs(const char *value)
SelectFields & WithInputs(Aws::Vector< Aws::String > &&value)
SelectFields & WithPaths(Aws::Vector< Aws::Vector< Aws::String > > &&value)
SelectFields & WithInputs(const Aws::Vector< Aws::String > &value)
SelectFields & AddInputs(Aws::String &&value)
SelectFields & WithPaths(const Aws::Vector< Aws::Vector< Aws::String > > &value)
SelectFields & WithName(Aws::String &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(Aws::String &&value)
void SetName(const Aws::String &value)
SelectFields & AddPaths(const Aws::Vector< Aws::String > &value)
void SetPaths(Aws::Vector< Aws::Vector< Aws::String > > &&value)
SelectFields & AddPaths(Aws::Vector< Aws::String > &&value)
SelectFields & AddInputs(const Aws::String &value)
SelectFields & WithName(const char *value)
void SetName(const char *value)
AWS_GLUE_API SelectFields & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetInputs() const
SelectFields & WithName(const Aws::String &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