AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRelationalDatabaseLogEventsResult.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lightsail/model/LogEvent.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Lightsail
26{
27namespace Model
28{
30 {
31 public:
35
36
38
42 inline const Aws::Vector<LogEvent>& GetResourceLogEvents() const{ return m_resourceLogEvents; }
43 inline void SetResourceLogEvents(const Aws::Vector<LogEvent>& value) { m_resourceLogEvents = value; }
44 inline void SetResourceLogEvents(Aws::Vector<LogEvent>&& value) { m_resourceLogEvents = std::move(value); }
47 inline GetRelationalDatabaseLogEventsResult& AddResourceLogEvents(const LogEvent& value) { m_resourceLogEvents.push_back(value); return *this; }
48 inline GetRelationalDatabaseLogEventsResult& AddResourceLogEvents(LogEvent&& value) { m_resourceLogEvents.push_back(std::move(value)); return *this; }
50
52
56 inline const Aws::String& GetNextBackwardToken() const{ return m_nextBackwardToken; }
57 inline void SetNextBackwardToken(const Aws::String& value) { m_nextBackwardToken = value; }
58 inline void SetNextBackwardToken(Aws::String&& value) { m_nextBackwardToken = std::move(value); }
59 inline void SetNextBackwardToken(const char* value) { m_nextBackwardToken.assign(value); }
62 inline GetRelationalDatabaseLogEventsResult& WithNextBackwardToken(const char* value) { SetNextBackwardToken(value); return *this;}
64
66
70 inline const Aws::String& GetNextForwardToken() const{ return m_nextForwardToken; }
71 inline void SetNextForwardToken(const Aws::String& value) { m_nextForwardToken = value; }
72 inline void SetNextForwardToken(Aws::String&& value) { m_nextForwardToken = std::move(value); }
73 inline void SetNextForwardToken(const char* value) { m_nextForwardToken.assign(value); }
76 inline GetRelationalDatabaseLogEventsResult& WithNextForwardToken(const char* value) { SetNextForwardToken(value); return *this;}
78
80
81 inline const Aws::String& GetRequestId() const{ return m_requestId; }
82 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
83 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
84 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
85 inline GetRelationalDatabaseLogEventsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
86 inline GetRelationalDatabaseLogEventsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
87 inline GetRelationalDatabaseLogEventsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
89 private:
90
91 Aws::Vector<LogEvent> m_resourceLogEvents;
92
93 Aws::String m_nextBackwardToken;
94
95 Aws::String m_nextForwardToken;
96
97 Aws::String m_requestId;
98 };
99
100} // namespace Model
101} // namespace Lightsail
102} // namespace Aws
GetRelationalDatabaseLogEventsResult & AddResourceLogEvents(const LogEvent &value)
GetRelationalDatabaseLogEventsResult & WithRequestId(Aws::String &&value)
GetRelationalDatabaseLogEventsResult & WithResourceLogEvents(const Aws::Vector< LogEvent > &value)
GetRelationalDatabaseLogEventsResult & WithNextForwardToken(const Aws::String &value)
GetRelationalDatabaseLogEventsResult & WithResourceLogEvents(Aws::Vector< LogEvent > &&value)
AWS_LIGHTSAIL_API GetRelationalDatabaseLogEventsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRelationalDatabaseLogEventsResult & AddResourceLogEvents(LogEvent &&value)
GetRelationalDatabaseLogEventsResult & WithNextForwardToken(const char *value)
AWS_LIGHTSAIL_API GetRelationalDatabaseLogEventsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRelationalDatabaseLogEventsResult & WithNextBackwardToken(Aws::String &&value)
GetRelationalDatabaseLogEventsResult & WithRequestId(const char *value)
GetRelationalDatabaseLogEventsResult & WithNextBackwardToken(const char *value)
GetRelationalDatabaseLogEventsResult & WithRequestId(const Aws::String &value)
GetRelationalDatabaseLogEventsResult & WithNextForwardToken(Aws::String &&value)
GetRelationalDatabaseLogEventsResult & WithNextBackwardToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue