AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CatalogTarget.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/Glue_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
29 public:
30 AWS_GLUE_API CatalogTarget() = default;
34
36
39 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
40 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
41 template <typename DatabaseNameT = Aws::String>
42 void SetDatabaseName(DatabaseNameT&& value) {
43 m_databaseNameHasBeenSet = true;
44 m_databaseName = std::forward<DatabaseNameT>(value);
45 }
46 template <typename DatabaseNameT = Aws::String>
47 CatalogTarget& WithDatabaseName(DatabaseNameT&& value) {
48 SetDatabaseName(std::forward<DatabaseNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::Vector<Aws::String>& GetTables() const { return m_tables; }
58 inline bool TablesHasBeenSet() const { return m_tablesHasBeenSet; }
59 template <typename TablesT = Aws::Vector<Aws::String>>
60 void SetTables(TablesT&& value) {
61 m_tablesHasBeenSet = true;
62 m_tables = std::forward<TablesT>(value);
63 }
64 template <typename TablesT = Aws::Vector<Aws::String>>
65 CatalogTarget& WithTables(TablesT&& value) {
66 SetTables(std::forward<TablesT>(value));
67 return *this;
68 }
69 template <typename TablesT = Aws::String>
70 CatalogTarget& AddTables(TablesT&& value) {
71 m_tablesHasBeenSet = true;
72 m_tables.emplace_back(std::forward<TablesT>(value));
73 return *this;
74 }
76
78
83 inline const Aws::String& GetConnectionName() const { return m_connectionName; }
84 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
85 template <typename ConnectionNameT = Aws::String>
86 void SetConnectionName(ConnectionNameT&& value) {
87 m_connectionNameHasBeenSet = true;
88 m_connectionName = std::forward<ConnectionNameT>(value);
89 }
90 template <typename ConnectionNameT = Aws::String>
91 CatalogTarget& WithConnectionName(ConnectionNameT&& value) {
92 SetConnectionName(std::forward<ConnectionNameT>(value));
93 return *this;
94 }
96
98
102 inline const Aws::String& GetEventQueueArn() const { return m_eventQueueArn; }
103 inline bool EventQueueArnHasBeenSet() const { return m_eventQueueArnHasBeenSet; }
104 template <typename EventQueueArnT = Aws::String>
105 void SetEventQueueArn(EventQueueArnT&& value) {
106 m_eventQueueArnHasBeenSet = true;
107 m_eventQueueArn = std::forward<EventQueueArnT>(value);
108 }
109 template <typename EventQueueArnT = Aws::String>
110 CatalogTarget& WithEventQueueArn(EventQueueArnT&& value) {
111 SetEventQueueArn(std::forward<EventQueueArnT>(value));
112 return *this;
113 }
115
117
121 inline const Aws::String& GetDlqEventQueueArn() const { return m_dlqEventQueueArn; }
122 inline bool DlqEventQueueArnHasBeenSet() const { return m_dlqEventQueueArnHasBeenSet; }
123 template <typename DlqEventQueueArnT = Aws::String>
124 void SetDlqEventQueueArn(DlqEventQueueArnT&& value) {
125 m_dlqEventQueueArnHasBeenSet = true;
126 m_dlqEventQueueArn = std::forward<DlqEventQueueArnT>(value);
127 }
128 template <typename DlqEventQueueArnT = Aws::String>
129 CatalogTarget& WithDlqEventQueueArn(DlqEventQueueArnT&& value) {
130 SetDlqEventQueueArn(std::forward<DlqEventQueueArnT>(value));
131 return *this;
132 }
134 private:
135 Aws::String m_databaseName;
136
138
139 Aws::String m_connectionName;
140
141 Aws::String m_eventQueueArn;
142
143 Aws::String m_dlqEventQueueArn;
144 bool m_databaseNameHasBeenSet = false;
145 bool m_tablesHasBeenSet = false;
146 bool m_connectionNameHasBeenSet = false;
147 bool m_eventQueueArnHasBeenSet = false;
148 bool m_dlqEventQueueArnHasBeenSet = false;
149};
150
151} // namespace Model
152} // namespace Glue
153} // namespace Aws
void SetEventQueueArn(EventQueueArnT &&value)
void SetTables(TablesT &&value)
const Aws::String & GetDatabaseName() const
AWS_GLUE_API CatalogTarget()=default
AWS_GLUE_API CatalogTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetConnectionName() const
const Aws::String & GetEventQueueArn() const
void SetConnectionName(ConnectionNameT &&value)
void SetDlqEventQueueArn(DlqEventQueueArnT &&value)
void SetDatabaseName(DatabaseNameT &&value)
CatalogTarget & WithDatabaseName(DatabaseNameT &&value)
const Aws::String & GetDlqEventQueueArn() const
AWS_GLUE_API CatalogTarget(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetTables() const
CatalogTarget & WithTables(TablesT &&value)
CatalogTarget & AddTables(TablesT &&value)
CatalogTarget & WithConnectionName(ConnectionNameT &&value)
CatalogTarget & WithDlqEventQueueArn(DlqEventQueueArnT &&value)
CatalogTarget & WithEventQueueArn(EventQueueArnT &&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