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

A processor's metadata.

See Also:

AWS * API Reference

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

Indicates that the processor is of type Lambda.

*/ inline const LambdaConfiguration& GetLambda() const{ return m_lambda; } /** *

Indicates that the processor is of type Lambda.

*/ inline bool LambdaHasBeenSet() const { return m_lambdaHasBeenSet; } /** *

Indicates that the processor is of type Lambda.

*/ inline void SetLambda(const LambdaConfiguration& value) { m_lambdaHasBeenSet = true; m_lambda = value; } /** *

Indicates that the processor is of type Lambda.

*/ inline void SetLambda(LambdaConfiguration&& value) { m_lambdaHasBeenSet = true; m_lambda = std::move(value); } /** *

Indicates that the processor is of type Lambda.

*/ inline ProcessorConfiguration& WithLambda(const LambdaConfiguration& value) { SetLambda(value); return *this;} /** *

Indicates that the processor is of type Lambda.

*/ inline ProcessorConfiguration& WithLambda(LambdaConfiguration&& value) { SetLambda(std::move(value)); return *this;} private: LambdaConfiguration m_lambda; bool m_lambdaHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKMessaging } // namespace Aws