/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This data type is deprecated. Use QueueConfiguration
* for the same purposes. This data type specifies the configuration for publishing
* messages to an Amazon Simple Queue Service (Amazon SQS) queue when Amazon S3
* detects specified events. See Also:
AWS
* API Reference
A collection of bucket events for which to send notifications.
*/ inline const Aws::VectorA collection of bucket events for which to send notifications.
*/ inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; } /** *A collection of bucket events for which to send notifications.
*/ inline void SetEvents(const Aws::VectorA collection of bucket events for which to send notifications.
*/ inline void SetEvents(Aws::VectorA collection of bucket events for which to send notifications.
*/ inline QueueConfigurationDeprecated& WithEvents(const Aws::VectorA collection of bucket events for which to send notifications.
*/ inline QueueConfigurationDeprecated& WithEvents(Aws::VectorA collection of bucket events for which to send notifications.
*/ inline QueueConfigurationDeprecated& AddEvents(const Event& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; } /** *A collection of bucket events for which to send notifications.
*/ inline QueueConfigurationDeprecated& AddEvents(Event&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; } /** *The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 * publishes a message when it detects events of the specified type.
*/ inline const Aws::String& GetQueue() const{ return m_queue; } /** *The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 * publishes a message when it detects events of the specified type.
*/ inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; } /** *The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 * publishes a message when it detects events of the specified type.
*/ inline void SetQueue(const Aws::String& value) { m_queueHasBeenSet = true; m_queue = value; } /** *The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 * publishes a message when it detects events of the specified type.
*/ inline void SetQueue(Aws::String&& value) { m_queueHasBeenSet = true; m_queue = std::move(value); } /** *The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 * publishes a message when it detects events of the specified type.
*/ inline void SetQueue(const char* value) { m_queueHasBeenSet = true; m_queue.assign(value); } /** *The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 * publishes a message when it detects events of the specified type.
*/ inline QueueConfigurationDeprecated& WithQueue(const Aws::String& value) { SetQueue(value); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 * publishes a message when it detects events of the specified type.
*/ inline QueueConfigurationDeprecated& WithQueue(Aws::String&& value) { SetQueue(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 * publishes a message when it detects events of the specified type.
*/ inline QueueConfigurationDeprecated& WithQueue(const char* value) { SetQueue(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet; Aws::Vector