/** * 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 Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Snowball { namespace Model { /** *

The container for the * EventTriggerDefinition$EventResourceARN.

See Also:

AWS * API Reference

*/ class EventTriggerDefinition { public: AWS_SNOWBALL_API EventTriggerDefinition(); AWS_SNOWBALL_API EventTriggerDefinition(Aws::Utils::Json::JsonView jsonValue); AWS_SNOWBALL_API EventTriggerDefinition& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an * Lambda function's event trigger associated with this job.

*/ inline const Aws::String& GetEventResourceARN() const{ return m_eventResourceARN; } /** *

The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an * Lambda function's event trigger associated with this job.

*/ inline bool EventResourceARNHasBeenSet() const { return m_eventResourceARNHasBeenSet; } /** *

The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an * Lambda function's event trigger associated with this job.

*/ inline void SetEventResourceARN(const Aws::String& value) { m_eventResourceARNHasBeenSet = true; m_eventResourceARN = value; } /** *

The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an * Lambda function's event trigger associated with this job.

*/ inline void SetEventResourceARN(Aws::String&& value) { m_eventResourceARNHasBeenSet = true; m_eventResourceARN = std::move(value); } /** *

The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an * Lambda function's event trigger associated with this job.

*/ inline void SetEventResourceARN(const char* value) { m_eventResourceARNHasBeenSet = true; m_eventResourceARN.assign(value); } /** *

The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an * Lambda function's event trigger associated with this job.

*/ inline EventTriggerDefinition& WithEventResourceARN(const Aws::String& value) { SetEventResourceARN(value); return *this;} /** *

The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an * Lambda function's event trigger associated with this job.

*/ inline EventTriggerDefinition& WithEventResourceARN(Aws::String&& value) { SetEventResourceARN(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an * Lambda function's event trigger associated with this job.

*/ inline EventTriggerDefinition& WithEventResourceARN(const char* value) { SetEventResourceARN(value); return *this;} private: Aws::String m_eventResourceARN; bool m_eventResourceARNHasBeenSet = false; }; } // namespace Model } // namespace Snowball } // namespace Aws