AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetContainerLogRequest.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:
25 AWS_LIGHTSAIL_API GetContainerLogRequest();
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 "GetContainerLog"; }
32
33 AWS_LIGHTSAIL_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetServiceName() const{ return m_serviceName; }
43 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
44 inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
45 inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
46 inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
47 inline GetContainerLogRequest& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
48 inline GetContainerLogRequest& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
49 inline GetContainerLogRequest& WithServiceName(const char* value) { SetServiceName(value); return *this;}
51
53
57 inline const Aws::String& GetContainerName() const{ return m_containerName; }
58 inline bool ContainerNameHasBeenSet() const { return m_containerNameHasBeenSet; }
59 inline void SetContainerName(const Aws::String& value) { m_containerNameHasBeenSet = true; m_containerName = value; }
60 inline void SetContainerName(Aws::String&& value) { m_containerNameHasBeenSet = true; m_containerName = std::move(value); }
61 inline void SetContainerName(const char* value) { m_containerNameHasBeenSet = true; m_containerName.assign(value); }
62 inline GetContainerLogRequest& WithContainerName(const Aws::String& value) { SetContainerName(value); return *this;}
63 inline GetContainerLogRequest& WithContainerName(Aws::String&& value) { SetContainerName(std::move(value)); return *this;}
64 inline GetContainerLogRequest& WithContainerName(const char* value) { SetContainerName(value); return *this;}
66
68
77 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
78 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
79 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
80 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
81 inline GetContainerLogRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
82 inline GetContainerLogRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
84
86
95 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
96 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
97 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
98 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
99 inline GetContainerLogRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
100 inline GetContainerLogRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
102
104
119 inline const Aws::String& GetFilterPattern() const{ return m_filterPattern; }
120 inline bool FilterPatternHasBeenSet() const { return m_filterPatternHasBeenSet; }
121 inline void SetFilterPattern(const Aws::String& value) { m_filterPatternHasBeenSet = true; m_filterPattern = value; }
122 inline void SetFilterPattern(Aws::String&& value) { m_filterPatternHasBeenSet = true; m_filterPattern = std::move(value); }
123 inline void SetFilterPattern(const char* value) { m_filterPatternHasBeenSet = true; m_filterPattern.assign(value); }
124 inline GetContainerLogRequest& WithFilterPattern(const Aws::String& value) { SetFilterPattern(value); return *this;}
125 inline GetContainerLogRequest& WithFilterPattern(Aws::String&& value) { SetFilterPattern(std::move(value)); return *this;}
126 inline GetContainerLogRequest& WithFilterPattern(const char* value) { SetFilterPattern(value); return *this;}
128
130
136 inline const Aws::String& GetPageToken() const{ return m_pageToken; }
137 inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; }
138 inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
139 inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::move(value); }
140 inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); }
141 inline GetContainerLogRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
142 inline GetContainerLogRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;}
143 inline GetContainerLogRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;}
145 private:
146
147 Aws::String m_serviceName;
148 bool m_serviceNameHasBeenSet = false;
149
150 Aws::String m_containerName;
151 bool m_containerNameHasBeenSet = false;
152
153 Aws::Utils::DateTime m_startTime;
154 bool m_startTimeHasBeenSet = false;
155
156 Aws::Utils::DateTime m_endTime;
157 bool m_endTimeHasBeenSet = false;
158
159 Aws::String m_filterPattern;
160 bool m_filterPatternHasBeenSet = false;
161
162 Aws::String m_pageToken;
163 bool m_pageTokenHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace Lightsail
168} // namespace Aws
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetContainerLogRequest & WithFilterPattern(const Aws::String &value)
GetContainerLogRequest & WithContainerName(Aws::String &&value)
GetContainerLogRequest & WithFilterPattern(Aws::String &&value)
GetContainerLogRequest & WithServiceName(const Aws::String &value)
GetContainerLogRequest & WithEndTime(Aws::Utils::DateTime &&value)
GetContainerLogRequest & WithStartTime(Aws::Utils::DateTime &&value)
GetContainerLogRequest & WithServiceName(const char *value)
virtual const char * GetServiceRequestName() const override
GetContainerLogRequest & WithContainerName(const char *value)
GetContainerLogRequest & WithContainerName(const Aws::String &value)
const Aws::Utils::DateTime & GetStartTime() const
GetContainerLogRequest & WithFilterPattern(const char *value)
void SetEndTime(const Aws::Utils::DateTime &value)
void SetStartTime(Aws::Utils::DateTime &&value)
GetContainerLogRequest & WithPageToken(const Aws::String &value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
GetContainerLogRequest & WithEndTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEndTime() const
GetContainerLogRequest & WithPageToken(const char *value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetEndTime(Aws::Utils::DateTime &&value)
GetContainerLogRequest & WithStartTime(const Aws::Utils::DateTime &value)
GetContainerLogRequest & WithPageToken(Aws::String &&value)
GetContainerLogRequest & WithServiceName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String