AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DatastoreStorage.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/iotanalytics/model/ServiceManagedDatastoreS3Storage.h>
9#include <aws/iotanalytics/model/CustomerManagedDatastoreS3Storage.h>
10#include <aws/iotanalytics/model/DatastoreIotSiteWiseMultiLayerStorage.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTAnalytics
24{
25namespace Model
26{
27
38 {
39 public:
40 AWS_IOTANALYTICS_API DatastoreStorage() = default;
41 AWS_IOTANALYTICS_API DatastoreStorage(Aws::Utils::Json::JsonView jsonValue);
42 AWS_IOTANALYTICS_API DatastoreStorage& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const ServiceManagedDatastoreS3Storage& GetServiceManagedS3() const { return m_serviceManagedS3; }
52 inline bool ServiceManagedS3HasBeenSet() const { return m_serviceManagedS3HasBeenSet; }
53 template<typename ServiceManagedS3T = ServiceManagedDatastoreS3Storage>
54 void SetServiceManagedS3(ServiceManagedS3T&& value) { m_serviceManagedS3HasBeenSet = true; m_serviceManagedS3 = std::forward<ServiceManagedS3T>(value); }
55 template<typename ServiceManagedS3T = ServiceManagedDatastoreS3Storage>
56 DatastoreStorage& WithServiceManagedS3(ServiceManagedS3T&& value) { SetServiceManagedS3(std::forward<ServiceManagedS3T>(value)); return *this;}
58
60
65 inline const CustomerManagedDatastoreS3Storage& GetCustomerManagedS3() const { return m_customerManagedS3; }
66 inline bool CustomerManagedS3HasBeenSet() const { return m_customerManagedS3HasBeenSet; }
67 template<typename CustomerManagedS3T = CustomerManagedDatastoreS3Storage>
68 void SetCustomerManagedS3(CustomerManagedS3T&& value) { m_customerManagedS3HasBeenSet = true; m_customerManagedS3 = std::forward<CustomerManagedS3T>(value); }
69 template<typename CustomerManagedS3T = CustomerManagedDatastoreS3Storage>
70 DatastoreStorage& WithCustomerManagedS3(CustomerManagedS3T&& value) { SetCustomerManagedS3(std::forward<CustomerManagedS3T>(value)); return *this;}
72
74
79 inline const DatastoreIotSiteWiseMultiLayerStorage& GetIotSiteWiseMultiLayerStorage() const { return m_iotSiteWiseMultiLayerStorage; }
80 inline bool IotSiteWiseMultiLayerStorageHasBeenSet() const { return m_iotSiteWiseMultiLayerStorageHasBeenSet; }
81 template<typename IotSiteWiseMultiLayerStorageT = DatastoreIotSiteWiseMultiLayerStorage>
82 void SetIotSiteWiseMultiLayerStorage(IotSiteWiseMultiLayerStorageT&& value) { m_iotSiteWiseMultiLayerStorageHasBeenSet = true; m_iotSiteWiseMultiLayerStorage = std::forward<IotSiteWiseMultiLayerStorageT>(value); }
83 template<typename IotSiteWiseMultiLayerStorageT = DatastoreIotSiteWiseMultiLayerStorage>
84 DatastoreStorage& WithIotSiteWiseMultiLayerStorage(IotSiteWiseMultiLayerStorageT&& value) { SetIotSiteWiseMultiLayerStorage(std::forward<IotSiteWiseMultiLayerStorageT>(value)); return *this;}
86 private:
87
88 ServiceManagedDatastoreS3Storage m_serviceManagedS3;
89 bool m_serviceManagedS3HasBeenSet = false;
90
91 CustomerManagedDatastoreS3Storage m_customerManagedS3;
92 bool m_customerManagedS3HasBeenSet = false;
93
94 DatastoreIotSiteWiseMultiLayerStorage m_iotSiteWiseMultiLayerStorage;
95 bool m_iotSiteWiseMultiLayerStorageHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace IoTAnalytics
100} // namespace Aws
const CustomerManagedDatastoreS3Storage & GetCustomerManagedS3() const
DatastoreStorage & WithIotSiteWiseMultiLayerStorage(IotSiteWiseMultiLayerStorageT &&value)
AWS_IOTANALYTICS_API DatastoreStorage & operator=(Aws::Utils::Json::JsonView jsonValue)
const ServiceManagedDatastoreS3Storage & GetServiceManagedS3() const
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTANALYTICS_API DatastoreStorage(Aws::Utils::Json::JsonView jsonValue)
const DatastoreIotSiteWiseMultiLayerStorage & GetIotSiteWiseMultiLayerStorage() const
void SetCustomerManagedS3(CustomerManagedS3T &&value)
DatastoreStorage & WithServiceManagedS3(ServiceManagedS3T &&value)
AWS_IOTANALYTICS_API DatastoreStorage()=default
void SetIotSiteWiseMultiLayerStorage(IotSiteWiseMultiLayerStorageT &&value)
DatastoreStorage & WithCustomerManagedS3(CustomerManagedS3T &&value)
void SetServiceManagedS3(ServiceManagedS3T &&value)
Aws::Utils::Json::JsonValue JsonValue