AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
PutTableReplicationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3tables/S3TablesRequest.h>
9#include <aws/s3tables/S3Tables_EXPORTS.h>
10#include <aws/s3tables/model/TableReplicationConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace S3Tables {
19namespace Model {
20
24 public:
25 AWS_S3TABLES_API PutTableReplicationRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "PutTableReplication"; }
32
33 AWS_S3TABLES_API Aws::String SerializePayload() const override;
34
35 AWS_S3TABLES_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline const Aws::String& GetTableArn() const { return m_tableArn; }
42 inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; }
43 template <typename TableArnT = Aws::String>
44 void SetTableArn(TableArnT&& value) {
45 m_tableArnHasBeenSet = true;
46 m_tableArn = std::forward<TableArnT>(value);
47 }
48 template <typename TableArnT = Aws::String>
50 SetTableArn(std::forward<TableArnT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetVersionToken() const { return m_versionToken; }
61 inline bool VersionTokenHasBeenSet() const { return m_versionTokenHasBeenSet; }
62 template <typename VersionTokenT = Aws::String>
63 void SetVersionToken(VersionTokenT&& value) {
64 m_versionTokenHasBeenSet = true;
65 m_versionToken = std::forward<VersionTokenT>(value);
66 }
67 template <typename VersionTokenT = Aws::String>
69 SetVersionToken(std::forward<VersionTokenT>(value));
70 return *this;
71 }
73
75
79 inline const TableReplicationConfiguration& GetConfiguration() const { return m_configuration; }
80 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
81 template <typename ConfigurationT = TableReplicationConfiguration>
82 void SetConfiguration(ConfigurationT&& value) {
83 m_configurationHasBeenSet = true;
84 m_configuration = std::forward<ConfigurationT>(value);
85 }
86 template <typename ConfigurationT = TableReplicationConfiguration>
88 SetConfiguration(std::forward<ConfigurationT>(value));
89 return *this;
90 }
92 private:
93 Aws::String m_tableArn;
94
95 Aws::String m_versionToken;
96
97 TableReplicationConfiguration m_configuration;
98 bool m_tableArnHasBeenSet = false;
99 bool m_versionTokenHasBeenSet = false;
100 bool m_configurationHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace S3Tables
105} // namespace Aws
virtual const char * GetServiceRequestName() const override
PutTableReplicationRequest & WithVersionToken(VersionTokenT &&value)
AWS_S3TABLES_API Aws::String SerializePayload() const override
PutTableReplicationRequest & WithConfiguration(ConfigurationT &&value)
AWS_S3TABLES_API PutTableReplicationRequest()=default
AWS_S3TABLES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
PutTableReplicationRequest & WithTableArn(TableArnT &&value)
const TableReplicationConfiguration & GetConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String