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

Represents an update to the InputLambdaProcessor * that is used to preprocess the records in the stream.

See Also:

* AWS * API Reference

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

The Amazon Resource Name (ARN) of the new AWS Lambda function that is used * to preprocess the records in the stream.

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: AWS Lambda

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

The Amazon Resource Name (ARN) of the new AWS Lambda function that is used * to preprocess the records in the stream.

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: AWS Lambda

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

The Amazon Resource Name (ARN) of the new AWS Lambda function that is used * to preprocess the records in the stream.

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: AWS Lambda

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

The Amazon Resource Name (ARN) of the new AWS Lambda function that is used * to preprocess the records in the stream.

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: AWS Lambda

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

The Amazon Resource Name (ARN) of the new AWS Lambda function that is used * to preprocess the records in the stream.

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: AWS Lambda

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

The Amazon Resource Name (ARN) of the new AWS Lambda function that is used * to preprocess the records in the stream.

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: AWS Lambda

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

The Amazon Resource Name (ARN) of the new AWS Lambda function that is used * to preprocess the records in the stream.

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: AWS Lambda

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

The Amazon Resource Name (ARN) of the new AWS Lambda function that is used * to preprocess the records in the stream.

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: AWS Lambda

*/ inline InputLambdaProcessorUpdate& WithResourceARNUpdate(const char* value) { SetResourceARNUpdate(value); return *this;} /** *

The ARN of the new IAM role that is used to access the AWS Lambda * function.

*/ inline const Aws::String& GetRoleARNUpdate() const{ return m_roleARNUpdate; } /** *

The ARN of the new IAM role that is used to access the AWS Lambda * function.

*/ inline bool RoleARNUpdateHasBeenSet() const { return m_roleARNUpdateHasBeenSet; } /** *

The ARN of the new IAM role that is used to access the AWS Lambda * function.

*/ inline void SetRoleARNUpdate(const Aws::String& value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate = value; } /** *

The ARN of the new IAM role that is used to access the AWS Lambda * function.

*/ inline void SetRoleARNUpdate(Aws::String&& value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate = std::move(value); } /** *

The ARN of the new IAM role that is used to access the AWS Lambda * function.

*/ inline void SetRoleARNUpdate(const char* value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate.assign(value); } /** *

The ARN of the new IAM role that is used to access the AWS Lambda * function.

*/ inline InputLambdaProcessorUpdate& WithRoleARNUpdate(const Aws::String& value) { SetRoleARNUpdate(value); return *this;} /** *

The ARN of the new IAM role that is used to access the AWS Lambda * function.

*/ inline InputLambdaProcessorUpdate& WithRoleARNUpdate(Aws::String&& value) { SetRoleARNUpdate(std::move(value)); return *this;} /** *

The ARN of the new IAM role that is used to access the AWS Lambda * function.

*/ inline InputLambdaProcessorUpdate& WithRoleARNUpdate(const char* value) { SetRoleARNUpdate(value); return *this;} private: Aws::String m_resourceARNUpdate; bool m_resourceARNUpdateHasBeenSet = false; Aws::String m_roleARNUpdate; bool m_roleARNUpdateHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalytics } // namespace Aws