AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
QueueConfigurationDeprecated.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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:
39 AWS_S3_API QueueConfigurationDeprecated() = default;
42
43 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
44
45
47
48 inline const Aws::String& GetId() const { return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 QueueConfigurationDeprecated& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
55
57
60 inline const Aws::Vector<Event>& GetEvents() const { return m_events; }
61 inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; }
62 template<typename EventsT = Aws::Vector<Event>>
63 void SetEvents(EventsT&& value) { m_eventsHasBeenSet = true; m_events = std::forward<EventsT>(value); }
64 template<typename EventsT = Aws::Vector<Event>>
65 QueueConfigurationDeprecated& WithEvents(EventsT&& value) { SetEvents(std::forward<EventsT>(value)); return *this;}
66 inline QueueConfigurationDeprecated& AddEvents(Event value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; }
68
70
74 inline const Aws::String& GetQueue() const { return m_queue; }
75 inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
76 template<typename QueueT = Aws::String>
77 void SetQueue(QueueT&& value) { m_queueHasBeenSet = true; m_queue = std::forward<QueueT>(value); }
78 template<typename QueueT = Aws::String>
79 QueueConfigurationDeprecated& WithQueue(QueueT&& value) { SetQueue(std::forward<QueueT>(value)); return *this;}
81 private:
82
83 Aws::String m_id;
84 bool m_idHasBeenSet = false;
85
86 Aws::Vector<Event> m_events;
87 bool m_eventsHasBeenSet = false;
88
89 Aws::String m_queue;
90 bool m_queueHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace S3
95} // namespace Aws
AWS_S3_API QueueConfigurationDeprecated(const Aws::Utils::Xml::XmlNode &xmlNode)
QueueConfigurationDeprecated & WithEvents(EventsT &&value)
QueueConfigurationDeprecated & AddEvents(Event value)
QueueConfigurationDeprecated & WithQueue(QueueT &&value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
QueueConfigurationDeprecated & WithId(IdT &&value)
AWS_S3_API QueueConfigurationDeprecated & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector