/** * 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 IoTSiteWise { namespace Model { /** *

Contains information about the storage destination.

See Also:

* AWS * API Reference

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

Contains information about a customer managed Amazon S3 bucket.

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

Contains information about a customer managed Amazon S3 bucket.

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

Contains information about a customer managed Amazon S3 bucket.

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

Contains information about a customer managed Amazon S3 bucket.

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

Contains information about a customer managed Amazon S3 bucket.

*/ inline MultiLayerStorage& WithCustomerManagedS3Storage(const CustomerManagedS3Storage& value) { SetCustomerManagedS3Storage(value); return *this;} /** *

Contains information about a customer managed Amazon S3 bucket.

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