AWS SDK for C++  1.9.159
AWS SDK for C++
DescribeEventsResult.h
Go to the documentation of this file.
1 
6 #pragma once
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 Redshift
27 {
28 namespace Model
29 {
36  {
37  public:
41 
42 
51  inline const Aws::String& GetMarker() const{ return m_marker; }
52 
61  inline void SetMarker(const Aws::String& value) { m_marker = value; }
62 
71  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
72 
81  inline void SetMarker(const char* value) { m_marker.assign(value); }
82 
91  inline DescribeEventsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
92 
101  inline DescribeEventsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
102 
111  inline DescribeEventsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
112 
113 
117  inline const Aws::Vector<Event>& GetEvents() const{ return m_events; }
118 
122  inline void SetEvents(const Aws::Vector<Event>& value) { m_events = value; }
123 
127  inline void SetEvents(Aws::Vector<Event>&& value) { m_events = std::move(value); }
128 
132  inline DescribeEventsResult& WithEvents(const Aws::Vector<Event>& value) { SetEvents(value); return *this;}
133 
137  inline DescribeEventsResult& WithEvents(Aws::Vector<Event>&& value) { SetEvents(std::move(value)); return *this;}
138 
142  inline DescribeEventsResult& AddEvents(const Event& value) { m_events.push_back(value); return *this; }
143 
147  inline DescribeEventsResult& AddEvents(Event&& value) { m_events.push_back(std::move(value)); return *this; }
148 
149 
150 
151  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
152 
153 
154  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
155 
156 
157  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
158 
159 
160  inline DescribeEventsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
161 
162 
163  inline DescribeEventsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
164 
165  private:
166 
167  Aws::String m_marker;
168 
169  Aws::Vector<Event> m_events;
170 
171  ResponseMetadata m_responseMetadata;
172  };
173 
174 } // namespace Model
175 } // namespace Redshift
176 } // namespace Aws
Aws::Redshift::Model::DescribeEventsResult::WithEvents
DescribeEventsResult & WithEvents(const Aws::Vector< Event > &value)
Definition: DescribeEventsResult.h:132
Aws::Redshift::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::Redshift::Model::DescribeEventsResult::AddEvents
DescribeEventsResult & AddEvents(const Event &value)
Definition: DescribeEventsResult.h:142
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Redshift::Model::DescribeEventsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeEventsResult.h:71
Aws::Redshift::Model::DescribeEventsResult::DescribeEventsResult
DescribeEventsResult()
Aws::Redshift::Model::Event
Definition: Event.h:35
Aws::Redshift::Model::DescribeEventsResult::WithMarker
DescribeEventsResult & WithMarker(const char *value)
Definition: DescribeEventsResult.h:111
Aws::Redshift::Model::DescribeEventsResult::operator=
DescribeEventsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DescribeEventsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeEventsResult.h:157
Aws::Redshift::Model::DescribeEventsResult
Definition: DescribeEventsResult.h:36
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Redshift::Model::DescribeEventsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeEventsResult.h:154
Event.h
AWSVector.h
Aws::Redshift::Model::DescribeEventsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeEventsResult.h:151
Aws::Redshift::Model::DescribeEventsResult::AddEvents
DescribeEventsResult & AddEvents(Event &&value)
Definition: DescribeEventsResult.h:147
Aws::Redshift::Model::DescribeEventsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeEventsResult.h:61
Aws::Redshift::Model::DescribeEventsResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeEventsResult.h:51
Aws::Redshift::Model::DescribeEventsResult::SetEvents
void SetEvents(Aws::Vector< Event > &&value)
Definition: DescribeEventsResult.h:127
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeEventsResult::DescribeEventsResult
DescribeEventsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWSString.h
Aws::Redshift::Model::DescribeEventsResult::WithResponseMetadata
DescribeEventsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeEventsResult.h:160
Aws::Redshift::Model::DescribeEventsResult::WithEvents
DescribeEventsResult & WithEvents(Aws::Vector< Event > &&value)
Definition: DescribeEventsResult.h:137
Aws::Redshift::Model::DescribeEventsResult::SetEvents
void SetEvents(const Aws::Vector< Event > &value)
Definition: DescribeEventsResult.h:122
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::Model::DescribeEventsResult::WithResponseMetadata
DescribeEventsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeEventsResult.h:163
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResponseMetadata.h
Aws::Redshift::Model::DescribeEventsResult::WithMarker
DescribeEventsResult & WithMarker(Aws::String &&value)
Definition: DescribeEventsResult.h:101
Aws::Redshift::Model::DescribeEventsResult::WithMarker
DescribeEventsResult & WithMarker(const Aws::String &value)
Definition: DescribeEventsResult.h:91
Aws::Redshift::Model::DescribeEventsResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeEventsResult.h:81
Aws::Redshift::Model::DescribeEventsResult::GetEvents
const Aws::Vector< Event > & GetEvents() const
Definition: DescribeEventsResult.h:117