AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AthenaConnectorSource.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/glue/model/GlueSchema.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 AthenaConnectorSource();
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 AthenaConnectorSource& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline AthenaConnectorSource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline AthenaConnectorSource& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::String& GetConnectionName() const{ return m_connectionName; }
62 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
63 inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; }
64 inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); }
65 inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); }
66 inline AthenaConnectorSource& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;}
67 inline AthenaConnectorSource& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;}
68 inline AthenaConnectorSource& WithConnectionName(const char* value) { SetConnectionName(value); return *this;}
70
72
76 inline const Aws::String& GetConnectorName() const{ return m_connectorName; }
77 inline bool ConnectorNameHasBeenSet() const { return m_connectorNameHasBeenSet; }
78 inline void SetConnectorName(const Aws::String& value) { m_connectorNameHasBeenSet = true; m_connectorName = value; }
79 inline void SetConnectorName(Aws::String&& value) { m_connectorNameHasBeenSet = true; m_connectorName = std::move(value); }
80 inline void SetConnectorName(const char* value) { m_connectorNameHasBeenSet = true; m_connectorName.assign(value); }
81 inline AthenaConnectorSource& WithConnectorName(const Aws::String& value) { SetConnectorName(value); return *this;}
82 inline AthenaConnectorSource& WithConnectorName(Aws::String&& value) { SetConnectorName(std::move(value)); return *this;}
83 inline AthenaConnectorSource& WithConnectorName(const char* value) { SetConnectorName(value); return *this;}
85
87
91 inline const Aws::String& GetConnectionType() const{ return m_connectionType; }
92 inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; }
93 inline void SetConnectionType(const Aws::String& value) { m_connectionTypeHasBeenSet = true; m_connectionType = value; }
94 inline void SetConnectionType(Aws::String&& value) { m_connectionTypeHasBeenSet = true; m_connectionType = std::move(value); }
95 inline void SetConnectionType(const char* value) { m_connectionTypeHasBeenSet = true; m_connectionType.assign(value); }
96 inline AthenaConnectorSource& WithConnectionType(const Aws::String& value) { SetConnectionType(value); return *this;}
97 inline AthenaConnectorSource& WithConnectionType(Aws::String&& value) { SetConnectionType(std::move(value)); return *this;}
98 inline AthenaConnectorSource& WithConnectionType(const char* value) { SetConnectionType(value); return *this;}
100
102
105 inline const Aws::String& GetConnectionTable() const{ return m_connectionTable; }
106 inline bool ConnectionTableHasBeenSet() const { return m_connectionTableHasBeenSet; }
107 inline void SetConnectionTable(const Aws::String& value) { m_connectionTableHasBeenSet = true; m_connectionTable = value; }
108 inline void SetConnectionTable(Aws::String&& value) { m_connectionTableHasBeenSet = true; m_connectionTable = std::move(value); }
109 inline void SetConnectionTable(const char* value) { m_connectionTableHasBeenSet = true; m_connectionTable.assign(value); }
110 inline AthenaConnectorSource& WithConnectionTable(const Aws::String& value) { SetConnectionTable(value); return *this;}
111 inline AthenaConnectorSource& WithConnectionTable(Aws::String&& value) { SetConnectionTable(std::move(value)); return *this;}
112 inline AthenaConnectorSource& WithConnectionTable(const char* value) { SetConnectionTable(value); return *this;}
114
116
120 inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
121 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
122 inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; }
123 inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); }
124 inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); }
125 inline AthenaConnectorSource& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
126 inline AthenaConnectorSource& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
127 inline AthenaConnectorSource& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
129
131
134 inline const Aws::Vector<GlueSchema>& GetOutputSchemas() const{ return m_outputSchemas; }
135 inline bool OutputSchemasHasBeenSet() const { return m_outputSchemasHasBeenSet; }
136 inline void SetOutputSchemas(const Aws::Vector<GlueSchema>& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas = value; }
137 inline void SetOutputSchemas(Aws::Vector<GlueSchema>&& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas = std::move(value); }
139 inline AthenaConnectorSource& WithOutputSchemas(Aws::Vector<GlueSchema>&& value) { SetOutputSchemas(std::move(value)); return *this;}
140 inline AthenaConnectorSource& AddOutputSchemas(const GlueSchema& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.push_back(value); return *this; }
141 inline AthenaConnectorSource& AddOutputSchemas(GlueSchema&& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.push_back(std::move(value)); return *this; }
143 private:
144
145 Aws::String m_name;
146 bool m_nameHasBeenSet = false;
147
148 Aws::String m_connectionName;
149 bool m_connectionNameHasBeenSet = false;
150
151 Aws::String m_connectorName;
152 bool m_connectorNameHasBeenSet = false;
153
154 Aws::String m_connectionType;
155 bool m_connectionTypeHasBeenSet = false;
156
157 Aws::String m_connectionTable;
158 bool m_connectionTableHasBeenSet = false;
159
160 Aws::String m_schemaName;
161 bool m_schemaNameHasBeenSet = false;
162
163 Aws::Vector<GlueSchema> m_outputSchemas;
164 bool m_outputSchemasHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace Glue
169} // namespace Aws
AthenaConnectorSource & WithSchemaName(const char *value)
AthenaConnectorSource & WithSchemaName(const Aws::String &value)
const Aws::String & GetConnectionType() const
AWS_GLUE_API AthenaConnectorSource(Aws::Utils::Json::JsonView jsonValue)
void SetOutputSchemas(const Aws::Vector< GlueSchema > &value)
AthenaConnectorSource & WithConnectionName(Aws::String &&value)
AthenaConnectorSource & WithConnectionTable(Aws::String &&value)
AthenaConnectorSource & AddOutputSchemas(GlueSchema &&value)
AthenaConnectorSource & WithConnectorName(Aws::String &&value)
const Aws::Vector< GlueSchema > & GetOutputSchemas() const
AthenaConnectorSource & WithOutputSchemas(Aws::Vector< GlueSchema > &&value)
AthenaConnectorSource & WithName(const Aws::String &value)
void SetOutputSchemas(Aws::Vector< GlueSchema > &&value)
AthenaConnectorSource & WithName(const char *value)
void SetConnectionTable(const Aws::String &value)
void SetConnectorName(const Aws::String &value)
const Aws::String & GetConnectionName() const
AWS_GLUE_API AthenaConnectorSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AthenaConnectorSource & WithConnectorName(const char *value)
AthenaConnectorSource & WithConnectorName(const Aws::String &value)
AthenaConnectorSource & WithConnectionTable(const char *value)
AthenaConnectorSource & AddOutputSchemas(const GlueSchema &value)
void SetConnectionName(const Aws::String &value)
void SetSchemaName(const Aws::String &value)
AthenaConnectorSource & WithConnectionName(const Aws::String &value)
void SetConnectionType(const Aws::String &value)
AthenaConnectorSource & WithConnectionTable(const Aws::String &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AthenaConnectorSource & WithOutputSchemas(const Aws::Vector< GlueSchema > &value)
AthenaConnectorSource & WithConnectionType(Aws::String &&value)
AthenaConnectorSource & WithConnectionType(const Aws::String &value)
AthenaConnectorSource & WithSchemaName(Aws::String &&value)
AthenaConnectorSource & WithConnectionType(const char *value)
AthenaConnectorSource & WithConnectionName(const char *value)
AthenaConnectorSource & WithName(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