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

The streaming configuration associated with an Amazon Chime SDK Voice * Connector. Specifies whether media streaming is enabled for sending to Amazon * Kinesis, and shows the retention period for the Amazon Kinesis data, in * hours.

See Also:

AWS * API Reference

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

The amount of time, in hours, to the Kinesis data.

*/ inline int GetDataRetentionInHours() const{ return m_dataRetentionInHours; } /** *

The amount of time, in hours, to the Kinesis data.

*/ inline bool DataRetentionInHoursHasBeenSet() const { return m_dataRetentionInHoursHasBeenSet; } /** *

The amount of time, in hours, to the Kinesis data.

*/ inline void SetDataRetentionInHours(int value) { m_dataRetentionInHoursHasBeenSet = true; m_dataRetentionInHours = value; } /** *

The amount of time, in hours, to the Kinesis data.

*/ inline StreamingConfiguration& WithDataRetentionInHours(int value) { SetDataRetentionInHours(value); return *this;} /** *

When true, streaming to Kinesis is off.

*/ inline bool GetDisabled() const{ return m_disabled; } /** *

When true, streaming to Kinesis is off.

*/ inline bool DisabledHasBeenSet() const { return m_disabledHasBeenSet; } /** *

When true, streaming to Kinesis is off.

*/ inline void SetDisabled(bool value) { m_disabledHasBeenSet = true; m_disabled = value; } /** *

When true, streaming to Kinesis is off.

*/ inline StreamingConfiguration& WithDisabled(bool value) { SetDisabled(value); return *this;} /** *

The streaming notification targets.

*/ inline const Aws::Vector& GetStreamingNotificationTargets() const{ return m_streamingNotificationTargets; } /** *

The streaming notification targets.

*/ inline bool StreamingNotificationTargetsHasBeenSet() const { return m_streamingNotificationTargetsHasBeenSet; } /** *

The streaming notification targets.

*/ inline void SetStreamingNotificationTargets(const Aws::Vector& value) { m_streamingNotificationTargetsHasBeenSet = true; m_streamingNotificationTargets = value; } /** *

The streaming notification targets.

*/ inline void SetStreamingNotificationTargets(Aws::Vector&& value) { m_streamingNotificationTargetsHasBeenSet = true; m_streamingNotificationTargets = std::move(value); } /** *

The streaming notification targets.

*/ inline StreamingConfiguration& WithStreamingNotificationTargets(const Aws::Vector& value) { SetStreamingNotificationTargets(value); return *this;} /** *

The streaming notification targets.

*/ inline StreamingConfiguration& WithStreamingNotificationTargets(Aws::Vector&& value) { SetStreamingNotificationTargets(std::move(value)); return *this;} /** *

The streaming notification targets.

*/ inline StreamingConfiguration& AddStreamingNotificationTargets(const StreamingNotificationTarget& value) { m_streamingNotificationTargetsHasBeenSet = true; m_streamingNotificationTargets.push_back(value); return *this; } /** *

The streaming notification targets.

*/ inline StreamingConfiguration& AddStreamingNotificationTargets(StreamingNotificationTarget&& value) { m_streamingNotificationTargetsHasBeenSet = true; m_streamingNotificationTargets.push_back(std::move(value)); return *this; } /** *

The call analytics configuration.

*/ inline const MediaInsightsConfiguration& GetMediaInsightsConfiguration() const{ return m_mediaInsightsConfiguration; } /** *

The call analytics configuration.

*/ inline bool MediaInsightsConfigurationHasBeenSet() const { return m_mediaInsightsConfigurationHasBeenSet; } /** *

The call analytics configuration.

*/ inline void SetMediaInsightsConfiguration(const MediaInsightsConfiguration& value) { m_mediaInsightsConfigurationHasBeenSet = true; m_mediaInsightsConfiguration = value; } /** *

The call analytics configuration.

*/ inline void SetMediaInsightsConfiguration(MediaInsightsConfiguration&& value) { m_mediaInsightsConfigurationHasBeenSet = true; m_mediaInsightsConfiguration = std::move(value); } /** *

The call analytics configuration.

*/ inline StreamingConfiguration& WithMediaInsightsConfiguration(const MediaInsightsConfiguration& value) { SetMediaInsightsConfiguration(value); return *this;} /** *

The call analytics configuration.

*/ inline StreamingConfiguration& WithMediaInsightsConfiguration(MediaInsightsConfiguration&& value) { SetMediaInsightsConfiguration(std::move(value)); return *this;} private: int m_dataRetentionInHours; bool m_dataRetentionInHoursHasBeenSet = false; bool m_disabled; bool m_disabledHasBeenSet = false; Aws::Vector m_streamingNotificationTargets; bool m_streamingNotificationTargetsHasBeenSet = false; MediaInsightsConfiguration m_mediaInsightsConfiguration; bool m_mediaInsightsConfigurationHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws