AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
NamespaceSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/s3tables/S3Tables_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace S3Tables {
22namespace Model {
23
30 public:
31 AWS_S3TABLES_API NamespaceSummary() = default;
32 AWS_S3TABLES_API NamespaceSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<Aws::String>& GetNamespace() const { return m_namespace; }
41 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
42 template <typename NamespaceT = Aws::Vector<Aws::String>>
43 void SetNamespace(NamespaceT&& value) {
44 m_namespaceHasBeenSet = true;
45 m_namespace = std::forward<NamespaceT>(value);
46 }
47 template <typename NamespaceT = Aws::Vector<Aws::String>>
48 NamespaceSummary& WithNamespace(NamespaceT&& value) {
49 SetNamespace(std::forward<NamespaceT>(value));
50 return *this;
51 }
52 template <typename NamespaceT = Aws::String>
53 NamespaceSummary& AddNamespace(NamespaceT&& value) {
54 m_namespaceHasBeenSet = true;
55 m_namespace.emplace_back(std::forward<NamespaceT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
65 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
66 template <typename CreatedAtT = Aws::Utils::DateTime>
67 void SetCreatedAt(CreatedAtT&& value) {
68 m_createdAtHasBeenSet = true;
69 m_createdAt = std::forward<CreatedAtT>(value);
70 }
71 template <typename CreatedAtT = Aws::Utils::DateTime>
72 NamespaceSummary& WithCreatedAt(CreatedAtT&& value) {
73 SetCreatedAt(std::forward<CreatedAtT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
83 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
84 template <typename CreatedByT = Aws::String>
85 void SetCreatedBy(CreatedByT&& value) {
86 m_createdByHasBeenSet = true;
87 m_createdBy = std::forward<CreatedByT>(value);
88 }
89 template <typename CreatedByT = Aws::String>
90 NamespaceSummary& WithCreatedBy(CreatedByT&& value) {
91 SetCreatedBy(std::forward<CreatedByT>(value));
92 return *this;
93 }
95
97
100 inline const Aws::String& GetOwnerAccountId() const { return m_ownerAccountId; }
101 inline bool OwnerAccountIdHasBeenSet() const { return m_ownerAccountIdHasBeenSet; }
102 template <typename OwnerAccountIdT = Aws::String>
103 void SetOwnerAccountId(OwnerAccountIdT&& value) {
104 m_ownerAccountIdHasBeenSet = true;
105 m_ownerAccountId = std::forward<OwnerAccountIdT>(value);
106 }
107 template <typename OwnerAccountIdT = Aws::String>
108 NamespaceSummary& WithOwnerAccountId(OwnerAccountIdT&& value) {
109 SetOwnerAccountId(std::forward<OwnerAccountIdT>(value));
110 return *this;
111 }
113
115
118 inline const Aws::String& GetNamespaceId() const { return m_namespaceId; }
119 inline bool NamespaceIdHasBeenSet() const { return m_namespaceIdHasBeenSet; }
120 template <typename NamespaceIdT = Aws::String>
121 void SetNamespaceId(NamespaceIdT&& value) {
122 m_namespaceIdHasBeenSet = true;
123 m_namespaceId = std::forward<NamespaceIdT>(value);
124 }
125 template <typename NamespaceIdT = Aws::String>
126 NamespaceSummary& WithNamespaceId(NamespaceIdT&& value) {
127 SetNamespaceId(std::forward<NamespaceIdT>(value));
128 return *this;
129 }
131
133
137 inline const Aws::String& GetTableBucketId() const { return m_tableBucketId; }
138 inline bool TableBucketIdHasBeenSet() const { return m_tableBucketIdHasBeenSet; }
139 template <typename TableBucketIdT = Aws::String>
140 void SetTableBucketId(TableBucketIdT&& value) {
141 m_tableBucketIdHasBeenSet = true;
142 m_tableBucketId = std::forward<TableBucketIdT>(value);
143 }
144 template <typename TableBucketIdT = Aws::String>
145 NamespaceSummary& WithTableBucketId(TableBucketIdT&& value) {
146 SetTableBucketId(std::forward<TableBucketIdT>(value));
147 return *this;
148 }
150 private:
151 Aws::Vector<Aws::String> m_namespace;
152
153 Aws::Utils::DateTime m_createdAt{};
154
155 Aws::String m_createdBy;
156
157 Aws::String m_ownerAccountId;
158
159 Aws::String m_namespaceId;
160
161 Aws::String m_tableBucketId;
162 bool m_namespaceHasBeenSet = false;
163 bool m_createdAtHasBeenSet = false;
164 bool m_createdByHasBeenSet = false;
165 bool m_ownerAccountIdHasBeenSet = false;
166 bool m_namespaceIdHasBeenSet = false;
167 bool m_tableBucketIdHasBeenSet = false;
168};
169
170} // namespace Model
171} // namespace S3Tables
172} // namespace Aws
NamespaceSummary & WithOwnerAccountId(OwnerAccountIdT &&value)
const Aws::String & GetNamespaceId() const
void SetOwnerAccountId(OwnerAccountIdT &&value)
const Aws::Vector< Aws::String > & GetNamespace() const
NamespaceSummary & WithCreatedBy(CreatedByT &&value)
const Aws::String & GetCreatedBy() const
AWS_S3TABLES_API NamespaceSummary()=default
AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_S3TABLES_API NamespaceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNamespaceId(NamespaceIdT &&value)
NamespaceSummary & WithTableBucketId(TableBucketIdT &&value)
void SetTableBucketId(TableBucketIdT &&value)
NamespaceSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetTableBucketId() const
NamespaceSummary & WithNamespace(NamespaceT &&value)
NamespaceSummary & WithNamespaceId(NamespaceIdT &&value)
NamespaceSummary & AddNamespace(NamespaceT &&value)
AWS_S3TABLES_API NamespaceSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOwnerAccountId() const
const Aws::Utils::DateTime & GetCreatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue