AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
FederatedTable.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
29 public:
30 AWS_GLUE_API FederatedTable() = default;
34
36
39 inline const Aws::String& GetIdentifier() const { return m_identifier; }
40 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
41 template <typename IdentifierT = Aws::String>
42 void SetIdentifier(IdentifierT&& value) {
43 m_identifierHasBeenSet = true;
44 m_identifier = std::forward<IdentifierT>(value);
45 }
46 template <typename IdentifierT = Aws::String>
47 FederatedTable& WithIdentifier(IdentifierT&& value) {
48 SetIdentifier(std::forward<IdentifierT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDatabaseIdentifier() const { return m_databaseIdentifier; }
58 inline bool DatabaseIdentifierHasBeenSet() const { return m_databaseIdentifierHasBeenSet; }
59 template <typename DatabaseIdentifierT = Aws::String>
60 void SetDatabaseIdentifier(DatabaseIdentifierT&& value) {
61 m_databaseIdentifierHasBeenSet = true;
62 m_databaseIdentifier = std::forward<DatabaseIdentifierT>(value);
63 }
64 template <typename DatabaseIdentifierT = Aws::String>
65 FederatedTable& WithDatabaseIdentifier(DatabaseIdentifierT&& value) {
66 SetDatabaseIdentifier(std::forward<DatabaseIdentifierT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetConnectionName() const { return m_connectionName; }
76 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
77 template <typename ConnectionNameT = Aws::String>
78 void SetConnectionName(ConnectionNameT&& value) {
79 m_connectionNameHasBeenSet = true;
80 m_connectionName = std::forward<ConnectionNameT>(value);
81 }
82 template <typename ConnectionNameT = Aws::String>
83 FederatedTable& WithConnectionName(ConnectionNameT&& value) {
84 SetConnectionName(std::forward<ConnectionNameT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetConnectionType() const { return m_connectionType; }
95 inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; }
96 template <typename ConnectionTypeT = Aws::String>
97 void SetConnectionType(ConnectionTypeT&& value) {
98 m_connectionTypeHasBeenSet = true;
99 m_connectionType = std::forward<ConnectionTypeT>(value);
100 }
101 template <typename ConnectionTypeT = Aws::String>
102 FederatedTable& WithConnectionType(ConnectionTypeT&& value) {
103 SetConnectionType(std::forward<ConnectionTypeT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_identifier;
109
110 Aws::String m_databaseIdentifier;
111
112 Aws::String m_connectionName;
113
114 Aws::String m_connectionType;
115 bool m_identifierHasBeenSet = false;
116 bool m_databaseIdentifierHasBeenSet = false;
117 bool m_connectionNameHasBeenSet = false;
118 bool m_connectionTypeHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace Glue
123} // namespace Aws
const Aws::String & GetConnectionType() const
AWS_GLUE_API FederatedTable()=default
void SetConnectionName(ConnectionNameT &&value)
void SetIdentifier(IdentifierT &&value)
const Aws::String & GetDatabaseIdentifier() const
FederatedTable & WithDatabaseIdentifier(DatabaseIdentifierT &&value)
const Aws::String & GetConnectionName() const
AWS_GLUE_API FederatedTable(Aws::Utils::Json::JsonView jsonValue)
void SetDatabaseIdentifier(DatabaseIdentifierT &&value)
AWS_GLUE_API FederatedTable & operator=(Aws::Utils::Json::JsonView jsonValue)
FederatedTable & WithIdentifier(IdentifierT &&value)
void SetConnectionType(ConnectionTypeT &&value)
FederatedTable & WithConnectionName(ConnectionNameT &&value)
FederatedTable & WithConnectionType(ConnectionTypeT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetIdentifier() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue