AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PutTableBucketMaintenanceConfigurationRequest.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/TableBucketMaintenanceType.h>
11#include <aws/s3tables/model/TableBucketMaintenanceConfigurationValue.h>
12#include <utility>
13
14namespace Aws
15{
16namespace S3Tables
17{
18namespace Model
19{
20
24 {
25 public:
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 "PutTableBucketMaintenanceConfiguration"; }
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 PutTableBucketMaintenanceConfigurationRequest& WithTableBucketARN(TableBucketARNT&& value) { SetTableBucketARN(std::forward<TableBucketARNT>(value)); return *this;}
49
51
54 inline TableBucketMaintenanceType GetType() const { return m_type; }
55 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
56 inline void SetType(TableBucketMaintenanceType value) { m_typeHasBeenSet = true; m_type = value; }
59
61
64 inline const TableBucketMaintenanceConfigurationValue& GetValue() const { return m_value; }
65 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
66 template<typename ValueT = TableBucketMaintenanceConfigurationValue>
67 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
68 template<typename ValueT = TableBucketMaintenanceConfigurationValue>
69 PutTableBucketMaintenanceConfigurationRequest& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
71 private:
72
73 Aws::String m_tableBucketARN;
74 bool m_tableBucketARNHasBeenSet = false;
75
77 bool m_typeHasBeenSet = false;
78
79 TableBucketMaintenanceConfigurationValue m_value;
80 bool m_valueHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace S3Tables
85} // namespace Aws
AWS_S3TABLES_API Aws::String SerializePayload() const override
PutTableBucketMaintenanceConfigurationRequest & WithTableBucketARN(TableBucketARNT &&value)
PutTableBucketMaintenanceConfigurationRequest & WithType(TableBucketMaintenanceType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String