AWS SDK for C++  1.9.155
AWS SDK for C++
PutStorageConfigurationResult.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 template<typename RESULT_TYPE>
18 class AmazonWebServiceResult;
19 
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace IoTSiteWise
28 {
29 namespace Model
30 {
32  {
33  public:
37 
38 
48  inline const StorageType& GetStorageType() const{ return m_storageType; }
49 
59  inline void SetStorageType(const StorageType& value) { m_storageType = value; }
60 
70  inline void SetStorageType(StorageType&& value) { m_storageType = std::move(value); }
71 
81  inline PutStorageConfigurationResult& WithStorageType(const StorageType& value) { SetStorageType(value); return *this;}
82 
92  inline PutStorageConfigurationResult& WithStorageType(StorageType&& value) { SetStorageType(std::move(value)); return *this;}
93 
94 
98  inline const MultiLayerStorage& GetMultiLayerStorage() const{ return m_multiLayerStorage; }
99 
103  inline void SetMultiLayerStorage(const MultiLayerStorage& value) { m_multiLayerStorage = value; }
104 
108  inline void SetMultiLayerStorage(MultiLayerStorage&& value) { m_multiLayerStorage = std::move(value); }
109 
113  inline PutStorageConfigurationResult& WithMultiLayerStorage(const MultiLayerStorage& value) { SetMultiLayerStorage(value); return *this;}
114 
118  inline PutStorageConfigurationResult& WithMultiLayerStorage(MultiLayerStorage&& value) { SetMultiLayerStorage(std::move(value)); return *this;}
119 
120 
133  inline const DisassociatedDataStorageState& GetDisassociatedDataStorage() const{ return m_disassociatedDataStorage; }
134 
147  inline void SetDisassociatedDataStorage(const DisassociatedDataStorageState& value) { m_disassociatedDataStorage = value; }
148 
161  inline void SetDisassociatedDataStorage(DisassociatedDataStorageState&& value) { m_disassociatedDataStorage = std::move(value); }
162 
175  inline PutStorageConfigurationResult& WithDisassociatedDataStorage(const DisassociatedDataStorageState& value) { SetDisassociatedDataStorage(value); return *this;}
176 
189  inline PutStorageConfigurationResult& WithDisassociatedDataStorage(DisassociatedDataStorageState&& value) { SetDisassociatedDataStorage(std::move(value)); return *this;}
190 
191 
192 
193  inline const RetentionPeriod& GetRetentionPeriod() const{ return m_retentionPeriod; }
194 
195 
196  inline void SetRetentionPeriod(const RetentionPeriod& value) { m_retentionPeriod = value; }
197 
198 
199  inline void SetRetentionPeriod(RetentionPeriod&& value) { m_retentionPeriod = std::move(value); }
200 
201 
202  inline PutStorageConfigurationResult& WithRetentionPeriod(const RetentionPeriod& value) { SetRetentionPeriod(value); return *this;}
203 
204 
205  inline PutStorageConfigurationResult& WithRetentionPeriod(RetentionPeriod&& value) { SetRetentionPeriod(std::move(value)); return *this;}
206 
207 
208 
209  inline const ConfigurationStatus& GetConfigurationStatus() const{ return m_configurationStatus; }
210 
211 
212  inline void SetConfigurationStatus(const ConfigurationStatus& value) { m_configurationStatus = value; }
213 
214 
215  inline void SetConfigurationStatus(ConfigurationStatus&& value) { m_configurationStatus = std::move(value); }
216 
217 
218  inline PutStorageConfigurationResult& WithConfigurationStatus(const ConfigurationStatus& value) { SetConfigurationStatus(value); return *this;}
219 
220 
221  inline PutStorageConfigurationResult& WithConfigurationStatus(ConfigurationStatus&& value) { SetConfigurationStatus(std::move(value)); return *this;}
222 
223  private:
224 
225  StorageType m_storageType;
226 
227  MultiLayerStorage m_multiLayerStorage;
228 
229  DisassociatedDataStorageState m_disassociatedDataStorage;
230 
231  RetentionPeriod m_retentionPeriod;
232 
233  ConfigurationStatus m_configurationStatus;
234  };
235 
236 } // namespace Model
237 } // namespace IoTSiteWise
238 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::WithRetentionPeriod
PutStorageConfigurationResult & WithRetentionPeriod(const RetentionPeriod &value)
Definition: PutStorageConfigurationResult.h:202
ConfigurationStatus.h
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::SetDisassociatedDataStorage
void SetDisassociatedDataStorage(const DisassociatedDataStorageState &value)
Definition: PutStorageConfigurationResult.h:147
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::SetDisassociatedDataStorage
void SetDisassociatedDataStorage(DisassociatedDataStorageState &&value)
Definition: PutStorageConfigurationResult.h:161
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::GetConfigurationStatus
const ConfigurationStatus & GetConfigurationStatus() const
Definition: PutStorageConfigurationResult.h:209
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::WithConfigurationStatus
PutStorageConfigurationResult & WithConfigurationStatus(const ConfigurationStatus &value)
Definition: PutStorageConfigurationResult.h:218
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::GetStorageType
const StorageType & GetStorageType() const
Definition: PutStorageConfigurationResult.h:48
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::PutStorageConfigurationResult
PutStorageConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::GetMultiLayerStorage
const MultiLayerStorage & GetMultiLayerStorage() const
Definition: PutStorageConfigurationResult.h:98
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::WithMultiLayerStorage
PutStorageConfigurationResult & WithMultiLayerStorage(MultiLayerStorage &&value)
Definition: PutStorageConfigurationResult.h:118
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::SetRetentionPeriod
void SetRetentionPeriod(const RetentionPeriod &value)
Definition: PutStorageConfigurationResult.h:196
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::WithConfigurationStatus
PutStorageConfigurationResult & WithConfigurationStatus(ConfigurationStatus &&value)
Definition: PutStorageConfigurationResult.h:221
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::WithDisassociatedDataStorage
PutStorageConfigurationResult & WithDisassociatedDataStorage(const DisassociatedDataStorageState &value)
Definition: PutStorageConfigurationResult.h:175
Aws::IoTSiteWise::Model::MultiLayerStorage
Definition: MultiLayerStorage.h:33
Aws::IoTSiteWise::Model::PutStorageConfigurationResult
Definition: PutStorageConfigurationResult.h:32
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::SetConfigurationStatus
void SetConfigurationStatus(ConfigurationStatus &&value)
Definition: PutStorageConfigurationResult.h:215
Aws::IoTSiteWise::Model::StorageType
StorageType
Definition: StorageType.h:17
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::GetDisassociatedDataStorage
const DisassociatedDataStorageState & GetDisassociatedDataStorage() const
Definition: PutStorageConfigurationResult.h:133
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::SetConfigurationStatus
void SetConfigurationStatus(const ConfigurationStatus &value)
Definition: PutStorageConfigurationResult.h:212
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::SetMultiLayerStorage
void SetMultiLayerStorage(const MultiLayerStorage &value)
Definition: PutStorageConfigurationResult.h:103
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::WithDisassociatedDataStorage
PutStorageConfigurationResult & WithDisassociatedDataStorage(DisassociatedDataStorageState &&value)
Definition: PutStorageConfigurationResult.h:189
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::PutStorageConfigurationResult
PutStorageConfigurationResult()
DisassociatedDataStorageState.h
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::SetStorageType
void SetStorageType(StorageType &&value)
Definition: PutStorageConfigurationResult.h:70
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::SetRetentionPeriod
void SetRetentionPeriod(RetentionPeriod &&value)
Definition: PutStorageConfigurationResult.h:199
RetentionPeriod.h
Aws::IoTSiteWise::Model::ConfigurationStatus
Definition: ConfigurationStatus.h:34
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::WithMultiLayerStorage
PutStorageConfigurationResult & WithMultiLayerStorage(const MultiLayerStorage &value)
Definition: PutStorageConfigurationResult.h:113
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::WithStorageType
PutStorageConfigurationResult & WithStorageType(const StorageType &value)
Definition: PutStorageConfigurationResult.h:81
Aws::IoTSiteWise::Model::DisassociatedDataStorageState
DisassociatedDataStorageState
Definition: DisassociatedDataStorageState.h:17
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::WithStorageType
PutStorageConfigurationResult & WithStorageType(StorageType &&value)
Definition: PutStorageConfigurationResult.h:92
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::SetMultiLayerStorage
void SetMultiLayerStorage(MultiLayerStorage &&value)
Definition: PutStorageConfigurationResult.h:108
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::SetStorageType
void SetStorageType(const StorageType &value)
Definition: PutStorageConfigurationResult.h:59
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::GetRetentionPeriod
const RetentionPeriod & GetRetentionPeriod() const
Definition: PutStorageConfigurationResult.h:193
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::operator=
PutStorageConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StorageType.h
MultiLayerStorage.h
Aws::IoTSiteWise::Model::PutStorageConfigurationResult::WithRetentionPeriod
PutStorageConfigurationResult & WithRetentionPeriod(RetentionPeriod &&value)
Definition: PutStorageConfigurationResult.h:205
Aws::IoTSiteWise::Model::RetentionPeriod
Definition: RetentionPeriod.h:31