AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DatabaseIdentifier.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 DatabaseIdentifier() = default;
34
36
39 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
40 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
41 template <typename CatalogIdT = Aws::String>
42 void SetCatalogId(CatalogIdT&& value) {
43 m_catalogIdHasBeenSet = true;
44 m_catalogId = std::forward<CatalogIdT>(value);
45 }
46 template <typename CatalogIdT = Aws::String>
47 DatabaseIdentifier& WithCatalogId(CatalogIdT&& value) {
48 SetCatalogId(std::forward<CatalogIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
58 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
59 template <typename DatabaseNameT = Aws::String>
60 void SetDatabaseName(DatabaseNameT&& value) {
61 m_databaseNameHasBeenSet = true;
62 m_databaseName = std::forward<DatabaseNameT>(value);
63 }
64 template <typename DatabaseNameT = Aws::String>
65 DatabaseIdentifier& WithDatabaseName(DatabaseNameT&& value) {
66 SetDatabaseName(std::forward<DatabaseNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetRegion() const { return m_region; }
76 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
77 template <typename RegionT = Aws::String>
78 void SetRegion(RegionT&& value) {
79 m_regionHasBeenSet = true;
80 m_region = std::forward<RegionT>(value);
81 }
82 template <typename RegionT = Aws::String>
83 DatabaseIdentifier& WithRegion(RegionT&& value) {
84 SetRegion(std::forward<RegionT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_catalogId;
90
91 Aws::String m_databaseName;
92
93 Aws::String m_region;
94 bool m_catalogIdHasBeenSet = false;
95 bool m_databaseNameHasBeenSet = false;
96 bool m_regionHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Glue
101} // namespace Aws
const Aws::String & GetDatabaseName() const
DatabaseIdentifier & WithDatabaseName(DatabaseNameT &&value)
DatabaseIdentifier & WithRegion(RegionT &&value)
void SetDatabaseName(DatabaseNameT &&value)
AWS_GLUE_API DatabaseIdentifier(Aws::Utils::Json::JsonView jsonValue)
DatabaseIdentifier & WithCatalogId(CatalogIdT &&value)
const Aws::String & GetRegion() const
AWS_GLUE_API DatabaseIdentifier()=default
AWS_GLUE_API DatabaseIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCatalogId() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue