diff options
author | Devtools Arcadia <arcadia-devtools@yandex-team.ru> | 2022-02-07 18:08:42 +0300 |
---|---|---|
committer | Devtools Arcadia <arcadia-devtools@mous.vla.yp-c.yandex.net> | 2022-02-07 18:08:42 +0300 |
commit | 1110808a9d39d4b808aef724c861a2e1a38d2a69 (patch) | |
tree | e26c9fed0de5d9873cce7e00bc214573dc2195b7 /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfigurationDeprecated.h | |
download | ydb-1110808a9d39d4b808aef724c861a2e1a38d2a69.tar.gz |
intermediate changes
ref:cde9a383711a11544ce7e107a78147fb96cc4029
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfigurationDeprecated.h')
-rw-r--r-- | contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfigurationDeprecated.h | 167 |
1 files changed, 167 insertions, 0 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfigurationDeprecated.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfigurationDeprecated.h new file mode 100644 index 0000000000..fabb46afcf --- /dev/null +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfigurationDeprecated.h @@ -0,0 +1,167 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/model/TopicConfigurationDeprecated.h> +#include <aws/s3/model/QueueConfigurationDeprecated.h> +#include <aws/s3/model/CloudFunctionConfiguration.h> +#include <utility> + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + + class AWS_S3_API NotificationConfigurationDeprecated + { + public: + NotificationConfigurationDeprecated(); + NotificationConfigurationDeprecated(const Aws::Utils::Xml::XmlNode& xmlNode); + NotificationConfigurationDeprecated& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + /** + * <p>This data type is deprecated. A container for specifying the configuration + * for publication of messages to an Amazon Simple Notification Service (Amazon + * SNS) topic when Amazon S3 detects specified events. </p> + */ + inline const TopicConfigurationDeprecated& GetTopicConfiguration() const{ return m_topicConfiguration; } + + /** + * <p>This data type is deprecated. A container for specifying the configuration + * for publication of messages to an Amazon Simple Notification Service (Amazon + * SNS) topic when Amazon S3 detects specified events. </p> + */ + inline bool TopicConfigurationHasBeenSet() const { return m_topicConfigurationHasBeenSet; } + + /** + * <p>This data type is deprecated. A container for specifying the configuration + * for publication of messages to an Amazon Simple Notification Service (Amazon + * SNS) topic when Amazon S3 detects specified events. </p> + */ + inline void SetTopicConfiguration(const TopicConfigurationDeprecated& value) { m_topicConfigurationHasBeenSet = true; m_topicConfiguration = value; } + + /** + * <p>This data type is deprecated. A container for specifying the configuration + * for publication of messages to an Amazon Simple Notification Service (Amazon + * SNS) topic when Amazon S3 detects specified events. </p> + */ + inline void SetTopicConfiguration(TopicConfigurationDeprecated&& value) { m_topicConfigurationHasBeenSet = true; m_topicConfiguration = std::move(value); } + + /** + * <p>This data type is deprecated. A container for specifying the configuration + * for publication of messages to an Amazon Simple Notification Service (Amazon + * SNS) topic when Amazon S3 detects specified events. </p> + */ + inline NotificationConfigurationDeprecated& WithTopicConfiguration(const TopicConfigurationDeprecated& value) { SetTopicConfiguration(value); return *this;} + + /** + * <p>This data type is deprecated. A container for specifying the configuration + * for publication of messages to an Amazon Simple Notification Service (Amazon + * SNS) topic when Amazon S3 detects specified events. </p> + */ + inline NotificationConfigurationDeprecated& WithTopicConfiguration(TopicConfigurationDeprecated&& value) { SetTopicConfiguration(std::move(value)); return *this;} + + + /** + * <p>This data type is deprecated. This data type specifies the configuration for + * publishing messages to an Amazon Simple Queue Service (Amazon SQS) queue when + * Amazon S3 detects specified events. </p> + */ + inline const QueueConfigurationDeprecated& GetQueueConfiguration() const{ return m_queueConfiguration; } + + /** + * <p>This data type is deprecated. This data type specifies the configuration for + * publishing messages to an Amazon Simple Queue Service (Amazon SQS) queue when + * Amazon S3 detects specified events. </p> + */ + inline bool QueueConfigurationHasBeenSet() const { return m_queueConfigurationHasBeenSet; } + + /** + * <p>This data type is deprecated. This data type specifies the configuration for + * publishing messages to an Amazon Simple Queue Service (Amazon SQS) queue when + * Amazon S3 detects specified events. </p> + */ + inline void SetQueueConfiguration(const QueueConfigurationDeprecated& value) { m_queueConfigurationHasBeenSet = true; m_queueConfiguration = value; } + + /** + * <p>This data type is deprecated. This data type specifies the configuration for + * publishing messages to an Amazon Simple Queue Service (Amazon SQS) queue when + * Amazon S3 detects specified events. </p> + */ + inline void SetQueueConfiguration(QueueConfigurationDeprecated&& value) { m_queueConfigurationHasBeenSet = true; m_queueConfiguration = std::move(value); } + + /** + * <p>This data type is deprecated. This data type specifies the configuration for + * publishing messages to an Amazon Simple Queue Service (Amazon SQS) queue when + * Amazon S3 detects specified events. </p> + */ + inline NotificationConfigurationDeprecated& WithQueueConfiguration(const QueueConfigurationDeprecated& value) { SetQueueConfiguration(value); return *this;} + + /** + * <p>This data type is deprecated. This data type specifies the configuration for + * publishing messages to an Amazon Simple Queue Service (Amazon SQS) queue when + * Amazon S3 detects specified events. </p> + */ + inline NotificationConfigurationDeprecated& WithQueueConfiguration(QueueConfigurationDeprecated&& value) { SetQueueConfiguration(std::move(value)); return *this;} + + + /** + * <p>Container for specifying the AWS Lambda notification configuration.</p> + */ + inline const CloudFunctionConfiguration& GetCloudFunctionConfiguration() const{ return m_cloudFunctionConfiguration; } + + /** + * <p>Container for specifying the AWS Lambda notification configuration.</p> + */ + inline bool CloudFunctionConfigurationHasBeenSet() const { return m_cloudFunctionConfigurationHasBeenSet; } + + /** + * <p>Container for specifying the AWS Lambda notification configuration.</p> + */ + inline void SetCloudFunctionConfiguration(const CloudFunctionConfiguration& value) { m_cloudFunctionConfigurationHasBeenSet = true; m_cloudFunctionConfiguration = value; } + + /** + * <p>Container for specifying the AWS Lambda notification configuration.</p> + */ + inline void SetCloudFunctionConfiguration(CloudFunctionConfiguration&& value) { m_cloudFunctionConfigurationHasBeenSet = true; m_cloudFunctionConfiguration = std::move(value); } + + /** + * <p>Container for specifying the AWS Lambda notification configuration.</p> + */ + inline NotificationConfigurationDeprecated& WithCloudFunctionConfiguration(const CloudFunctionConfiguration& value) { SetCloudFunctionConfiguration(value); return *this;} + + /** + * <p>Container for specifying the AWS Lambda notification configuration.</p> + */ + inline NotificationConfigurationDeprecated& WithCloudFunctionConfiguration(CloudFunctionConfiguration&& value) { SetCloudFunctionConfiguration(std::move(value)); return *this;} + + private: + + TopicConfigurationDeprecated m_topicConfiguration; + bool m_topicConfigurationHasBeenSet; + + QueueConfigurationDeprecated m_queueConfiguration; + bool m_queueConfigurationHasBeenSet; + + CloudFunctionConfiguration m_cloudFunctionConfiguration; + bool m_cloudFunctionConfigurationHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws |