AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DatastoreStorageSummary.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/iotanalytics/model/ServiceManagedDatastoreS3StorageSummary.h>
9#include <aws/iotanalytics/model/CustomerManagedDatastoreS3StorageSummary.h>
10#include <aws/iotanalytics/model/DatastoreIotSiteWiseMultiLayerStorageSummary.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
34 {
35 public:
36 AWS_IOTANALYTICS_API DatastoreStorageSummary() = default;
37 AWS_IOTANALYTICS_API DatastoreStorageSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const ServiceManagedDatastoreS3StorageSummary& GetServiceManagedS3() const { return m_serviceManagedS3; }
47 inline bool ServiceManagedS3HasBeenSet() const { return m_serviceManagedS3HasBeenSet; }
48 template<typename ServiceManagedS3T = ServiceManagedDatastoreS3StorageSummary>
49 void SetServiceManagedS3(ServiceManagedS3T&& value) { m_serviceManagedS3HasBeenSet = true; m_serviceManagedS3 = std::forward<ServiceManagedS3T>(value); }
50 template<typename ServiceManagedS3T = ServiceManagedDatastoreS3StorageSummary>
51 DatastoreStorageSummary& WithServiceManagedS3(ServiceManagedS3T&& value) { SetServiceManagedS3(std::forward<ServiceManagedS3T>(value)); return *this;}
53
55
58 inline const CustomerManagedDatastoreS3StorageSummary& GetCustomerManagedS3() const { return m_customerManagedS3; }
59 inline bool CustomerManagedS3HasBeenSet() const { return m_customerManagedS3HasBeenSet; }
60 template<typename CustomerManagedS3T = CustomerManagedDatastoreS3StorageSummary>
61 void SetCustomerManagedS3(CustomerManagedS3T&& value) { m_customerManagedS3HasBeenSet = true; m_customerManagedS3 = std::forward<CustomerManagedS3T>(value); }
62 template<typename CustomerManagedS3T = CustomerManagedDatastoreS3StorageSummary>
63 DatastoreStorageSummary& WithCustomerManagedS3(CustomerManagedS3T&& value) { SetCustomerManagedS3(std::forward<CustomerManagedS3T>(value)); return *this;}
65
67
71 inline const DatastoreIotSiteWiseMultiLayerStorageSummary& GetIotSiteWiseMultiLayerStorage() const { return m_iotSiteWiseMultiLayerStorage; }
72 inline bool IotSiteWiseMultiLayerStorageHasBeenSet() const { return m_iotSiteWiseMultiLayerStorageHasBeenSet; }
73 template<typename IotSiteWiseMultiLayerStorageT = DatastoreIotSiteWiseMultiLayerStorageSummary>
74 void SetIotSiteWiseMultiLayerStorage(IotSiteWiseMultiLayerStorageT&& value) { m_iotSiteWiseMultiLayerStorageHasBeenSet = true; m_iotSiteWiseMultiLayerStorage = std::forward<IotSiteWiseMultiLayerStorageT>(value); }
75 template<typename IotSiteWiseMultiLayerStorageT = DatastoreIotSiteWiseMultiLayerStorageSummary>
76 DatastoreStorageSummary& WithIotSiteWiseMultiLayerStorage(IotSiteWiseMultiLayerStorageT&& value) { SetIotSiteWiseMultiLayerStorage(std::forward<IotSiteWiseMultiLayerStorageT>(value)); return *this;}
78 private:
79
81 bool m_serviceManagedS3HasBeenSet = false;
82
84 bool m_customerManagedS3HasBeenSet = false;
85
86 DatastoreIotSiteWiseMultiLayerStorageSummary m_iotSiteWiseMultiLayerStorage;
87 bool m_iotSiteWiseMultiLayerStorageHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace IoTAnalytics
92} // namespace Aws
DatastoreStorageSummary & WithServiceManagedS3(ServiceManagedS3T &&value)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTANALYTICS_API DatastoreStorageSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const ServiceManagedDatastoreS3StorageSummary & GetServiceManagedS3() const
AWS_IOTANALYTICS_API DatastoreStorageSummary()=default
const DatastoreIotSiteWiseMultiLayerStorageSummary & GetIotSiteWiseMultiLayerStorage() const
void SetIotSiteWiseMultiLayerStorage(IotSiteWiseMultiLayerStorageT &&value)
AWS_IOTANALYTICS_API DatastoreStorageSummary(Aws::Utils::Json::JsonView jsonValue)
const CustomerManagedDatastoreS3StorageSummary & GetCustomerManagedS3() const
DatastoreStorageSummary & WithIotSiteWiseMultiLayerStorage(IotSiteWiseMultiLayerStorageT &&value)
DatastoreStorageSummary & WithCustomerManagedS3(CustomerManagedS3T &&value)
Aws::Utils::Json::JsonValue JsonValue