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

A structure that contains the configuration settings for an AWS Lambda * function's data sink.

See Also:

AWS * API Reference

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

The ARN of the sink.

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

The ARN of the sink.

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

The ARN of the sink.

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

The ARN of the sink.

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

The ARN of the sink.

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

The ARN of the sink.

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

The ARN of the sink.

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

The ARN of the sink.

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