/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Identifies See Also:
AWS
* API Reference
An Amazon Resource Name (ARN) that represents an Lambda function to be * triggered by PUT object actions on the associated local Amazon S3 resource.
*/ inline const Aws::String& GetLambdaArn() const{ return m_lambdaArn; } /** *An Amazon Resource Name (ARN) that represents an Lambda function to be * triggered by PUT object actions on the associated local Amazon S3 resource.
*/ inline bool LambdaArnHasBeenSet() const { return m_lambdaArnHasBeenSet; } /** *An Amazon Resource Name (ARN) that represents an Lambda function to be * triggered by PUT object actions on the associated local Amazon S3 resource.
*/ inline void SetLambdaArn(const Aws::String& value) { m_lambdaArnHasBeenSet = true; m_lambdaArn = value; } /** *An Amazon Resource Name (ARN) that represents an Lambda function to be * triggered by PUT object actions on the associated local Amazon S3 resource.
*/ inline void SetLambdaArn(Aws::String&& value) { m_lambdaArnHasBeenSet = true; m_lambdaArn = std::move(value); } /** *An Amazon Resource Name (ARN) that represents an Lambda function to be * triggered by PUT object actions on the associated local Amazon S3 resource.
*/ inline void SetLambdaArn(const char* value) { m_lambdaArnHasBeenSet = true; m_lambdaArn.assign(value); } /** *An Amazon Resource Name (ARN) that represents an Lambda function to be * triggered by PUT object actions on the associated local Amazon S3 resource.
*/ inline LambdaResource& WithLambdaArn(const Aws::String& value) { SetLambdaArn(value); return *this;} /** *An Amazon Resource Name (ARN) that represents an Lambda function to be * triggered by PUT object actions on the associated local Amazon S3 resource.
*/ inline LambdaResource& WithLambdaArn(Aws::String&& value) { SetLambdaArn(std::move(value)); return *this;} /** *An Amazon Resource Name (ARN) that represents an Lambda function to be * triggered by PUT object actions on the associated local Amazon S3 resource.
*/ inline LambdaResource& WithLambdaArn(const char* value) { SetLambdaArn(value); return *this;} /** *The array of ARNs for S3Resource objects to trigger the * LambdaResource objects associated with this job.
*/ inline const Aws::VectorThe array of ARNs for S3Resource objects to trigger the * LambdaResource objects associated with this job.
*/ inline bool EventTriggersHasBeenSet() const { return m_eventTriggersHasBeenSet; } /** *The array of ARNs for S3Resource objects to trigger the * LambdaResource objects associated with this job.
*/ inline void SetEventTriggers(const Aws::VectorThe array of ARNs for S3Resource objects to trigger the * LambdaResource objects associated with this job.
*/ inline void SetEventTriggers(Aws::VectorThe array of ARNs for S3Resource objects to trigger the * LambdaResource objects associated with this job.
*/ inline LambdaResource& WithEventTriggers(const Aws::VectorThe array of ARNs for S3Resource objects to trigger the * LambdaResource objects associated with this job.
*/ inline LambdaResource& WithEventTriggers(Aws::VectorThe array of ARNs for S3Resource objects to trigger the * LambdaResource objects associated with this job.
*/ inline LambdaResource& AddEventTriggers(const EventTriggerDefinition& value) { m_eventTriggersHasBeenSet = true; m_eventTriggers.push_back(value); return *this; } /** *The array of ARNs for S3Resource objects to trigger the * LambdaResource objects associated with this job.
*/ inline LambdaResource& AddEventTriggers(EventTriggerDefinition&& value) { m_eventTriggersHasBeenSet = true; m_eventTriggers.push_back(std::move(value)); return *this; } private: Aws::String m_lambdaArn; bool m_lambdaArnHasBeenSet = false; Aws::Vector