AWS SDK for C++  1.9.132
AWS SDK for C++
ListDetectMitigationActionsTasksRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace IoT
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "ListDetectMitigationActionsTasks"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
45  inline int GetMaxResults() const{ return m_maxResults; }
46 
50  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
51 
55  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
56 
60  inline ListDetectMitigationActionsTasksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
61 
62 
66  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
67 
71  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
72 
76  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
77 
81  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
82 
86  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
87 
91  inline ListDetectMitigationActionsTasksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
92 
96  inline ListDetectMitigationActionsTasksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
97 
101  inline ListDetectMitigationActionsTasksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
102 
103 
108  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
109 
114  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
115 
120  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
121 
126  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
127 
132  inline ListDetectMitigationActionsTasksRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
133 
138  inline ListDetectMitigationActionsTasksRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
139 
140 
145  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
146 
151  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
152 
157  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
158 
163  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
164 
169  inline ListDetectMitigationActionsTasksRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
170 
175  inline ListDetectMitigationActionsTasksRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
176 
177  private:
178 
179  int m_maxResults;
180  bool m_maxResultsHasBeenSet;
181 
182  Aws::String m_nextToken;
183  bool m_nextTokenHasBeenSet;
184 
185  Aws::Utils::DateTime m_startTime;
186  bool m_startTimeHasBeenSet;
187 
188  Aws::Utils::DateTime m_endTime;
189  bool m_endTimeHasBeenSet;
190  };
191 
192 } // namespace Model
193 } // namespace IoT
194 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest
Definition: ListDetectMitigationActionsTasksRequest.h:27
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::WithNextToken
ListDetectMitigationActionsTasksRequest & WithNextToken(const Aws::String &value)
Definition: ListDetectMitigationActionsTasksRequest.h:91
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListDetectMitigationActionsTasksRequest.h:71
Aws::Http::URI
Definition: URI.h:32
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListDetectMitigationActionsTasksRequest.h:86
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::WithStartTime
ListDetectMitigationActionsTasksRequest & WithStartTime(Aws::Utils::DateTime &&value)
Definition: ListDetectMitigationActionsTasksRequest.h:138
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDetectMitigationActionsTasksRequest.h:35
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListDetectMitigationActionsTasksRequest.h:50
DateTime.h
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDetectMitigationActionsTasksRequest.h:66
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::WithNextToken
ListDetectMitigationActionsTasksRequest & WithNextToken(Aws::String &&value)
Definition: ListDetectMitigationActionsTasksRequest.h:96
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::WithEndTime
ListDetectMitigationActionsTasksRequest & WithEndTime(const Aws::Utils::DateTime &value)
Definition: ListDetectMitigationActionsTasksRequest.h:169
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: ListDetectMitigationActionsTasksRequest.h:114
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::WithStartTime
ListDetectMitigationActionsTasksRequest & WithStartTime(const Aws::Utils::DateTime &value)
Definition: ListDetectMitigationActionsTasksRequest.h:132
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::WithNextToken
ListDetectMitigationActionsTasksRequest & WithNextToken(const char *value)
Definition: ListDetectMitigationActionsTasksRequest.h:101
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListDetectMitigationActionsTasksRequest.h:55
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::GetMaxResults
int GetMaxResults() const
Definition: ListDetectMitigationActionsTasksRequest.h:45
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::ListDetectMitigationActionsTasksRequest
ListDetectMitigationActionsTasksRequest()
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: ListDetectMitigationActionsTasksRequest.h:151
AWSString.h
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::WithMaxResults
ListDetectMitigationActionsTasksRequest & WithMaxResults(int value)
Definition: ListDetectMitigationActionsTasksRequest.h:60
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: ListDetectMitigationActionsTasksRequest.h:120
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: ListDetectMitigationActionsTasksRequest.h:145
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::WithEndTime
ListDetectMitigationActionsTasksRequest & WithEndTime(Aws::Utils::DateTime &&value)
Definition: ListDetectMitigationActionsTasksRequest.h:175
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: ListDetectMitigationActionsTasksRequest.h:163
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDetectMitigationActionsTasksRequest.h:76
IoTRequest.h
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: ListDetectMitigationActionsTasksRequest.h:157
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDetectMitigationActionsTasksRequest.h:81
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: ListDetectMitigationActionsTasksRequest.h:108
Aws::IoT::Model::ListDetectMitigationActionsTasksRequest::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: ListDetectMitigationActionsTasksRequest.h:126
IoT_EXPORTS.h