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

The configuration settings for the SNS topic sink.

See Also:

* AWS * API Reference

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

The ARN of the SNS sink.

*/ inline const Aws::String& GetInsightsTarget() const{ return m_insightsTarget; } /** *

The ARN of the SNS sink.

*/ inline bool InsightsTargetHasBeenSet() const { return m_insightsTargetHasBeenSet; } /** *

The ARN of the SNS sink.

*/ inline void SetInsightsTarget(const Aws::String& value) { m_insightsTargetHasBeenSet = true; m_insightsTarget = value; } /** *

The ARN of the SNS sink.

*/ inline void SetInsightsTarget(Aws::String&& value) { m_insightsTargetHasBeenSet = true; m_insightsTarget = std::move(value); } /** *

The ARN of the SNS sink.

*/ inline void SetInsightsTarget(const char* value) { m_insightsTargetHasBeenSet = true; m_insightsTarget.assign(value); } /** *

The ARN of the SNS sink.

*/ inline SnsTopicSinkConfiguration& WithInsightsTarget(const Aws::String& value) { SetInsightsTarget(value); return *this;} /** *

The ARN of the SNS sink.

*/ inline SnsTopicSinkConfiguration& WithInsightsTarget(Aws::String&& value) { SetInsightsTarget(std::move(value)); return *this;} /** *

The ARN of the SNS sink.

*/ inline SnsTopicSinkConfiguration& WithInsightsTarget(const char* value) { SetInsightsTarget(value); return *this;} private: Aws::String m_insightsTarget; bool m_insightsTargetHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKMediaPipelines } // namespace Aws