AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
41
42
44
47 inline const Aws::String& GetName() const { return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 template<typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
51 template<typename NameT = Aws::String>
52 ConnectorDataTarget& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
54
56
64 inline const Aws::String& GetConnectionType() const { return m_connectionType; }
65 inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; }
66 template<typename ConnectionTypeT = Aws::String>
67 void SetConnectionType(ConnectionTypeT&& value) { m_connectionTypeHasBeenSet = true; m_connectionType = std::forward<ConnectionTypeT>(value); }
68 template<typename ConnectionTypeT = Aws::String>
69 ConnectorDataTarget& WithConnectionType(ConnectionTypeT&& value) { SetConnectionType(std::forward<ConnectionTypeT>(value)); return *this;}
71
73
79 inline const Aws::Map<Aws::String, Aws::String>& GetData() const { return m_data; }
80 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
81 template<typename DataT = Aws::Map<Aws::String, Aws::String>>
82 void SetData(DataT&& value) { m_dataHasBeenSet = true; m_data = std::forward<DataT>(value); }
83 template<typename DataT = Aws::Map<Aws::String, Aws::String>>
84 ConnectorDataTarget& WithData(DataT&& value) { SetData(std::forward<DataT>(value)); return *this;}
85 template<typename DataKeyT = Aws::String, typename DataValueT = Aws::String>
86 ConnectorDataTarget& AddData(DataKeyT&& key, DataValueT&& value) {
87 m_dataHasBeenSet = true; m_data.emplace(std::forward<DataKeyT>(key), std::forward<DataValueT>(value)); return *this;
88 }
90
92
95 inline const Aws::Vector<Aws::String>& GetInputs() const { return m_inputs; }
96 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
97 template<typename InputsT = Aws::Vector<Aws::String>>
98 void SetInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs = std::forward<InputsT>(value); }
99 template<typename InputsT = Aws::Vector<Aws::String>>
100 ConnectorDataTarget& WithInputs(InputsT&& value) { SetInputs(std::forward<InputsT>(value)); return *this;}
101 template<typename InputsT = Aws::String>
102 ConnectorDataTarget& AddInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs.emplace_back(std::forward<InputsT>(value)); return *this; }
104 private:
105
106 Aws::String m_name;
107 bool m_nameHasBeenSet = false;
108
109 Aws::String m_connectionType;
110 bool m_connectionTypeHasBeenSet = false;
111
113 bool m_dataHasBeenSet = false;
114
116 bool m_inputsHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace Glue
121} // namespace Aws
ConnectorDataTarget & AddInputs(InputsT &&value)
ConnectorDataTarget & WithInputs(InputsT &&value)
ConnectorDataTarget & WithData(DataT &&value)
AWS_GLUE_API ConnectorDataTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetData() const
AWS_GLUE_API ConnectorDataTarget(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetConnectionType() const
void SetConnectionType(ConnectionTypeT &&value)
ConnectorDataTarget & WithName(NameT &&value)
AWS_GLUE_API ConnectorDataTarget()=default
const Aws::Vector< Aws::String > & GetInputs() const
ConnectorDataTarget & AddData(DataKeyT &&key, DataValueT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectorDataTarget & WithConnectionType(ConnectionTypeT &&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