AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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