/** * 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 { /** *

Specifies one or more sets of channel messages.

See Also:

AWS * API Reference

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

Specifies one or more keys that identify the Amazon Simple Storage Service * (Amazon S3) objects that save your channel messages.

You must use the * full path for the key.

Example path: * channel/mychannel/__dt=2020-02-29 * 00:00:00/1582940490000_1582940520000_123456789012_mychannel_0_2118.0.json.gz *

*/ inline const Aws::Vector& GetS3Paths() const{ return m_s3Paths; } /** *

Specifies one or more keys that identify the Amazon Simple Storage Service * (Amazon S3) objects that save your channel messages.

You must use the * full path for the key.

Example path: * channel/mychannel/__dt=2020-02-29 * 00:00:00/1582940490000_1582940520000_123456789012_mychannel_0_2118.0.json.gz *

*/ inline bool S3PathsHasBeenSet() const { return m_s3PathsHasBeenSet; } /** *

Specifies one or more keys that identify the Amazon Simple Storage Service * (Amazon S3) objects that save your channel messages.

You must use the * full path for the key.

Example path: * channel/mychannel/__dt=2020-02-29 * 00:00:00/1582940490000_1582940520000_123456789012_mychannel_0_2118.0.json.gz *

*/ inline void SetS3Paths(const Aws::Vector& value) { m_s3PathsHasBeenSet = true; m_s3Paths = value; } /** *

Specifies one or more keys that identify the Amazon Simple Storage Service * (Amazon S3) objects that save your channel messages.

You must use the * full path for the key.

Example path: * channel/mychannel/__dt=2020-02-29 * 00:00:00/1582940490000_1582940520000_123456789012_mychannel_0_2118.0.json.gz *

*/ inline void SetS3Paths(Aws::Vector&& value) { m_s3PathsHasBeenSet = true; m_s3Paths = std::move(value); } /** *

Specifies one or more keys that identify the Amazon Simple Storage Service * (Amazon S3) objects that save your channel messages.

You must use the * full path for the key.

Example path: * channel/mychannel/__dt=2020-02-29 * 00:00:00/1582940490000_1582940520000_123456789012_mychannel_0_2118.0.json.gz *

*/ inline ChannelMessages& WithS3Paths(const Aws::Vector& value) { SetS3Paths(value); return *this;} /** *

Specifies one or more keys that identify the Amazon Simple Storage Service * (Amazon S3) objects that save your channel messages.

You must use the * full path for the key.

Example path: * channel/mychannel/__dt=2020-02-29 * 00:00:00/1582940490000_1582940520000_123456789012_mychannel_0_2118.0.json.gz *

*/ inline ChannelMessages& WithS3Paths(Aws::Vector&& value) { SetS3Paths(std::move(value)); return *this;} /** *

Specifies one or more keys that identify the Amazon Simple Storage Service * (Amazon S3) objects that save your channel messages.

You must use the * full path for the key.

Example path: * channel/mychannel/__dt=2020-02-29 * 00:00:00/1582940490000_1582940520000_123456789012_mychannel_0_2118.0.json.gz *

*/ inline ChannelMessages& AddS3Paths(const Aws::String& value) { m_s3PathsHasBeenSet = true; m_s3Paths.push_back(value); return *this; } /** *

Specifies one or more keys that identify the Amazon Simple Storage Service * (Amazon S3) objects that save your channel messages.

You must use the * full path for the key.

Example path: * channel/mychannel/__dt=2020-02-29 * 00:00:00/1582940490000_1582940520000_123456789012_mychannel_0_2118.0.json.gz *

*/ inline ChannelMessages& AddS3Paths(Aws::String&& value) { m_s3PathsHasBeenSet = true; m_s3Paths.push_back(std::move(value)); return *this; } /** *

Specifies one or more keys that identify the Amazon Simple Storage Service * (Amazon S3) objects that save your channel messages.

You must use the * full path for the key.

Example path: * channel/mychannel/__dt=2020-02-29 * 00:00:00/1582940490000_1582940520000_123456789012_mychannel_0_2118.0.json.gz *

*/ inline ChannelMessages& AddS3Paths(const char* value) { m_s3PathsHasBeenSet = true; m_s3Paths.push_back(value); return *this; } private: Aws::Vector m_s3Paths; bool m_s3PathsHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws