This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-snowball/include/aws/snowball/model/EventTriggerDefinition.h

98 lines
3.4 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/snowball/Snowball_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Snowball
{
namespace Model
{
/**
* <p>The container for the
* <a>EventTriggerDefinition$EventResourceARN</a>.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/EventTriggerDefinition">AWS
* API Reference</a></p>
*/
class AWS_SNOWBALL_API EventTriggerDefinition
{
public:
EventTriggerDefinition();
EventTriggerDefinition(Aws::Utils::Json::JsonView jsonValue);
EventTriggerDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an
* AWS Lambda function's event trigger associated with this job.</p>
*/
inline const Aws::String& GetEventResourceARN() const{ return m_eventResourceARN; }
/**
* <p>The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an
* AWS Lambda function's event trigger associated with this job.</p>
*/
inline bool EventResourceARNHasBeenSet() const { return m_eventResourceARNHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an
* AWS Lambda function's event trigger associated with this job.</p>
*/
inline void SetEventResourceARN(const Aws::String& value) { m_eventResourceARNHasBeenSet = true; m_eventResourceARN = value; }
/**
* <p>The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an
* AWS Lambda function's event trigger associated with this job.</p>
*/
inline void SetEventResourceARN(Aws::String&& value) { m_eventResourceARNHasBeenSet = true; m_eventResourceARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an
* AWS Lambda function's event trigger associated with this job.</p>
*/
inline void SetEventResourceARN(const char* value) { m_eventResourceARNHasBeenSet = true; m_eventResourceARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an
* AWS Lambda function's event trigger associated with this job.</p>
*/
inline EventTriggerDefinition& WithEventResourceARN(const Aws::String& value) { SetEventResourceARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an
* AWS Lambda function's event trigger associated with this job.</p>
*/
inline EventTriggerDefinition& WithEventResourceARN(Aws::String&& value) { SetEventResourceARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an
* AWS Lambda function's event trigger associated with this job.</p>
*/
inline EventTriggerDefinition& WithEventResourceARN(const char* value) { SetEventResourceARN(value); return *this;}
private:
Aws::String m_eventResourceARN;
bool m_eventResourceARNHasBeenSet;
};
} // namespace Model
} // namespace Snowball
} // namespace Aws