AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueueConfigurationDeprecated.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/s3-crt/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 S3Crt
23{
24namespace Model
25{
26
37 {
38 public:
42
43 AWS_S3CRT_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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline QueueConfigurationDeprecated& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline QueueConfigurationDeprecated& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline QueueConfigurationDeprecated& WithId(const char* value) { SetId(value); return *this;}
57
59
62 inline const Aws::Vector<Event>& GetEvents() const{ return m_events; }
63 inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; }
64 inline void SetEvents(const Aws::Vector<Event>& value) { m_eventsHasBeenSet = true; m_events = value; }
65 inline void SetEvents(Aws::Vector<Event>&& value) { m_eventsHasBeenSet = true; m_events = std::move(value); }
66 inline QueueConfigurationDeprecated& WithEvents(const Aws::Vector<Event>& value) { SetEvents(value); return *this;}
67 inline QueueConfigurationDeprecated& WithEvents(Aws::Vector<Event>&& value) { SetEvents(std::move(value)); return *this;}
68 inline QueueConfigurationDeprecated& AddEvents(const Event& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; }
69 inline QueueConfigurationDeprecated& AddEvents(Event&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; }
71
73
77 inline const Aws::String& GetQueue() const{ return m_queue; }
78 inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
79 inline void SetQueue(const Aws::String& value) { m_queueHasBeenSet = true; m_queue = value; }
80 inline void SetQueue(Aws::String&& value) { m_queueHasBeenSet = true; m_queue = std::move(value); }
81 inline void SetQueue(const char* value) { m_queueHasBeenSet = true; m_queue.assign(value); }
82 inline QueueConfigurationDeprecated& WithQueue(const Aws::String& value) { SetQueue(value); return *this;}
83 inline QueueConfigurationDeprecated& WithQueue(Aws::String&& value) { SetQueue(std::move(value)); return *this;}
84 inline QueueConfigurationDeprecated& WithQueue(const char* value) { SetQueue(value); return *this;}
86 private:
87
88 Aws::String m_id;
89 bool m_idHasBeenSet = false;
90
91 Aws::Vector<Event> m_events;
92 bool m_eventsHasBeenSet = false;
93
94 Aws::String m_queue;
95 bool m_queueHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace S3Crt
100} // namespace Aws
QueueConfigurationDeprecated & AddEvents(Event &&value)
AWS_S3CRT_API QueueConfigurationDeprecated & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
QueueConfigurationDeprecated & WithId(const Aws::String &value)
QueueConfigurationDeprecated & WithQueue(const char *value)
QueueConfigurationDeprecated & WithId(Aws::String &&value)
QueueConfigurationDeprecated & WithQueue(Aws::String &&value)
AWS_S3CRT_API QueueConfigurationDeprecated(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
QueueConfigurationDeprecated & WithQueue(const Aws::String &value)
QueueConfigurationDeprecated & WithId(const char *value)
QueueConfigurationDeprecated & WithEvents(const Aws::Vector< Event > &value)
QueueConfigurationDeprecated & AddEvents(const Event &value)
QueueConfigurationDeprecated & WithEvents(Aws::Vector< Event > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector