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

The target recipient for a streaming configuration * notification.

See Also:

AWS * API Reference

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

The streaming notification target.

*/ inline const NotificationTarget& GetNotificationTarget() const{ return m_notificationTarget; } /** *

The streaming notification target.

*/ inline bool NotificationTargetHasBeenSet() const { return m_notificationTargetHasBeenSet; } /** *

The streaming notification target.

*/ inline void SetNotificationTarget(const NotificationTarget& value) { m_notificationTargetHasBeenSet = true; m_notificationTarget = value; } /** *

The streaming notification target.

*/ inline void SetNotificationTarget(NotificationTarget&& value) { m_notificationTargetHasBeenSet = true; m_notificationTarget = std::move(value); } /** *

The streaming notification target.

*/ inline StreamingNotificationTarget& WithNotificationTarget(const NotificationTarget& value) { SetNotificationTarget(value); return *this;} /** *

The streaming notification target.

*/ inline StreamingNotificationTarget& WithNotificationTarget(NotificationTarget&& value) { SetNotificationTarget(std::move(value)); return *this;} private: NotificationTarget m_notificationTarget; bool m_notificationTargetHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws