AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
TableIdentifier.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 TableIdentifier() = 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 TableIdentifier& 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 TableIdentifier& WithDatabaseName(DatabaseNameT&& value) {
66 SetDatabaseName(std::forward<DatabaseNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 template <typename NameT = Aws::String>
78 void SetName(NameT&& value) {
79 m_nameHasBeenSet = true;
80 m_name = std::forward<NameT>(value);
81 }
82 template <typename NameT = Aws::String>
83 TableIdentifier& WithName(NameT&& value) {
84 SetName(std::forward<NameT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetRegion() const { return m_region; }
94 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
95 template <typename RegionT = Aws::String>
96 void SetRegion(RegionT&& value) {
97 m_regionHasBeenSet = true;
98 m_region = std::forward<RegionT>(value);
99 }
100 template <typename RegionT = Aws::String>
101 TableIdentifier& WithRegion(RegionT&& value) {
102 SetRegion(std::forward<RegionT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_catalogId;
108
109 Aws::String m_databaseName;
110
111 Aws::String m_name;
112
113 Aws::String m_region;
114 bool m_catalogIdHasBeenSet = false;
115 bool m_databaseNameHasBeenSet = false;
116 bool m_nameHasBeenSet = false;
117 bool m_regionHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace Glue
122} // namespace Aws
AWS_GLUE_API TableIdentifier(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API TableIdentifier()=default
TableIdentifier & WithDatabaseName(DatabaseNameT &&value)
TableIdentifier & WithCatalogId(CatalogIdT &&value)
void SetCatalogId(CatalogIdT &&value)
const Aws::String & GetCatalogId() const
AWS_GLUE_API TableIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
TableIdentifier & WithRegion(RegionT &&value)
const Aws::String & GetDatabaseName() const
const Aws::String & GetName() const
void SetDatabaseName(DatabaseNameT &&value)
const Aws::String & GetRegion() const
TableIdentifier & WithName(NameT &&value)
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