/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTAnalytics { namespace Model { /** *

Contains information about your data store.

See Also:

AWS * API Reference

*/ class DatastoreStorageSummary { public: AWS_IOTANALYTICS_API DatastoreStorageSummary(); AWS_IOTANALYTICS_API DatastoreStorageSummary(Aws::Utils::Json::JsonView jsonValue); AWS_IOTANALYTICS_API DatastoreStorageSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Used to store data in an Amazon S3 bucket managed by IoT Analytics.

*/ inline const ServiceManagedDatastoreS3StorageSummary& GetServiceManagedS3() const{ return m_serviceManagedS3; } /** *

Used to store data in an Amazon S3 bucket managed by IoT Analytics.

*/ inline bool ServiceManagedS3HasBeenSet() const { return m_serviceManagedS3HasBeenSet; } /** *

Used to store data in an Amazon S3 bucket managed by IoT Analytics.

*/ inline void SetServiceManagedS3(const ServiceManagedDatastoreS3StorageSummary& value) { m_serviceManagedS3HasBeenSet = true; m_serviceManagedS3 = value; } /** *

Used to store data in an Amazon S3 bucket managed by IoT Analytics.

*/ inline void SetServiceManagedS3(ServiceManagedDatastoreS3StorageSummary&& value) { m_serviceManagedS3HasBeenSet = true; m_serviceManagedS3 = std::move(value); } /** *

Used to store data in an Amazon S3 bucket managed by IoT Analytics.

*/ inline DatastoreStorageSummary& WithServiceManagedS3(const ServiceManagedDatastoreS3StorageSummary& value) { SetServiceManagedS3(value); return *this;} /** *

Used to store data in an Amazon S3 bucket managed by IoT Analytics.

*/ inline DatastoreStorageSummary& WithServiceManagedS3(ServiceManagedDatastoreS3StorageSummary&& value) { SetServiceManagedS3(std::move(value)); return *this;} /** *

Used to store data in an Amazon S3 bucket managed by IoT Analytics.

*/ inline const CustomerManagedDatastoreS3StorageSummary& GetCustomerManagedS3() const{ return m_customerManagedS3; } /** *

Used to store data in an Amazon S3 bucket managed by IoT Analytics.

*/ inline bool CustomerManagedS3HasBeenSet() const { return m_customerManagedS3HasBeenSet; } /** *

Used to store data in an Amazon S3 bucket managed by IoT Analytics.

*/ inline void SetCustomerManagedS3(const CustomerManagedDatastoreS3StorageSummary& value) { m_customerManagedS3HasBeenSet = true; m_customerManagedS3 = value; } /** *

Used to store data in an Amazon S3 bucket managed by IoT Analytics.

*/ inline void SetCustomerManagedS3(CustomerManagedDatastoreS3StorageSummary&& value) { m_customerManagedS3HasBeenSet = true; m_customerManagedS3 = std::move(value); } /** *

Used to store data in an Amazon S3 bucket managed by IoT Analytics.

*/ inline DatastoreStorageSummary& WithCustomerManagedS3(const CustomerManagedDatastoreS3StorageSummary& value) { SetCustomerManagedS3(value); return *this;} /** *

Used to store data in an Amazon S3 bucket managed by IoT Analytics.

*/ inline DatastoreStorageSummary& WithCustomerManagedS3(CustomerManagedDatastoreS3StorageSummary&& value) { SetCustomerManagedS3(std::move(value)); return *this;} /** *

Used to store data used by IoT SiteWise in an Amazon S3 bucket that you * manage.

*/ inline const DatastoreIotSiteWiseMultiLayerStorageSummary& GetIotSiteWiseMultiLayerStorage() const{ return m_iotSiteWiseMultiLayerStorage; } /** *

Used to store data used by IoT SiteWise in an Amazon S3 bucket that you * manage.

*/ inline bool IotSiteWiseMultiLayerStorageHasBeenSet() const { return m_iotSiteWiseMultiLayerStorageHasBeenSet; } /** *

Used to store data used by IoT SiteWise in an Amazon S3 bucket that you * manage.

*/ inline void SetIotSiteWiseMultiLayerStorage(const DatastoreIotSiteWiseMultiLayerStorageSummary& value) { m_iotSiteWiseMultiLayerStorageHasBeenSet = true; m_iotSiteWiseMultiLayerStorage = value; } /** *

Used to store data used by IoT SiteWise in an Amazon S3 bucket that you * manage.

*/ inline void SetIotSiteWiseMultiLayerStorage(DatastoreIotSiteWiseMultiLayerStorageSummary&& value) { m_iotSiteWiseMultiLayerStorageHasBeenSet = true; m_iotSiteWiseMultiLayerStorage = std::move(value); } /** *

Used to store data used by IoT SiteWise in an Amazon S3 bucket that you * manage.

*/ inline DatastoreStorageSummary& WithIotSiteWiseMultiLayerStorage(const DatastoreIotSiteWiseMultiLayerStorageSummary& value) { SetIotSiteWiseMultiLayerStorage(value); return *this;} /** *

Used to store data used by IoT SiteWise in an Amazon S3 bucket that you * manage.

*/ inline DatastoreStorageSummary& WithIotSiteWiseMultiLayerStorage(DatastoreIotSiteWiseMultiLayerStorageSummary&& value) { SetIotSiteWiseMultiLayerStorage(std::move(value)); return *this;} private: ServiceManagedDatastoreS3StorageSummary m_serviceManagedS3; bool m_serviceManagedS3HasBeenSet = false; CustomerManagedDatastoreS3StorageSummary m_customerManagedS3; bool m_customerManagedS3HasBeenSet = false; DatastoreIotSiteWiseMultiLayerStorageSummary m_iotSiteWiseMultiLayerStorage; bool m_iotSiteWiseMultiLayerStorageHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws