AWS SDK for C++  1.9.153
AWS SDK for C++
PutStorageConfigurationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace IoTSiteWise
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "PutStorageConfiguration"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
46  inline const StorageType& GetStorageType() const{ return m_storageType; }
47 
57  inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
58 
68  inline void SetStorageType(const StorageType& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
69 
79  inline void SetStorageType(StorageType&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
80 
90  inline PutStorageConfigurationRequest& WithStorageType(const StorageType& value) { SetStorageType(value); return *this;}
91 
101  inline PutStorageConfigurationRequest& WithStorageType(StorageType&& value) { SetStorageType(std::move(value)); return *this;}
102 
103 
109  inline const MultiLayerStorage& GetMultiLayerStorage() const{ return m_multiLayerStorage; }
110 
116  inline bool MultiLayerStorageHasBeenSet() const { return m_multiLayerStorageHasBeenSet; }
117 
123  inline void SetMultiLayerStorage(const MultiLayerStorage& value) { m_multiLayerStorageHasBeenSet = true; m_multiLayerStorage = value; }
124 
130  inline void SetMultiLayerStorage(MultiLayerStorage&& value) { m_multiLayerStorageHasBeenSet = true; m_multiLayerStorage = std::move(value); }
131 
137  inline PutStorageConfigurationRequest& WithMultiLayerStorage(const MultiLayerStorage& value) { SetMultiLayerStorage(value); return *this;}
138 
144  inline PutStorageConfigurationRequest& WithMultiLayerStorage(MultiLayerStorage&& value) { SetMultiLayerStorage(std::move(value)); return *this;}
145 
146 
159  inline const DisassociatedDataStorageState& GetDisassociatedDataStorage() const{ return m_disassociatedDataStorage; }
160 
173  inline bool DisassociatedDataStorageHasBeenSet() const { return m_disassociatedDataStorageHasBeenSet; }
174 
187  inline void SetDisassociatedDataStorage(const DisassociatedDataStorageState& value) { m_disassociatedDataStorageHasBeenSet = true; m_disassociatedDataStorage = value; }
188 
201  inline void SetDisassociatedDataStorage(DisassociatedDataStorageState&& value) { m_disassociatedDataStorageHasBeenSet = true; m_disassociatedDataStorage = std::move(value); }
202 
215  inline PutStorageConfigurationRequest& WithDisassociatedDataStorage(const DisassociatedDataStorageState& value) { SetDisassociatedDataStorage(value); return *this;}
216 
229  inline PutStorageConfigurationRequest& WithDisassociatedDataStorage(DisassociatedDataStorageState&& value) { SetDisassociatedDataStorage(std::move(value)); return *this;}
230 
231  private:
232 
233  StorageType m_storageType;
234  bool m_storageTypeHasBeenSet;
235 
236  MultiLayerStorage m_multiLayerStorage;
237  bool m_multiLayerStorageHasBeenSet;
238 
239  DisassociatedDataStorageState m_disassociatedDataStorage;
240  bool m_disassociatedDataStorageHasBeenSet;
241  };
242 
243 } // namespace Model
244 } // namespace IoTSiteWise
245 } // namespace Aws
Aws::IoTSiteWise::Model::PutStorageConfigurationRequest::SetStorageType
void SetStorageType(StorageType &&value)
Definition: PutStorageConfigurationRequest.h:79
Aws::IoTSiteWise::Model::PutStorageConfigurationRequest::WithMultiLayerStorage
PutStorageConfigurationRequest & WithMultiLayerStorage(const MultiLayerStorage &value)
Definition: PutStorageConfigurationRequest.h:137
Aws::IoTSiteWise::Model::PutStorageConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTSiteWise::Model::PutStorageConfigurationRequest::SetDisassociatedDataStorage
void SetDisassociatedDataStorage(DisassociatedDataStorageState &&value)
Definition: PutStorageConfigurationRequest.h:201
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::PutStorageConfigurationRequest::SetMultiLayerStorage
void SetMultiLayerStorage(MultiLayerStorage &&value)
Definition: PutStorageConfigurationRequest.h:130
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::PutStorageConfigurationRequest::SetDisassociatedDataStorage
void SetDisassociatedDataStorage(const DisassociatedDataStorageState &value)
Definition: PutStorageConfigurationRequest.h:187
Aws::IoTSiteWise::Model::MultiLayerStorage
Definition: MultiLayerStorage.h:33
Aws::IoTSiteWise::Model::PutStorageConfigurationRequest::GetStorageType
const StorageType & GetStorageType() const
Definition: PutStorageConfigurationRequest.h:46
Aws::IoTSiteWise::Model::StorageType
StorageType
Definition: StorageType.h:17
Aws::IoTSiteWise::Model::PutStorageConfigurationRequest::WithDisassociatedDataStorage
PutStorageConfigurationRequest & WithDisassociatedDataStorage(DisassociatedDataStorageState &&value)
Definition: PutStorageConfigurationRequest.h:229
Aws::IoTSiteWise::Model::PutStorageConfigurationRequest::SetMultiLayerStorage
void SetMultiLayerStorage(const MultiLayerStorage &value)
Definition: PutStorageConfigurationRequest.h:123
Aws::IoTSiteWise::Model::PutStorageConfigurationRequest::GetMultiLayerStorage
const MultiLayerStorage & GetMultiLayerStorage() const
Definition: PutStorageConfigurationRequest.h:109
Aws::IoTSiteWise::Model::PutStorageConfigurationRequest::GetDisassociatedDataStorage
const DisassociatedDataStorageState & GetDisassociatedDataStorage() const
Definition: PutStorageConfigurationRequest.h:159
Aws::IoTSiteWise::Model::PutStorageConfigurationRequest::WithStorageType
PutStorageConfigurationRequest & WithStorageType(const StorageType &value)
Definition: PutStorageConfigurationRequest.h:90
DisassociatedDataStorageState.h
Aws::IoTSiteWise::Model::PutStorageConfigurationRequest::MultiLayerStorageHasBeenSet
bool MultiLayerStorageHasBeenSet() const
Definition: PutStorageConfigurationRequest.h:116
Aws::IoTSiteWise::Model::PutStorageConfigurationRequest::WithStorageType
PutStorageConfigurationRequest & WithStorageType(StorageType &&value)
Definition: PutStorageConfigurationRequest.h:101
Aws::IoTSiteWise::Model::PutStorageConfigurationRequest
Definition: PutStorageConfigurationRequest.h:24
Aws::IoTSiteWise::Model::DisassociatedDataStorageState
DisassociatedDataStorageState
Definition: DisassociatedDataStorageState.h:17
Aws::IoTSiteWise::Model::PutStorageConfigurationRequest::StorageTypeHasBeenSet
bool StorageTypeHasBeenSet() const
Definition: PutStorageConfigurationRequest.h:57
Aws::IoTSiteWise::Model::PutStorageConfigurationRequest::PutStorageConfigurationRequest
PutStorageConfigurationRequest()
Aws::IoTSiteWise::Model::PutStorageConfigurationRequest::DisassociatedDataStorageHasBeenSet
bool DisassociatedDataStorageHasBeenSet() const
Definition: PutStorageConfigurationRequest.h:173
Aws
Definition: AccessManagementClient.h:15
IoTSiteWiseRequest.h
Aws::IoTSiteWise::Model::PutStorageConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutStorageConfigurationRequest.h:32
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::PutStorageConfigurationRequest::SetStorageType
void SetStorageType(const StorageType &value)
Definition: PutStorageConfigurationRequest.h:68
StorageType.h
Aws::IoTSiteWise::Model::PutStorageConfigurationRequest::WithMultiLayerStorage
PutStorageConfigurationRequest & WithMultiLayerStorage(MultiLayerStorage &&value)
Definition: PutStorageConfigurationRequest.h:144
MultiLayerStorage.h
Aws::IoTSiteWise::IoTSiteWiseRequest
Definition: IoTSiteWiseRequest.h:17
Aws::IoTSiteWise::Model::PutStorageConfigurationRequest::WithDisassociatedDataStorage
PutStorageConfigurationRequest & WithDisassociatedDataStorage(const DisassociatedDataStorageState &value)
Definition: PutStorageConfigurationRequest.h:215