AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TableWithColumnsResource.h
1
6#pragma once
7#include <aws/lakeformation/LakeFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lakeformation/model/ColumnWildcard.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LakeFormation
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_LAKEFORMATION_API TableWithColumnsResource();
40 AWS_LAKEFORMATION_API TableWithColumnsResource(Aws::Utils::Json::JsonView jsonValue);
42 AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
51 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
52 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
53 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
54 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
55 inline TableWithColumnsResource& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
56 inline TableWithColumnsResource& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
57 inline TableWithColumnsResource& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
59
61
67 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
68 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
69 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
70 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
71 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
72 inline TableWithColumnsResource& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
73 inline TableWithColumnsResource& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
74 inline TableWithColumnsResource& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
76
78
83 inline const Aws::String& GetName() const{ return m_name; }
84 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
85 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
86 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
87 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
88 inline TableWithColumnsResource& WithName(const Aws::String& value) { SetName(value); return *this;}
89 inline TableWithColumnsResource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
90 inline TableWithColumnsResource& WithName(const char* value) { SetName(value); return *this;}
92
94
98 inline const Aws::Vector<Aws::String>& GetColumnNames() const{ return m_columnNames; }
99 inline bool ColumnNamesHasBeenSet() const { return m_columnNamesHasBeenSet; }
100 inline void SetColumnNames(const Aws::Vector<Aws::String>& value) { m_columnNamesHasBeenSet = true; m_columnNames = value; }
101 inline void SetColumnNames(Aws::Vector<Aws::String>&& value) { m_columnNamesHasBeenSet = true; m_columnNames = std::move(value); }
103 inline TableWithColumnsResource& WithColumnNames(Aws::Vector<Aws::String>&& value) { SetColumnNames(std::move(value)); return *this;}
104 inline TableWithColumnsResource& AddColumnNames(const Aws::String& value) { m_columnNamesHasBeenSet = true; m_columnNames.push_back(value); return *this; }
105 inline TableWithColumnsResource& AddColumnNames(Aws::String&& value) { m_columnNamesHasBeenSet = true; m_columnNames.push_back(std::move(value)); return *this; }
106 inline TableWithColumnsResource& AddColumnNames(const char* value) { m_columnNamesHasBeenSet = true; m_columnNames.push_back(value); return *this; }
108
110
114 inline const ColumnWildcard& GetColumnWildcard() const{ return m_columnWildcard; }
115 inline bool ColumnWildcardHasBeenSet() const { return m_columnWildcardHasBeenSet; }
116 inline void SetColumnWildcard(const ColumnWildcard& value) { m_columnWildcardHasBeenSet = true; m_columnWildcard = value; }
117 inline void SetColumnWildcard(ColumnWildcard&& value) { m_columnWildcardHasBeenSet = true; m_columnWildcard = std::move(value); }
119 inline TableWithColumnsResource& WithColumnWildcard(ColumnWildcard&& value) { SetColumnWildcard(std::move(value)); return *this;}
121 private:
122
123 Aws::String m_catalogId;
124 bool m_catalogIdHasBeenSet = false;
125
126 Aws::String m_databaseName;
127 bool m_databaseNameHasBeenSet = false;
128
129 Aws::String m_name;
130 bool m_nameHasBeenSet = false;
131
132 Aws::Vector<Aws::String> m_columnNames;
133 bool m_columnNamesHasBeenSet = false;
134
135 ColumnWildcard m_columnWildcard;
136 bool m_columnWildcardHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace LakeFormation
141} // namespace Aws
TableWithColumnsResource & WithCatalogId(const char *value)
TableWithColumnsResource & WithColumnNames(const Aws::Vector< Aws::String > &value)
TableWithColumnsResource & WithName(const Aws::String &value)
TableWithColumnsResource & WithDatabaseName(const char *value)
TableWithColumnsResource & WithColumnNames(Aws::Vector< Aws::String > &&value)
void SetColumnNames(const Aws::Vector< Aws::String > &value)
TableWithColumnsResource & WithColumnWildcard(ColumnWildcard &&value)
TableWithColumnsResource & AddColumnNames(const Aws::String &value)
TableWithColumnsResource & WithDatabaseName(Aws::String &&value)
AWS_LAKEFORMATION_API TableWithColumnsResource & operator=(Aws::Utils::Json::JsonView jsonValue)
TableWithColumnsResource & AddColumnNames(Aws::String &&value)
const Aws::Vector< Aws::String > & GetColumnNames() const
TableWithColumnsResource & WithName(Aws::String &&value)
TableWithColumnsResource & WithName(const char *value)
void SetColumnNames(Aws::Vector< Aws::String > &&value)
AWS_LAKEFORMATION_API TableWithColumnsResource(Aws::Utils::Json::JsonView jsonValue)
TableWithColumnsResource & WithCatalogId(Aws::String &&value)
TableWithColumnsResource & AddColumnNames(const char *value)
TableWithColumnsResource & WithColumnWildcard(const ColumnWildcard &value)
TableWithColumnsResource & WithCatalogId(const Aws::String &value)
AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const
TableWithColumnsResource & WithDatabaseName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue