AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRelationalDatabaseLogEventsRequest.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/LightsailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Lightsail
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetRelationalDatabaseLogEvents"; }
32
33 AWS_LIGHTSAIL_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetRelationalDatabaseName() const{ return m_relationalDatabaseName; }
43 inline bool RelationalDatabaseNameHasBeenSet() const { return m_relationalDatabaseNameHasBeenSet; }
44 inline void SetRelationalDatabaseName(const Aws::String& value) { m_relationalDatabaseNameHasBeenSet = true; m_relationalDatabaseName = value; }
45 inline void SetRelationalDatabaseName(Aws::String&& value) { m_relationalDatabaseNameHasBeenSet = true; m_relationalDatabaseName = std::move(value); }
46 inline void SetRelationalDatabaseName(const char* value) { m_relationalDatabaseNameHasBeenSet = true; m_relationalDatabaseName.assign(value); }
51
53
57 inline const Aws::String& GetLogStreamName() const{ return m_logStreamName; }
58 inline bool LogStreamNameHasBeenSet() const { return m_logStreamNameHasBeenSet; }
59 inline void SetLogStreamName(const Aws::String& value) { m_logStreamNameHasBeenSet = true; m_logStreamName = value; }
60 inline void SetLogStreamName(Aws::String&& value) { m_logStreamNameHasBeenSet = true; m_logStreamName = std::move(value); }
61 inline void SetLogStreamName(const char* value) { m_logStreamNameHasBeenSet = true; m_logStreamName.assign(value); }
63 inline GetRelationalDatabaseLogEventsRequest& WithLogStreamName(Aws::String&& value) { SetLogStreamName(std::move(value)); return *this;}
64 inline GetRelationalDatabaseLogEventsRequest& WithLogStreamName(const char* value) { SetLogStreamName(value); return *this;}
66
68
75 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
76 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
77 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
78 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
80 inline GetRelationalDatabaseLogEventsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
82
84
91 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
92 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
93 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
94 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
96 inline GetRelationalDatabaseLogEventsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
98
100
107 inline bool GetStartFromHead() const{ return m_startFromHead; }
108 inline bool StartFromHeadHasBeenSet() const { return m_startFromHeadHasBeenSet; }
109 inline void SetStartFromHead(bool value) { m_startFromHeadHasBeenSet = true; m_startFromHead = value; }
112
114
121 inline const Aws::String& GetPageToken() const{ return m_pageToken; }
122 inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; }
123 inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
124 inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::move(value); }
125 inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); }
127 inline GetRelationalDatabaseLogEventsRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;}
128 inline GetRelationalDatabaseLogEventsRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;}
130 private:
131
132 Aws::String m_relationalDatabaseName;
133 bool m_relationalDatabaseNameHasBeenSet = false;
134
135 Aws::String m_logStreamName;
136 bool m_logStreamNameHasBeenSet = false;
137
138 Aws::Utils::DateTime m_startTime;
139 bool m_startTimeHasBeenSet = false;
140
141 Aws::Utils::DateTime m_endTime;
142 bool m_endTimeHasBeenSet = false;
143
144 bool m_startFromHead;
145 bool m_startFromHeadHasBeenSet = false;
146
147 Aws::String m_pageToken;
148 bool m_pageTokenHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace Lightsail
153} // namespace Aws
GetRelationalDatabaseLogEventsRequest & WithRelationalDatabaseName(const Aws::String &value)
GetRelationalDatabaseLogEventsRequest & WithStartTime(const Aws::Utils::DateTime &value)
GetRelationalDatabaseLogEventsRequest & WithEndTime(Aws::Utils::DateTime &&value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
GetRelationalDatabaseLogEventsRequest & WithRelationalDatabaseName(const char *value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetRelationalDatabaseLogEventsRequest & WithLogStreamName(const char *value)
GetRelationalDatabaseLogEventsRequest & WithLogStreamName(const Aws::String &value)
GetRelationalDatabaseLogEventsRequest & WithEndTime(const Aws::Utils::DateTime &value)
GetRelationalDatabaseLogEventsRequest & WithStartTime(Aws::Utils::DateTime &&value)
GetRelationalDatabaseLogEventsRequest & WithPageToken(const char *value)
GetRelationalDatabaseLogEventsRequest & WithLogStreamName(Aws::String &&value)
GetRelationalDatabaseLogEventsRequest & WithRelationalDatabaseName(Aws::String &&value)
GetRelationalDatabaseLogEventsRequest & WithPageToken(Aws::String &&value)
GetRelationalDatabaseLogEventsRequest & WithPageToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String