AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UpdateTableMetadataLocationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.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 UpdateTableMetadataLocationResult() = default;
30
32
35 inline const Aws::String& GetName() const { return m_name; }
36 template <typename NameT = Aws::String>
37 void SetName(NameT&& value) {
38 m_nameHasBeenSet = true;
39 m_name = std::forward<NameT>(value);
40 }
41 template <typename NameT = Aws::String>
43 SetName(std::forward<NameT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetTableARN() const { return m_tableARN; }
53 template <typename TableARNT = Aws::String>
54 void SetTableARN(TableARNT&& value) {
55 m_tableARNHasBeenSet = true;
56 m_tableARN = std::forward<TableARNT>(value);
57 }
58 template <typename TableARNT = Aws::String>
60 SetTableARN(std::forward<TableARNT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::Vector<Aws::String>& GetNamespace() const { return m_namespace; }
70 template <typename NamespaceT = Aws::Vector<Aws::String>>
71 void SetNamespace(NamespaceT&& value) {
72 m_namespaceHasBeenSet = true;
73 m_namespace = std::forward<NamespaceT>(value);
74 }
75 template <typename NamespaceT = Aws::Vector<Aws::String>>
77 SetNamespace(std::forward<NamespaceT>(value));
78 return *this;
79 }
80 template <typename NamespaceT = Aws::String>
82 m_namespaceHasBeenSet = true;
83 m_namespace.emplace_back(std::forward<NamespaceT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetVersionToken() const { return m_versionToken; }
93 template <typename VersionTokenT = Aws::String>
94 void SetVersionToken(VersionTokenT&& value) {
95 m_versionTokenHasBeenSet = true;
96 m_versionToken = std::forward<VersionTokenT>(value);
97 }
98 template <typename VersionTokenT = Aws::String>
100 SetVersionToken(std::forward<VersionTokenT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetMetadataLocation() const { return m_metadataLocation; }
110 template <typename MetadataLocationT = Aws::String>
111 void SetMetadataLocation(MetadataLocationT&& value) {
112 m_metadataLocationHasBeenSet = true;
113 m_metadataLocation = std::forward<MetadataLocationT>(value);
114 }
115 template <typename MetadataLocationT = Aws::String>
117 SetMetadataLocation(std::forward<MetadataLocationT>(value));
118 return *this;
119 }
121
123
124 inline const Aws::String& GetRequestId() const { return m_requestId; }
125 template <typename RequestIdT = Aws::String>
126 void SetRequestId(RequestIdT&& value) {
127 m_requestIdHasBeenSet = true;
128 m_requestId = std::forward<RequestIdT>(value);
129 }
130 template <typename RequestIdT = Aws::String>
132 SetRequestId(std::forward<RequestIdT>(value));
133 return *this;
134 }
136 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
137
138 private:
139 Aws::String m_name;
140
141 Aws::String m_tableARN;
142
143 Aws::Vector<Aws::String> m_namespace;
144
145 Aws::String m_versionToken;
146
147 Aws::String m_metadataLocation;
148
149 Aws::String m_requestId;
150 Aws::Http::HttpResponseCode m_HttpResponseCode;
151 bool m_nameHasBeenSet = false;
152 bool m_tableARNHasBeenSet = false;
153 bool m_namespaceHasBeenSet = false;
154 bool m_versionTokenHasBeenSet = false;
155 bool m_metadataLocationHasBeenSet = false;
156 bool m_requestIdHasBeenSet = false;
157};
158
159} // namespace Model
160} // namespace S3Tables
161} // namespace Aws
UpdateTableMetadataLocationResult & WithTableARN(TableARNT &&value)
UpdateTableMetadataLocationResult & WithNamespace(NamespaceT &&value)
AWS_S3TABLES_API UpdateTableMetadataLocationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateTableMetadataLocationResult & WithMetadataLocation(MetadataLocationT &&value)
UpdateTableMetadataLocationResult & WithRequestId(RequestIdT &&value)
UpdateTableMetadataLocationResult & WithName(NameT &&value)
UpdateTableMetadataLocationResult & WithVersionToken(VersionTokenT &&value)
AWS_S3TABLES_API UpdateTableMetadataLocationResult()=default
AWS_S3TABLES_API UpdateTableMetadataLocationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateTableMetadataLocationResult & AddNamespace(NamespaceT &&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