/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Container for specifying the Lambda notification configuration.See
* Also:
AWS
* API Reference
Bucket events for which to send notifications.
*/ inline const Aws::VectorLambda cloud function ARN that Amazon S3 can invoke when it detects events of * the specified type.
*/ inline const Aws::String& GetCloudFunction() const{ return m_cloudFunction; } inline bool CloudFunctionHasBeenSet() const { return m_cloudFunctionHasBeenSet; } inline void SetCloudFunction(const Aws::String& value) { m_cloudFunctionHasBeenSet = true; m_cloudFunction = value; } inline void SetCloudFunction(Aws::String&& value) { m_cloudFunctionHasBeenSet = true; m_cloudFunction = std::move(value); } inline void SetCloudFunction(const char* value) { m_cloudFunctionHasBeenSet = true; m_cloudFunction.assign(value); } inline CloudFunctionConfiguration& WithCloudFunction(const Aws::String& value) { SetCloudFunction(value); return *this;} inline CloudFunctionConfiguration& WithCloudFunction(Aws::String&& value) { SetCloudFunction(std::move(value)); return *this;} inline CloudFunctionConfiguration& WithCloudFunction(const char* value) { SetCloudFunction(value); return *this;} ///@} ///@{ /** *The role supporting the invocation of the Lambda function
*/ inline const Aws::String& GetInvocationRole() const{ return m_invocationRole; } inline bool InvocationRoleHasBeenSet() const { return m_invocationRoleHasBeenSet; } inline void SetInvocationRole(const Aws::String& value) { m_invocationRoleHasBeenSet = true; m_invocationRole = value; } inline void SetInvocationRole(Aws::String&& value) { m_invocationRoleHasBeenSet = true; m_invocationRole = std::move(value); } inline void SetInvocationRole(const char* value) { m_invocationRoleHasBeenSet = true; m_invocationRole.assign(value); } inline CloudFunctionConfiguration& WithInvocationRole(const Aws::String& value) { SetInvocationRole(value); return *this;} inline CloudFunctionConfiguration& WithInvocationRole(Aws::String&& value) { SetInvocationRole(std::move(value)); return *this;} inline CloudFunctionConfiguration& WithInvocationRole(const char* value) { SetInvocationRole(value); return *this;} ///@} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::Vector