AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TableSummary.h
1
6#pragma once
7#include <aws/s3tables/S3Tables_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3tables/model/TableType.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace S3Tables
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_S3TABLES_API TableSummary() = default;
38 AWS_S3TABLES_API TableSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<Aws::String>& GetNamespace() const { return m_namespace; }
48 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
49 template<typename NamespaceT = Aws::Vector<Aws::String>>
50 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
51 template<typename NamespaceT = Aws::Vector<Aws::String>>
52 TableSummary& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
53 template<typename NamespaceT = Aws::String>
54 TableSummary& AddNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace.emplace_back(std::forward<NamespaceT>(value)); return *this; }
56
58
61 inline const Aws::String& GetName() const { return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 template<typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
65 template<typename NameT = Aws::String>
66 TableSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
68
70
73 inline TableType GetType() const { return m_type; }
74 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
75 inline void SetType(TableType value) { m_typeHasBeenSet = true; m_type = value; }
76 inline TableSummary& WithType(TableType value) { SetType(value); return *this;}
78
80
83 inline const Aws::String& GetTableARN() const { return m_tableARN; }
84 inline bool TableARNHasBeenSet() const { return m_tableARNHasBeenSet; }
85 template<typename TableARNT = Aws::String>
86 void SetTableARN(TableARNT&& value) { m_tableARNHasBeenSet = true; m_tableARN = std::forward<TableARNT>(value); }
87 template<typename TableARNT = Aws::String>
88 TableSummary& WithTableARN(TableARNT&& value) { SetTableARN(std::forward<TableARNT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
96 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
97 template<typename CreatedAtT = Aws::Utils::DateTime>
98 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
99 template<typename CreatedAtT = Aws::Utils::DateTime>
100 TableSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
108 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
109 template<typename ModifiedAtT = Aws::Utils::DateTime>
110 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
111 template<typename ModifiedAtT = Aws::Utils::DateTime>
112 TableSummary& WithModifiedAt(ModifiedAtT&& value) { SetModifiedAt(std::forward<ModifiedAtT>(value)); return *this;}
114
116
119 inline const Aws::String& GetNamespaceId() const { return m_namespaceId; }
120 inline bool NamespaceIdHasBeenSet() const { return m_namespaceIdHasBeenSet; }
121 template<typename NamespaceIdT = Aws::String>
122 void SetNamespaceId(NamespaceIdT&& value) { m_namespaceIdHasBeenSet = true; m_namespaceId = std::forward<NamespaceIdT>(value); }
123 template<typename NamespaceIdT = Aws::String>
124 TableSummary& WithNamespaceId(NamespaceIdT&& value) { SetNamespaceId(std::forward<NamespaceIdT>(value)); return *this;}
126
128
131 inline const Aws::String& GetTableBucketId() const { return m_tableBucketId; }
132 inline bool TableBucketIdHasBeenSet() const { return m_tableBucketIdHasBeenSet; }
133 template<typename TableBucketIdT = Aws::String>
134 void SetTableBucketId(TableBucketIdT&& value) { m_tableBucketIdHasBeenSet = true; m_tableBucketId = std::forward<TableBucketIdT>(value); }
135 template<typename TableBucketIdT = Aws::String>
136 TableSummary& WithTableBucketId(TableBucketIdT&& value) { SetTableBucketId(std::forward<TableBucketIdT>(value)); return *this;}
138 private:
139
140 Aws::Vector<Aws::String> m_namespace;
141 bool m_namespaceHasBeenSet = false;
142
143 Aws::String m_name;
144 bool m_nameHasBeenSet = false;
145
147 bool m_typeHasBeenSet = false;
148
149 Aws::String m_tableARN;
150 bool m_tableARNHasBeenSet = false;
151
152 Aws::Utils::DateTime m_createdAt{};
153 bool m_createdAtHasBeenSet = false;
154
155 Aws::Utils::DateTime m_modifiedAt{};
156 bool m_modifiedAtHasBeenSet = false;
157
158 Aws::String m_namespaceId;
159 bool m_namespaceIdHasBeenSet = false;
160
161 Aws::String m_tableBucketId;
162 bool m_tableBucketIdHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace S3Tables
167} // namespace Aws
AWS_S3TABLES_API TableSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTableBucketId() const
void SetTableARN(TableARNT &&value)
void SetTableBucketId(TableBucketIdT &&value)
void SetType(TableType value)
AWS_S3TABLES_API TableSummary()=default
const Aws::Utils::DateTime & GetCreatedAt() const
void SetModifiedAt(ModifiedAtT &&value)
void SetNamespace(NamespaceT &&value)
const Aws::String & GetTableARN() const
TableSummary & WithTableBucketId(TableBucketIdT &&value)
TableSummary & WithNamespaceId(NamespaceIdT &&value)
const Aws::Vector< Aws::String > & GetNamespace() const
TableSummary & WithNamespace(NamespaceT &&value)
void SetNamespaceId(NamespaceIdT &&value)
TableSummary & AddNamespace(NamespaceT &&value)
TableSummary & WithType(TableType value)
TableSummary & WithTableARN(TableARNT &&value)
TableSummary & WithName(NameT &&value)
TableSummary & WithModifiedAt(ModifiedAtT &&value)
TableSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetNamespaceId() const
AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetModifiedAt() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetName() const
AWS_S3TABLES_API TableSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue