/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details for an S3 bucket notification configuration.See Also:
* AWS
* API Reference
The list of events that trigger a notification.
*/ inline const Aws::VectorThe list of events that trigger a notification.
*/ inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; } /** *The list of events that trigger a notification.
*/ inline void SetEvents(const Aws::VectorThe list of events that trigger a notification.
*/ inline void SetEvents(Aws::VectorThe list of events that trigger a notification.
*/ inline AwsS3BucketNotificationConfigurationDetail& WithEvents(const Aws::VectorThe list of events that trigger a notification.
*/ inline AwsS3BucketNotificationConfigurationDetail& WithEvents(Aws::VectorThe list of events that trigger a notification.
*/ inline AwsS3BucketNotificationConfigurationDetail& AddEvents(const Aws::String& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; } /** *The list of events that trigger a notification.
*/ inline AwsS3BucketNotificationConfigurationDetail& AddEvents(Aws::String&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; } /** *The list of events that trigger a notification.
*/ inline AwsS3BucketNotificationConfigurationDetail& AddEvents(const char* value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; } /** *The filters that determine which S3 buckets generate notifications.
*/ inline const AwsS3BucketNotificationConfigurationFilter& GetFilter() const{ return m_filter; } /** *The filters that determine which S3 buckets generate notifications.
*/ inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } /** *The filters that determine which S3 buckets generate notifications.
*/ inline void SetFilter(const AwsS3BucketNotificationConfigurationFilter& value) { m_filterHasBeenSet = true; m_filter = value; } /** *The filters that determine which S3 buckets generate notifications.
*/ inline void SetFilter(AwsS3BucketNotificationConfigurationFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); } /** *The filters that determine which S3 buckets generate notifications.
*/ inline AwsS3BucketNotificationConfigurationDetail& WithFilter(const AwsS3BucketNotificationConfigurationFilter& value) { SetFilter(value); return *this;} /** *The filters that determine which S3 buckets generate notifications.
*/ inline AwsS3BucketNotificationConfigurationDetail& WithFilter(AwsS3BucketNotificationConfigurationFilter&& value) { SetFilter(std::move(value)); return *this;} /** *The ARN of the Lambda function, Amazon SQS queue, or Amazon SNS topic that * generates the notification.
*/ inline const Aws::String& GetDestination() const{ return m_destination; } /** *The ARN of the Lambda function, Amazon SQS queue, or Amazon SNS topic that * generates the notification.
*/ inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } /** *The ARN of the Lambda function, Amazon SQS queue, or Amazon SNS topic that * generates the notification.
*/ inline void SetDestination(const Aws::String& value) { m_destinationHasBeenSet = true; m_destination = value; } /** *The ARN of the Lambda function, Amazon SQS queue, or Amazon SNS topic that * generates the notification.
*/ inline void SetDestination(Aws::String&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); } /** *The ARN of the Lambda function, Amazon SQS queue, or Amazon SNS topic that * generates the notification.
*/ inline void SetDestination(const char* value) { m_destinationHasBeenSet = true; m_destination.assign(value); } /** *The ARN of the Lambda function, Amazon SQS queue, or Amazon SNS topic that * generates the notification.
*/ inline AwsS3BucketNotificationConfigurationDetail& WithDestination(const Aws::String& value) { SetDestination(value); return *this;} /** *The ARN of the Lambda function, Amazon SQS queue, or Amazon SNS topic that * generates the notification.
*/ inline AwsS3BucketNotificationConfigurationDetail& WithDestination(Aws::String&& value) { SetDestination(std::move(value)); return *this;} /** *The ARN of the Lambda function, Amazon SQS queue, or Amazon SNS topic that * generates the notification.
*/ inline AwsS3BucketNotificationConfigurationDetail& WithDestination(const char* value) { SetDestination(value); return *this;} /** *Indicates the type of notification. Notifications can be generated using * Lambda functions, Amazon SQS queues, or Amazon SNS topics, with corresponding * valid values as follows:
LambdaConfiguration
QueueConfiguration
* TopicConfiguration
Indicates the type of notification. Notifications can be generated using * Lambda functions, Amazon SQS queues, or Amazon SNS topics, with corresponding * valid values as follows:
LambdaConfiguration
QueueConfiguration
* TopicConfiguration
Indicates the type of notification. Notifications can be generated using * Lambda functions, Amazon SQS queues, or Amazon SNS topics, with corresponding * valid values as follows:
LambdaConfiguration
QueueConfiguration
* TopicConfiguration
Indicates the type of notification. Notifications can be generated using * Lambda functions, Amazon SQS queues, or Amazon SNS topics, with corresponding * valid values as follows:
LambdaConfiguration
QueueConfiguration
* TopicConfiguration
Indicates the type of notification. Notifications can be generated using * Lambda functions, Amazon SQS queues, or Amazon SNS topics, with corresponding * valid values as follows:
LambdaConfiguration
QueueConfiguration
* TopicConfiguration
Indicates the type of notification. Notifications can be generated using * Lambda functions, Amazon SQS queues, or Amazon SNS topics, with corresponding * valid values as follows:
LambdaConfiguration
QueueConfiguration
* TopicConfiguration
Indicates the type of notification. Notifications can be generated using * Lambda functions, Amazon SQS queues, or Amazon SNS topics, with corresponding * valid values as follows:
LambdaConfiguration
QueueConfiguration
* TopicConfiguration
Indicates the type of notification. Notifications can be generated using * Lambda functions, Amazon SQS queues, or Amazon SNS topics, with corresponding * valid values as follows:
LambdaConfiguration
QueueConfiguration
* TopicConfiguration