AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EventCategoriesMap.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace RDS
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_RDS_API EventCategoriesMap();
38 AWS_RDS_API EventCategoriesMap(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
49 inline const Aws::String& GetSourceType() const{ return m_sourceType; }
50 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
51 inline void SetSourceType(const Aws::String& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
52 inline void SetSourceType(Aws::String&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
53 inline void SetSourceType(const char* value) { m_sourceTypeHasBeenSet = true; m_sourceType.assign(value); }
54 inline EventCategoriesMap& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;}
55 inline EventCategoriesMap& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;}
56 inline EventCategoriesMap& WithSourceType(const char* value) { SetSourceType(value); return *this;}
58
60
63 inline const Aws::Vector<Aws::String>& GetEventCategories() const{ return m_eventCategories; }
64 inline bool EventCategoriesHasBeenSet() const { return m_eventCategoriesHasBeenSet; }
65 inline void SetEventCategories(const Aws::Vector<Aws::String>& value) { m_eventCategoriesHasBeenSet = true; m_eventCategories = value; }
66 inline void SetEventCategories(Aws::Vector<Aws::String>&& value) { m_eventCategoriesHasBeenSet = true; m_eventCategories = std::move(value); }
68 inline EventCategoriesMap& WithEventCategories(Aws::Vector<Aws::String>&& value) { SetEventCategories(std::move(value)); return *this;}
69 inline EventCategoriesMap& AddEventCategories(const Aws::String& value) { m_eventCategoriesHasBeenSet = true; m_eventCategories.push_back(value); return *this; }
70 inline EventCategoriesMap& AddEventCategories(Aws::String&& value) { m_eventCategoriesHasBeenSet = true; m_eventCategories.push_back(std::move(value)); return *this; }
71 inline EventCategoriesMap& AddEventCategories(const char* value) { m_eventCategoriesHasBeenSet = true; m_eventCategories.push_back(value); return *this; }
73 private:
74
75 Aws::String m_sourceType;
76 bool m_sourceTypeHasBeenSet = false;
77
78 Aws::Vector<Aws::String> m_eventCategories;
79 bool m_eventCategoriesHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace RDS
84} // namespace Aws
EventCategoriesMap & WithSourceType(Aws::String &&value)
EventCategoriesMap & AddEventCategories(const Aws::String &value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
EventCategoriesMap & WithEventCategories(const Aws::Vector< Aws::String > &value)
void SetEventCategories(const Aws::Vector< Aws::String > &value)
EventCategoriesMap & WithSourceType(const Aws::String &value)
AWS_RDS_API EventCategoriesMap & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSourceType(Aws::String &&value)
const Aws::Vector< Aws::String > & GetEventCategories() const
EventCategoriesMap & AddEventCategories(const char *value)
EventCategoriesMap & WithSourceType(const char *value)
void SetEventCategories(Aws::Vector< Aws::String > &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
EventCategoriesMap & AddEventCategories(Aws::String &&value)
AWS_RDS_API EventCategoriesMap(const Aws::Utils::Xml::XmlNode &xmlNode)
EventCategoriesMap & WithEventCategories(Aws::Vector< Aws::String > &&value)
const Aws::String & GetSourceType() const
void SetSourceType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream