AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
FederatedDatabase.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GLUE_API FederatedDatabase() = default;
39
40
42
45 inline const Aws::String& GetIdentifier() const { return m_identifier; }
46 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
47 template<typename IdentifierT = Aws::String>
48 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
49 template<typename IdentifierT = Aws::String>
50 FederatedDatabase& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
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) { m_connectionNameHasBeenSet = true; m_connectionName = std::forward<ConnectionNameT>(value); }
61 template<typename ConnectionNameT = Aws::String>
62 FederatedDatabase& WithConnectionName(ConnectionNameT&& value) { SetConnectionName(std::forward<ConnectionNameT>(value)); return *this;}
64
66
70 inline const Aws::String& GetConnectionType() const { return m_connectionType; }
71 inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; }
72 template<typename ConnectionTypeT = Aws::String>
73 void SetConnectionType(ConnectionTypeT&& value) { m_connectionTypeHasBeenSet = true; m_connectionType = std::forward<ConnectionTypeT>(value); }
74 template<typename ConnectionTypeT = Aws::String>
75 FederatedDatabase& WithConnectionType(ConnectionTypeT&& value) { SetConnectionType(std::forward<ConnectionTypeT>(value)); return *this;}
77 private:
78
79 Aws::String m_identifier;
80 bool m_identifierHasBeenSet = false;
81
82 Aws::String m_connectionName;
83 bool m_connectionNameHasBeenSet = false;
84
85 Aws::String m_connectionType;
86 bool m_connectionTypeHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Glue
91} // 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