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

The structure that contains the notification information for the KVS images * delivery. If this parameter is null, the configuration will be deleted from the * stream.

See Also:

AWS * API Reference

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

Indicates if a notification configuration is enabled or disabled.

*/ inline const ConfigurationStatus& GetStatus() const{ return m_status; } /** *

Indicates if a notification configuration is enabled or disabled.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

Indicates if a notification configuration is enabled or disabled.

*/ inline void SetStatus(const ConfigurationStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

Indicates if a notification configuration is enabled or disabled.

*/ inline void SetStatus(ConfigurationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

Indicates if a notification configuration is enabled or disabled.

*/ inline NotificationConfiguration& WithStatus(const ConfigurationStatus& value) { SetStatus(value); return *this;} /** *

Indicates if a notification configuration is enabled or disabled.

*/ inline NotificationConfiguration& WithStatus(ConfigurationStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The destination information required to deliver a notification to a * customer.

*/ inline const NotificationDestinationConfig& GetDestinationConfig() const{ return m_destinationConfig; } /** *

The destination information required to deliver a notification to a * customer.

*/ inline bool DestinationConfigHasBeenSet() const { return m_destinationConfigHasBeenSet; } /** *

The destination information required to deliver a notification to a * customer.

*/ inline void SetDestinationConfig(const NotificationDestinationConfig& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = value; } /** *

The destination information required to deliver a notification to a * customer.

*/ inline void SetDestinationConfig(NotificationDestinationConfig&& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = std::move(value); } /** *

The destination information required to deliver a notification to a * customer.

*/ inline NotificationConfiguration& WithDestinationConfig(const NotificationDestinationConfig& value) { SetDestinationConfig(value); return *this;} /** *

The destination information required to deliver a notification to a * customer.

*/ inline NotificationConfiguration& WithDestinationConfig(NotificationDestinationConfig&& value) { SetDestinationConfig(std::move(value)); return *this;} private: ConfigurationStatus m_status; bool m_statusHasBeenSet = false; NotificationDestinationConfig m_destinationConfig; bool m_destinationConfigHasBeenSet = false; }; } // namespace Model } // namespace KinesisVideo } // namespace Aws