AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
PutTableMaintenanceConfigurationRequest.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/TableMaintenanceConfigurationValue.h>
11#include <aws/s3tables/model/TableMaintenanceType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace S3Tables {
17namespace Model {
18
22 public:
23 AWS_S3TABLES_API PutTableMaintenanceConfigurationRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "PutTableMaintenanceConfiguration"; }
30
31 AWS_S3TABLES_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetTableBucketARN() const { return m_tableBucketARN; }
39 inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; }
40 template <typename TableBucketARNT = Aws::String>
41 void SetTableBucketARN(TableBucketARNT&& value) {
42 m_tableBucketARNHasBeenSet = true;
43 m_tableBucketARN = std::forward<TableBucketARNT>(value);
44 }
45 template <typename TableBucketARNT = Aws::String>
47 SetTableBucketARN(std::forward<TableBucketARNT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetNamespace() const { return m_namespace; }
57 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
58 template <typename NamespaceT = Aws::String>
59 void SetNamespace(NamespaceT&& value) {
60 m_namespaceHasBeenSet = true;
61 m_namespace = std::forward<NamespaceT>(value);
62 }
63 template <typename NamespaceT = Aws::String>
65 SetNamespace(std::forward<NamespaceT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetName() const { return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 template <typename NameT = Aws::String>
77 void SetName(NameT&& value) {
78 m_nameHasBeenSet = true;
79 m_name = std::forward<NameT>(value);
80 }
81 template <typename NameT = Aws::String>
83 SetName(std::forward<NameT>(value));
84 return *this;
85 }
87
89
92 inline TableMaintenanceType GetType() const { return m_type; }
93 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
94 inline void SetType(TableMaintenanceType value) {
95 m_typeHasBeenSet = true;
96 m_type = value;
97 }
99 SetType(value);
100 return *this;
101 }
103
105
108 inline const TableMaintenanceConfigurationValue& GetValue() const { return m_value; }
109 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
110 template <typename ValueT = TableMaintenanceConfigurationValue>
111 void SetValue(ValueT&& value) {
112 m_valueHasBeenSet = true;
113 m_value = std::forward<ValueT>(value);
114 }
115 template <typename ValueT = TableMaintenanceConfigurationValue>
117 SetValue(std::forward<ValueT>(value));
118 return *this;
119 }
121 private:
122 Aws::String m_tableBucketARN;
123
124 Aws::String m_namespace;
125
126 Aws::String m_name;
127
129
130 TableMaintenanceConfigurationValue m_value;
131 bool m_tableBucketARNHasBeenSet = false;
132 bool m_namespaceHasBeenSet = false;
133 bool m_nameHasBeenSet = false;
134 bool m_typeHasBeenSet = false;
135 bool m_valueHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace S3Tables
140} // namespace Aws
PutTableMaintenanceConfigurationRequest & WithType(TableMaintenanceType value)
PutTableMaintenanceConfigurationRequest & WithValue(ValueT &&value)
PutTableMaintenanceConfigurationRequest & WithNamespace(NamespaceT &&value)
AWS_S3TABLES_API Aws::String SerializePayload() const override
PutTableMaintenanceConfigurationRequest & WithTableBucketARN(TableBucketARNT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String