/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an action to invoke a Lambda function.See Also:
* AWS
* API Reference
The ARN of the Lambda function.
*/ inline const Aws::String& GetFunctionArn() const{ return m_functionArn; } /** *The ARN of the Lambda function.
*/ inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; } /** *The ARN of the Lambda function.
*/ inline void SetFunctionArn(const Aws::String& value) { m_functionArnHasBeenSet = true; m_functionArn = value; } /** *The ARN of the Lambda function.
*/ inline void SetFunctionArn(Aws::String&& value) { m_functionArnHasBeenSet = true; m_functionArn = std::move(value); } /** *The ARN of the Lambda function.
*/ inline void SetFunctionArn(const char* value) { m_functionArnHasBeenSet = true; m_functionArn.assign(value); } /** *The ARN of the Lambda function.
*/ inline LambdaAction& WithFunctionArn(const Aws::String& value) { SetFunctionArn(value); return *this;} /** *The ARN of the Lambda function.
*/ inline LambdaAction& WithFunctionArn(Aws::String&& value) { SetFunctionArn(std::move(value)); return *this;} /** *The ARN of the Lambda function.
*/ inline LambdaAction& WithFunctionArn(const char* value) { SetFunctionArn(value); return *this;} private: Aws::String m_functionArn; bool m_functionArnHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws