AWS SDK for C++  1.9.108
AWS SDK for C++
GetRelationalDatabaseLogEventsResult.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<LogEvent>& GetResourceLogEvents() const{ return m_resourceLogEvents; }
42 
47  inline void SetResourceLogEvents(const Aws::Vector<LogEvent>& value) { m_resourceLogEvents = value; }
48 
53  inline void SetResourceLogEvents(Aws::Vector<LogEvent>&& value) { m_resourceLogEvents = std::move(value); }
54 
59  inline GetRelationalDatabaseLogEventsResult& WithResourceLogEvents(const Aws::Vector<LogEvent>& value) { SetResourceLogEvents(value); return *this;}
60 
65  inline GetRelationalDatabaseLogEventsResult& WithResourceLogEvents(Aws::Vector<LogEvent>&& value) { SetResourceLogEvents(std::move(value)); return *this;}
66 
71  inline GetRelationalDatabaseLogEventsResult& AddResourceLogEvents(const LogEvent& value) { m_resourceLogEvents.push_back(value); return *this; }
72 
77  inline GetRelationalDatabaseLogEventsResult& AddResourceLogEvents(LogEvent&& value) { m_resourceLogEvents.push_back(std::move(value)); return *this; }
78 
79 
84  inline const Aws::String& GetNextBackwardToken() const{ return m_nextBackwardToken; }
85 
90  inline void SetNextBackwardToken(const Aws::String& value) { m_nextBackwardToken = value; }
91 
96  inline void SetNextBackwardToken(Aws::String&& value) { m_nextBackwardToken = std::move(value); }
97 
102  inline void SetNextBackwardToken(const char* value) { m_nextBackwardToken.assign(value); }
103 
108  inline GetRelationalDatabaseLogEventsResult& WithNextBackwardToken(const Aws::String& value) { SetNextBackwardToken(value); return *this;}
109 
114  inline GetRelationalDatabaseLogEventsResult& WithNextBackwardToken(Aws::String&& value) { SetNextBackwardToken(std::move(value)); return *this;}
115 
120  inline GetRelationalDatabaseLogEventsResult& WithNextBackwardToken(const char* value) { SetNextBackwardToken(value); return *this;}
121 
122 
127  inline const Aws::String& GetNextForwardToken() const{ return m_nextForwardToken; }
128 
133  inline void SetNextForwardToken(const Aws::String& value) { m_nextForwardToken = value; }
134 
139  inline void SetNextForwardToken(Aws::String&& value) { m_nextForwardToken = std::move(value); }
140 
145  inline void SetNextForwardToken(const char* value) { m_nextForwardToken.assign(value); }
146 
151  inline GetRelationalDatabaseLogEventsResult& WithNextForwardToken(const Aws::String& value) { SetNextForwardToken(value); return *this;}
152 
157  inline GetRelationalDatabaseLogEventsResult& WithNextForwardToken(Aws::String&& value) { SetNextForwardToken(std::move(value)); return *this;}
158 
163  inline GetRelationalDatabaseLogEventsResult& WithNextForwardToken(const char* value) { SetNextForwardToken(value); return *this;}
164 
165  private:
166 
167  Aws::Vector<LogEvent> m_resourceLogEvents;
168 
169  Aws::String m_nextBackwardToken;
170 
171  Aws::String m_nextForwardToken;
172  };
173 
174 } // namespace Model
175 } // namespace Lightsail
176 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult::WithNextBackwardToken
GetRelationalDatabaseLogEventsResult & WithNextBackwardToken(const Aws::String &value)
Definition: GetRelationalDatabaseLogEventsResult.h:108
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult::AddResourceLogEvents
GetRelationalDatabaseLogEventsResult & AddResourceLogEvents(const LogEvent &value)
Definition: GetRelationalDatabaseLogEventsResult.h:71
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult::SetNextBackwardToken
void SetNextBackwardToken(const Aws::String &value)
Definition: GetRelationalDatabaseLogEventsResult.h:90
LogEvent.h
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult::GetRelationalDatabaseLogEventsResult
GetRelationalDatabaseLogEventsResult()
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult::WithNextBackwardToken
GetRelationalDatabaseLogEventsResult & WithNextBackwardToken(const char *value)
Definition: GetRelationalDatabaseLogEventsResult.h:120
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult::AddResourceLogEvents
GetRelationalDatabaseLogEventsResult & AddResourceLogEvents(LogEvent &&value)
Definition: GetRelationalDatabaseLogEventsResult.h:77
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult::GetRelationalDatabaseLogEventsResult
GetRelationalDatabaseLogEventsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSVector.h
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult::WithResourceLogEvents
GetRelationalDatabaseLogEventsResult & WithResourceLogEvents(const Aws::Vector< LogEvent > &value)
Definition: GetRelationalDatabaseLogEventsResult.h:59
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult
Definition: GetRelationalDatabaseLogEventsResult.h:30
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult::SetNextBackwardToken
void SetNextBackwardToken(Aws::String &&value)
Definition: GetRelationalDatabaseLogEventsResult.h:96
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult::WithNextBackwardToken
GetRelationalDatabaseLogEventsResult & WithNextBackwardToken(Aws::String &&value)
Definition: GetRelationalDatabaseLogEventsResult.h:114
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult::WithNextForwardToken
GetRelationalDatabaseLogEventsResult & WithNextForwardToken(const Aws::String &value)
Definition: GetRelationalDatabaseLogEventsResult.h:151
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult::SetNextForwardToken
void SetNextForwardToken(const Aws::String &value)
Definition: GetRelationalDatabaseLogEventsResult.h:133
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult::SetResourceLogEvents
void SetResourceLogEvents(Aws::Vector< LogEvent > &&value)
Definition: GetRelationalDatabaseLogEventsResult.h:53
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult::SetNextBackwardToken
void SetNextBackwardToken(const char *value)
Definition: GetRelationalDatabaseLogEventsResult.h:102
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult::GetNextBackwardToken
const Aws::String & GetNextBackwardToken() const
Definition: GetRelationalDatabaseLogEventsResult.h:84
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult::WithResourceLogEvents
GetRelationalDatabaseLogEventsResult & WithResourceLogEvents(Aws::Vector< LogEvent > &&value)
Definition: GetRelationalDatabaseLogEventsResult.h:65
AWSString.h
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult::WithNextForwardToken
GetRelationalDatabaseLogEventsResult & WithNextForwardToken(Aws::String &&value)
Definition: GetRelationalDatabaseLogEventsResult.h:157
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult::GetResourceLogEvents
const Aws::Vector< LogEvent > & GetResourceLogEvents() const
Definition: GetRelationalDatabaseLogEventsResult.h:41
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult::operator=
GetRelationalDatabaseLogEventsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Lightsail_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::LogEvent
Definition: LogEvent.h:33
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult::GetNextForwardToken
const Aws::String & GetNextForwardToken() const
Definition: GetRelationalDatabaseLogEventsResult.h:127
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult::SetResourceLogEvents
void SetResourceLogEvents(const Aws::Vector< LogEvent > &value)
Definition: GetRelationalDatabaseLogEventsResult.h:47
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult::WithNextForwardToken
GetRelationalDatabaseLogEventsResult & WithNextForwardToken(const char *value)
Definition: GetRelationalDatabaseLogEventsResult.h:163
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult::SetNextForwardToken
void SetNextForwardToken(const char *value)
Definition: GetRelationalDatabaseLogEventsResult.h:145
Aws::Lightsail::Model::GetRelationalDatabaseLogEventsResult::SetNextForwardToken
void SetNextForwardToken(Aws::String &&value)
Definition: GetRelationalDatabaseLogEventsResult.h:139