AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SparkConnectorTarget.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 <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/glue/model/GlueSchema.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Glue
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_GLUE_API SparkConnectorTarget();
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 SparkConnectorTarget& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline SparkConnectorTarget& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline SparkConnectorTarget& 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 SparkConnectorTarget& WithInputs(const Aws::Vector<Aws::String>& value) { SetInputs(value); return *this;}
67 inline SparkConnectorTarget& WithInputs(Aws::Vector<Aws::String>&& value) { SetInputs(std::move(value)); return *this;}
68 inline SparkConnectorTarget& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
69 inline SparkConnectorTarget& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
70 inline SparkConnectorTarget& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
72
74
77 inline const Aws::String& GetConnectionName() const{ return m_connectionName; }
78 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
79 inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; }
80 inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); }
81 inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); }
82 inline SparkConnectorTarget& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;}
83 inline SparkConnectorTarget& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;}
84 inline SparkConnectorTarget& WithConnectionName(const char* value) { SetConnectionName(value); return *this;}
86
88
91 inline const Aws::String& GetConnectorName() const{ return m_connectorName; }
92 inline bool ConnectorNameHasBeenSet() const { return m_connectorNameHasBeenSet; }
93 inline void SetConnectorName(const Aws::String& value) { m_connectorNameHasBeenSet = true; m_connectorName = value; }
94 inline void SetConnectorName(Aws::String&& value) { m_connectorNameHasBeenSet = true; m_connectorName = std::move(value); }
95 inline void SetConnectorName(const char* value) { m_connectorNameHasBeenSet = true; m_connectorName.assign(value); }
96 inline SparkConnectorTarget& WithConnectorName(const Aws::String& value) { SetConnectorName(value); return *this;}
97 inline SparkConnectorTarget& WithConnectorName(Aws::String&& value) { SetConnectorName(std::move(value)); return *this;}
98 inline SparkConnectorTarget& WithConnectorName(const char* value) { SetConnectorName(value); return *this;}
100
102
106 inline const Aws::String& GetConnectionType() const{ return m_connectionType; }
107 inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; }
108 inline void SetConnectionType(const Aws::String& value) { m_connectionTypeHasBeenSet = true; m_connectionType = value; }
109 inline void SetConnectionType(Aws::String&& value) { m_connectionTypeHasBeenSet = true; m_connectionType = std::move(value); }
110 inline void SetConnectionType(const char* value) { m_connectionTypeHasBeenSet = true; m_connectionType.assign(value); }
111 inline SparkConnectorTarget& WithConnectionType(const Aws::String& value) { SetConnectionType(value); return *this;}
112 inline SparkConnectorTarget& WithConnectionType(Aws::String&& value) { SetConnectionType(std::move(value)); return *this;}
113 inline SparkConnectorTarget& WithConnectionType(const char* value) { SetConnectionType(value); return *this;}
115
117
120 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalOptions() const{ return m_additionalOptions; }
121 inline bool AdditionalOptionsHasBeenSet() const { return m_additionalOptionsHasBeenSet; }
122 inline void SetAdditionalOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions = value; }
123 inline void SetAdditionalOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions = std::move(value); }
126 inline SparkConnectorTarget& AddAdditionalOptions(const Aws::String& key, const Aws::String& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, value); return *this; }
127 inline SparkConnectorTarget& AddAdditionalOptions(Aws::String&& key, const Aws::String& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(std::move(key), value); return *this; }
128 inline SparkConnectorTarget& AddAdditionalOptions(const Aws::String& key, Aws::String&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, std::move(value)); return *this; }
129 inline SparkConnectorTarget& AddAdditionalOptions(Aws::String&& key, Aws::String&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(std::move(key), std::move(value)); return *this; }
130 inline SparkConnectorTarget& AddAdditionalOptions(const char* key, Aws::String&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, std::move(value)); return *this; }
131 inline SparkConnectorTarget& AddAdditionalOptions(Aws::String&& key, const char* value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(std::move(key), value); return *this; }
132 inline SparkConnectorTarget& AddAdditionalOptions(const char* key, const char* value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, value); return *this; }
134
136
139 inline const Aws::Vector<GlueSchema>& GetOutputSchemas() const{ return m_outputSchemas; }
140 inline bool OutputSchemasHasBeenSet() const { return m_outputSchemasHasBeenSet; }
141 inline void SetOutputSchemas(const Aws::Vector<GlueSchema>& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas = value; }
142 inline void SetOutputSchemas(Aws::Vector<GlueSchema>&& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas = std::move(value); }
144 inline SparkConnectorTarget& WithOutputSchemas(Aws::Vector<GlueSchema>&& value) { SetOutputSchemas(std::move(value)); return *this;}
145 inline SparkConnectorTarget& AddOutputSchemas(const GlueSchema& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.push_back(value); return *this; }
146 inline SparkConnectorTarget& AddOutputSchemas(GlueSchema&& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.push_back(std::move(value)); return *this; }
148 private:
149
150 Aws::String m_name;
151 bool m_nameHasBeenSet = false;
152
154 bool m_inputsHasBeenSet = false;
155
156 Aws::String m_connectionName;
157 bool m_connectionNameHasBeenSet = false;
158
159 Aws::String m_connectorName;
160 bool m_connectorNameHasBeenSet = false;
161
162 Aws::String m_connectionType;
163 bool m_connectionTypeHasBeenSet = false;
164
165 Aws::Map<Aws::String, Aws::String> m_additionalOptions;
166 bool m_additionalOptionsHasBeenSet = false;
167
168 Aws::Vector<GlueSchema> m_outputSchemas;
169 bool m_outputSchemasHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace Glue
174} // namespace Aws
void SetConnectionType(const Aws::String &value)
void SetInputs(Aws::Vector< Aws::String > &&value)
SparkConnectorTarget & AddAdditionalOptions(Aws::String &&key, const Aws::String &value)
SparkConnectorTarget & WithConnectionName(const Aws::String &value)
SparkConnectorTarget & WithConnectionType(const Aws::String &value)
AWS_GLUE_API SparkConnectorTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
SparkConnectorTarget & WithConnectionName(const char *value)
SparkConnectorTarget & WithConnectorName(Aws::String &&value)
const Aws::String & GetConnectorName() const
const Aws::String & GetConnectionName() const
void SetConnectionName(const Aws::String &value)
SparkConnectorTarget & WithConnectorName(const Aws::String &value)
void SetOutputSchemas(Aws::Vector< GlueSchema > &&value)
SparkConnectorTarget & WithConnectionType(const char *value)
SparkConnectorTarget & WithInputs(Aws::Vector< Aws::String > &&value)
SparkConnectorTarget & WithAdditionalOptions(const Aws::Map< Aws::String, Aws::String > &value)
SparkConnectorTarget & WithConnectionName(Aws::String &&value)
void SetConnectorName(const Aws::String &value)
SparkConnectorTarget & WithInputs(const Aws::Vector< Aws::String > &value)
SparkConnectorTarget & AddOutputSchemas(GlueSchema &&value)
const Aws::Vector< GlueSchema > & GetOutputSchemas() const
const Aws::String & GetConnectionType() const
SparkConnectorTarget & AddOutputSchemas(const GlueSchema &value)
SparkConnectorTarget & WithOutputSchemas(Aws::Vector< GlueSchema > &&value)
void SetAdditionalOptions(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalOptions() const
SparkConnectorTarget & AddAdditionalOptions(const Aws::String &key, const Aws::String &value)
SparkConnectorTarget & WithOutputSchemas(const Aws::Vector< GlueSchema > &value)
void SetAdditionalOptions(const Aws::Map< Aws::String, Aws::String > &value)
SparkConnectorTarget & AddInputs(const char *value)
const Aws::Vector< Aws::String > & GetInputs() const
SparkConnectorTarget & WithConnectorName(const char *value)
SparkConnectorTarget & AddAdditionalOptions(const Aws::String &key, Aws::String &&value)
SparkConnectorTarget & WithName(const Aws::String &value)
SparkConnectorTarget & AddAdditionalOptions(Aws::String &&key, const char *value)
SparkConnectorTarget & AddInputs(const Aws::String &value)
SparkConnectorTarget & WithConnectionType(Aws::String &&value)
SparkConnectorTarget & WithName(const char *value)
SparkConnectorTarget & WithAdditionalOptions(Aws::Map< Aws::String, Aws::String > &&value)
void SetInputs(const Aws::Vector< Aws::String > &value)
SparkConnectorTarget & AddInputs(Aws::String &&value)
SparkConnectorTarget & WithName(Aws::String &&value)
SparkConnectorTarget & AddAdditionalOptions(const char *key, Aws::String &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOutputSchemas(const Aws::Vector< GlueSchema > &value)
AWS_GLUE_API SparkConnectorTarget(Aws::Utils::Json::JsonView jsonValue)
SparkConnectorTarget & AddAdditionalOptions(const char *key, const char *value)
SparkConnectorTarget & AddAdditionalOptions(Aws::String &&key, Aws::String &&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