AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DatabaseIdentifier.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 DatabaseIdentifier() = default;
39
40
42
45 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
46 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
47 template<typename CatalogIdT = Aws::String>
48 void SetCatalogId(CatalogIdT&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::forward<CatalogIdT>(value); }
49 template<typename CatalogIdT = Aws::String>
50 DatabaseIdentifier& WithCatalogId(CatalogIdT&& value) { SetCatalogId(std::forward<CatalogIdT>(value)); return *this;}
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) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
61 template<typename DatabaseNameT = Aws::String>
62 DatabaseIdentifier& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetRegion() const { return m_region; }
70 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
71 template<typename RegionT = Aws::String>
72 void SetRegion(RegionT&& value) { m_regionHasBeenSet = true; m_region = std::forward<RegionT>(value); }
73 template<typename RegionT = Aws::String>
74 DatabaseIdentifier& WithRegion(RegionT&& value) { SetRegion(std::forward<RegionT>(value)); return *this;}
76 private:
77
78 Aws::String m_catalogId;
79 bool m_catalogIdHasBeenSet = false;
80
81 Aws::String m_databaseName;
82 bool m_databaseNameHasBeenSet = false;
83
84 Aws::String m_region;
85 bool m_regionHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Glue
90} // 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