AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConnectorDataTarget.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/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GLUE_API ConnectorDataTarget();
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 ConnectorDataTarget& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline ConnectorDataTarget& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline ConnectorDataTarget& WithName(const char* value) { SetName(value); return *this;}
56
58
66 inline const Aws::String& GetConnectionType() const{ return m_connectionType; }
67 inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; }
68 inline void SetConnectionType(const Aws::String& value) { m_connectionTypeHasBeenSet = true; m_connectionType = value; }
69 inline void SetConnectionType(Aws::String&& value) { m_connectionTypeHasBeenSet = true; m_connectionType = std::move(value); }
70 inline void SetConnectionType(const char* value) { m_connectionTypeHasBeenSet = true; m_connectionType.assign(value); }
71 inline ConnectorDataTarget& WithConnectionType(const Aws::String& value) { SetConnectionType(value); return *this;}
72 inline ConnectorDataTarget& WithConnectionType(Aws::String&& value) { SetConnectionType(std::move(value)); return *this;}
73 inline ConnectorDataTarget& WithConnectionType(const char* value) { SetConnectionType(value); return *this;}
75
77
83 inline const Aws::Map<Aws::String, Aws::String>& GetData() const{ return m_data; }
84 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
85 inline void SetData(const Aws::Map<Aws::String, Aws::String>& value) { m_dataHasBeenSet = true; m_data = value; }
86 inline void SetData(Aws::Map<Aws::String, Aws::String>&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
87 inline ConnectorDataTarget& WithData(const Aws::Map<Aws::String, Aws::String>& value) { SetData(value); return *this;}
88 inline ConnectorDataTarget& WithData(Aws::Map<Aws::String, Aws::String>&& value) { SetData(std::move(value)); return *this;}
89 inline ConnectorDataTarget& AddData(const Aws::String& key, const Aws::String& value) { m_dataHasBeenSet = true; m_data.emplace(key, value); return *this; }
90 inline ConnectorDataTarget& AddData(Aws::String&& key, const Aws::String& value) { m_dataHasBeenSet = true; m_data.emplace(std::move(key), value); return *this; }
91 inline ConnectorDataTarget& AddData(const Aws::String& key, Aws::String&& value) { m_dataHasBeenSet = true; m_data.emplace(key, std::move(value)); return *this; }
92 inline ConnectorDataTarget& AddData(Aws::String&& key, Aws::String&& value) { m_dataHasBeenSet = true; m_data.emplace(std::move(key), std::move(value)); return *this; }
93 inline ConnectorDataTarget& AddData(const char* key, Aws::String&& value) { m_dataHasBeenSet = true; m_data.emplace(key, std::move(value)); return *this; }
94 inline ConnectorDataTarget& AddData(Aws::String&& key, const char* value) { m_dataHasBeenSet = true; m_data.emplace(std::move(key), value); return *this; }
95 inline ConnectorDataTarget& AddData(const char* key, const char* value) { m_dataHasBeenSet = true; m_data.emplace(key, value); return *this; }
97
99
102 inline const Aws::Vector<Aws::String>& GetInputs() const{ return m_inputs; }
103 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
104 inline void SetInputs(const Aws::Vector<Aws::String>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
105 inline void SetInputs(Aws::Vector<Aws::String>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
106 inline ConnectorDataTarget& WithInputs(const Aws::Vector<Aws::String>& value) { SetInputs(value); return *this;}
107 inline ConnectorDataTarget& WithInputs(Aws::Vector<Aws::String>&& value) { SetInputs(std::move(value)); return *this;}
108 inline ConnectorDataTarget& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
109 inline ConnectorDataTarget& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
110 inline ConnectorDataTarget& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
112 private:
113
114 Aws::String m_name;
115 bool m_nameHasBeenSet = false;
116
117 Aws::String m_connectionType;
118 bool m_connectionTypeHasBeenSet = false;
119
121 bool m_dataHasBeenSet = false;
122
124 bool m_inputsHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace Glue
129} // namespace Aws
void SetData(Aws::Map< Aws::String, Aws::String > &&value)
void SetConnectionType(Aws::String &&value)
void SetInputs(Aws::Vector< Aws::String > &&value)
ConnectorDataTarget & AddInputs(const char *value)
ConnectorDataTarget & WithInputs(const Aws::Vector< Aws::String > &value)
AWS_GLUE_API ConnectorDataTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetData() const
ConnectorDataTarget & AddInputs(const Aws::String &value)
AWS_GLUE_API ConnectorDataTarget(Aws::Utils::Json::JsonView jsonValue)
ConnectorDataTarget & AddData(const Aws::String &key, Aws::String &&value)
ConnectorDataTarget & WithInputs(Aws::Vector< Aws::String > &&value)
void SetData(const Aws::Map< Aws::String, Aws::String > &value)
ConnectorDataTarget & AddInputs(Aws::String &&value)
ConnectorDataTarget & WithConnectionType(const char *value)
ConnectorDataTarget & AddData(const char *key, Aws::String &&value)
ConnectorDataTarget & WithName(Aws::String &&value)
void SetInputs(const Aws::Vector< Aws::String > &value)
ConnectorDataTarget & AddData(const Aws::String &key, const Aws::String &value)
ConnectorDataTarget & AddData(Aws::String &&key, const char *value)
ConnectorDataTarget & AddData(Aws::String &&key, const Aws::String &value)
ConnectorDataTarget & AddData(const char *key, const char *value)
ConnectorDataTarget & WithData(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetConnectionType() const
ConnectorDataTarget & WithData(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Vector< Aws::String > & GetInputs() const
ConnectorDataTarget & WithName(const Aws::String &value)
void SetConnectionType(const Aws::String &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectorDataTarget & AddData(Aws::String &&key, Aws::String &&value)
ConnectorDataTarget & WithConnectionType(Aws::String &&value)
ConnectorDataTarget & WithConnectionType(const Aws::String &value)
void SetName(const Aws::String &value)
ConnectorDataTarget & WithName(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue