/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Stores metadata about a Lambda processor.See Also:
AWS
* API Reference
The ARN of the Lambda message processing function.
*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *The ARN of the Lambda message processing function.
*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *The ARN of the Lambda message processing function.
*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *The ARN of the Lambda message processing function.
*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *The ARN of the Lambda message processing function.
*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *The ARN of the Lambda message processing function.
*/ inline LambdaConfiguration& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *The ARN of the Lambda message processing function.
*/ inline LambdaConfiguration& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *The ARN of the Lambda message processing function.
*/ inline LambdaConfiguration& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** *Controls how the Lambda function is invoked.
*/ inline const InvocationType& GetInvocationType() const{ return m_invocationType; } /** *Controls how the Lambda function is invoked.
*/ inline bool InvocationTypeHasBeenSet() const { return m_invocationTypeHasBeenSet; } /** *Controls how the Lambda function is invoked.
*/ inline void SetInvocationType(const InvocationType& value) { m_invocationTypeHasBeenSet = true; m_invocationType = value; } /** *Controls how the Lambda function is invoked.
*/ inline void SetInvocationType(InvocationType&& value) { m_invocationTypeHasBeenSet = true; m_invocationType = std::move(value); } /** *Controls how the Lambda function is invoked.
*/ inline LambdaConfiguration& WithInvocationType(const InvocationType& value) { SetInvocationType(value); return *this;} /** *Controls how the Lambda function is invoked.
*/ inline LambdaConfiguration& WithInvocationType(InvocationType&& value) { SetInvocationType(std::move(value)); return *this;} private: Aws::String m_resourceArn; bool m_resourceArnHasBeenSet = false; InvocationType m_invocationType; bool m_invocationTypeHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKMessaging } // namespace Aws