AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; }
46 inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); }
47 inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); }
48 inline DescribeExportTasksRequest& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
49 inline DescribeExportTasksRequest& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
50 inline DescribeExportTasksRequest& WithTaskId(const char* value) { SetTaskId(value); return *this;}
52
54
58 inline const ExportTaskStatusCode& GetStatusCode() const{ return m_statusCode; }
59 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
60 inline void SetStatusCode(const ExportTaskStatusCode& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
61 inline void SetStatusCode(ExportTaskStatusCode&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::move(value); }
62 inline DescribeExportTasksRequest& WithStatusCode(const ExportTaskStatusCode& value) { SetStatusCode(value); return *this;}
63 inline DescribeExportTasksRequest& WithStatusCode(ExportTaskStatusCode&& value) { SetStatusCode(std::move(value)); return *this;}
65
67
71 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
72 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
74 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
75 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
76 inline DescribeExportTasksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
77 inline DescribeExportTasksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 inline DescribeExportTasksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
80
82
86 inline int GetLimit() const{ return m_limit; }
87 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
88 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
89 inline DescribeExportTasksRequest& WithLimit(int value) { SetLimit(value); return *this;}
91 private:
92
93 Aws::String m_taskId;
94 bool m_taskIdHasBeenSet = false;
95
96 ExportTaskStatusCode m_statusCode;
97 bool m_statusCodeHasBeenSet = false;
98
99 Aws::String m_nextToken;
100 bool m_nextTokenHasBeenSet = false;
101
102 int m_limit;
103 bool m_limitHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace CloudWatchLogs
108} // namespace Aws
DescribeExportTasksRequest & WithTaskId(Aws::String &&value)
DescribeExportTasksRequest & WithNextToken(const char *value)
DescribeExportTasksRequest & WithTaskId(const char *value)
DescribeExportTasksRequest & WithStatusCode(const ExportTaskStatusCode &value)
DescribeExportTasksRequest & WithNextToken(const Aws::String &value)
DescribeExportTasksRequest & WithStatusCode(ExportTaskStatusCode &&value)
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
DescribeExportTasksRequest & WithNextToken(Aws::String &&value)
DescribeExportTasksRequest & WithTaskId(const Aws::String &value)
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String