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

Where channel data is stored.

See Also:

AWS * API Reference

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

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

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

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

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

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

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

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

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

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

*/ inline ChannelStorageSummary& WithServiceManagedS3(const ServiceManagedChannelS3StorageSummary& value) { SetServiceManagedS3(value); return *this;} /** *

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

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

Used to store channel data in an S3 bucket that you manage.

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

Used to store channel data in an S3 bucket that you manage.

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

Used to store channel data in an S3 bucket that you manage.

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

Used to store channel data in an S3 bucket that you manage.

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

Used to store channel data in an S3 bucket that you manage.

*/ inline ChannelStorageSummary& WithCustomerManagedS3(const CustomerManagedChannelS3StorageSummary& value) { SetCustomerManagedS3(value); return *this;} /** *

Used to store channel data in an S3 bucket that you manage.

*/ inline ChannelStorageSummary& WithCustomerManagedS3(CustomerManagedChannelS3StorageSummary&& value) { SetCustomerManagedS3(std::move(value)); return *this;} private: ServiceManagedChannelS3StorageSummary m_serviceManagedS3; bool m_serviceManagedS3HasBeenSet = false; CustomerManagedChannelS3StorageSummary m_customerManagedS3; bool m_customerManagedS3HasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws