AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
GetTableBucketResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3tables/S3Tables_EXPORTS.h>
10#include <aws/s3tables/model/TableBucketType.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 GetTableBucketResult() = default;
30
32
35 inline const Aws::String& GetArn() const { return m_arn; }
36 template <typename ArnT = Aws::String>
37 void SetArn(ArnT&& value) {
38 m_arnHasBeenSet = true;
39 m_arn = std::forward<ArnT>(value);
40 }
41 template <typename ArnT = Aws::String>
43 SetArn(std::forward<ArnT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 template <typename NameT = Aws::String>
54 void SetName(NameT&& value) {
55 m_nameHasBeenSet = true;
56 m_name = std::forward<NameT>(value);
57 }
58 template <typename NameT = Aws::String>
60 SetName(std::forward<NameT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetOwnerAccountId() const { return m_ownerAccountId; }
70 template <typename OwnerAccountIdT = Aws::String>
71 void SetOwnerAccountId(OwnerAccountIdT&& value) {
72 m_ownerAccountIdHasBeenSet = true;
73 m_ownerAccountId = std::forward<OwnerAccountIdT>(value);
74 }
75 template <typename OwnerAccountIdT = Aws::String>
76 GetTableBucketResult& WithOwnerAccountId(OwnerAccountIdT&& value) {
77 SetOwnerAccountId(std::forward<OwnerAccountIdT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
87 template <typename CreatedAtT = Aws::Utils::DateTime>
88 void SetCreatedAt(CreatedAtT&& value) {
89 m_createdAtHasBeenSet = true;
90 m_createdAt = std::forward<CreatedAtT>(value);
91 }
92 template <typename CreatedAtT = Aws::Utils::DateTime>
93 GetTableBucketResult& WithCreatedAt(CreatedAtT&& value) {
94 SetCreatedAt(std::forward<CreatedAtT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::String& GetTableBucketId() const { return m_tableBucketId; }
104 template <typename TableBucketIdT = Aws::String>
105 void SetTableBucketId(TableBucketIdT&& value) {
106 m_tableBucketIdHasBeenSet = true;
107 m_tableBucketId = std::forward<TableBucketIdT>(value);
108 }
109 template <typename TableBucketIdT = Aws::String>
110 GetTableBucketResult& WithTableBucketId(TableBucketIdT&& value) {
111 SetTableBucketId(std::forward<TableBucketIdT>(value));
112 return *this;
113 }
115
117
120 inline TableBucketType GetType() const { return m_type; }
121 inline void SetType(TableBucketType value) {
122 m_typeHasBeenSet = true;
123 m_type = value;
124 }
126 SetType(value);
127 return *this;
128 }
130
132
133 inline const Aws::String& GetRequestId() const { return m_requestId; }
134 template <typename RequestIdT = Aws::String>
135 void SetRequestId(RequestIdT&& value) {
136 m_requestIdHasBeenSet = true;
137 m_requestId = std::forward<RequestIdT>(value);
138 }
139 template <typename RequestIdT = Aws::String>
140 GetTableBucketResult& WithRequestId(RequestIdT&& value) {
141 SetRequestId(std::forward<RequestIdT>(value));
142 return *this;
143 }
145 private:
146 Aws::String m_arn;
147
148 Aws::String m_name;
149
150 Aws::String m_ownerAccountId;
151
152 Aws::Utils::DateTime m_createdAt{};
153
154 Aws::String m_tableBucketId;
155
157
158 Aws::String m_requestId;
159 bool m_arnHasBeenSet = false;
160 bool m_nameHasBeenSet = false;
161 bool m_ownerAccountIdHasBeenSet = false;
162 bool m_createdAtHasBeenSet = false;
163 bool m_tableBucketIdHasBeenSet = false;
164 bool m_typeHasBeenSet = false;
165 bool m_requestIdHasBeenSet = false;
166};
167
168} // namespace Model
169} // namespace S3Tables
170} // namespace Aws
AWS_S3TABLES_API GetTableBucketResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTableBucketResult & WithType(TableBucketType value)
void SetOwnerAccountId(OwnerAccountIdT &&value)
GetTableBucketResult & WithOwnerAccountId(OwnerAccountIdT &&value)
GetTableBucketResult & WithArn(ArnT &&value)
AWS_S3TABLES_API GetTableBucketResult()=default
GetTableBucketResult & WithName(NameT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetTableBucketResult & WithCreatedAt(CreatedAtT &&value)
AWS_S3TABLES_API GetTableBucketResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTableBucketResult & WithRequestId(RequestIdT &&value)
GetTableBucketResult & WithTableBucketId(TableBucketIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue