AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ListDevicesJobsRequest.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Panorama
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListDevicesJobs"; }
35
37
39
40
44 inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
45
49 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
50
54 inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; }
55
59 inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); }
60
64 inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); }
65
69 inline ListDevicesJobsRequest& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
70
74 inline ListDevicesJobsRequest& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
75
79 inline ListDevicesJobsRequest& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
80
81
85 inline int GetMaxResults() const{ return m_maxResults; }
86
90 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
91
95 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
96
100 inline ListDevicesJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
101
102
107 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
108
113 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
114
119 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
120
125 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
126
131 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
132
137 inline ListDevicesJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
138
143 inline ListDevicesJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
144
149 inline ListDevicesJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
150
151 private:
152
153 Aws::String m_deviceId;
154 bool m_deviceIdHasBeenSet = false;
155
156 int m_maxResults;
157 bool m_maxResultsHasBeenSet = false;
158
159 Aws::String m_nextToken;
160 bool m_nextTokenHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace Panorama
165} // namespace Aws
#define AWS_PANORAMA_API
ListDevicesJobsRequest & WithNextToken(Aws::String &&value)
ListDevicesJobsRequest & WithMaxResults(int value)
ListDevicesJobsRequest & WithDeviceId(const char *value)
ListDevicesJobsRequest & WithNextToken(const Aws::String &value)
AWS_PANORAMA_API Aws::String SerializePayload() const override
ListDevicesJobsRequest & WithDeviceId(Aws::String &&value)
AWS_PANORAMA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListDevicesJobsRequest & WithDeviceId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListDevicesJobsRequest & WithNextToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String