AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
52 inline const StorageType& GetStorageType() const{ return m_storageType; }
53 inline void SetStorageType(const StorageType& value) { m_storageType = value; }
54 inline void SetStorageType(StorageType&& value) { m_storageType = std::move(value); }
55 inline PutStorageConfigurationResult& WithStorageType(const StorageType& value) { SetStorageType(value); return *this;}
56 inline PutStorageConfigurationResult& WithStorageType(StorageType&& value) { SetStorageType(std::move(value)); return *this;}
58
60
63 inline const MultiLayerStorage& GetMultiLayerStorage() const{ return m_multiLayerStorage; }
64 inline void SetMultiLayerStorage(const MultiLayerStorage& value) { m_multiLayerStorage = value; }
65 inline void SetMultiLayerStorage(MultiLayerStorage&& value) { m_multiLayerStorage = std::move(value); }
69
71
83 inline const DisassociatedDataStorageState& GetDisassociatedDataStorage() const{ return m_disassociatedDataStorage; }
84 inline void SetDisassociatedDataStorage(const DisassociatedDataStorageState& value) { m_disassociatedDataStorage = value; }
85 inline void SetDisassociatedDataStorage(DisassociatedDataStorageState&& value) { m_disassociatedDataStorage = std::move(value); }
89
91
92 inline const RetentionPeriod& GetRetentionPeriod() const{ return m_retentionPeriod; }
93 inline void SetRetentionPeriod(const RetentionPeriod& value) { m_retentionPeriod = value; }
94 inline void SetRetentionPeriod(RetentionPeriod&& value) { m_retentionPeriod = std::move(value); }
96 inline PutStorageConfigurationResult& WithRetentionPeriod(RetentionPeriod&& value) { SetRetentionPeriod(std::move(value)); return *this;}
98
100
101 inline const ConfigurationStatus& GetConfigurationStatus() const{ return m_configurationStatus; }
102 inline void SetConfigurationStatus(const ConfigurationStatus& value) { m_configurationStatus = value; }
103 inline void SetConfigurationStatus(ConfigurationStatus&& value) { m_configurationStatus = std::move(value); }
107
109
114 inline const WarmTierState& GetWarmTier() const{ return m_warmTier; }
115 inline void SetWarmTier(const WarmTierState& value) { m_warmTier = value; }
116 inline void SetWarmTier(WarmTierState&& value) { m_warmTier = std::move(value); }
117 inline PutStorageConfigurationResult& WithWarmTier(const WarmTierState& value) { SetWarmTier(value); return *this;}
118 inline PutStorageConfigurationResult& WithWarmTier(WarmTierState&& value) { SetWarmTier(std::move(value)); return *this;}
120
122
126 inline const WarmTierRetentionPeriod& GetWarmTierRetentionPeriod() const{ return m_warmTierRetentionPeriod; }
127 inline void SetWarmTierRetentionPeriod(const WarmTierRetentionPeriod& value) { m_warmTierRetentionPeriod = value; }
128 inline void SetWarmTierRetentionPeriod(WarmTierRetentionPeriod&& value) { m_warmTierRetentionPeriod = std::move(value); }
132
134
135 inline const Aws::String& GetRequestId() const{ return m_requestId; }
136 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
137 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
138 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
139 inline PutStorageConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
140 inline PutStorageConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
141 inline PutStorageConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
143 private:
144
145 StorageType m_storageType;
146
147 MultiLayerStorage m_multiLayerStorage;
148
149 DisassociatedDataStorageState m_disassociatedDataStorage;
150
151 RetentionPeriod m_retentionPeriod;
152
153 ConfigurationStatus m_configurationStatus;
154
155 WarmTierState m_warmTier;
156
157 WarmTierRetentionPeriod m_warmTierRetentionPeriod;
158
159 Aws::String m_requestId;
160 };
161
162} // namespace Model
163} // namespace IoTSiteWise
164} // namespace Aws
AWS_IOTSITEWISE_API PutStorageConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetWarmTierRetentionPeriod(const WarmTierRetentionPeriod &value)
PutStorageConfigurationResult & WithRequestId(Aws::String &&value)
const DisassociatedDataStorageState & GetDisassociatedDataStorage() const
PutStorageConfigurationResult & WithMultiLayerStorage(MultiLayerStorage &&value)
PutStorageConfigurationResult & WithRequestId(const Aws::String &value)
PutStorageConfigurationResult & WithWarmTier(WarmTierState &&value)
PutStorageConfigurationResult & WithRetentionPeriod(const RetentionPeriod &value)
PutStorageConfigurationResult & WithWarmTierRetentionPeriod(const WarmTierRetentionPeriod &value)
PutStorageConfigurationResult & WithConfigurationStatus(ConfigurationStatus &&value)
PutStorageConfigurationResult & WithRequestId(const char *value)
PutStorageConfigurationResult & WithConfigurationStatus(const ConfigurationStatus &value)
PutStorageConfigurationResult & WithDisassociatedDataStorage(DisassociatedDataStorageState &&value)
PutStorageConfigurationResult & WithMultiLayerStorage(const MultiLayerStorage &value)
PutStorageConfigurationResult & WithRetentionPeriod(RetentionPeriod &&value)
PutStorageConfigurationResult & WithStorageType(StorageType &&value)
void SetDisassociatedDataStorage(const DisassociatedDataStorageState &value)
PutStorageConfigurationResult & WithWarmTier(const WarmTierState &value)
void SetDisassociatedDataStorage(DisassociatedDataStorageState &&value)
AWS_IOTSITEWISE_API PutStorageConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutStorageConfigurationResult & WithStorageType(const StorageType &value)
PutStorageConfigurationResult & WithWarmTierRetentionPeriod(WarmTierRetentionPeriod &&value)
PutStorageConfigurationResult & WithDisassociatedDataStorage(const DisassociatedDataStorageState &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue