AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
FederatedCatalog.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 FederatedCatalog() = 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 FederatedCatalog& WithIdentifier(IdentifierT&& value) {
48 SetIdentifier(std::forward<IdentifierT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetConnectionName() const { return m_connectionName; }
59 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
60 template <typename ConnectionNameT = Aws::String>
61 void SetConnectionName(ConnectionNameT&& value) {
62 m_connectionNameHasBeenSet = true;
63 m_connectionName = std::forward<ConnectionNameT>(value);
64 }
65 template <typename ConnectionNameT = Aws::String>
66 FederatedCatalog& WithConnectionName(ConnectionNameT&& value) {
67 SetConnectionName(std::forward<ConnectionNameT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetConnectionType() const { return m_connectionType; }
78 inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; }
79 template <typename ConnectionTypeT = Aws::String>
80 void SetConnectionType(ConnectionTypeT&& value) {
81 m_connectionTypeHasBeenSet = true;
82 m_connectionType = std::forward<ConnectionTypeT>(value);
83 }
84 template <typename ConnectionTypeT = Aws::String>
85 FederatedCatalog& WithConnectionType(ConnectionTypeT&& value) {
86 SetConnectionType(std::forward<ConnectionTypeT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_identifier;
92 bool m_identifierHasBeenSet = false;
93
94 Aws::String m_connectionName;
95 bool m_connectionNameHasBeenSet = false;
96
97 Aws::String m_connectionType;
98 bool m_connectionTypeHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace Glue
103} // namespace Aws
const Aws::String & GetConnectionName() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API FederatedCatalog(Aws::Utils::Json::JsonView jsonValue)
FederatedCatalog & WithConnectionName(ConnectionNameT &&value)
void SetConnectionType(ConnectionTypeT &&value)
void SetIdentifier(IdentifierT &&value)
AWS_GLUE_API FederatedCatalog()=default
const Aws::String & GetConnectionType() const
void SetConnectionName(ConnectionNameT &&value)
const Aws::String & GetIdentifier() const
AWS_GLUE_API FederatedCatalog & operator=(Aws::Utils::Json::JsonView jsonValue)
FederatedCatalog & WithIdentifier(IdentifierT &&value)
FederatedCatalog & WithConnectionType(ConnectionTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue