AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
46 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
47 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
48 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
49 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
50 inline CatalogTarget& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
51 inline CatalogTarget& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
52 inline CatalogTarget& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetTables() const{ return m_tables; }
60 inline bool TablesHasBeenSet() const { return m_tablesHasBeenSet; }
61 inline void SetTables(const Aws::Vector<Aws::String>& value) { m_tablesHasBeenSet = true; m_tables = value; }
62 inline void SetTables(Aws::Vector<Aws::String>&& value) { m_tablesHasBeenSet = true; m_tables = std::move(value); }
63 inline CatalogTarget& WithTables(const Aws::Vector<Aws::String>& value) { SetTables(value); return *this;}
64 inline CatalogTarget& WithTables(Aws::Vector<Aws::String>&& value) { SetTables(std::move(value)); return *this;}
65 inline CatalogTarget& AddTables(const Aws::String& value) { m_tablesHasBeenSet = true; m_tables.push_back(value); return *this; }
66 inline CatalogTarget& AddTables(Aws::String&& value) { m_tablesHasBeenSet = true; m_tables.push_back(std::move(value)); return *this; }
67 inline CatalogTarget& AddTables(const char* value) { m_tablesHasBeenSet = true; m_tables.push_back(value); return *this; }
69
71
76 inline const Aws::String& GetConnectionName() const{ return m_connectionName; }
77 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
78 inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; }
79 inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); }
80 inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); }
81 inline CatalogTarget& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;}
82 inline CatalogTarget& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;}
83 inline CatalogTarget& WithConnectionName(const char* value) { SetConnectionName(value); return *this;}
85
87
91 inline const Aws::String& GetEventQueueArn() const{ return m_eventQueueArn; }
92 inline bool EventQueueArnHasBeenSet() const { return m_eventQueueArnHasBeenSet; }
93 inline void SetEventQueueArn(const Aws::String& value) { m_eventQueueArnHasBeenSet = true; m_eventQueueArn = value; }
94 inline void SetEventQueueArn(Aws::String&& value) { m_eventQueueArnHasBeenSet = true; m_eventQueueArn = std::move(value); }
95 inline void SetEventQueueArn(const char* value) { m_eventQueueArnHasBeenSet = true; m_eventQueueArn.assign(value); }
96 inline CatalogTarget& WithEventQueueArn(const Aws::String& value) { SetEventQueueArn(value); return *this;}
97 inline CatalogTarget& WithEventQueueArn(Aws::String&& value) { SetEventQueueArn(std::move(value)); return *this;}
98 inline CatalogTarget& WithEventQueueArn(const char* value) { SetEventQueueArn(value); return *this;}
100
102
106 inline const Aws::String& GetDlqEventQueueArn() const{ return m_dlqEventQueueArn; }
107 inline bool DlqEventQueueArnHasBeenSet() const { return m_dlqEventQueueArnHasBeenSet; }
108 inline void SetDlqEventQueueArn(const Aws::String& value) { m_dlqEventQueueArnHasBeenSet = true; m_dlqEventQueueArn = value; }
109 inline void SetDlqEventQueueArn(Aws::String&& value) { m_dlqEventQueueArnHasBeenSet = true; m_dlqEventQueueArn = std::move(value); }
110 inline void SetDlqEventQueueArn(const char* value) { m_dlqEventQueueArnHasBeenSet = true; m_dlqEventQueueArn.assign(value); }
111 inline CatalogTarget& WithDlqEventQueueArn(const Aws::String& value) { SetDlqEventQueueArn(value); return *this;}
112 inline CatalogTarget& WithDlqEventQueueArn(Aws::String&& value) { SetDlqEventQueueArn(std::move(value)); return *this;}
113 inline CatalogTarget& WithDlqEventQueueArn(const char* value) { SetDlqEventQueueArn(value); return *this;}
115 private:
116
117 Aws::String m_databaseName;
118 bool m_databaseNameHasBeenSet = false;
119
121 bool m_tablesHasBeenSet = false;
122
123 Aws::String m_connectionName;
124 bool m_connectionNameHasBeenSet = false;
125
126 Aws::String m_eventQueueArn;
127 bool m_eventQueueArnHasBeenSet = false;
128
129 Aws::String m_dlqEventQueueArn;
130 bool m_dlqEventQueueArnHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace Glue
135} // namespace Aws
void SetConnectionName(const char *value)
CatalogTarget & WithEventQueueArn(Aws::String &&value)
void SetDatabaseName(const char *value)
CatalogTarget & WithTables(const Aws::Vector< Aws::String > &value)
void SetDlqEventQueueArn(Aws::String &&value)
const Aws::String & GetDatabaseName() const
void SetEventQueueArn(const char *value)
void SetTables(Aws::Vector< Aws::String > &&value)
CatalogTarget & AddTables(Aws::String &&value)
CatalogTarget & WithTables(Aws::Vector< Aws::String > &&value)
void SetEventQueueArn(Aws::String &&value)
CatalogTarget & WithDlqEventQueueArn(Aws::String &&value)
AWS_GLUE_API CatalogTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
CatalogTarget & WithEventQueueArn(const char *value)
CatalogTarget & WithConnectionName(const char *value)
const Aws::String & GetConnectionName() const
const Aws::String & GetEventQueueArn() const
CatalogTarget & AddTables(const char *value)
CatalogTarget & WithConnectionName(const Aws::String &value)
CatalogTarget & AddTables(const Aws::String &value)
void SetConnectionName(Aws::String &&value)
void SetTables(const Aws::Vector< Aws::String > &value)
void SetDatabaseName(Aws::String &&value)
void SetDlqEventQueueArn(const char *value)
CatalogTarget & WithDatabaseName(const Aws::String &value)
void SetConnectionName(const Aws::String &value)
const Aws::String & GetDlqEventQueueArn() const
CatalogTarget & WithDlqEventQueueArn(const char *value)
CatalogTarget & WithDatabaseName(const char *value)
CatalogTarget & WithDlqEventQueueArn(const Aws::String &value)
AWS_GLUE_API CatalogTarget(Aws::Utils::Json::JsonView jsonValue)
CatalogTarget & WithConnectionName(Aws::String &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetTables() const
CatalogTarget & WithDatabaseName(Aws::String &&value)
CatalogTarget & WithEventQueueArn(const Aws::String &value)
void SetEventQueueArn(const Aws::String &value)
void SetDatabaseName(const Aws::String &value)
void SetDlqEventQueueArn(const 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