AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CatalogTarget.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GLUE_API CatalogTarget() = default;
39
40
42
45 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
46 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
47 template<typename DatabaseNameT = Aws::String>
48 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
49 template<typename DatabaseNameT = Aws::String>
50 CatalogTarget& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
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) { m_tablesHasBeenSet = true; m_tables = std::forward<TablesT>(value); }
61 template<typename TablesT = Aws::Vector<Aws::String>>
62 CatalogTarget& WithTables(TablesT&& value) { SetTables(std::forward<TablesT>(value)); return *this;}
63 template<typename TablesT = Aws::String>
64 CatalogTarget& AddTables(TablesT&& value) { m_tablesHasBeenSet = true; m_tables.emplace_back(std::forward<TablesT>(value)); return *this; }
66
68
73 inline const Aws::String& GetConnectionName() const { return m_connectionName; }
74 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
75 template<typename ConnectionNameT = Aws::String>
76 void SetConnectionName(ConnectionNameT&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::forward<ConnectionNameT>(value); }
77 template<typename ConnectionNameT = Aws::String>
78 CatalogTarget& WithConnectionName(ConnectionNameT&& value) { SetConnectionName(std::forward<ConnectionNameT>(value)); return *this;}
80
82
86 inline const Aws::String& GetEventQueueArn() const { return m_eventQueueArn; }
87 inline bool EventQueueArnHasBeenSet() const { return m_eventQueueArnHasBeenSet; }
88 template<typename EventQueueArnT = Aws::String>
89 void SetEventQueueArn(EventQueueArnT&& value) { m_eventQueueArnHasBeenSet = true; m_eventQueueArn = std::forward<EventQueueArnT>(value); }
90 template<typename EventQueueArnT = Aws::String>
91 CatalogTarget& WithEventQueueArn(EventQueueArnT&& value) { SetEventQueueArn(std::forward<EventQueueArnT>(value)); return *this;}
93
95
99 inline const Aws::String& GetDlqEventQueueArn() const { return m_dlqEventQueueArn; }
100 inline bool DlqEventQueueArnHasBeenSet() const { return m_dlqEventQueueArnHasBeenSet; }
101 template<typename DlqEventQueueArnT = Aws::String>
102 void SetDlqEventQueueArn(DlqEventQueueArnT&& value) { m_dlqEventQueueArnHasBeenSet = true; m_dlqEventQueueArn = std::forward<DlqEventQueueArnT>(value); }
103 template<typename DlqEventQueueArnT = Aws::String>
104 CatalogTarget& WithDlqEventQueueArn(DlqEventQueueArnT&& value) { SetDlqEventQueueArn(std::forward<DlqEventQueueArnT>(value)); return *this;}
106 private:
107
108 Aws::String m_databaseName;
109 bool m_databaseNameHasBeenSet = false;
110
112 bool m_tablesHasBeenSet = false;
113
114 Aws::String m_connectionName;
115 bool m_connectionNameHasBeenSet = false;
116
117 Aws::String m_eventQueueArn;
118 bool m_eventQueueArnHasBeenSet = false;
119
120 Aws::String m_dlqEventQueueArn;
121 bool m_dlqEventQueueArnHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace Glue
126} // 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