AWS SDK for C++  1.9.108
AWS SDK for C++
GetContainerLogRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Lightsail
16 {
17 namespace 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 "GetContainerLog"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetServiceName() const{ return m_serviceName; }
42 
46  inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
47 
51  inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
52 
56  inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
57 
61  inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
62 
66  inline GetContainerLogRequest& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
67 
71  inline GetContainerLogRequest& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
72 
76  inline GetContainerLogRequest& WithServiceName(const char* value) { SetServiceName(value); return *this;}
77 
78 
83  inline const Aws::String& GetContainerName() const{ return m_containerName; }
84 
89  inline bool ContainerNameHasBeenSet() const { return m_containerNameHasBeenSet; }
90 
95  inline void SetContainerName(const Aws::String& value) { m_containerNameHasBeenSet = true; m_containerName = value; }
96 
101  inline void SetContainerName(Aws::String&& value) { m_containerNameHasBeenSet = true; m_containerName = std::move(value); }
102 
107  inline void SetContainerName(const char* value) { m_containerNameHasBeenSet = true; m_containerName.assign(value); }
108 
113  inline GetContainerLogRequest& WithContainerName(const Aws::String& value) { SetContainerName(value); return *this;}
114 
119  inline GetContainerLogRequest& WithContainerName(Aws::String&& value) { SetContainerName(std::move(value)); return *this;}
120 
125  inline GetContainerLogRequest& WithContainerName(const char* value) { SetContainerName(value); return *this;}
126 
127 
137  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
138 
148  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
149 
159  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
160 
170  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
171 
181  inline GetContainerLogRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
182 
192  inline GetContainerLogRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
193 
194 
204  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
205 
215  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
216 
226  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
227 
237  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
238 
248  inline GetContainerLogRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
249 
259  inline GetContainerLogRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
260 
261 
277  inline const Aws::String& GetFilterPattern() const{ return m_filterPattern; }
278 
294  inline bool FilterPatternHasBeenSet() const { return m_filterPatternHasBeenSet; }
295 
311  inline void SetFilterPattern(const Aws::String& value) { m_filterPatternHasBeenSet = true; m_filterPattern = value; }
312 
328  inline void SetFilterPattern(Aws::String&& value) { m_filterPatternHasBeenSet = true; m_filterPattern = std::move(value); }
329 
345  inline void SetFilterPattern(const char* value) { m_filterPatternHasBeenSet = true; m_filterPattern.assign(value); }
346 
362  inline GetContainerLogRequest& WithFilterPattern(const Aws::String& value) { SetFilterPattern(value); return *this;}
363 
379  inline GetContainerLogRequest& WithFilterPattern(Aws::String&& value) { SetFilterPattern(std::move(value)); return *this;}
380 
396  inline GetContainerLogRequest& WithFilterPattern(const char* value) { SetFilterPattern(value); return *this;}
397 
398 
405  inline const Aws::String& GetPageToken() const{ return m_pageToken; }
406 
413  inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; }
414 
421  inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
422 
429  inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::move(value); }
430 
437  inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); }
438 
445  inline GetContainerLogRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
446 
453  inline GetContainerLogRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;}
454 
461  inline GetContainerLogRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;}
462 
463  private:
464 
465  Aws::String m_serviceName;
466  bool m_serviceNameHasBeenSet;
467 
468  Aws::String m_containerName;
469  bool m_containerNameHasBeenSet;
470 
471  Aws::Utils::DateTime m_startTime;
472  bool m_startTimeHasBeenSet;
473 
474  Aws::Utils::DateTime m_endTime;
475  bool m_endTimeHasBeenSet;
476 
477  Aws::String m_filterPattern;
478  bool m_filterPatternHasBeenSet;
479 
480  Aws::String m_pageToken;
481  bool m_pageTokenHasBeenSet;
482  };
483 
484 } // namespace Model
485 } // namespace Lightsail
486 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Lightsail::Model::GetContainerLogRequest::WithPageToken
GetContainerLogRequest & WithPageToken(Aws::String &&value)
Definition: GetContainerLogRequest.h:453
Aws::Lightsail::Model::GetContainerLogRequest::SetServiceName
void SetServiceName(Aws::String &&value)
Definition: GetContainerLogRequest.h:56
Aws::Lightsail::Model::GetContainerLogRequest::WithFilterPattern
GetContainerLogRequest & WithFilterPattern(const char *value)
Definition: GetContainerLogRequest.h:396
Aws::Lightsail::Model::GetContainerLogRequest::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: GetContainerLogRequest.h:137
Aws::Lightsail::Model::GetContainerLogRequest::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: GetContainerLogRequest.h:148
Aws::Lightsail::Model::GetContainerLogRequest::GetPageToken
const Aws::String & GetPageToken() const
Definition: GetContainerLogRequest.h:405
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Lightsail::Model::GetContainerLogRequest::FilterPatternHasBeenSet
bool FilterPatternHasBeenSet() const
Definition: GetContainerLogRequest.h:294
Aws::Lightsail::Model::GetContainerLogRequest::SetPageToken
void SetPageToken(const char *value)
Definition: GetContainerLogRequest.h:437
Aws::Lightsail::Model::GetContainerLogRequest::ContainerNameHasBeenSet
bool ContainerNameHasBeenSet() const
Definition: GetContainerLogRequest.h:89
Aws::Lightsail::Model::GetContainerLogRequest::WithStartTime
GetContainerLogRequest & WithStartTime(Aws::Utils::DateTime &&value)
Definition: GetContainerLogRequest.h:192
Aws::Lightsail::Model::GetContainerLogRequest::WithFilterPattern
GetContainerLogRequest & WithFilterPattern(const Aws::String &value)
Definition: GetContainerLogRequest.h:362
Aws::Lightsail::Model::GetContainerLogRequest::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: GetContainerLogRequest.h:226
DateTime.h
Aws::Lightsail::Model::GetContainerLogRequest::GetServiceName
const Aws::String & GetServiceName() const
Definition: GetContainerLogRequest.h:41
Aws::Lightsail::Model::GetContainerLogRequest::WithPageToken
GetContainerLogRequest & WithPageToken(const Aws::String &value)
Definition: GetContainerLogRequest.h:445
Aws::Lightsail::Model::GetContainerLogRequest::SetServiceName
void SetServiceName(const char *value)
Definition: GetContainerLogRequest.h:61
Aws::Lightsail::Model::GetContainerLogRequest::SetFilterPattern
void SetFilterPattern(Aws::String &&value)
Definition: GetContainerLogRequest.h:328
Aws::Lightsail::Model::GetContainerLogRequest::WithServiceName
GetContainerLogRequest & WithServiceName(const Aws::String &value)
Definition: GetContainerLogRequest.h:66
Aws::Lightsail::Model::GetContainerLogRequest::WithServiceName
GetContainerLogRequest & WithServiceName(Aws::String &&value)
Definition: GetContainerLogRequest.h:71
Aws::Lightsail::Model::GetContainerLogRequest::PageTokenHasBeenSet
bool PageTokenHasBeenSet() const
Definition: GetContainerLogRequest.h:413
Aws::Lightsail::Model::GetContainerLogRequest::WithEndTime
GetContainerLogRequest & WithEndTime(const Aws::Utils::DateTime &value)
Definition: GetContainerLogRequest.h:248
Aws::Lightsail::Model::GetContainerLogRequest::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: GetContainerLogRequest.h:170
LightsailRequest.h
Aws::Lightsail::Model::GetContainerLogRequest::SetPageToken
void SetPageToken(Aws::String &&value)
Definition: GetContainerLogRequest.h:429
Aws::Lightsail::Model::GetContainerLogRequest::WithContainerName
GetContainerLogRequest & WithContainerName(const char *value)
Definition: GetContainerLogRequest.h:125
Aws::Lightsail::Model::GetContainerLogRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lightsail::Model::GetContainerLogRequest::ServiceNameHasBeenSet
bool ServiceNameHasBeenSet() const
Definition: GetContainerLogRequest.h:46
Aws::Lightsail::Model::GetContainerLogRequest::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: GetContainerLogRequest.h:215
Aws::Lightsail::Model::GetContainerLogRequest::WithServiceName
GetContainerLogRequest & WithServiceName(const char *value)
Definition: GetContainerLogRequest.h:76
Aws::Lightsail::Model::GetContainerLogRequest::GetFilterPattern
const Aws::String & GetFilterPattern() const
Definition: GetContainerLogRequest.h:277
Aws::Lightsail::LightsailRequest
Definition: LightsailRequest.h:17
Aws::Lightsail::Model::GetContainerLogRequest::GetContainerName
const Aws::String & GetContainerName() const
Definition: GetContainerLogRequest.h:83
Aws::Lightsail::Model::GetContainerLogRequest::SetPageToken
void SetPageToken(const Aws::String &value)
Definition: GetContainerLogRequest.h:421
Aws::Lightsail::Model::GetContainerLogRequest::SetContainerName
void SetContainerName(const Aws::String &value)
Definition: GetContainerLogRequest.h:95
AWSString.h
Aws::Lightsail::Model::GetContainerLogRequest::SetContainerName
void SetContainerName(Aws::String &&value)
Definition: GetContainerLogRequest.h:101
Aws::Lightsail::Model::GetContainerLogRequest
Definition: GetContainerLogRequest.h:23
Aws::Lightsail::Model::GetContainerLogRequest::SetFilterPattern
void SetFilterPattern(const Aws::String &value)
Definition: GetContainerLogRequest.h:311
Aws::Lightsail::Model::GetContainerLogRequest::SetServiceName
void SetServiceName(const Aws::String &value)
Definition: GetContainerLogRequest.h:51
Aws::Lightsail::Model::GetContainerLogRequest::WithContainerName
GetContainerLogRequest & WithContainerName(const Aws::String &value)
Definition: GetContainerLogRequest.h:113
Aws::Lightsail::Model::GetContainerLogRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Lightsail::Model::GetContainerLogRequest::SetContainerName
void SetContainerName(const char *value)
Definition: GetContainerLogRequest.h:107
Aws::Lightsail::Model::GetContainerLogRequest::WithPageToken
GetContainerLogRequest & WithPageToken(const char *value)
Definition: GetContainerLogRequest.h:461
Lightsail_EXPORTS.h
Aws::Lightsail::Model::GetContainerLogRequest::WithContainerName
GetContainerLogRequest & WithContainerName(Aws::String &&value)
Definition: GetContainerLogRequest.h:119
Aws::Lightsail::Model::GetContainerLogRequest::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: GetContainerLogRequest.h:237
Aws::Lightsail::Model::GetContainerLogRequest::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: GetContainerLogRequest.h:204
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::GetContainerLogRequest::WithEndTime
GetContainerLogRequest & WithEndTime(Aws::Utils::DateTime &&value)
Definition: GetContainerLogRequest.h:259
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::GetContainerLogRequest::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: GetContainerLogRequest.h:159
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::GetContainerLogRequest::WithStartTime
GetContainerLogRequest & WithStartTime(const Aws::Utils::DateTime &value)
Definition: GetContainerLogRequest.h:181
Aws::Lightsail::Model::GetContainerLogRequest::SetFilterPattern
void SetFilterPattern(const char *value)
Definition: GetContainerLogRequest.h:345
Aws::Lightsail::Model::GetContainerLogRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetContainerLogRequest.h:31
Aws::Lightsail::Model::GetContainerLogRequest::WithFilterPattern
GetContainerLogRequest & WithFilterPattern(Aws::String &&value)
Definition: GetContainerLogRequest.h:379
Aws::Lightsail::Model::GetContainerLogRequest::GetContainerLogRequest
GetContainerLogRequest()