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/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3/model/EventBridgeConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/s3/model/TopicConfiguration.h>
12#include <aws/s3/model/QueueConfiguration.h>
13#include <aws/s3/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 S3
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 S3
125} // namespace Aws
GetBucketNotificationConfigurationResult & AddTopicConfigurations(TopicConfiguration &&value)
GetBucketNotificationConfigurationResult & AddTopicConfigurations(const TopicConfiguration &value)
GetBucketNotificationConfigurationResult & AddLambdaFunctionConfigurations(LambdaFunctionConfiguration &&value)
GetBucketNotificationConfigurationResult & WithRequestId(const Aws::String &value)
void SetLambdaFunctionConfigurations(Aws::Vector< LambdaFunctionConfiguration > &&value)
GetBucketNotificationConfigurationResult & WithEventBridgeConfiguration(EventBridgeConfiguration &&value)
const Aws::Vector< LambdaFunctionConfiguration > & GetLambdaFunctionConfigurations() const
GetBucketNotificationConfigurationResult & WithRequestId(Aws::String &&value)
GetBucketNotificationConfigurationResult & WithTopicConfigurations(const Aws::Vector< TopicConfiguration > &value)
GetBucketNotificationConfigurationResult & WithQueueConfigurations(Aws::Vector< QueueConfiguration > &&value)
GetBucketNotificationConfigurationResult & WithLambdaFunctionConfigurations(Aws::Vector< LambdaFunctionConfiguration > &&value)
GetBucketNotificationConfigurationResult & AddQueueConfigurations(QueueConfiguration &&value)
void SetQueueConfigurations(const Aws::Vector< QueueConfiguration > &value)
GetBucketNotificationConfigurationResult & AddLambdaFunctionConfigurations(const LambdaFunctionConfiguration &value)
GetBucketNotificationConfigurationResult & WithRequestId(const char *value)
GetBucketNotificationConfigurationResult & WithTopicConfigurations(Aws::Vector< TopicConfiguration > &&value)
GetBucketNotificationConfigurationResult & WithQueueConfigurations(const Aws::Vector< QueueConfiguration > &value)
GetBucketNotificationConfigurationResult & AddQueueConfigurations(const QueueConfiguration &value)
AWS_S3_API GetBucketNotificationConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetLambdaFunctionConfigurations(const Aws::Vector< LambdaFunctionConfiguration > &value)
AWS_S3_API GetBucketNotificationConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetBucketNotificationConfigurationResult & WithLambdaFunctionConfigurations(const Aws::Vector< LambdaFunctionConfiguration > &value)
GetBucketNotificationConfigurationResult & WithEventBridgeConfiguration(const EventBridgeConfiguration &value)
void SetTopicConfigurations(const Aws::Vector< TopicConfiguration > &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