AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetBucketNotificationConfigurationResult.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3-crt/model/EventBridgeConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/s3-crt/model/TopicConfiguration.h>
12#include <aws/s3-crt/model/QueueConfiguration.h>
13#include <aws/s3-crt/model/LambdaFunctionConfiguration.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Xml
24{
25 class XmlDocument;
26} // namespace Xml
27} // namespace Utils
28namespace S3Crt
29{
30namespace Model
31{
40 {
41 public:
45
46
48
52 inline const Aws::Vector<TopicConfiguration>& GetTopicConfigurations() const{ return m_topicConfigurations; }
53 inline void SetTopicConfigurations(const Aws::Vector<TopicConfiguration>& value) { m_topicConfigurations = value; }
54 inline void SetTopicConfigurations(Aws::Vector<TopicConfiguration>&& value) { m_topicConfigurations = std::move(value); }
57 inline GetBucketNotificationConfigurationResult& AddTopicConfigurations(const TopicConfiguration& value) { m_topicConfigurations.push_back(value); return *this; }
58 inline GetBucketNotificationConfigurationResult& AddTopicConfigurations(TopicConfiguration&& value) { m_topicConfigurations.push_back(std::move(value)); return *this; }
60
62
66 inline const Aws::Vector<QueueConfiguration>& GetQueueConfigurations() const{ return m_queueConfigurations; }
67 inline void SetQueueConfigurations(const Aws::Vector<QueueConfiguration>& value) { m_queueConfigurations = value; }
68 inline void SetQueueConfigurations(Aws::Vector<QueueConfiguration>&& value) { m_queueConfigurations = std::move(value); }
71 inline GetBucketNotificationConfigurationResult& AddQueueConfigurations(const QueueConfiguration& value) { m_queueConfigurations.push_back(value); return *this; }
72 inline GetBucketNotificationConfigurationResult& AddQueueConfigurations(QueueConfiguration&& value) { m_queueConfigurations.push_back(std::move(value)); return *this; }
74
76
80 inline const Aws::Vector<LambdaFunctionConfiguration>& GetLambdaFunctionConfigurations() const{ return m_lambdaFunctionConfigurations; }
81 inline void SetLambdaFunctionConfigurations(const Aws::Vector<LambdaFunctionConfiguration>& value) { m_lambdaFunctionConfigurations = value; }
82 inline void SetLambdaFunctionConfigurations(Aws::Vector<LambdaFunctionConfiguration>&& value) { m_lambdaFunctionConfigurations = std::move(value); }
85 inline GetBucketNotificationConfigurationResult& AddLambdaFunctionConfigurations(const LambdaFunctionConfiguration& value) { m_lambdaFunctionConfigurations.push_back(value); return *this; }
86 inline GetBucketNotificationConfigurationResult& AddLambdaFunctionConfigurations(LambdaFunctionConfiguration&& value) { m_lambdaFunctionConfigurations.push_back(std::move(value)); return *this; }
88
90
93 inline const EventBridgeConfiguration& GetEventBridgeConfiguration() const{ return m_eventBridgeConfiguration; }
94 inline void SetEventBridgeConfiguration(const EventBridgeConfiguration& value) { m_eventBridgeConfiguration = value; }
95 inline void SetEventBridgeConfiguration(EventBridgeConfiguration&& value) { m_eventBridgeConfiguration = std::move(value); }
99
101
102 inline const Aws::String& GetRequestId() const{ return m_requestId; }
103 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
104 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
105 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
107 inline GetBucketNotificationConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
108 inline GetBucketNotificationConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
110 private:
111
112 Aws::Vector<TopicConfiguration> m_topicConfigurations;
113
114 Aws::Vector<QueueConfiguration> m_queueConfigurations;
115
116 Aws::Vector<LambdaFunctionConfiguration> m_lambdaFunctionConfigurations;
117
118 EventBridgeConfiguration m_eventBridgeConfiguration;
119
120 Aws::String m_requestId;
121 };
122
123} // namespace Model
124} // namespace S3Crt
125} // namespace Aws
GetBucketNotificationConfigurationResult & AddQueueConfigurations(QueueConfiguration &&value)
GetBucketNotificationConfigurationResult & WithEventBridgeConfiguration(EventBridgeConfiguration &&value)
void SetQueueConfigurations(const Aws::Vector< QueueConfiguration > &value)
GetBucketNotificationConfigurationResult & AddLambdaFunctionConfigurations(LambdaFunctionConfiguration &&value)
GetBucketNotificationConfigurationResult & WithRequestId(const Aws::String &value)
GetBucketNotificationConfigurationResult & WithQueueConfigurations(Aws::Vector< QueueConfiguration > &&value)
GetBucketNotificationConfigurationResult & WithRequestId(Aws::String &&value)
GetBucketNotificationConfigurationResult & AddTopicConfigurations(TopicConfiguration &&value)
GetBucketNotificationConfigurationResult & AddLambdaFunctionConfigurations(const LambdaFunctionConfiguration &value)
GetBucketNotificationConfigurationResult & WithQueueConfigurations(const Aws::Vector< QueueConfiguration > &value)
const Aws::Vector< LambdaFunctionConfiguration > & GetLambdaFunctionConfigurations() const
GetBucketNotificationConfigurationResult & WithRequestId(const char *value)
AWS_S3CRT_API GetBucketNotificationConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetBucketNotificationConfigurationResult & WithTopicConfigurations(const Aws::Vector< TopicConfiguration > &value)
void SetLambdaFunctionConfigurations(const Aws::Vector< LambdaFunctionConfiguration > &value)
GetBucketNotificationConfigurationResult & AddTopicConfigurations(const TopicConfiguration &value)
void SetLambdaFunctionConfigurations(Aws::Vector< LambdaFunctionConfiguration > &&value)
GetBucketNotificationConfigurationResult & WithTopicConfigurations(Aws::Vector< TopicConfiguration > &&value)
GetBucketNotificationConfigurationResult & WithLambdaFunctionConfigurations(const Aws::Vector< LambdaFunctionConfiguration > &value)
AWS_S3CRT_API GetBucketNotificationConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetBucketNotificationConfigurationResult & WithLambdaFunctionConfigurations(Aws::Vector< LambdaFunctionConfiguration > &&value)
GetBucketNotificationConfigurationResult & WithEventBridgeConfiguration(const EventBridgeConfiguration &value)
void SetTopicConfigurations(const Aws::Vector< TopicConfiguration > &value)
GetBucketNotificationConfigurationResult & AddQueueConfigurations(const QueueConfiguration &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument