AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
GetTableReplicationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3tables/S3Tables_EXPORTS.h>
10#include <aws/s3tables/model/TableReplicationConfiguration.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 GetTableReplicationResult() = default;
30
32
37 inline const Aws::String& GetVersionToken() const { return m_versionToken; }
38 template <typename VersionTokenT = Aws::String>
39 void SetVersionToken(VersionTokenT&& value) {
40 m_versionTokenHasBeenSet = true;
41 m_versionToken = std::forward<VersionTokenT>(value);
42 }
43 template <typename VersionTokenT = Aws::String>
45 SetVersionToken(std::forward<VersionTokenT>(value));
46 return *this;
47 }
49
51
55 inline const TableReplicationConfiguration& GetConfiguration() const { return m_configuration; }
56 template <typename ConfigurationT = TableReplicationConfiguration>
57 void SetConfiguration(ConfigurationT&& value) {
58 m_configurationHasBeenSet = true;
59 m_configuration = std::forward<ConfigurationT>(value);
60 }
61 template <typename ConfigurationT = TableReplicationConfiguration>
63 SetConfiguration(std::forward<ConfigurationT>(value));
64 return *this;
65 }
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template <typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) {
73 m_requestIdHasBeenSet = true;
74 m_requestId = std::forward<RequestIdT>(value);
75 }
76 template <typename RequestIdT = Aws::String>
78 SetRequestId(std::forward<RequestIdT>(value));
79 return *this;
80 }
82 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
83
84 private:
85 Aws::String m_versionToken;
86
87 TableReplicationConfiguration m_configuration;
88
89 Aws::String m_requestId;
90 Aws::Http::HttpResponseCode m_HttpResponseCode;
91 bool m_versionTokenHasBeenSet = false;
92 bool m_configurationHasBeenSet = false;
93 bool m_requestIdHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace S3Tables
98} // namespace Aws
AWS_S3TABLES_API GetTableReplicationResult()=default
GetTableReplicationResult & WithRequestId(RequestIdT &&value)
GetTableReplicationResult & WithConfiguration(ConfigurationT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_S3TABLES_API GetTableReplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTableReplicationResult & WithVersionToken(VersionTokenT &&value)
const TableReplicationConfiguration & GetConfiguration() const
AWS_S3TABLES_API GetTableReplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue