/** * 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 Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace S3Control { namespace Model { /** *

Contains the configuration parameters for a Lambda Invoke * operation.

See Also:

AWS * API Reference

*/ class LambdaInvokeOperation { public: AWS_S3CONTROL_API LambdaInvokeOperation(); AWS_S3CONTROL_API LambdaInvokeOperation(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_S3CONTROL_API LambdaInvokeOperation& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** *

The Amazon Resource Name (ARN) for the Lambda function that the specified job * will invoke on every object in the manifest.

*/ inline const Aws::String& GetFunctionArn() const{ return m_functionArn; } /** *

The Amazon Resource Name (ARN) for the Lambda function that the specified job * will invoke on every object in the manifest.

*/ inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for the Lambda function that the specified job * will invoke on every object in the manifest.

*/ inline void SetFunctionArn(const Aws::String& value) { m_functionArnHasBeenSet = true; m_functionArn = value; } /** *

The Amazon Resource Name (ARN) for the Lambda function that the specified job * will invoke on every object in the manifest.

*/ inline void SetFunctionArn(Aws::String&& value) { m_functionArnHasBeenSet = true; m_functionArn = std::move(value); } /** *

The Amazon Resource Name (ARN) for the Lambda function that the specified job * will invoke on every object in the manifest.

*/ inline void SetFunctionArn(const char* value) { m_functionArnHasBeenSet = true; m_functionArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the Lambda function that the specified job * will invoke on every object in the manifest.

*/ inline LambdaInvokeOperation& WithFunctionArn(const Aws::String& value) { SetFunctionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the Lambda function that the specified job * will invoke on every object in the manifest.

*/ inline LambdaInvokeOperation& WithFunctionArn(Aws::String&& value) { SetFunctionArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the Lambda function that the specified job * will invoke on every object in the manifest.

*/ inline LambdaInvokeOperation& WithFunctionArn(const char* value) { SetFunctionArn(value); return *this;} private: Aws::String m_functionArn; bool m_functionArnHasBeenSet = false; }; } // namespace Model } // namespace S3Control } // namespace Aws