AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
QueueConfigurationDeprecated.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3-crt/S3Crt_EXPORTS.h>
10#include <aws/s3-crt/model/Event.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3Crt {
21namespace Model {
22
33 public:
34 AWS_S3CRT_API QueueConfigurationDeprecated() = default;
37
38 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
41
42 inline const Aws::String& GetId() const { return m_id; }
43 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 template <typename IdT = Aws::String>
45 void SetId(IdT&& value) {
46 m_idHasBeenSet = true;
47 m_id = std::forward<IdT>(value);
48 }
49 template <typename IdT = Aws::String>
51 SetId(std::forward<IdT>(value));
52 return *this;
53 }
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) {
64 m_eventsHasBeenSet = true;
65 m_events = std::forward<EventsT>(value);
66 }
67 template <typename EventsT = Aws::Vector<Event>>
69 SetEvents(std::forward<EventsT>(value));
70 return *this;
71 }
73 m_eventsHasBeenSet = true;
74 m_events.push_back(value);
75 return *this;
76 }
78
80
84 inline const Aws::String& GetQueue() const { return m_queue; }
85 inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
86 template <typename QueueT = Aws::String>
87 void SetQueue(QueueT&& value) {
88 m_queueHasBeenSet = true;
89 m_queue = std::forward<QueueT>(value);
90 }
91 template <typename QueueT = Aws::String>
93 SetQueue(std::forward<QueueT>(value));
94 return *this;
95 }
97 private:
98 Aws::String m_id;
99
100 Aws::Vector<Event> m_events;
101
102 Aws::String m_queue;
103 bool m_idHasBeenSet = false;
104 bool m_eventsHasBeenSet = false;
105 bool m_queueHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace S3Crt
110} // namespace Aws
AWS_S3CRT_API QueueConfigurationDeprecated & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
QueueConfigurationDeprecated & AddEvents(Event value)
QueueConfigurationDeprecated & WithQueue(QueueT &&value)
AWS_S3CRT_API QueueConfigurationDeprecated(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API QueueConfigurationDeprecated()=default
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
QueueConfigurationDeprecated & WithId(IdT &&value)
QueueConfigurationDeprecated & WithEvents(EventsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector