AWS SDK for C++  1.9.104
AWS SDK for C++
GetRelationalDatabaseEventsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace Lightsail
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<RelationalDatabaseEvent>& GetRelationalDatabaseEvents() const{ return m_relationalDatabaseEvents; }
42 
47  inline void SetRelationalDatabaseEvents(const Aws::Vector<RelationalDatabaseEvent>& value) { m_relationalDatabaseEvents = value; }
48 
53  inline void SetRelationalDatabaseEvents(Aws::Vector<RelationalDatabaseEvent>&& value) { m_relationalDatabaseEvents = std::move(value); }
54 
59  inline GetRelationalDatabaseEventsResult& WithRelationalDatabaseEvents(const Aws::Vector<RelationalDatabaseEvent>& value) { SetRelationalDatabaseEvents(value); return *this;}
60 
65  inline GetRelationalDatabaseEventsResult& WithRelationalDatabaseEvents(Aws::Vector<RelationalDatabaseEvent>&& value) { SetRelationalDatabaseEvents(std::move(value)); return *this;}
66 
71  inline GetRelationalDatabaseEventsResult& AddRelationalDatabaseEvents(const RelationalDatabaseEvent& value) { m_relationalDatabaseEvents.push_back(value); return *this; }
72 
77  inline GetRelationalDatabaseEventsResult& AddRelationalDatabaseEvents(RelationalDatabaseEvent&& value) { m_relationalDatabaseEvents.push_back(std::move(value)); return *this; }
78 
79 
87  inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; }
88 
96  inline void SetNextPageToken(const Aws::String& value) { m_nextPageToken = value; }
97 
105  inline void SetNextPageToken(Aws::String&& value) { m_nextPageToken = std::move(value); }
106 
114  inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); }
115 
123  inline GetRelationalDatabaseEventsResult& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;}
124 
132  inline GetRelationalDatabaseEventsResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;}
133 
141  inline GetRelationalDatabaseEventsResult& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
142 
143  private:
144 
145  Aws::Vector<RelationalDatabaseEvent> m_relationalDatabaseEvents;
146 
147  Aws::String m_nextPageToken;
148  };
149 
150 } // namespace Model
151 } // namespace Lightsail
152 } // namespace Aws
Aws::Lightsail::Model::GetRelationalDatabaseEventsResult
Definition: GetRelationalDatabaseEventsResult.h:30
Aws::Lightsail::Model::GetRelationalDatabaseEventsResult::SetNextPageToken
void SetNextPageToken(Aws::String &&value)
Definition: GetRelationalDatabaseEventsResult.h:105
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::GetRelationalDatabaseEventsResult::SetRelationalDatabaseEvents
void SetRelationalDatabaseEvents(Aws::Vector< RelationalDatabaseEvent > &&value)
Definition: GetRelationalDatabaseEventsResult.h:53
Aws::Lightsail::Model::GetRelationalDatabaseEventsResult::WithNextPageToken
GetRelationalDatabaseEventsResult & WithNextPageToken(const char *value)
Definition: GetRelationalDatabaseEventsResult.h:141
Aws::Lightsail::Model::GetRelationalDatabaseEventsResult::AddRelationalDatabaseEvents
GetRelationalDatabaseEventsResult & AddRelationalDatabaseEvents(RelationalDatabaseEvent &&value)
Definition: GetRelationalDatabaseEventsResult.h:77
Aws::Lightsail::Model::GetRelationalDatabaseEventsResult::AddRelationalDatabaseEvents
GetRelationalDatabaseEventsResult & AddRelationalDatabaseEvents(const RelationalDatabaseEvent &value)
Definition: GetRelationalDatabaseEventsResult.h:71
Aws::Lightsail::Model::GetRelationalDatabaseEventsResult::GetRelationalDatabaseEventsResult
GetRelationalDatabaseEventsResult()
Aws::Lightsail::Model::GetRelationalDatabaseEventsResult::GetRelationalDatabaseEvents
const Aws::Vector< RelationalDatabaseEvent > & GetRelationalDatabaseEvents() const
Definition: GetRelationalDatabaseEventsResult.h:41
Aws::Lightsail::Model::GetRelationalDatabaseEventsResult::SetRelationalDatabaseEvents
void SetRelationalDatabaseEvents(const Aws::Vector< RelationalDatabaseEvent > &value)
Definition: GetRelationalDatabaseEventsResult.h:47
Aws::Lightsail::Model::GetRelationalDatabaseEventsResult::WithRelationalDatabaseEvents
GetRelationalDatabaseEventsResult & WithRelationalDatabaseEvents(const Aws::Vector< RelationalDatabaseEvent > &value)
Definition: GetRelationalDatabaseEventsResult.h:59
Aws::Lightsail::Model::GetRelationalDatabaseEventsResult::WithRelationalDatabaseEvents
GetRelationalDatabaseEventsResult & WithRelationalDatabaseEvents(Aws::Vector< RelationalDatabaseEvent > &&value)
Definition: GetRelationalDatabaseEventsResult.h:65
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Lightsail::Model::GetRelationalDatabaseEventsResult::SetNextPageToken
void SetNextPageToken(const Aws::String &value)
Definition: GetRelationalDatabaseEventsResult.h:96
Aws::Lightsail::Model::GetRelationalDatabaseEventsResult::GetNextPageToken
const Aws::String & GetNextPageToken() const
Definition: GetRelationalDatabaseEventsResult.h:87
Aws::Lightsail::Model::GetRelationalDatabaseEventsResult::operator=
GetRelationalDatabaseEventsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RelationalDatabaseEvent.h
AWSString.h
Lightsail_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::RelationalDatabaseEvent
Definition: RelationalDatabaseEvent.h:34
Aws::Lightsail::Model::GetRelationalDatabaseEventsResult::SetNextPageToken
void SetNextPageToken(const char *value)
Definition: GetRelationalDatabaseEventsResult.h:114
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::GetRelationalDatabaseEventsResult::GetRelationalDatabaseEventsResult
GetRelationalDatabaseEventsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::GetRelationalDatabaseEventsResult::WithNextPageToken
GetRelationalDatabaseEventsResult & WithNextPageToken(Aws::String &&value)
Definition: GetRelationalDatabaseEventsResult.h:132
Aws::Lightsail::Model::GetRelationalDatabaseEventsResult::WithNextPageToken
GetRelationalDatabaseEventsResult & WithNextPageToken(const Aws::String &value)
Definition: GetRelationalDatabaseEventsResult.h:123