aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfiguration.h
diff options
context:
space:
mode:
authordakovalkov <dakovalkov@yandex-team.com>2023-12-03 13:33:55 +0300
committerdakovalkov <dakovalkov@yandex-team.com>2023-12-03 14:04:39 +0300
commit2a718325637e5302334b6d0a6430f63168f8dbb3 (patch)
tree64be81080b7df9ec1d86d053a0c394ae53fcf1fe /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfiguration.h
parente0d94a470142d95c3007e9c5d80380994940664a (diff)
downloadydb-2a718325637e5302334b6d0a6430f63168f8dbb3.tar.gz
Update contrib/libs/aws-sdk-cpp to 1.11.37
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfiguration.h')
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfiguration.h83
1 files changed, 59 insertions, 24 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfiguration.h
index f479b46490..24f0e6cbc0 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfiguration.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfiguration.h
@@ -6,6 +6,7 @@
#pragma once
#include <aws/s3/S3_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
+#include <aws/s3/model/EventBridgeConfiguration.h>
#include <aws/s3/model/TopicConfiguration.h>
#include <aws/s3/model/QueueConfiguration.h>
#include <aws/s3/model/LambdaFunctionConfiguration.h>
@@ -32,14 +33,14 @@ namespace Model
* href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NotificationConfiguration">AWS
* API Reference</a></p>
*/
- class AWS_S3_API NotificationConfiguration
+ class NotificationConfiguration
{
public:
- NotificationConfiguration();
- NotificationConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode);
- NotificationConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
+ AWS_S3_API NotificationConfiguration();
+ AWS_S3_API NotificationConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode);
+ AWS_S3_API NotificationConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
- void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
+ AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
/**
@@ -141,63 +142,97 @@ namespace Model
/**
- * <p>Describes the AWS Lambda functions to invoke and the events for which to
- * invoke them.</p>
+ * <p>Describes the Lambda functions to invoke and the events for which to invoke
+ * them.</p>
*/
inline const Aws::Vector<LambdaFunctionConfiguration>& GetLambdaFunctionConfigurations() const{ return m_lambdaFunctionConfigurations; }
/**
- * <p>Describes the AWS Lambda functions to invoke and the events for which to
- * invoke them.</p>
+ * <p>Describes the Lambda functions to invoke and the events for which to invoke
+ * them.</p>
*/
inline bool LambdaFunctionConfigurationsHasBeenSet() const { return m_lambdaFunctionConfigurationsHasBeenSet; }
/**
- * <p>Describes the AWS Lambda functions to invoke and the events for which to
- * invoke them.</p>
+ * <p>Describes the Lambda functions to invoke and the events for which to invoke
+ * them.</p>
*/
inline void SetLambdaFunctionConfigurations(const Aws::Vector<LambdaFunctionConfiguration>& value) { m_lambdaFunctionConfigurationsHasBeenSet = true; m_lambdaFunctionConfigurations = value; }
/**
- * <p>Describes the AWS Lambda functions to invoke and the events for which to
- * invoke them.</p>
+ * <p>Describes the Lambda functions to invoke and the events for which to invoke
+ * them.</p>
*/
inline void SetLambdaFunctionConfigurations(Aws::Vector<LambdaFunctionConfiguration>&& value) { m_lambdaFunctionConfigurationsHasBeenSet = true; m_lambdaFunctionConfigurations = std::move(value); }
/**
- * <p>Describes the AWS Lambda functions to invoke and the events for which to
- * invoke them.</p>
+ * <p>Describes the Lambda functions to invoke and the events for which to invoke
+ * them.</p>
*/
inline NotificationConfiguration& WithLambdaFunctionConfigurations(const Aws::Vector<LambdaFunctionConfiguration>& value) { SetLambdaFunctionConfigurations(value); return *this;}
/**
- * <p>Describes the AWS Lambda functions to invoke and the events for which to
- * invoke them.</p>
+ * <p>Describes the Lambda functions to invoke and the events for which to invoke
+ * them.</p>
*/
inline NotificationConfiguration& WithLambdaFunctionConfigurations(Aws::Vector<LambdaFunctionConfiguration>&& value) { SetLambdaFunctionConfigurations(std::move(value)); return *this;}
/**
- * <p>Describes the AWS Lambda functions to invoke and the events for which to
- * invoke them.</p>
+ * <p>Describes the Lambda functions to invoke and the events for which to invoke
+ * them.</p>
*/
inline NotificationConfiguration& AddLambdaFunctionConfigurations(const LambdaFunctionConfiguration& value) { m_lambdaFunctionConfigurationsHasBeenSet = true; m_lambdaFunctionConfigurations.push_back(value); return *this; }
/**
- * <p>Describes the AWS Lambda functions to invoke and the events for which to
- * invoke them.</p>
+ * <p>Describes the Lambda functions to invoke and the events for which to invoke
+ * them.</p>
*/
inline NotificationConfiguration& AddLambdaFunctionConfigurations(LambdaFunctionConfiguration&& value) { m_lambdaFunctionConfigurationsHasBeenSet = true; m_lambdaFunctionConfigurations.push_back(std::move(value)); return *this; }
+
+ /**
+ * <p>Enables delivery of events to Amazon EventBridge.</p>
+ */
+ inline const EventBridgeConfiguration& GetEventBridgeConfiguration() const{ return m_eventBridgeConfiguration; }
+
+ /**
+ * <p>Enables delivery of events to Amazon EventBridge.</p>
+ */
+ inline bool EventBridgeConfigurationHasBeenSet() const { return m_eventBridgeConfigurationHasBeenSet; }
+
+ /**
+ * <p>Enables delivery of events to Amazon EventBridge.</p>
+ */
+ inline void SetEventBridgeConfiguration(const EventBridgeConfiguration& value) { m_eventBridgeConfigurationHasBeenSet = true; m_eventBridgeConfiguration = value; }
+
+ /**
+ * <p>Enables delivery of events to Amazon EventBridge.</p>
+ */
+ inline void SetEventBridgeConfiguration(EventBridgeConfiguration&& value) { m_eventBridgeConfigurationHasBeenSet = true; m_eventBridgeConfiguration = std::move(value); }
+
+ /**
+ * <p>Enables delivery of events to Amazon EventBridge.</p>
+ */
+ inline NotificationConfiguration& WithEventBridgeConfiguration(const EventBridgeConfiguration& value) { SetEventBridgeConfiguration(value); return *this;}
+
+ /**
+ * <p>Enables delivery of events to Amazon EventBridge.</p>
+ */
+ inline NotificationConfiguration& WithEventBridgeConfiguration(EventBridgeConfiguration&& value) { SetEventBridgeConfiguration(std::move(value)); return *this;}
+
private:
Aws::Vector<TopicConfiguration> m_topicConfigurations;
- bool m_topicConfigurationsHasBeenSet;
+ bool m_topicConfigurationsHasBeenSet = false;
Aws::Vector<QueueConfiguration> m_queueConfigurations;
- bool m_queueConfigurationsHasBeenSet;
+ bool m_queueConfigurationsHasBeenSet = false;
Aws::Vector<LambdaFunctionConfiguration> m_lambdaFunctionConfigurations;
- bool m_lambdaFunctionConfigurationsHasBeenSet;
+ bool m_lambdaFunctionConfigurationsHasBeenSet = false;
+
+ EventBridgeConfiguration m_eventBridgeConfiguration;
+ bool m_eventBridgeConfigurationHasBeenSet = false;
};
} // namespace Model