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

When you update an SQL-based Kinesis Data Analytics application's output * configuration using the UpdateApplication operation, provides information * about an Amazon Lambda function that is configured as the * destination.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the destination Amazon Lambda function.

*

To specify an earlier version of the Lambda function than the latest, * include the Lambda function version in the Lambda function ARN. For more * information about Lambda ARNs, see Example * ARNs: Amazon Lambda

*/ inline const Aws::String& GetResourceARNUpdate() const{ return m_resourceARNUpdate; } /** *

The Amazon Resource Name (ARN) of the destination Amazon Lambda function.

*

To specify an earlier version of the Lambda function than the latest, * include the Lambda function version in the Lambda function ARN. For more * information about Lambda ARNs, see Example * ARNs: Amazon Lambda

*/ inline bool ResourceARNUpdateHasBeenSet() const { return m_resourceARNUpdateHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the destination Amazon Lambda function.

*

To specify an earlier version of the Lambda function than the latest, * include the Lambda function version in the Lambda function ARN. For more * information about Lambda ARNs, see Example * ARNs: Amazon Lambda

*/ inline void SetResourceARNUpdate(const Aws::String& value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate = value; } /** *

The Amazon Resource Name (ARN) of the destination Amazon Lambda function.

*

To specify an earlier version of the Lambda function than the latest, * include the Lambda function version in the Lambda function ARN. For more * information about Lambda ARNs, see Example * ARNs: Amazon Lambda

*/ inline void SetResourceARNUpdate(Aws::String&& value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate = std::move(value); } /** *

The Amazon Resource Name (ARN) of the destination Amazon Lambda function.

*

To specify an earlier version of the Lambda function than the latest, * include the Lambda function version in the Lambda function ARN. For more * information about Lambda ARNs, see Example * ARNs: Amazon Lambda

*/ inline void SetResourceARNUpdate(const char* value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate.assign(value); } /** *

The Amazon Resource Name (ARN) of the destination Amazon Lambda function.

*

To specify an earlier version of the Lambda function than the latest, * include the Lambda function version in the Lambda function ARN. For more * information about Lambda ARNs, see Example * ARNs: Amazon Lambda

*/ inline LambdaOutputUpdate& WithResourceARNUpdate(const Aws::String& value) { SetResourceARNUpdate(value); return *this;} /** *

The Amazon Resource Name (ARN) of the destination Amazon Lambda function.

*

To specify an earlier version of the Lambda function than the latest, * include the Lambda function version in the Lambda function ARN. For more * information about Lambda ARNs, see Example * ARNs: Amazon Lambda

*/ inline LambdaOutputUpdate& WithResourceARNUpdate(Aws::String&& value) { SetResourceARNUpdate(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the destination Amazon Lambda function.

*

To specify an earlier version of the Lambda function than the latest, * include the Lambda function version in the Lambda function ARN. For more * information about Lambda ARNs, see Example * ARNs: Amazon Lambda

*/ inline LambdaOutputUpdate& WithResourceARNUpdate(const char* value) { SetResourceARNUpdate(value); return *this;} private: Aws::String m_resourceARNUpdate; bool m_resourceARNUpdateHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws