AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListAuditTasksRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/iot/model/AuditTaskType.h>
11#include <aws/iot/model/AuditTaskStatus.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Http
18{
19 class URI;
20} //namespace Http
21namespace IoT
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_IOT_API ListAuditTasksRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "ListAuditTasks"; }
38
39 AWS_IOT_API Aws::String SerializePayload() const override;
40
41 AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
50 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
51 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
52 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
53 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
54 inline ListAuditTasksRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
55 inline ListAuditTasksRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
57
59
62 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
63 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
64 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
65 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
66 inline ListAuditTasksRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
67 inline ListAuditTasksRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
69
71
75 inline const AuditTaskType& GetTaskType() const{ return m_taskType; }
76 inline bool TaskTypeHasBeenSet() const { return m_taskTypeHasBeenSet; }
77 inline void SetTaskType(const AuditTaskType& value) { m_taskTypeHasBeenSet = true; m_taskType = value; }
78 inline void SetTaskType(AuditTaskType&& value) { m_taskTypeHasBeenSet = true; m_taskType = std::move(value); }
79 inline ListAuditTasksRequest& WithTaskType(const AuditTaskType& value) { SetTaskType(value); return *this;}
80 inline ListAuditTasksRequest& WithTaskType(AuditTaskType&& value) { SetTaskType(std::move(value)); return *this;}
82
84
88 inline const AuditTaskStatus& GetTaskStatus() const{ return m_taskStatus; }
89 inline bool TaskStatusHasBeenSet() const { return m_taskStatusHasBeenSet; }
90 inline void SetTaskStatus(const AuditTaskStatus& value) { m_taskStatusHasBeenSet = true; m_taskStatus = value; }
91 inline void SetTaskStatus(AuditTaskStatus&& value) { m_taskStatusHasBeenSet = true; m_taskStatus = std::move(value); }
92 inline ListAuditTasksRequest& WithTaskStatus(const AuditTaskStatus& value) { SetTaskStatus(value); return *this;}
93 inline ListAuditTasksRequest& WithTaskStatus(AuditTaskStatus&& value) { SetTaskStatus(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
101 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
102 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
103 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
104 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
105 inline ListAuditTasksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
106 inline ListAuditTasksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
107 inline ListAuditTasksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
109
111
114 inline int GetMaxResults() const{ return m_maxResults; }
115 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
116 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
117 inline ListAuditTasksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
119 private:
120
121 Aws::Utils::DateTime m_startTime;
122 bool m_startTimeHasBeenSet = false;
123
124 Aws::Utils::DateTime m_endTime;
125 bool m_endTimeHasBeenSet = false;
126
127 AuditTaskType m_taskType;
128 bool m_taskTypeHasBeenSet = false;
129
130 AuditTaskStatus m_taskStatus;
131 bool m_taskStatusHasBeenSet = false;
132
133 Aws::String m_nextToken;
134 bool m_nextTokenHasBeenSet = false;
135
136 int m_maxResults;
137 bool m_maxResultsHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace IoT
142} // namespace Aws
const Aws::Utils::DateTime & GetEndTime() const
const Aws::Utils::DateTime & GetStartTime() const
ListAuditTasksRequest & WithTaskStatus(AuditTaskStatus &&value)
void SetTaskStatus(AuditTaskStatus &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetTaskStatus(const AuditTaskStatus &value)
ListAuditTasksRequest & WithTaskStatus(const AuditTaskStatus &value)
AWS_IOT_API Aws::String SerializePayload() const override
ListAuditTasksRequest & WithEndTime(Aws::Utils::DateTime &&value)
ListAuditTasksRequest & WithNextToken(const char *value)
void SetNextToken(const Aws::String &value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetEndTime(Aws::Utils::DateTime &&value)
ListAuditTasksRequest & WithNextToken(Aws::String &&value)
ListAuditTasksRequest & WithStartTime(const Aws::Utils::DateTime &value)
ListAuditTasksRequest & WithNextToken(const Aws::String &value)
void SetEndTime(const Aws::Utils::DateTime &value)
ListAuditTasksRequest & WithMaxResults(int value)
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
void SetTaskType(const AuditTaskType &value)
const AuditTaskStatus & GetTaskStatus() const
ListAuditTasksRequest & WithTaskType(AuditTaskType &&value)
ListAuditTasksRequest & WithStartTime(Aws::Utils::DateTime &&value)
ListAuditTasksRequest & WithEndTime(const Aws::Utils::DateTime &value)
ListAuditTasksRequest & WithTaskType(const AuditTaskType &value)
const AuditTaskType & GetTaskType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String