AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
PutStorageConfigurationResult.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/model/StorageType.h>
9#include <aws/iotsitewise/model/MultiLayerStorage.h>
10#include <aws/iotsitewise/model/DisassociatedDataStorageState.h>
11#include <aws/iotsitewise/model/RetentionPeriod.h>
12#include <aws/iotsitewise/model/ConfigurationStatus.h>
13#include <aws/iotsitewise/model/WarmTierState.h>
14#include <aws/iotsitewise/model/WarmTierRetentionPeriod.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace IoTSiteWise
31{
32namespace Model
33{
35 {
36 public:
37 AWS_IOTSITEWISE_API PutStorageConfigurationResult() = default;
40
41
43
52 inline StorageType GetStorageType() const { return m_storageType; }
53 inline void SetStorageType(StorageType value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
56
58
61 inline const MultiLayerStorage& GetMultiLayerStorage() const { return m_multiLayerStorage; }
62 template<typename MultiLayerStorageT = MultiLayerStorage>
63 void SetMultiLayerStorage(MultiLayerStorageT&& value) { m_multiLayerStorageHasBeenSet = true; m_multiLayerStorage = std::forward<MultiLayerStorageT>(value); }
64 template<typename MultiLayerStorageT = MultiLayerStorage>
65 PutStorageConfigurationResult& WithMultiLayerStorage(MultiLayerStorageT&& value) { SetMultiLayerStorage(std::forward<MultiLayerStorageT>(value)); return *this;}
67
69
81 inline DisassociatedDataStorageState GetDisassociatedDataStorage() const { return m_disassociatedDataStorage; }
82 inline void SetDisassociatedDataStorage(DisassociatedDataStorageState value) { m_disassociatedDataStorageHasBeenSet = true; m_disassociatedDataStorage = value; }
85
87
88 inline const RetentionPeriod& GetRetentionPeriod() const { return m_retentionPeriod; }
89 template<typename RetentionPeriodT = RetentionPeriod>
90 void SetRetentionPeriod(RetentionPeriodT&& value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = std::forward<RetentionPeriodT>(value); }
91 template<typename RetentionPeriodT = RetentionPeriod>
92 PutStorageConfigurationResult& WithRetentionPeriod(RetentionPeriodT&& value) { SetRetentionPeriod(std::forward<RetentionPeriodT>(value)); return *this;}
94
96
97 inline const ConfigurationStatus& GetConfigurationStatus() const { return m_configurationStatus; }
98 template<typename ConfigurationStatusT = ConfigurationStatus>
99 void SetConfigurationStatus(ConfigurationStatusT&& value) { m_configurationStatusHasBeenSet = true; m_configurationStatus = std::forward<ConfigurationStatusT>(value); }
100 template<typename ConfigurationStatusT = ConfigurationStatus>
101 PutStorageConfigurationResult& WithConfigurationStatus(ConfigurationStatusT&& value) { SetConfigurationStatus(std::forward<ConfigurationStatusT>(value)); return *this;}
103
105
110 inline WarmTierState GetWarmTier() const { return m_warmTier; }
111 inline void SetWarmTier(WarmTierState value) { m_warmTierHasBeenSet = true; m_warmTier = value; }
114
116
120 inline const WarmTierRetentionPeriod& GetWarmTierRetentionPeriod() const { return m_warmTierRetentionPeriod; }
121 template<typename WarmTierRetentionPeriodT = WarmTierRetentionPeriod>
122 void SetWarmTierRetentionPeriod(WarmTierRetentionPeriodT&& value) { m_warmTierRetentionPeriodHasBeenSet = true; m_warmTierRetentionPeriod = std::forward<WarmTierRetentionPeriodT>(value); }
123 template<typename WarmTierRetentionPeriodT = WarmTierRetentionPeriod>
124 PutStorageConfigurationResult& WithWarmTierRetentionPeriod(WarmTierRetentionPeriodT&& value) { SetWarmTierRetentionPeriod(std::forward<WarmTierRetentionPeriodT>(value)); return *this;}
126
128
133 inline bool GetDisallowIngestNullNaN() const { return m_disallowIngestNullNaN; }
134 inline void SetDisallowIngestNullNaN(bool value) { m_disallowIngestNullNaNHasBeenSet = true; m_disallowIngestNullNaN = value; }
137
139
140 inline const Aws::String& GetRequestId() const { return m_requestId; }
141 template<typename RequestIdT = Aws::String>
142 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
143 template<typename RequestIdT = Aws::String>
144 PutStorageConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
146 private:
147
148 StorageType m_storageType{StorageType::NOT_SET};
149 bool m_storageTypeHasBeenSet = false;
150
151 MultiLayerStorage m_multiLayerStorage;
152 bool m_multiLayerStorageHasBeenSet = false;
153
155 bool m_disassociatedDataStorageHasBeenSet = false;
156
157 RetentionPeriod m_retentionPeriod;
158 bool m_retentionPeriodHasBeenSet = false;
159
160 ConfigurationStatus m_configurationStatus;
161 bool m_configurationStatusHasBeenSet = false;
162
164 bool m_warmTierHasBeenSet = false;
165
166 WarmTierRetentionPeriod m_warmTierRetentionPeriod;
167 bool m_warmTierRetentionPeriodHasBeenSet = false;
168
169 bool m_disallowIngestNullNaN{false};
170 bool m_disallowIngestNullNaNHasBeenSet = false;
171
172 Aws::String m_requestId;
173 bool m_requestIdHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace IoTSiteWise
178} // namespace Aws
AWS_IOTSITEWISE_API PutStorageConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutStorageConfigurationResult & WithWarmTierRetentionPeriod(WarmTierRetentionPeriodT &&value)
AWS_IOTSITEWISE_API PutStorageConfigurationResult()=default
void SetDisassociatedDataStorage(DisassociatedDataStorageState value)
PutStorageConfigurationResult & WithRetentionPeriod(RetentionPeriodT &&value)
PutStorageConfigurationResult & WithStorageType(StorageType value)
PutStorageConfigurationResult & WithDisassociatedDataStorage(DisassociatedDataStorageState value)
PutStorageConfigurationResult & WithWarmTier(WarmTierState value)
PutStorageConfigurationResult & WithMultiLayerStorage(MultiLayerStorageT &&value)
PutStorageConfigurationResult & WithRequestId(RequestIdT &&value)
AWS_IOTSITEWISE_API PutStorageConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutStorageConfigurationResult & WithConfigurationStatus(ConfigurationStatusT &&value)
PutStorageConfigurationResult & WithDisallowIngestNullNaN(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue