AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TopicConfigurationDeprecated.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:
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 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 TopicConfigurationDeprecated& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline TopicConfigurationDeprecated& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline TopicConfigurationDeprecated& 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 TopicConfigurationDeprecated& WithEvents(const Aws::Vector<Event>& value) { SetEvents(value); return *this;}
67 inline TopicConfigurationDeprecated& WithEvents(Aws::Vector<Event>&& value) { SetEvents(std::move(value)); return *this;}
68 inline TopicConfigurationDeprecated& AddEvents(const Event& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; }
69 inline TopicConfigurationDeprecated& AddEvents(Event&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; }
71
73
77 inline const Aws::String& GetTopic() const{ return m_topic; }
78 inline bool TopicHasBeenSet() const { return m_topicHasBeenSet; }
79 inline void SetTopic(const Aws::String& value) { m_topicHasBeenSet = true; m_topic = value; }
80 inline void SetTopic(Aws::String&& value) { m_topicHasBeenSet = true; m_topic = std::move(value); }
81 inline void SetTopic(const char* value) { m_topicHasBeenSet = true; m_topic.assign(value); }
82 inline TopicConfigurationDeprecated& WithTopic(const Aws::String& value) { SetTopic(value); return *this;}
83 inline TopicConfigurationDeprecated& WithTopic(Aws::String&& value) { SetTopic(std::move(value)); return *this;}
84 inline TopicConfigurationDeprecated& WithTopic(const char* value) { SetTopic(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_topic;
95 bool m_topicHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace S3
100} // namespace Aws
AWS_S3_API TopicConfigurationDeprecated(const Aws::Utils::Xml::XmlNode &xmlNode)
TopicConfigurationDeprecated & WithId(const char *value)
TopicConfigurationDeprecated & WithTopic(Aws::String &&value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
TopicConfigurationDeprecated & AddEvents(Event &&value)
AWS_S3_API TopicConfigurationDeprecated & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TopicConfigurationDeprecated & WithEvents(Aws::Vector< Event > &&value)
void SetEvents(const Aws::Vector< Event > &value)
TopicConfigurationDeprecated & AddEvents(const Event &value)
TopicConfigurationDeprecated & WithId(const Aws::String &value)
TopicConfigurationDeprecated & WithTopic(const char *value)
TopicConfigurationDeprecated & WithId(Aws::String &&value)
TopicConfigurationDeprecated & WithEvents(const Aws::Vector< Event > &value)
TopicConfigurationDeprecated & WithTopic(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector