AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TableIdentifier.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 TableIdentifier() = 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 TableIdentifier& 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 TableIdentifier& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetName() const { return m_name; }
70 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
71 template<typename NameT = Aws::String>
72 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
73 template<typename NameT = Aws::String>
74 TableIdentifier& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
76
78
81 inline const Aws::String& GetRegion() const { return m_region; }
82 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
83 template<typename RegionT = Aws::String>
84 void SetRegion(RegionT&& value) { m_regionHasBeenSet = true; m_region = std::forward<RegionT>(value); }
85 template<typename RegionT = Aws::String>
86 TableIdentifier& WithRegion(RegionT&& value) { SetRegion(std::forward<RegionT>(value)); return *this;}
88 private:
89
90 Aws::String m_catalogId;
91 bool m_catalogIdHasBeenSet = false;
92
93 Aws::String m_databaseName;
94 bool m_databaseNameHasBeenSet = false;
95
96 Aws::String m_name;
97 bool m_nameHasBeenSet = false;
98
99 Aws::String m_region;
100 bool m_regionHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Glue
105} // 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