AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SelectFromCollection.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
35 {
36 public:
37 AWS_GLUE_API SelectFromCollection();
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline SelectFromCollection& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline SelectFromCollection& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline SelectFromCollection& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::Vector<Aws::String>& GetInputs() const{ return m_inputs; }
62 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
63 inline void SetInputs(const Aws::Vector<Aws::String>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
64 inline void SetInputs(Aws::Vector<Aws::String>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
65 inline SelectFromCollection& WithInputs(const Aws::Vector<Aws::String>& value) { SetInputs(value); return *this;}
66 inline SelectFromCollection& WithInputs(Aws::Vector<Aws::String>&& value) { SetInputs(std::move(value)); return *this;}
67 inline SelectFromCollection& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
68 inline SelectFromCollection& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
69 inline SelectFromCollection& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
71
73
76 inline int GetIndex() const{ return m_index; }
77 inline bool IndexHasBeenSet() const { return m_indexHasBeenSet; }
78 inline void SetIndex(int value) { m_indexHasBeenSet = true; m_index = value; }
79 inline SelectFromCollection& WithIndex(int value) { SetIndex(value); return *this;}
81 private:
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85
87 bool m_inputsHasBeenSet = false;
88
89 int m_index;
90 bool m_indexHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Glue
95} // namespace Aws
void SetName(const Aws::String &value)
SelectFromCollection & WithName(const Aws::String &value)
AWS_GLUE_API SelectFromCollection(Aws::Utils::Json::JsonView jsonValue)
SelectFromCollection & WithName(Aws::String &&value)
AWS_GLUE_API SelectFromCollection & operator=(Aws::Utils::Json::JsonView jsonValue)
SelectFromCollection & AddInputs(Aws::String &&value)
SelectFromCollection & WithName(const char *value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
SelectFromCollection & AddInputs(const char *value)
SelectFromCollection & WithInputs(Aws::Vector< Aws::String > &&value)
void SetInputs(const Aws::Vector< Aws::String > &value)
void SetInputs(Aws::Vector< Aws::String > &&value)
SelectFromCollection & AddInputs(const Aws::String &value)
SelectFromCollection & WithIndex(int value)
const Aws::Vector< Aws::String > & GetInputs() const
SelectFromCollection & WithInputs(const Aws::Vector< 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