AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TableBucketMaintenanceConfigurationValue.h
1
6#pragma once
7#include <aws/s3tables/S3Tables_EXPORTS.h>
8#include <aws/s3tables/model/MaintenanceStatus.h>
9#include <aws/s3tables/model/TableBucketMaintenanceSettings.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace S3Tables
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_S3TABLES_API TableBucketMaintenanceConfigurationValue() = default;
39 AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline MaintenanceStatus GetStatus() const { return m_status; }
47 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
48 inline void SetStatus(MaintenanceStatus value) { m_statusHasBeenSet = true; m_status = value; }
51
53
56 inline const TableBucketMaintenanceSettings& GetSettings() const { return m_settings; }
57 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
58 template<typename SettingsT = TableBucketMaintenanceSettings>
59 void SetSettings(SettingsT&& value) { m_settingsHasBeenSet = true; m_settings = std::forward<SettingsT>(value); }
60 template<typename SettingsT = TableBucketMaintenanceSettings>
61 TableBucketMaintenanceConfigurationValue& WithSettings(SettingsT&& value) { SetSettings(std::forward<SettingsT>(value)); return *this;}
63 private:
64
66 bool m_statusHasBeenSet = false;
67
68 TableBucketMaintenanceSettings m_settings;
69 bool m_settingsHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace S3Tables
74} // namespace Aws
AWS_S3TABLES_API TableBucketMaintenanceConfigurationValue & operator=(Aws::Utils::Json::JsonView jsonValue)
TableBucketMaintenanceConfigurationValue & WithStatus(MaintenanceStatus value)
AWS_S3TABLES_API TableBucketMaintenanceConfigurationValue(Aws::Utils::Json::JsonView jsonValue)
AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const
TableBucketMaintenanceConfigurationValue & WithSettings(SettingsT &&value)
Aws::Utils::Json::JsonValue JsonValue