diff options
| author | dakovalkov <[email protected]> | 2023-12-03 13:33:55 +0300 |
|---|---|---|
| committer | dakovalkov <[email protected]> | 2023-12-03 14:04:39 +0300 |
| commit | 2a718325637e5302334b6d0a6430f63168f8dbb3 (patch) | |
| tree | 64be81080b7df9ec1d86d053a0c394ae53fcf1fe /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/NotificationConfiguration.cpp | |
| parent | e0d94a470142d95c3007e9c5d80380994940664a (diff) | |
Update contrib/libs/aws-sdk-cpp to 1.11.37
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/NotificationConfiguration.cpp')
| -rw-r--r-- | contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/NotificationConfiguration.cpp | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/NotificationConfiguration.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/NotificationConfiguration.cpp index bb62ecb84de..b3b79d4a5f1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/NotificationConfiguration.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/NotificationConfiguration.cpp @@ -23,14 +23,16 @@ namespace Model NotificationConfiguration::NotificationConfiguration() : m_topicConfigurationsHasBeenSet(false), m_queueConfigurationsHasBeenSet(false), - m_lambdaFunctionConfigurationsHasBeenSet(false) + m_lambdaFunctionConfigurationsHasBeenSet(false), + m_eventBridgeConfigurationHasBeenSet(false) { } NotificationConfiguration::NotificationConfiguration(const XmlNode& xmlNode) : m_topicConfigurationsHasBeenSet(false), m_queueConfigurationsHasBeenSet(false), - m_lambdaFunctionConfigurationsHasBeenSet(false) + m_lambdaFunctionConfigurationsHasBeenSet(false), + m_eventBridgeConfigurationHasBeenSet(false) { *this = xmlNode; } @@ -77,6 +79,12 @@ NotificationConfiguration& NotificationConfiguration::operator =(const XmlNode& m_lambdaFunctionConfigurationsHasBeenSet = true; } + XmlNode eventBridgeConfigurationNode = resultNode.FirstChild("EventBridgeConfiguration"); + if(!eventBridgeConfigurationNode.IsNull()) + { + m_eventBridgeConfiguration = eventBridgeConfigurationNode; + m_eventBridgeConfigurationHasBeenSet = true; + } } return *this; @@ -112,6 +120,12 @@ void NotificationConfiguration::AddToNode(XmlNode& parentNode) const } } + if(m_eventBridgeConfigurationHasBeenSet) + { + XmlNode eventBridgeConfigurationNode = parentNode.CreateChildElement("EventBridgeConfiguration"); + m_eventBridgeConfiguration.AddToNode(eventBridgeConfigurationNode); + } + } } // namespace Model |
