AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeExportTasksRequest.h
1
6#pragma once
7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/logs/model/ExportTaskStatusCode.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CloudWatchLogs
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CLOUDWATCHLOGS_API DescribeExportTasksRequest() = default;
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 "DescribeExportTasks"; }
32
33 AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override;
34
35 AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetTaskId() const { return m_taskId; }
44 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
45 template<typename TaskIdT = Aws::String>
46 void SetTaskId(TaskIdT&& value) { m_taskIdHasBeenSet = true; m_taskId = std::forward<TaskIdT>(value); }
47 template<typename TaskIdT = Aws::String>
48 DescribeExportTasksRequest& WithTaskId(TaskIdT&& value) { SetTaskId(std::forward<TaskIdT>(value)); return *this;}
50
52
56 inline ExportTaskStatusCode GetStatusCode() const { return m_statusCode; }
57 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
58 inline void SetStatusCode(ExportTaskStatusCode value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
61
63
67 inline const Aws::String& GetNextToken() const { return m_nextToken; }
68 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
69 template<typename NextTokenT = Aws::String>
70 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
71 template<typename NextTokenT = Aws::String>
72 DescribeExportTasksRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
74
76
80 inline int GetLimit() const { return m_limit; }
81 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
82 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
83 inline DescribeExportTasksRequest& WithLimit(int value) { SetLimit(value); return *this;}
85 private:
86
87 Aws::String m_taskId;
88 bool m_taskIdHasBeenSet = false;
89
91 bool m_statusCodeHasBeenSet = false;
92
93 Aws::String m_nextToken;
94 bool m_nextTokenHasBeenSet = false;
95
96 int m_limit{0};
97 bool m_limitHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace CloudWatchLogs
102} // 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