AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeEventSubscriptionsResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.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 
50  inline const Aws::String& GetMarker() const{ return m_marker; }
51 
58  inline void SetMarker(const Aws::String& value) { m_marker = value; }
59 
66  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
67 
74  inline void SetMarker(const char* value) { m_marker.assign(value); }
75 
82  inline DescribeEventSubscriptionsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
83 
90  inline DescribeEventSubscriptionsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
91 
98  inline DescribeEventSubscriptionsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
99 
100 
104  inline const Aws::Vector<EventSubscription>& GetEventSubscriptionsList() const{ return m_eventSubscriptionsList; }
105 
109  inline void SetEventSubscriptionsList(const Aws::Vector<EventSubscription>& value) { m_eventSubscriptionsList = value; }
110 
114  inline void SetEventSubscriptionsList(Aws::Vector<EventSubscription>&& value) { m_eventSubscriptionsList = std::move(value); }
115 
119  inline DescribeEventSubscriptionsResult& WithEventSubscriptionsList(const Aws::Vector<EventSubscription>& value) { SetEventSubscriptionsList(value); return *this;}
120 
124  inline DescribeEventSubscriptionsResult& WithEventSubscriptionsList(Aws::Vector<EventSubscription>&& value) { SetEventSubscriptionsList(std::move(value)); return *this;}
125 
129  inline DescribeEventSubscriptionsResult& AddEventSubscriptionsList(const EventSubscription& value) { m_eventSubscriptionsList.push_back(value); return *this; }
130 
134  inline DescribeEventSubscriptionsResult& AddEventSubscriptionsList(EventSubscription&& value) { m_eventSubscriptionsList.push_back(std::move(value)); return *this; }
135 
136 
137 
138  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
139 
140 
141  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
142 
143 
144  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
145 
146 
147  inline DescribeEventSubscriptionsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
148 
149 
150  inline DescribeEventSubscriptionsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
151 
152  private:
153 
154  Aws::String m_marker;
155 
156  Aws::Vector<EventSubscription> m_eventSubscriptionsList;
157 
158  ResponseMetadata m_responseMetadata;
159  };
160 
161 } // namespace Model
162 } // namespace RDS
163 } // namespace Aws
Aws::RDS::Model::DescribeEventSubscriptionsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeEventSubscriptionsResult.h:58
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RDS::Model::DescribeEventSubscriptionsResult::WithMarker
DescribeEventSubscriptionsResult & WithMarker(Aws::String &&value)
Definition: DescribeEventSubscriptionsResult.h:90
Aws::RDS::Model::EventSubscription
Definition: EventSubscription.h:34
Aws::RDS::Model::DescribeEventSubscriptionsResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeEventSubscriptionsResult.h:50
Aws::RDS::Model::DescribeEventSubscriptionsResult::AddEventSubscriptionsList
DescribeEventSubscriptionsResult & AddEventSubscriptionsList(EventSubscription &&value)
Definition: DescribeEventSubscriptionsResult.h:134
Aws::RDS::Model::DescribeEventSubscriptionsResult::WithEventSubscriptionsList
DescribeEventSubscriptionsResult & WithEventSubscriptionsList(const Aws::Vector< EventSubscription > &value)
Definition: DescribeEventSubscriptionsResult.h:119
Aws::RDS::Model::DescribeEventSubscriptionsResult::GetEventSubscriptionsList
const Aws::Vector< EventSubscription > & GetEventSubscriptionsList() const
Definition: DescribeEventSubscriptionsResult.h:104
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeEventSubscriptionsResult::AddEventSubscriptionsList
DescribeEventSubscriptionsResult & AddEventSubscriptionsList(const EventSubscription &value)
Definition: DescribeEventSubscriptionsResult.h:129
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DescribeEventSubscriptionsResult::operator=
DescribeEventSubscriptionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
EventSubscription.h
Aws::RDS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSVector.h
Aws::RDS::Model::DescribeEventSubscriptionsResult::WithEventSubscriptionsList
DescribeEventSubscriptionsResult & WithEventSubscriptionsList(Aws::Vector< EventSubscription > &&value)
Definition: DescribeEventSubscriptionsResult.h:124
Aws::RDS::Model::DescribeEventSubscriptionsResult::WithMarker
DescribeEventSubscriptionsResult & WithMarker(const char *value)
Definition: DescribeEventSubscriptionsResult.h:98
Aws::RDS::Model::DescribeEventSubscriptionsResult::WithMarker
DescribeEventSubscriptionsResult & WithMarker(const Aws::String &value)
Definition: DescribeEventSubscriptionsResult.h:82
RDS_EXPORTS.h
Aws::RDS::Model::DescribeEventSubscriptionsResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeEventSubscriptionsResult.h:74
Aws::RDS::Model::DescribeEventSubscriptionsResult
Definition: DescribeEventSubscriptionsResult.h:37
Aws::RDS::Model::DescribeEventSubscriptionsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeEventSubscriptionsResult.h:66
Aws::RDS::Model::DescribeEventSubscriptionsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeEventSubscriptionsResult.h:144
AWSString.h
Aws::RDS::Model::DescribeEventSubscriptionsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeEventSubscriptionsResult.h:138
Aws::RDS::Model::DescribeEventSubscriptionsResult::SetEventSubscriptionsList
void SetEventSubscriptionsList(const Aws::Vector< EventSubscription > &value)
Definition: DescribeEventSubscriptionsResult.h:109
Aws::RDS::Model::DescribeEventSubscriptionsResult::DescribeEventSubscriptionsResult
DescribeEventSubscriptionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DescribeEventSubscriptionsResult::WithResponseMetadata
DescribeEventSubscriptionsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeEventSubscriptionsResult.h:147
ResponseMetadata.h
Aws::RDS::Model::DescribeEventSubscriptionsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeEventSubscriptionsResult.h:141
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DescribeEventSubscriptionsResult::SetEventSubscriptionsList
void SetEventSubscriptionsList(Aws::Vector< EventSubscription > &&value)
Definition: DescribeEventSubscriptionsResult.h:114
Aws::RDS::Model::DescribeEventSubscriptionsResult::WithResponseMetadata
DescribeEventSubscriptionsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeEventSubscriptionsResult.h:150
Aws::RDS::Model::DescribeEventSubscriptionsResult::DescribeEventSubscriptionsResult
DescribeEventSubscriptionsResult()