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/docdb/DocDB_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 DocDB
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DOCDB_API EventCategoriesMap();
37 AWS_DOCDB_API EventCategoriesMap(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_DOCDB_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_DOCDB_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::String& GetSourceType() const{ return m_sourceType; }
49 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
50 inline void SetSourceType(const Aws::String& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
51 inline void SetSourceType(Aws::String&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
52 inline void SetSourceType(const char* value) { m_sourceTypeHasBeenSet = true; m_sourceType.assign(value); }
53 inline EventCategoriesMap& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;}
54 inline EventCategoriesMap& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;}
55 inline EventCategoriesMap& WithSourceType(const char* value) { SetSourceType(value); return *this;}
57
59
62 inline const Aws::Vector<Aws::String>& GetEventCategories() const{ return m_eventCategories; }
63 inline bool EventCategoriesHasBeenSet() const { return m_eventCategoriesHasBeenSet; }
64 inline void SetEventCategories(const Aws::Vector<Aws::String>& value) { m_eventCategoriesHasBeenSet = true; m_eventCategories = value; }
65 inline void SetEventCategories(Aws::Vector<Aws::String>&& value) { m_eventCategoriesHasBeenSet = true; m_eventCategories = std::move(value); }
67 inline EventCategoriesMap& WithEventCategories(Aws::Vector<Aws::String>&& value) { SetEventCategories(std::move(value)); return *this;}
68 inline EventCategoriesMap& AddEventCategories(const Aws::String& value) { m_eventCategoriesHasBeenSet = true; m_eventCategories.push_back(value); return *this; }
69 inline EventCategoriesMap& AddEventCategories(Aws::String&& value) { m_eventCategoriesHasBeenSet = true; m_eventCategories.push_back(std::move(value)); return *this; }
70 inline EventCategoriesMap& AddEventCategories(const char* value) { m_eventCategoriesHasBeenSet = true; m_eventCategories.push_back(value); return *this; }
72 private:
73
74 Aws::String m_sourceType;
75 bool m_sourceTypeHasBeenSet = false;
76
77 Aws::Vector<Aws::String> m_eventCategories;
78 bool m_eventCategoriesHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace DocDB
83} // namespace Aws
EventCategoriesMap & AddEventCategories(const char *value)
void SetSourceType(const Aws::String &value)
const Aws::Vector< Aws::String > & GetEventCategories() const
AWS_DOCDB_API EventCategoriesMap & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_DOCDB_API EventCategoriesMap(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetSourceType() const
EventCategoriesMap & AddEventCategories(Aws::String &&value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
EventCategoriesMap & WithSourceType(Aws::String &&value)
void SetSourceType(Aws::String &&value)
EventCategoriesMap & WithSourceType(const Aws::String &value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
EventCategoriesMap & WithEventCategories(Aws::Vector< Aws::String > &&value)
EventCategoriesMap & WithSourceType(const char *value)
EventCategoriesMap & WithEventCategories(const Aws::Vector< Aws::String > &value)
void SetEventCategories(Aws::Vector< Aws::String > &&value)
void SetEventCategories(const Aws::Vector< Aws::String > &value)
EventCategoriesMap & AddEventCategories(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