AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetTableMaintenanceConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3tables/S3Tables_EXPORTS.h>
11#include <aws/s3tables/model/TableMaintenanceConfigurationValue.h>
12#include <aws/s3tables/model/TableMaintenanceType.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace S3Tables {
26namespace Model {
28 public:
29 AWS_S3TABLES_API GetTableMaintenanceConfigurationResult() = default;
33
35
38 inline const Aws::String& GetTableARN() const { return m_tableARN; }
39 template <typename TableARNT = Aws::String>
40 void SetTableARN(TableARNT&& value) {
41 m_tableARNHasBeenSet = true;
42 m_tableARN = std::forward<TableARNT>(value);
43 }
44 template <typename TableARNT = Aws::String>
46 SetTableARN(std::forward<TableARNT>(value));
47 return *this;
48 }
50
52
56 template <typename ConfigurationT = Aws::Map<TableMaintenanceType, TableMaintenanceConfigurationValue>>
57 void SetConfiguration(ConfigurationT&& value) {
58 m_configurationHasBeenSet = true;
59 m_configuration = std::forward<ConfigurationT>(value);
60 }
61 template <typename ConfigurationT = Aws::Map<TableMaintenanceType, TableMaintenanceConfigurationValue>>
63 SetConfiguration(std::forward<ConfigurationT>(value));
64 return *this;
65 }
67 m_configurationHasBeenSet = true;
68 m_configuration.emplace(key, value);
69 return *this;
70 }
72
74
75 inline const Aws::String& GetRequestId() const { return m_requestId; }
76 template <typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) {
78 m_requestIdHasBeenSet = true;
79 m_requestId = std::forward<RequestIdT>(value);
80 }
81 template <typename RequestIdT = Aws::String>
83 SetRequestId(std::forward<RequestIdT>(value));
84 return *this;
85 }
87 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
88
89 private:
90 Aws::String m_tableARN;
91
93
94 Aws::String m_requestId;
95 Aws::Http::HttpResponseCode m_HttpResponseCode;
96 bool m_tableARNHasBeenSet = false;
97 bool m_configurationHasBeenSet = false;
98 bool m_requestIdHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace S3Tables
103} // namespace Aws
GetTableMaintenanceConfigurationResult & AddConfiguration(TableMaintenanceType key, TableMaintenanceConfigurationValue value)
AWS_S3TABLES_API GetTableMaintenanceConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_S3TABLES_API GetTableMaintenanceConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTableMaintenanceConfigurationResult & WithConfiguration(ConfigurationT &&value)
GetTableMaintenanceConfigurationResult & WithRequestId(RequestIdT &&value)
const Aws::Map< TableMaintenanceType, TableMaintenanceConfigurationValue > & GetConfiguration() const
GetTableMaintenanceConfigurationResult & WithTableARN(TableARNT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue