AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeEventsResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
11 #include <aws/rds/model/Event.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace RDS
27 {
28 namespace Model
29 {
37  {
38  public:
42 
43 
49  inline const Aws::String& GetMarker() const{ return m_marker; }
50 
56  inline void SetMarker(const Aws::String& value) { m_marker = value; }
57 
63  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
64 
70  inline void SetMarker(const char* value) { m_marker.assign(value); }
71 
77  inline DescribeEventsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
78 
84  inline DescribeEventsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
85 
91  inline DescribeEventsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
92 
93 
97  inline const Aws::Vector<Event>& GetEvents() const{ return m_events; }
98 
102  inline void SetEvents(const Aws::Vector<Event>& value) { m_events = value; }
103 
107  inline void SetEvents(Aws::Vector<Event>&& value) { m_events = std::move(value); }
108 
112  inline DescribeEventsResult& WithEvents(const Aws::Vector<Event>& value) { SetEvents(value); return *this;}
113 
117  inline DescribeEventsResult& WithEvents(Aws::Vector<Event>&& value) { SetEvents(std::move(value)); return *this;}
118 
122  inline DescribeEventsResult& AddEvents(const Event& value) { m_events.push_back(value); return *this; }
123 
127  inline DescribeEventsResult& AddEvents(Event&& value) { m_events.push_back(std::move(value)); return *this; }
128 
129 
130 
131  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
132 
133 
134  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
135 
136 
137  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
138 
139 
140  inline DescribeEventsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
141 
142 
143  inline DescribeEventsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
144 
145  private:
146 
147  Aws::String m_marker;
148 
149  Aws::Vector<Event> m_events;
150 
151  ResponseMetadata m_responseMetadata;
152  };
153 
154 } // namespace Model
155 } // namespace RDS
156 } // namespace Aws
Aws::RDS::Model::DescribeEventsResult::WithMarker
DescribeEventsResult & WithMarker(Aws::String &&value)
Definition: DescribeEventsResult.h:84
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RDS::Model::DescribeEventsResult::AddEvents
DescribeEventsResult & AddEvents(const Event &value)
Definition: DescribeEventsResult.h:122
Aws::RDS::Model::DescribeEventsResult::WithResponseMetadata
DescribeEventsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeEventsResult.h:140
Aws::RDS::Model::DescribeEventsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeEventsResult.h:131
Aws::RDS::Model::DescribeEventsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeEventsResult.h:63
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeEventsResult::SetEvents
void SetEvents(const Aws::Vector< Event > &value)
Definition: DescribeEventsResult.h:102
Aws::RDS::Model::DescribeEventsResult::WithMarker
DescribeEventsResult & WithMarker(const char *value)
Definition: DescribeEventsResult.h:91
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSVector.h
Aws::RDS::Model::DescribeEventsResult::operator=
DescribeEventsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::DescribeEventsResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeEventsResult.h:49
Aws::RDS::Model::DescribeEventsResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeEventsResult.h:70
Aws::RDS::Model::DescribeEventsResult::WithEvents
DescribeEventsResult & WithEvents(const Aws::Vector< Event > &value)
Definition: DescribeEventsResult.h:112
Aws::RDS::Model::DescribeEventsResult::GetEvents
const Aws::Vector< Event > & GetEvents() const
Definition: DescribeEventsResult.h:97
Aws::RDS::Model::DescribeEventsResult::DescribeEventsResult
DescribeEventsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::DescribeEventsResult::DescribeEventsResult
DescribeEventsResult()
RDS_EXPORTS.h
Aws::RDS::Model::DescribeEventsResult
Definition: DescribeEventsResult.h:37
Event.h
AWSString.h
Aws::RDS::Model::DescribeEventsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeEventsResult.h:56
Aws::RDS::Model::DescribeEventsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeEventsResult.h:137
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeEventsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeEventsResult.h:134
Aws::RDS::Model::DescribeEventsResult::AddEvents
DescribeEventsResult & AddEvents(Event &&value)
Definition: DescribeEventsResult.h:127
Aws::RDS::Model::Event
Definition: Event.h:36
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DescribeEventsResult::WithEvents
DescribeEventsResult & WithEvents(Aws::Vector< Event > &&value)
Definition: DescribeEventsResult.h:117
Aws::RDS::Model::DescribeEventsResult::WithResponseMetadata
DescribeEventsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeEventsResult.h:143
ResponseMetadata.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DescribeEventsResult::WithMarker
DescribeEventsResult & WithMarker(const Aws::String &value)
Definition: DescribeEventsResult.h:77
Aws::RDS::Model::DescribeEventsResult::SetEvents
void SetEvents(Aws::Vector< Event > &&value)
Definition: DescribeEventsResult.h:107