/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include When updating an output configuration using the UpdateApplication
* operation, provides information about an AWS Lambda function configured as the
* destination.See Also:
AWS
* API Reference
Amazon Resource Name (ARN) of the destination 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: AWS Lambda
*/ inline const Aws::String& GetResourceARNUpdate() const{ return m_resourceARNUpdate; } /** *Amazon Resource Name (ARN) of the destination 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: AWS Lambda
*/ inline bool ResourceARNUpdateHasBeenSet() const { return m_resourceARNUpdateHasBeenSet; } /** *Amazon Resource Name (ARN) of the destination 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: AWS Lambda
*/ inline void SetResourceARNUpdate(const Aws::String& value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate = value; } /** *Amazon Resource Name (ARN) of the destination 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: AWS Lambda
*/ inline void SetResourceARNUpdate(Aws::String&& value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate = std::move(value); } /** *Amazon Resource Name (ARN) of the destination 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: AWS Lambda
*/ inline void SetResourceARNUpdate(const char* value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate.assign(value); } /** *Amazon Resource Name (ARN) of the destination 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: AWS Lambda
*/ inline LambdaOutputUpdate& WithResourceARNUpdate(const Aws::String& value) { SetResourceARNUpdate(value); return *this;} /** *Amazon Resource Name (ARN) of the destination 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: AWS Lambda
*/ inline LambdaOutputUpdate& WithResourceARNUpdate(Aws::String&& value) { SetResourceARNUpdate(std::move(value)); return *this;} /** *Amazon Resource Name (ARN) of the destination 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: AWS Lambda
*/ inline LambdaOutputUpdate& WithResourceARNUpdate(const char* value) { SetResourceARNUpdate(value); return *this;} /** *ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the * destination function on your behalf. You need to grant the necessary permissions * to this role.
*/ inline const Aws::String& GetRoleARNUpdate() const{ return m_roleARNUpdate; } /** *ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the * destination function on your behalf. You need to grant the necessary permissions * to this role.
*/ inline bool RoleARNUpdateHasBeenSet() const { return m_roleARNUpdateHasBeenSet; } /** *ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the * destination function on your behalf. You need to grant the necessary permissions * to this role.
*/ inline void SetRoleARNUpdate(const Aws::String& value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate = value; } /** *ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the * destination function on your behalf. You need to grant the necessary permissions * to this role.
*/ inline void SetRoleARNUpdate(Aws::String&& value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate = std::move(value); } /** *ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the * destination function on your behalf. You need to grant the necessary permissions * to this role.
*/ inline void SetRoleARNUpdate(const char* value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate.assign(value); } /** *ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the * destination function on your behalf. You need to grant the necessary permissions * to this role.
*/ inline LambdaOutputUpdate& WithRoleARNUpdate(const Aws::String& value) { SetRoleARNUpdate(value); return *this;} /** *ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the * destination function on your behalf. You need to grant the necessary permissions * to this role.
*/ inline LambdaOutputUpdate& WithRoleARNUpdate(Aws::String&& value) { SetRoleARNUpdate(std::move(value)); return *this;} /** *ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the * destination function on your behalf. You need to grant the necessary permissions * to this role.
*/ inline LambdaOutputUpdate& 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