AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeExportTasksRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/logs/CloudWatchLogs_EXPORTS.h>
10#include <aws/logs/model/ExportTaskStatusCode.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CloudWatchLogs {
16namespace Model {
17
21 public:
22 AWS_CLOUDWATCHLOGS_API DescribeExportTasksRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeExportTasks"; }
29
30 AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override;
31
32 AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
39 inline const Aws::String& GetTaskId() const { return m_taskId; }
40 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
41 template <typename TaskIdT = Aws::String>
42 void SetTaskId(TaskIdT&& value) {
43 m_taskIdHasBeenSet = true;
44 m_taskId = std::forward<TaskIdT>(value);
45 }
46 template <typename TaskIdT = Aws::String>
48 SetTaskId(std::forward<TaskIdT>(value));
49 return *this;
50 }
52
54
58 inline ExportTaskStatusCode GetStatusCode() const { return m_statusCode; }
59 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
61 m_statusCodeHasBeenSet = true;
62 m_statusCode = value;
63 }
65 SetStatusCode(value);
66 return *this;
67 }
69
71
75 inline const Aws::String& GetNextToken() const { return m_nextToken; }
76 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
77 template <typename NextTokenT = Aws::String>
78 void SetNextToken(NextTokenT&& value) {
79 m_nextTokenHasBeenSet = true;
80 m_nextToken = std::forward<NextTokenT>(value);
81 }
82 template <typename NextTokenT = Aws::String>
84 SetNextToken(std::forward<NextTokenT>(value));
85 return *this;
86 }
88
90
94 inline int GetLimit() const { return m_limit; }
95 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
96 inline void SetLimit(int value) {
97 m_limitHasBeenSet = true;
98 m_limit = value;
99 }
101 SetLimit(value);
102 return *this;
103 }
105 private:
106 Aws::String m_taskId;
107
109
110 Aws::String m_nextToken;
111
112 int m_limit{0};
113 bool m_taskIdHasBeenSet = false;
114 bool m_statusCodeHasBeenSet = false;
115 bool m_nextTokenHasBeenSet = false;
116 bool m_limitHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace CloudWatchLogs
121} // namespace Aws
DescribeExportTasksRequest & WithStatusCode(ExportTaskStatusCode value)
AWS_CLOUDWATCHLOGS_API DescribeExportTasksRequest()=default
DescribeExportTasksRequest & WithTaskId(TaskIdT &&value)
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeExportTasksRequest & WithNextToken(NextTokenT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String