AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
46 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
47 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
48 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
49 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
50 inline DatabaseIdentifier& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
51 inline DatabaseIdentifier& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
52 inline DatabaseIdentifier& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
54
56
59 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
60 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
61 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
62 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
63 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
64 inline DatabaseIdentifier& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
65 inline DatabaseIdentifier& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
66 inline DatabaseIdentifier& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
68
70
73 inline const Aws::String& GetRegion() const{ return m_region; }
74 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
75 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
76 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
77 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
78 inline DatabaseIdentifier& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
79 inline DatabaseIdentifier& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
80 inline DatabaseIdentifier& WithRegion(const char* value) { SetRegion(value); return *this;}
82 private:
83
84 Aws::String m_catalogId;
85 bool m_catalogIdHasBeenSet = false;
86
87 Aws::String m_databaseName;
88 bool m_databaseNameHasBeenSet = false;
89
90 Aws::String m_region;
91 bool m_regionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Glue
96} // namespace Aws
void SetCatalogId(Aws::String &&value)
const Aws::String & GetDatabaseName() const
void SetDatabaseName(const Aws::String &value)
DatabaseIdentifier & WithRegion(Aws::String &&value)
void SetCatalogId(const Aws::String &value)
void SetRegion(const Aws::String &value)
DatabaseIdentifier & WithDatabaseName(const Aws::String &value)
DatabaseIdentifier & WithCatalogId(Aws::String &&value)
AWS_GLUE_API DatabaseIdentifier(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRegion() const
void SetDatabaseName(Aws::String &&value)
DatabaseIdentifier & WithDatabaseName(Aws::String &&value)
DatabaseIdentifier & WithCatalogId(const Aws::String &value)
DatabaseIdentifier & WithRegion(const char *value)
AWS_GLUE_API DatabaseIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCatalogId() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
DatabaseIdentifier & WithRegion(const Aws::String &value)
DatabaseIdentifier & WithCatalogId(const char *value)
DatabaseIdentifier & WithDatabaseName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue