AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
QueueConfigurationDeprecated.h
Go to the documentation of this file.
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
10#include <aws/s3/model/Event.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace S3
23{
24namespace Model
25{
26
37 {
38 public:
42
44
45
46
47 inline const Aws::String& GetId() const{ return m_id; }
48
49
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51
52
53 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
54
55
56 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
57
58
59 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
60
61
62 inline QueueConfigurationDeprecated& WithId(const Aws::String& value) { SetId(value); return *this;}
63
64
65 inline QueueConfigurationDeprecated& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
66
67
68 inline QueueConfigurationDeprecated& WithId(const char* value) { SetId(value); return *this;}
69
70
74 inline const Aws::Vector<Event>& GetEvents() const{ return m_events; }
75
79 inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; }
80
84 inline void SetEvents(const Aws::Vector<Event>& value) { m_eventsHasBeenSet = true; m_events = value; }
85
89 inline void SetEvents(Aws::Vector<Event>&& value) { m_eventsHasBeenSet = true; m_events = std::move(value); }
90
94 inline QueueConfigurationDeprecated& WithEvents(const Aws::Vector<Event>& value) { SetEvents(value); return *this;}
95
99 inline QueueConfigurationDeprecated& WithEvents(Aws::Vector<Event>&& value) { SetEvents(std::move(value)); return *this;}
100
104 inline QueueConfigurationDeprecated& AddEvents(const Event& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; }
105
109 inline QueueConfigurationDeprecated& AddEvents(Event&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; }
110
111
116 inline const Aws::String& GetQueue() const{ return m_queue; }
117
122 inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
123
128 inline void SetQueue(const Aws::String& value) { m_queueHasBeenSet = true; m_queue = value; }
129
134 inline void SetQueue(Aws::String&& value) { m_queueHasBeenSet = true; m_queue = std::move(value); }
135
140 inline void SetQueue(const char* value) { m_queueHasBeenSet = true; m_queue.assign(value); }
141
146 inline QueueConfigurationDeprecated& WithQueue(const Aws::String& value) { SetQueue(value); return *this;}
147
152 inline QueueConfigurationDeprecated& WithQueue(Aws::String&& value) { SetQueue(std::move(value)); return *this;}
153
158 inline QueueConfigurationDeprecated& WithQueue(const char* value) { SetQueue(value); return *this;}
159
160 private:
161
162 Aws::String m_id;
163 bool m_idHasBeenSet = false;
164
165 Aws::Vector<Event> m_events;
166 bool m_eventsHasBeenSet = false;
167
168 Aws::String m_queue;
169 bool m_queueHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace S3
174} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
QueueConfigurationDeprecated & WithId(Aws::String &&value)
QueueConfigurationDeprecated & WithQueue(const char *value)
AWS_S3_API QueueConfigurationDeprecated(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetEvents(const Aws::Vector< Event > &value)
QueueConfigurationDeprecated & AddEvents(const Event &value)
QueueConfigurationDeprecated & WithId(const char *value)
QueueConfigurationDeprecated & WithId(const Aws::String &value)
QueueConfigurationDeprecated & WithQueue(Aws::String &&value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
QueueConfigurationDeprecated & WithEvents(Aws::Vector< Event > &&value)
QueueConfigurationDeprecated & WithQueue(const Aws::String &value)
QueueConfigurationDeprecated & AddEvents(Event &&value)
AWS_S3_API QueueConfigurationDeprecated & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
QueueConfigurationDeprecated & WithEvents(const Aws::Vector< Event > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector