AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
GetNamespaceResult.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 {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace S3Tables {
24namespace Model {
26 public:
27 AWS_S3TABLES_API GetNamespaceResult() = default;
30
32
35 inline const Aws::Vector<Aws::String>& GetNamespace() const { return m_namespace; }
36 template <typename NamespaceT = Aws::Vector<Aws::String>>
37 void SetNamespace(NamespaceT&& value) {
38 m_namespaceHasBeenSet = true;
39 m_namespace = std::forward<NamespaceT>(value);
40 }
41 template <typename NamespaceT = Aws::Vector<Aws::String>>
42 GetNamespaceResult& WithNamespace(NamespaceT&& value) {
43 SetNamespace(std::forward<NamespaceT>(value));
44 return *this;
45 }
46 template <typename NamespaceT = Aws::String>
47 GetNamespaceResult& AddNamespace(NamespaceT&& value) {
48 m_namespaceHasBeenSet = true;
49 m_namespace.emplace_back(std::forward<NamespaceT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
59 template <typename CreatedAtT = Aws::Utils::DateTime>
60 void SetCreatedAt(CreatedAtT&& value) {
61 m_createdAtHasBeenSet = true;
62 m_createdAt = std::forward<CreatedAtT>(value);
63 }
64 template <typename CreatedAtT = Aws::Utils::DateTime>
65 GetNamespaceResult& WithCreatedAt(CreatedAtT&& value) {
66 SetCreatedAt(std::forward<CreatedAtT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
76 template <typename CreatedByT = Aws::String>
77 void SetCreatedBy(CreatedByT&& value) {
78 m_createdByHasBeenSet = true;
79 m_createdBy = std::forward<CreatedByT>(value);
80 }
81 template <typename CreatedByT = Aws::String>
82 GetNamespaceResult& WithCreatedBy(CreatedByT&& value) {
83 SetCreatedBy(std::forward<CreatedByT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetOwnerAccountId() const { return m_ownerAccountId; }
93 template <typename OwnerAccountIdT = Aws::String>
94 void SetOwnerAccountId(OwnerAccountIdT&& value) {
95 m_ownerAccountIdHasBeenSet = true;
96 m_ownerAccountId = std::forward<OwnerAccountIdT>(value);
97 }
98 template <typename OwnerAccountIdT = Aws::String>
99 GetNamespaceResult& WithOwnerAccountId(OwnerAccountIdT&& value) {
100 SetOwnerAccountId(std::forward<OwnerAccountIdT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetNamespaceId() const { return m_namespaceId; }
110 template <typename NamespaceIdT = Aws::String>
111 void SetNamespaceId(NamespaceIdT&& value) {
112 m_namespaceIdHasBeenSet = true;
113 m_namespaceId = std::forward<NamespaceIdT>(value);
114 }
115 template <typename NamespaceIdT = Aws::String>
116 GetNamespaceResult& WithNamespaceId(NamespaceIdT&& value) {
117 SetNamespaceId(std::forward<NamespaceIdT>(value));
118 return *this;
119 }
121
123
126 inline const Aws::String& GetTableBucketId() const { return m_tableBucketId; }
127 template <typename TableBucketIdT = Aws::String>
128 void SetTableBucketId(TableBucketIdT&& value) {
129 m_tableBucketIdHasBeenSet = true;
130 m_tableBucketId = std::forward<TableBucketIdT>(value);
131 }
132 template <typename TableBucketIdT = Aws::String>
133 GetNamespaceResult& WithTableBucketId(TableBucketIdT&& value) {
134 SetTableBucketId(std::forward<TableBucketIdT>(value));
135 return *this;
136 }
138
140
141 inline const Aws::String& GetRequestId() const { return m_requestId; }
142 template <typename RequestIdT = Aws::String>
143 void SetRequestId(RequestIdT&& value) {
144 m_requestIdHasBeenSet = true;
145 m_requestId = std::forward<RequestIdT>(value);
146 }
147 template <typename RequestIdT = Aws::String>
148 GetNamespaceResult& WithRequestId(RequestIdT&& value) {
149 SetRequestId(std::forward<RequestIdT>(value));
150 return *this;
151 }
153 private:
154 Aws::Vector<Aws::String> m_namespace;
155
156 Aws::Utils::DateTime m_createdAt{};
157
158 Aws::String m_createdBy;
159
160 Aws::String m_ownerAccountId;
161
162 Aws::String m_namespaceId;
163
164 Aws::String m_tableBucketId;
165
166 Aws::String m_requestId;
167 bool m_namespaceHasBeenSet = false;
168 bool m_createdAtHasBeenSet = false;
169 bool m_createdByHasBeenSet = false;
170 bool m_ownerAccountIdHasBeenSet = false;
171 bool m_namespaceIdHasBeenSet = false;
172 bool m_tableBucketIdHasBeenSet = false;
173 bool m_requestIdHasBeenSet = false;
174};
175
176} // namespace Model
177} // namespace S3Tables
178} // namespace Aws
GetNamespaceResult & AddNamespace(NamespaceT &&value)
void SetOwnerAccountId(OwnerAccountIdT &&value)
AWS_S3TABLES_API GetNamespaceResult()=default
void SetTableBucketId(TableBucketIdT &&value)
const Aws::String & GetTableBucketId() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Vector< Aws::String > & GetNamespace() const
const Aws::String & GetOwnerAccountId() const
GetNamespaceResult & WithOwnerAccountId(OwnerAccountIdT &&value)
GetNamespaceResult & WithNamespaceId(NamespaceIdT &&value)
AWS_S3TABLES_API GetNamespaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetNamespaceResult & WithTableBucketId(TableBucketIdT &&value)
GetNamespaceResult & WithCreatedAt(CreatedAtT &&value)
GetNamespaceResult & WithCreatedBy(CreatedByT &&value)
GetNamespaceResult & WithNamespace(NamespaceT &&value)
AWS_S3TABLES_API GetNamespaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetNamespaceResult & WithRequestId(RequestIdT &&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