AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeEventSubscriptionsResult.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 DescribeEventSubscriptionsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
92 
101  inline DescribeEventSubscriptionsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
102 
111  inline DescribeEventSubscriptionsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
112 
113 
117  inline const Aws::Vector<EventSubscription>& GetEventSubscriptionsList() const{ return m_eventSubscriptionsList; }
118 
122  inline void SetEventSubscriptionsList(const Aws::Vector<EventSubscription>& value) { m_eventSubscriptionsList = value; }
123 
127  inline void SetEventSubscriptionsList(Aws::Vector<EventSubscription>&& value) { m_eventSubscriptionsList = std::move(value); }
128 
132  inline DescribeEventSubscriptionsResult& WithEventSubscriptionsList(const Aws::Vector<EventSubscription>& value) { SetEventSubscriptionsList(value); return *this;}
133 
137  inline DescribeEventSubscriptionsResult& WithEventSubscriptionsList(Aws::Vector<EventSubscription>&& value) { SetEventSubscriptionsList(std::move(value)); return *this;}
138 
142  inline DescribeEventSubscriptionsResult& AddEventSubscriptionsList(const EventSubscription& value) { m_eventSubscriptionsList.push_back(value); return *this; }
143 
147  inline DescribeEventSubscriptionsResult& AddEventSubscriptionsList(EventSubscription&& value) { m_eventSubscriptionsList.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 DescribeEventSubscriptionsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
161 
162 
163  inline DescribeEventSubscriptionsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
164 
165  private:
166 
167  Aws::String m_marker;
168 
169  Aws::Vector<EventSubscription> m_eventSubscriptionsList;
170 
171  ResponseMetadata m_responseMetadata;
172  };
173 
174 } // namespace Model
175 } // namespace Redshift
176 } // namespace Aws
Aws::Redshift::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Redshift::Model::DescribeEventSubscriptionsResult::DescribeEventSubscriptionsResult
DescribeEventSubscriptionsResult()
Aws::Redshift::Model::DescribeEventSubscriptionsResult::WithEventSubscriptionsList
DescribeEventSubscriptionsResult & WithEventSubscriptionsList(const Aws::Vector< EventSubscription > &value)
Definition: DescribeEventSubscriptionsResult.h:132
Aws::Redshift::Model::DescribeEventSubscriptionsResult::WithMarker
DescribeEventSubscriptionsResult & WithMarker(const Aws::String &value)
Definition: DescribeEventSubscriptionsResult.h:91
Aws::Redshift::Model::DescribeEventSubscriptionsResult::WithResponseMetadata
DescribeEventSubscriptionsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeEventSubscriptionsResult.h:160
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Redshift::Model::EventSubscription
Definition: EventSubscription.h:35
Aws::Redshift::Model::DescribeEventSubscriptionsResult::WithMarker
DescribeEventSubscriptionsResult & WithMarker(const char *value)
Definition: DescribeEventSubscriptionsResult.h:111
AWSVector.h
Aws::Redshift::Model::DescribeEventSubscriptionsResult::operator=
DescribeEventSubscriptionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DescribeEventSubscriptionsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeEventSubscriptionsResult.h:61
Aws::Redshift::Model::DescribeEventSubscriptionsResult::DescribeEventSubscriptionsResult
DescribeEventSubscriptionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DescribeEventSubscriptionsResult::SetEventSubscriptionsList
void SetEventSubscriptionsList(const Aws::Vector< EventSubscription > &value)
Definition: DescribeEventSubscriptionsResult.h:122
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
AWSString.h
Aws::Redshift::Model::DescribeEventSubscriptionsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeEventSubscriptionsResult.h:71
Aws::Redshift::Model::DescribeEventSubscriptionsResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeEventSubscriptionsResult.h:81
Aws::Redshift::Model::DescribeEventSubscriptionsResult::WithMarker
DescribeEventSubscriptionsResult & WithMarker(Aws::String &&value)
Definition: DescribeEventSubscriptionsResult.h:101
Aws::Redshift::Model::DescribeEventSubscriptionsResult::AddEventSubscriptionsList
DescribeEventSubscriptionsResult & AddEventSubscriptionsList(EventSubscription &&value)
Definition: DescribeEventSubscriptionsResult.h:147
Aws::Redshift::Model::DescribeEventSubscriptionsResult::WithEventSubscriptionsList
DescribeEventSubscriptionsResult & WithEventSubscriptionsList(Aws::Vector< EventSubscription > &&value)
Definition: DescribeEventSubscriptionsResult.h:137
Aws::Redshift::Model::DescribeEventSubscriptionsResult
Definition: DescribeEventSubscriptionsResult.h:36
Aws::Redshift::Model::DescribeEventSubscriptionsResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeEventSubscriptionsResult.h:51
Aws::Redshift::Model::DescribeEventSubscriptionsResult::GetEventSubscriptionsList
const Aws::Vector< EventSubscription > & GetEventSubscriptionsList() const
Definition: DescribeEventSubscriptionsResult.h:117
Aws::Redshift::Model::DescribeEventSubscriptionsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeEventSubscriptionsResult.h:157
Aws::Redshift::Model::DescribeEventSubscriptionsResult::SetEventSubscriptionsList
void SetEventSubscriptionsList(Aws::Vector< EventSubscription > &&value)
Definition: DescribeEventSubscriptionsResult.h:127
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::Model::DescribeEventSubscriptionsResult::AddEventSubscriptionsList
DescribeEventSubscriptionsResult & AddEventSubscriptionsList(const EventSubscription &value)
Definition: DescribeEventSubscriptionsResult.h:142
Aws::Redshift::Model::DescribeEventSubscriptionsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeEventSubscriptionsResult.h:151
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResponseMetadata.h
Aws::Redshift::Model::DescribeEventSubscriptionsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeEventSubscriptionsResult.h:154
Aws::Redshift::Model::DescribeEventSubscriptionsResult::WithResponseMetadata
DescribeEventSubscriptionsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeEventSubscriptionsResult.h:163
EventSubscription.h