AWS SDK for C++  1.9.160
AWS SDK for C++
ListDevicesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SageMaker
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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 "ListDevices"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
43 
48  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
49 
54  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
55 
60  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
61 
66  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
67 
72  inline ListDevicesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
73 
78  inline ListDevicesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
79 
84  inline ListDevicesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
85 
86 
90  inline int GetMaxResults() const{ return m_maxResults; }
91 
95  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
96 
100  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
101 
105  inline ListDevicesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
106 
107 
111  inline const Aws::Utils::DateTime& GetLatestHeartbeatAfter() const{ return m_latestHeartbeatAfter; }
112 
116  inline bool LatestHeartbeatAfterHasBeenSet() const { return m_latestHeartbeatAfterHasBeenSet; }
117 
121  inline void SetLatestHeartbeatAfter(const Aws::Utils::DateTime& value) { m_latestHeartbeatAfterHasBeenSet = true; m_latestHeartbeatAfter = value; }
122 
126  inline void SetLatestHeartbeatAfter(Aws::Utils::DateTime&& value) { m_latestHeartbeatAfterHasBeenSet = true; m_latestHeartbeatAfter = std::move(value); }
127 
131  inline ListDevicesRequest& WithLatestHeartbeatAfter(const Aws::Utils::DateTime& value) { SetLatestHeartbeatAfter(value); return *this;}
132 
136  inline ListDevicesRequest& WithLatestHeartbeatAfter(Aws::Utils::DateTime&& value) { SetLatestHeartbeatAfter(std::move(value)); return *this;}
137 
138 
143  inline const Aws::String& GetModelName() const{ return m_modelName; }
144 
149  inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
150 
155  inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
156 
161  inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
162 
167  inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
168 
173  inline ListDevicesRequest& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
174 
179  inline ListDevicesRequest& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
180 
185  inline ListDevicesRequest& WithModelName(const char* value) { SetModelName(value); return *this;}
186 
187 
191  inline const Aws::String& GetDeviceFleetName() const{ return m_deviceFleetName; }
192 
196  inline bool DeviceFleetNameHasBeenSet() const { return m_deviceFleetNameHasBeenSet; }
197 
201  inline void SetDeviceFleetName(const Aws::String& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = value; }
202 
206  inline void SetDeviceFleetName(Aws::String&& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = std::move(value); }
207 
211  inline void SetDeviceFleetName(const char* value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName.assign(value); }
212 
216  inline ListDevicesRequest& WithDeviceFleetName(const Aws::String& value) { SetDeviceFleetName(value); return *this;}
217 
221  inline ListDevicesRequest& WithDeviceFleetName(Aws::String&& value) { SetDeviceFleetName(std::move(value)); return *this;}
222 
226  inline ListDevicesRequest& WithDeviceFleetName(const char* value) { SetDeviceFleetName(value); return *this;}
227 
228  private:
229 
230  Aws::String m_nextToken;
231  bool m_nextTokenHasBeenSet;
232 
233  int m_maxResults;
234  bool m_maxResultsHasBeenSet;
235 
236  Aws::Utils::DateTime m_latestHeartbeatAfter;
237  bool m_latestHeartbeatAfterHasBeenSet;
238 
239  Aws::String m_modelName;
240  bool m_modelNameHasBeenSet;
241 
242  Aws::String m_deviceFleetName;
243  bool m_deviceFleetNameHasBeenSet;
244  };
245 
246 } // namespace Model
247 } // namespace SageMaker
248 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::ListDevicesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListDevicesRequest.h:90
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ListDevicesRequest::SerializePayload
Aws::String SerializePayload() const override
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListDevicesRequest::SetModelName
void SetModelName(Aws::String &&value)
Definition: ListDevicesRequest.h:161
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::ListDevicesRequest::WithDeviceFleetName
ListDevicesRequest & WithDeviceFleetName(Aws::String &&value)
Definition: ListDevicesRequest.h:221
Aws::SageMaker::Model::ListDevicesRequest::WithModelName
ListDevicesRequest & WithModelName(const Aws::String &value)
Definition: ListDevicesRequest.h:173
Aws::SageMaker::Model::ListDevicesRequest::SetModelName
void SetModelName(const char *value)
Definition: ListDevicesRequest.h:167
Aws::SageMaker::Model::ListDevicesRequest::ListDevicesRequest
ListDevicesRequest()
DateTime.h
Aws::SageMaker::Model::ListDevicesRequest::ModelNameHasBeenSet
bool ModelNameHasBeenSet() const
Definition: ListDevicesRequest.h:149
Aws::SageMaker::Model::ListDevicesRequest::GetModelName
const Aws::String & GetModelName() const
Definition: ListDevicesRequest.h:143
Aws::SageMaker::Model::ListDevicesRequest::WithModelName
ListDevicesRequest & WithModelName(const char *value)
Definition: ListDevicesRequest.h:185
Aws::SageMaker::Model::ListDevicesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListDevicesRequest.h:95
Aws::SageMaker::Model::ListDevicesRequest::SetLatestHeartbeatAfter
void SetLatestHeartbeatAfter(Aws::Utils::DateTime &&value)
Definition: ListDevicesRequest.h:126
Aws::SageMaker::Model::ListDevicesRequest::GetLatestHeartbeatAfter
const Aws::Utils::DateTime & GetLatestHeartbeatAfter() const
Definition: ListDevicesRequest.h:111
Aws::SageMaker::Model::ListDevicesRequest::WithDeviceFleetName
ListDevicesRequest & WithDeviceFleetName(const Aws::String &value)
Definition: ListDevicesRequest.h:216
Aws::SageMaker::Model::ListDevicesRequest::WithMaxResults
ListDevicesRequest & WithMaxResults(int value)
Definition: ListDevicesRequest.h:105
Aws::SageMaker::Model::ListDevicesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDevicesRequest.h:31
Aws::SageMaker::Model::ListDevicesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDevicesRequest.h:54
Aws::SageMaker::Model::ListDevicesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::ListDevicesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDevicesRequest.h:42
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::ListDevicesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListDevicesRequest.h:100
Aws::SageMaker::Model::ListDevicesRequest::SetLatestHeartbeatAfter
void SetLatestHeartbeatAfter(const Aws::Utils::DateTime &value)
Definition: ListDevicesRequest.h:121
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListDevicesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListDevicesRequest.h:66
Aws::SageMaker::Model::ListDevicesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListDevicesRequest.h:48
Aws::SageMaker::Model::ListDevicesRequest::SetDeviceFleetName
void SetDeviceFleetName(const char *value)
Definition: ListDevicesRequest.h:211
Aws::SageMaker::Model::ListDevicesRequest::SetModelName
void SetModelName(const Aws::String &value)
Definition: ListDevicesRequest.h:155
Aws::SageMaker::Model::ListDevicesRequest::WithNextToken
ListDevicesRequest & WithNextToken(Aws::String &&value)
Definition: ListDevicesRequest.h:78
Aws::SageMaker::Model::ListDevicesRequest::SetDeviceFleetName
void SetDeviceFleetName(Aws::String &&value)
Definition: ListDevicesRequest.h:206
AWSString.h
Aws::SageMaker::Model::ListDevicesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDevicesRequest.h:60
Aws::SageMaker::Model::ListDevicesRequest::LatestHeartbeatAfterHasBeenSet
bool LatestHeartbeatAfterHasBeenSet() const
Definition: ListDevicesRequest.h:116
Aws::SageMaker::Model::ListDevicesRequest::SetDeviceFleetName
void SetDeviceFleetName(const Aws::String &value)
Definition: ListDevicesRequest.h:201
Aws::SageMaker::Model::ListDevicesRequest::WithLatestHeartbeatAfter
ListDevicesRequest & WithLatestHeartbeatAfter(const Aws::Utils::DateTime &value)
Definition: ListDevicesRequest.h:131
Aws::SageMaker::Model::ListDevicesRequest::DeviceFleetNameHasBeenSet
bool DeviceFleetNameHasBeenSet() const
Definition: ListDevicesRequest.h:196
Aws::SageMaker::Model::ListDevicesRequest::WithLatestHeartbeatAfter
ListDevicesRequest & WithLatestHeartbeatAfter(Aws::Utils::DateTime &&value)
Definition: ListDevicesRequest.h:136
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::ListDevicesRequest::GetDeviceFleetName
const Aws::String & GetDeviceFleetName() const
Definition: ListDevicesRequest.h:191
Aws::SageMaker::Model::ListDevicesRequest::WithModelName
ListDevicesRequest & WithModelName(Aws::String &&value)
Definition: ListDevicesRequest.h:179
Aws::SageMaker::Model::ListDevicesRequest::WithNextToken
ListDevicesRequest & WithNextToken(const Aws::String &value)
Definition: ListDevicesRequest.h:72
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListDevicesRequest::WithDeviceFleetName
ListDevicesRequest & WithDeviceFleetName(const char *value)
Definition: ListDevicesRequest.h:226
Aws::SageMaker::Model::ListDevicesRequest::WithNextToken
ListDevicesRequest & WithNextToken(const char *value)
Definition: ListDevicesRequest.h:84
Aws::SageMaker::Model::ListDevicesRequest
Definition: ListDevicesRequest.h:23