AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
UpdateTableMetadataLocationResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3tables/S3Tables_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace S3Tables {
23namespace Model {
25 public:
26 AWS_S3TABLES_API UpdateTableMetadataLocationResult() = default;
29
31
34 inline const Aws::String& GetName() const { return m_name; }
35 template <typename NameT = Aws::String>
36 void SetName(NameT&& value) {
37 m_nameHasBeenSet = true;
38 m_name = std::forward<NameT>(value);
39 }
40 template <typename NameT = Aws::String>
42 SetName(std::forward<NameT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetTableARN() const { return m_tableARN; }
52 template <typename TableARNT = Aws::String>
53 void SetTableARN(TableARNT&& value) {
54 m_tableARNHasBeenSet = true;
55 m_tableARN = std::forward<TableARNT>(value);
56 }
57 template <typename TableARNT = Aws::String>
59 SetTableARN(std::forward<TableARNT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::Vector<Aws::String>& GetNamespace() const { return m_namespace; }
69 template <typename NamespaceT = Aws::Vector<Aws::String>>
70 void SetNamespace(NamespaceT&& value) {
71 m_namespaceHasBeenSet = true;
72 m_namespace = std::forward<NamespaceT>(value);
73 }
74 template <typename NamespaceT = Aws::Vector<Aws::String>>
76 SetNamespace(std::forward<NamespaceT>(value));
77 return *this;
78 }
79 template <typename NamespaceT = Aws::String>
81 m_namespaceHasBeenSet = true;
82 m_namespace.emplace_back(std::forward<NamespaceT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetVersionToken() const { return m_versionToken; }
92 template <typename VersionTokenT = Aws::String>
93 void SetVersionToken(VersionTokenT&& value) {
94 m_versionTokenHasBeenSet = true;
95 m_versionToken = std::forward<VersionTokenT>(value);
96 }
97 template <typename VersionTokenT = Aws::String>
99 SetVersionToken(std::forward<VersionTokenT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::String& GetMetadataLocation() const { return m_metadataLocation; }
109 template <typename MetadataLocationT = Aws::String>
110 void SetMetadataLocation(MetadataLocationT&& value) {
111 m_metadataLocationHasBeenSet = true;
112 m_metadataLocation = std::forward<MetadataLocationT>(value);
113 }
114 template <typename MetadataLocationT = Aws::String>
116 SetMetadataLocation(std::forward<MetadataLocationT>(value));
117 return *this;
118 }
120
122
123 inline const Aws::String& GetRequestId() const { return m_requestId; }
124 template <typename RequestIdT = Aws::String>
125 void SetRequestId(RequestIdT&& value) {
126 m_requestIdHasBeenSet = true;
127 m_requestId = std::forward<RequestIdT>(value);
128 }
129 template <typename RequestIdT = Aws::String>
131 SetRequestId(std::forward<RequestIdT>(value));
132 return *this;
133 }
135 private:
136 Aws::String m_name;
137
138 Aws::String m_tableARN;
139
140 Aws::Vector<Aws::String> m_namespace;
141
142 Aws::String m_versionToken;
143
144 Aws::String m_metadataLocation;
145
146 Aws::String m_requestId;
147 bool m_nameHasBeenSet = false;
148 bool m_tableARNHasBeenSet = false;
149 bool m_namespaceHasBeenSet = false;
150 bool m_versionTokenHasBeenSet = false;
151 bool m_metadataLocationHasBeenSet = false;
152 bool m_requestIdHasBeenSet = false;
153};
154
155} // namespace Model
156} // namespace S3Tables
157} // 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