AWS SDK for C++  1.9.109
AWS SDK for C++
ListThingRegistrationTaskReportsRequest.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 "ListThingRegistrationTaskReports"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
45  inline const Aws::String& GetTaskId() const{ return m_taskId; }
46 
50  inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
51 
55  inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; }
56 
60  inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); }
61 
65  inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); }
66 
70  inline ListThingRegistrationTaskReportsRequest& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
71 
75  inline ListThingRegistrationTaskReportsRequest& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
76 
80  inline ListThingRegistrationTaskReportsRequest& WithTaskId(const char* value) { SetTaskId(value); return *this;}
81 
82 
86  inline const ReportType& GetReportType() const{ return m_reportType; }
87 
91  inline bool ReportTypeHasBeenSet() const { return m_reportTypeHasBeenSet; }
92 
96  inline void SetReportType(const ReportType& value) { m_reportTypeHasBeenSet = true; m_reportType = value; }
97 
101  inline void SetReportType(ReportType&& value) { m_reportTypeHasBeenSet = true; m_reportType = std::move(value); }
102 
106  inline ListThingRegistrationTaskReportsRequest& WithReportType(const ReportType& value) { SetReportType(value); return *this;}
107 
111  inline ListThingRegistrationTaskReportsRequest& WithReportType(ReportType&& value) { SetReportType(std::move(value)); return *this;}
112 
113 
119  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
120 
126  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
127 
133  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
134 
140  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
141 
147  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
148 
154  inline ListThingRegistrationTaskReportsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
155 
161  inline ListThingRegistrationTaskReportsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
162 
168  inline ListThingRegistrationTaskReportsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
169 
170 
174  inline int GetMaxResults() const{ return m_maxResults; }
175 
179  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
180 
184  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
185 
189  inline ListThingRegistrationTaskReportsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
190 
191  private:
192 
193  Aws::String m_taskId;
194  bool m_taskIdHasBeenSet;
195 
196  ReportType m_reportType;
197  bool m_reportTypeHasBeenSet;
198 
199  Aws::String m_nextToken;
200  bool m_nextTokenHasBeenSet;
201 
202  int m_maxResults;
203  bool m_maxResultsHasBeenSet;
204  };
205 
206 } // namespace Model
207 } // namespace IoT
208 } // namespace Aws
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::SetTaskId
void SetTaskId(Aws::String &&value)
Definition: ListThingRegistrationTaskReportsRequest.h:60
Aws::Http::URI
Definition: URI.h:32
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListThingRegistrationTaskReportsRequest.h:126
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListThingRegistrationTaskReportsRequest.h:35
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::WithTaskId
ListThingRegistrationTaskReportsRequest & WithTaskId(Aws::String &&value)
Definition: ListThingRegistrationTaskReportsRequest.h:75
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::SetTaskId
void SetTaskId(const Aws::String &value)
Definition: ListThingRegistrationTaskReportsRequest.h:55
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest
Definition: ListThingRegistrationTaskReportsRequest.h:27
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::WithNextToken
ListThingRegistrationTaskReportsRequest & WithNextToken(Aws::String &&value)
Definition: ListThingRegistrationTaskReportsRequest.h:161
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::GetReportType
const ReportType & GetReportType() const
Definition: ListThingRegistrationTaskReportsRequest.h:86
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListThingRegistrationTaskReportsRequest.h:119
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::WithTaskId
ListThingRegistrationTaskReportsRequest & WithTaskId(const Aws::String &value)
Definition: ListThingRegistrationTaskReportsRequest.h:70
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::WithReportType
ListThingRegistrationTaskReportsRequest & WithReportType(const ReportType &value)
Definition: ListThingRegistrationTaskReportsRequest.h:106
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::GetTaskId
const Aws::String & GetTaskId() const
Definition: ListThingRegistrationTaskReportsRequest.h:45
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListThingRegistrationTaskReportsRequest.h:179
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::WithTaskId
ListThingRegistrationTaskReportsRequest & WithTaskId(const char *value)
Definition: ListThingRegistrationTaskReportsRequest.h:80
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::SetReportType
void SetReportType(ReportType &&value)
Definition: ListThingRegistrationTaskReportsRequest.h:101
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::WithNextToken
ListThingRegistrationTaskReportsRequest & WithNextToken(const Aws::String &value)
Definition: ListThingRegistrationTaskReportsRequest.h:154
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListThingRegistrationTaskReportsRequest.h:140
Aws::IoT::Model::ReportType
ReportType
Definition: ReportType.h:17
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::WithMaxResults
ListThingRegistrationTaskReportsRequest & WithMaxResults(int value)
Definition: ListThingRegistrationTaskReportsRequest.h:189
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListThingRegistrationTaskReportsRequest.h:184
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::TaskIdHasBeenSet
bool TaskIdHasBeenSet() const
Definition: ListThingRegistrationTaskReportsRequest.h:50
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::WithNextToken
ListThingRegistrationTaskReportsRequest & WithNextToken(const char *value)
Definition: ListThingRegistrationTaskReportsRequest.h:168
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::SetTaskId
void SetTaskId(const char *value)
Definition: ListThingRegistrationTaskReportsRequest.h:65
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::ListThingRegistrationTaskReportsRequest
ListThingRegistrationTaskReportsRequest()
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListThingRegistrationTaskReportsRequest.h:174
ReportType.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::WithReportType
ListThingRegistrationTaskReportsRequest & WithReportType(ReportType &&value)
Definition: ListThingRegistrationTaskReportsRequest.h:111
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
IoTRequest.h
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::ReportTypeHasBeenSet
bool ReportTypeHasBeenSet() const
Definition: ListThingRegistrationTaskReportsRequest.h:91
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListThingRegistrationTaskReportsRequest.h:133
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListThingRegistrationTaskReportsRequest.h:147
IoT_EXPORTS.h
Aws::IoT::Model::ListThingRegistrationTaskReportsRequest::SetReportType
void SetReportType(const ReportType &value)
Definition: ListThingRegistrationTaskReportsRequest.h:96