/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A container for specifying the notification configuration of the bucket. If
* this element is empty, notifications are turned off for the
* bucket.See Also:
AWS
* API Reference
The topic to which notifications are sent and the events for which * notifications are generated.
*/ inline const Aws::VectorThe topic to which notifications are sent and the events for which * notifications are generated.
*/ inline bool TopicConfigurationsHasBeenSet() const { return m_topicConfigurationsHasBeenSet; } /** *The topic to which notifications are sent and the events for which * notifications are generated.
*/ inline void SetTopicConfigurations(const Aws::VectorThe topic to which notifications are sent and the events for which * notifications are generated.
*/ inline void SetTopicConfigurations(Aws::VectorThe topic to which notifications are sent and the events for which * notifications are generated.
*/ inline NotificationConfiguration& WithTopicConfigurations(const Aws::VectorThe topic to which notifications are sent and the events for which * notifications are generated.
*/ inline NotificationConfiguration& WithTopicConfigurations(Aws::VectorThe topic to which notifications are sent and the events for which * notifications are generated.
*/ inline NotificationConfiguration& AddTopicConfigurations(const TopicConfiguration& value) { m_topicConfigurationsHasBeenSet = true; m_topicConfigurations.push_back(value); return *this; } /** *The topic to which notifications are sent and the events for which * notifications are generated.
*/ inline NotificationConfiguration& AddTopicConfigurations(TopicConfiguration&& value) { m_topicConfigurationsHasBeenSet = true; m_topicConfigurations.push_back(std::move(value)); return *this; } /** *The Amazon Simple Queue Service queues to publish messages to and the events * for which to publish messages.
*/ inline const Aws::VectorThe Amazon Simple Queue Service queues to publish messages to and the events * for which to publish messages.
*/ inline bool QueueConfigurationsHasBeenSet() const { return m_queueConfigurationsHasBeenSet; } /** *The Amazon Simple Queue Service queues to publish messages to and the events * for which to publish messages.
*/ inline void SetQueueConfigurations(const Aws::VectorThe Amazon Simple Queue Service queues to publish messages to and the events * for which to publish messages.
*/ inline void SetQueueConfigurations(Aws::VectorThe Amazon Simple Queue Service queues to publish messages to and the events * for which to publish messages.
*/ inline NotificationConfiguration& WithQueueConfigurations(const Aws::VectorThe Amazon Simple Queue Service queues to publish messages to and the events * for which to publish messages.
*/ inline NotificationConfiguration& WithQueueConfigurations(Aws::VectorThe Amazon Simple Queue Service queues to publish messages to and the events * for which to publish messages.
*/ inline NotificationConfiguration& AddQueueConfigurations(const QueueConfiguration& value) { m_queueConfigurationsHasBeenSet = true; m_queueConfigurations.push_back(value); return *this; } /** *The Amazon Simple Queue Service queues to publish messages to and the events * for which to publish messages.
*/ inline NotificationConfiguration& AddQueueConfigurations(QueueConfiguration&& value) { m_queueConfigurationsHasBeenSet = true; m_queueConfigurations.push_back(std::move(value)); return *this; } /** *Describes the Lambda functions to invoke and the events for which to invoke * them.
*/ inline const Aws::VectorDescribes the Lambda functions to invoke and the events for which to invoke * them.
*/ inline bool LambdaFunctionConfigurationsHasBeenSet() const { return m_lambdaFunctionConfigurationsHasBeenSet; } /** *Describes the Lambda functions to invoke and the events for which to invoke * them.
*/ inline void SetLambdaFunctionConfigurations(const Aws::VectorDescribes the Lambda functions to invoke and the events for which to invoke * them.
*/ inline void SetLambdaFunctionConfigurations(Aws::VectorDescribes the Lambda functions to invoke and the events for which to invoke * them.
*/ inline NotificationConfiguration& WithLambdaFunctionConfigurations(const Aws::VectorDescribes the Lambda functions to invoke and the events for which to invoke * them.
*/ inline NotificationConfiguration& WithLambdaFunctionConfigurations(Aws::VectorDescribes the Lambda functions to invoke and the events for which to invoke * them.
*/ inline NotificationConfiguration& AddLambdaFunctionConfigurations(const LambdaFunctionConfiguration& value) { m_lambdaFunctionConfigurationsHasBeenSet = true; m_lambdaFunctionConfigurations.push_back(value); return *this; } /** *Describes the Lambda functions to invoke and the events for which to invoke * them.
*/ inline NotificationConfiguration& AddLambdaFunctionConfigurations(LambdaFunctionConfiguration&& value) { m_lambdaFunctionConfigurationsHasBeenSet = true; m_lambdaFunctionConfigurations.push_back(std::move(value)); return *this; } private: Aws::Vector