AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TableResource.h
1
6#pragma once
7#include <aws/lakeformation/LakeFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lakeformation/model/TableWildcard.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LakeFormation
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_LAKEFORMATION_API TableResource();
38 AWS_LAKEFORMATION_API TableResource(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LAKEFORMATION_API TableResource& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
49 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
50 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
51 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
52 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
53 inline TableResource& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
54 inline TableResource& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
55 inline TableResource& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
57
59
64 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
65 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
66 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
67 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
68 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
69 inline TableResource& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
70 inline TableResource& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
71 inline TableResource& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
73
75
78 inline const Aws::String& GetName() const{ return m_name; }
79 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
80 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
81 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
82 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
83 inline TableResource& WithName(const Aws::String& value) { SetName(value); return *this;}
84 inline TableResource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
85 inline TableResource& WithName(const char* value) { SetName(value); return *this;}
87
89
94 inline const TableWildcard& GetTableWildcard() const{ return m_tableWildcard; }
95 inline bool TableWildcardHasBeenSet() const { return m_tableWildcardHasBeenSet; }
96 inline void SetTableWildcard(const TableWildcard& value) { m_tableWildcardHasBeenSet = true; m_tableWildcard = value; }
97 inline void SetTableWildcard(TableWildcard&& value) { m_tableWildcardHasBeenSet = true; m_tableWildcard = std::move(value); }
98 inline TableResource& WithTableWildcard(const TableWildcard& value) { SetTableWildcard(value); return *this;}
99 inline TableResource& WithTableWildcard(TableWildcard&& value) { SetTableWildcard(std::move(value)); return *this;}
101 private:
102
103 Aws::String m_catalogId;
104 bool m_catalogIdHasBeenSet = false;
105
106 Aws::String m_databaseName;
107 bool m_databaseNameHasBeenSet = false;
108
109 Aws::String m_name;
110 bool m_nameHasBeenSet = false;
111
112 TableWildcard m_tableWildcard;
113 bool m_tableWildcardHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace LakeFormation
118} // namespace Aws
TableResource & WithCatalogId(const Aws::String &value)
TableResource & WithName(Aws::String &&value)
TableResource & WithTableWildcard(TableWildcard &&value)
const Aws::String & GetDatabaseName() const
TableResource & WithCatalogId(const char *value)
void SetDatabaseName(Aws::String &&value)
TableResource & WithDatabaseName(Aws::String &&value)
TableResource & WithName(const char *value)
void SetTableWildcard(const TableWildcard &value)
AWS_LAKEFORMATION_API TableResource(Aws::Utils::Json::JsonView jsonValue)
AWS_LAKEFORMATION_API TableResource & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
TableResource & WithDatabaseName(const Aws::String &value)
void SetTableWildcard(TableWildcard &&value)
const TableWildcard & GetTableWildcard() const
TableResource & WithTableWildcard(const TableWildcard &value)
TableResource & WithDatabaseName(const char *value)
void SetDatabaseName(const Aws::String &value)
TableResource & WithName(const Aws::String &value)
AWS_LAKEFORMATION_API TableResource()
void SetDatabaseName(const char *value)
void SetCatalogId(Aws::String &&value)
const Aws::String & GetCatalogId() const
AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const
TableResource & WithCatalogId(Aws::String &&value)
void SetName(const Aws::String &value)
void SetCatalogId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue