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

Used to store data used by IoT SiteWise in an Amazon S3 bucket that you * manage. You can't change the choice of Amazon S3 storage after your data store * is created.

See Also:

AWS * API Reference

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

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

*/ inline const IotSiteWiseCustomerManagedDatastoreS3Storage& GetCustomerManagedS3Storage() const{ return m_customerManagedS3Storage; } /** *

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

*/ inline bool CustomerManagedS3StorageHasBeenSet() const { return m_customerManagedS3StorageHasBeenSet; } /** *

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

*/ inline void SetCustomerManagedS3Storage(const IotSiteWiseCustomerManagedDatastoreS3Storage& value) { m_customerManagedS3StorageHasBeenSet = true; m_customerManagedS3Storage = value; } /** *

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

*/ inline void SetCustomerManagedS3Storage(IotSiteWiseCustomerManagedDatastoreS3Storage&& value) { m_customerManagedS3StorageHasBeenSet = true; m_customerManagedS3Storage = std::move(value); } /** *

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

*/ inline DatastoreIotSiteWiseMultiLayerStorage& WithCustomerManagedS3Storage(const IotSiteWiseCustomerManagedDatastoreS3Storage& value) { SetCustomerManagedS3Storage(value); return *this;} /** *

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

*/ inline DatastoreIotSiteWiseMultiLayerStorage& WithCustomerManagedS3Storage(IotSiteWiseCustomerManagedDatastoreS3Storage&& value) { SetCustomerManagedS3Storage(std::move(value)); return *this;} private: IotSiteWiseCustomerManagedDatastoreS3Storage m_customerManagedS3Storage; bool m_customerManagedS3StorageHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws