AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PutTableMaintenanceConfigurationRequest.h
1
6#pragma once
7#include <aws/s3tables/S3Tables_EXPORTS.h>
8#include <aws/s3tables/S3TablesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3tables/model/TableMaintenanceType.h>
11#include <aws/s3tables/model/TableMaintenanceConfigurationValue.h>
12#include <utility>
13
14namespace Aws
15{
16namespace S3Tables
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_S3TABLES_API PutTableMaintenanceConfigurationRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "PutTableMaintenanceConfiguration"; }
33
34 AWS_S3TABLES_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetTableBucketARN() const { return m_tableBucketARN; }
43 inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; }
44 template<typename TableBucketARNT = Aws::String>
45 void SetTableBucketARN(TableBucketARNT&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::forward<TableBucketARNT>(value); }
46 template<typename TableBucketARNT = Aws::String>
47 PutTableMaintenanceConfigurationRequest& WithTableBucketARN(TableBucketARNT&& value) { SetTableBucketARN(std::forward<TableBucketARNT>(value)); return *this;}
49
51
54 inline const Aws::String& GetNamespace() const { return m_namespace; }
55 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
56 template<typename NamespaceT = Aws::String>
57 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
58 template<typename NamespaceT = Aws::String>
59 PutTableMaintenanceConfigurationRequest& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
61
63
66 inline const Aws::String& GetName() const { return m_name; }
67 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
68 template<typename NameT = Aws::String>
69 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
70 template<typename NameT = Aws::String>
71 PutTableMaintenanceConfigurationRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
73
75
78 inline TableMaintenanceType GetType() const { return m_type; }
79 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
80 inline void SetType(TableMaintenanceType value) { m_typeHasBeenSet = true; m_type = value; }
83
85
88 inline const TableMaintenanceConfigurationValue& GetValue() const { return m_value; }
89 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
90 template<typename ValueT = TableMaintenanceConfigurationValue>
91 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
92 template<typename ValueT = TableMaintenanceConfigurationValue>
93 PutTableMaintenanceConfigurationRequest& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
95 private:
96
97 Aws::String m_tableBucketARN;
98 bool m_tableBucketARNHasBeenSet = false;
99
100 Aws::String m_namespace;
101 bool m_namespaceHasBeenSet = false;
102
103 Aws::String m_name;
104 bool m_nameHasBeenSet = false;
105
107 bool m_typeHasBeenSet = false;
108
109 TableMaintenanceConfigurationValue m_value;
110 bool m_valueHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace S3Tables
115} // 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