AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeEventsResult.h
1
6#pragma once
7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/neptune/model/ResponseMetadata.h>
11#include <aws/neptune/model/Event.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace Neptune
27{
28namespace Model
29{
31 {
32 public:
33 AWS_NEPTUNE_API DescribeEventsResult();
36
37
39
44 inline const Aws::String& GetMarker() const{ return m_marker; }
45 inline void SetMarker(const Aws::String& value) { m_marker = value; }
46 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
47 inline void SetMarker(const char* value) { m_marker.assign(value); }
48 inline DescribeEventsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
49 inline DescribeEventsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
50 inline DescribeEventsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
52
54
57 inline const Aws::Vector<Event>& GetEvents() const{ return m_events; }
58 inline void SetEvents(const Aws::Vector<Event>& value) { m_events = value; }
59 inline void SetEvents(Aws::Vector<Event>&& value) { m_events = std::move(value); }
60 inline DescribeEventsResult& WithEvents(const Aws::Vector<Event>& value) { SetEvents(value); return *this;}
61 inline DescribeEventsResult& WithEvents(Aws::Vector<Event>&& value) { SetEvents(std::move(value)); return *this;}
62 inline DescribeEventsResult& AddEvents(const Event& value) { m_events.push_back(value); return *this; }
63 inline DescribeEventsResult& AddEvents(Event&& value) { m_events.push_back(std::move(value)); return *this; }
65
67
68 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
69 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
70 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
72 inline DescribeEventsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
74 private:
75
76 Aws::String m_marker;
77
78 Aws::Vector<Event> m_events;
79
80 ResponseMetadata m_responseMetadata;
81 };
82
83} // namespace Model
84} // namespace Neptune
85} // namespace Aws
DescribeEventsResult & WithMarker(Aws::String &&value)
DescribeEventsResult & AddEvents(Event &&value)
DescribeEventsResult & AddEvents(const Event &value)
DescribeEventsResult & WithResponseMetadata(const ResponseMetadata &value)
void SetEvents(Aws::Vector< Event > &&value)
DescribeEventsResult & WithResponseMetadata(ResponseMetadata &&value)
const ResponseMetadata & GetResponseMetadata() const
DescribeEventsResult & WithEvents(Aws::Vector< Event > &&value)
AWS_NEPTUNE_API DescribeEventsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetResponseMetadata(ResponseMetadata &&value)
void SetResponseMetadata(const ResponseMetadata &value)
AWS_NEPTUNE_API DescribeEventsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetEvents(const Aws::Vector< Event > &value)
const Aws::Vector< Event > & GetEvents() const
DescribeEventsResult & WithEvents(const Aws::Vector< Event > &value)
DescribeEventsResult & WithMarker(const char *value)
DescribeEventsResult & WithMarker(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument