AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DescribeStorageConfigurationResult.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/core/utils/DateTime.h>
14#include <aws/iotsitewise/model/WarmTierState.h>
15#include <aws/iotsitewise/model/WarmTierRetentionPeriod.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17#include <utility>
18
19namespace Aws
20{
21template<typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace IoTSiteWise
32{
33namespace Model
34{
36 {
37 public:
38 AWS_IOTSITEWISE_API DescribeStorageConfigurationResult() = default;
41
42
44
53 inline StorageType GetStorageType() const { return m_storageType; }
54 inline void SetStorageType(StorageType value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
57
59
62 inline const MultiLayerStorage& GetMultiLayerStorage() const { return m_multiLayerStorage; }
63 template<typename MultiLayerStorageT = MultiLayerStorage>
64 void SetMultiLayerStorage(MultiLayerStorageT&& value) { m_multiLayerStorageHasBeenSet = true; m_multiLayerStorage = std::forward<MultiLayerStorageT>(value); }
65 template<typename MultiLayerStorageT = MultiLayerStorage>
66 DescribeStorageConfigurationResult& WithMultiLayerStorage(MultiLayerStorageT&& value) { SetMultiLayerStorage(std::forward<MultiLayerStorageT>(value)); return *this;}
68
70
82 inline DisassociatedDataStorageState GetDisassociatedDataStorage() const { return m_disassociatedDataStorage; }
83 inline void SetDisassociatedDataStorage(DisassociatedDataStorageState value) { m_disassociatedDataStorageHasBeenSet = true; m_disassociatedDataStorage = value; }
86
88
92 inline const RetentionPeriod& GetRetentionPeriod() const { return m_retentionPeriod; }
93 template<typename RetentionPeriodT = RetentionPeriod>
94 void SetRetentionPeriod(RetentionPeriodT&& value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = std::forward<RetentionPeriodT>(value); }
95 template<typename RetentionPeriodT = RetentionPeriod>
96 DescribeStorageConfigurationResult& WithRetentionPeriod(RetentionPeriodT&& value) { SetRetentionPeriod(std::forward<RetentionPeriodT>(value)); return *this;}
98
100
101 inline const ConfigurationStatus& GetConfigurationStatus() const { return m_configurationStatus; }
102 template<typename ConfigurationStatusT = ConfigurationStatus>
103 void SetConfigurationStatus(ConfigurationStatusT&& value) { m_configurationStatusHasBeenSet = true; m_configurationStatus = std::forward<ConfigurationStatusT>(value); }
104 template<typename ConfigurationStatusT = ConfigurationStatus>
105 DescribeStorageConfigurationResult& WithConfigurationStatus(ConfigurationStatusT&& value) { SetConfigurationStatus(std::forward<ConfigurationStatusT>(value)); return *this;}
107
109
112 inline const Aws::Utils::DateTime& GetLastUpdateDate() const { return m_lastUpdateDate; }
113 template<typename LastUpdateDateT = Aws::Utils::DateTime>
114 void SetLastUpdateDate(LastUpdateDateT&& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = std::forward<LastUpdateDateT>(value); }
115 template<typename LastUpdateDateT = Aws::Utils::DateTime>
116 DescribeStorageConfigurationResult& WithLastUpdateDate(LastUpdateDateT&& value) { SetLastUpdateDate(std::forward<LastUpdateDateT>(value)); return *this;}
118
120
125 inline WarmTierState GetWarmTier() const { return m_warmTier; }
126 inline void SetWarmTier(WarmTierState value) { m_warmTierHasBeenSet = true; m_warmTier = value; }
129
131
135 inline const WarmTierRetentionPeriod& GetWarmTierRetentionPeriod() const { return m_warmTierRetentionPeriod; }
136 template<typename WarmTierRetentionPeriodT = WarmTierRetentionPeriod>
137 void SetWarmTierRetentionPeriod(WarmTierRetentionPeriodT&& value) { m_warmTierRetentionPeriodHasBeenSet = true; m_warmTierRetentionPeriod = std::forward<WarmTierRetentionPeriodT>(value); }
138 template<typename WarmTierRetentionPeriodT = WarmTierRetentionPeriod>
139 DescribeStorageConfigurationResult& WithWarmTierRetentionPeriod(WarmTierRetentionPeriodT&& value) { SetWarmTierRetentionPeriod(std::forward<WarmTierRetentionPeriodT>(value)); return *this;}
141
143
148 inline bool GetDisallowIngestNullNaN() const { return m_disallowIngestNullNaN; }
149 inline void SetDisallowIngestNullNaN(bool value) { m_disallowIngestNullNaNHasBeenSet = true; m_disallowIngestNullNaN = value; }
152
154
155 inline const Aws::String& GetRequestId() const { return m_requestId; }
156 template<typename RequestIdT = Aws::String>
157 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
158 template<typename RequestIdT = Aws::String>
159 DescribeStorageConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
161 private:
162
163 StorageType m_storageType{StorageType::NOT_SET};
164 bool m_storageTypeHasBeenSet = false;
165
166 MultiLayerStorage m_multiLayerStorage;
167 bool m_multiLayerStorageHasBeenSet = false;
168
170 bool m_disassociatedDataStorageHasBeenSet = false;
171
172 RetentionPeriod m_retentionPeriod;
173 bool m_retentionPeriodHasBeenSet = false;
174
175 ConfigurationStatus m_configurationStatus;
176 bool m_configurationStatusHasBeenSet = false;
177
178 Aws::Utils::DateTime m_lastUpdateDate{};
179 bool m_lastUpdateDateHasBeenSet = false;
180
182 bool m_warmTierHasBeenSet = false;
183
184 WarmTierRetentionPeriod m_warmTierRetentionPeriod;
185 bool m_warmTierRetentionPeriodHasBeenSet = false;
186
187 bool m_disallowIngestNullNaN{false};
188 bool m_disallowIngestNullNaNHasBeenSet = false;
189
190 Aws::String m_requestId;
191 bool m_requestIdHasBeenSet = false;
192 };
193
194} // namespace Model
195} // namespace IoTSiteWise
196} // namespace Aws
DescribeStorageConfigurationResult & WithWarmTierRetentionPeriod(WarmTierRetentionPeriodT &&value)
DescribeStorageConfigurationResult & WithConfigurationStatus(ConfigurationStatusT &&value)
DescribeStorageConfigurationResult & WithStorageType(StorageType value)
DescribeStorageConfigurationResult & WithRequestId(RequestIdT &&value)
DescribeStorageConfigurationResult & WithMultiLayerStorage(MultiLayerStorageT &&value)
DescribeStorageConfigurationResult & WithWarmTier(WarmTierState value)
AWS_IOTSITEWISE_API DescribeStorageConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeStorageConfigurationResult & WithRetentionPeriod(RetentionPeriodT &&value)
AWS_IOTSITEWISE_API DescribeStorageConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeStorageConfigurationResult & WithLastUpdateDate(LastUpdateDateT &&value)
AWS_IOTSITEWISE_API DescribeStorageConfigurationResult()=default
DescribeStorageConfigurationResult & WithDisallowIngestNullNaN(bool value)
DescribeStorageConfigurationResult & WithDisassociatedDataStorage(DisassociatedDataStorageState value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue