AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ListDevicesRequest.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMakerRequest.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SageMaker {
16namespace Model {
17
21 public:
22 AWS_SAGEMAKER_API ListDevicesRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "ListDevices"; }
29
30 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetNextToken() const { return m_nextToken; }
40 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
41 template <typename NextTokenT = Aws::String>
42 void SetNextToken(NextTokenT&& value) {
43 m_nextTokenHasBeenSet = true;
44 m_nextToken = std::forward<NextTokenT>(value);
45 }
46 template <typename NextTokenT = Aws::String>
47 ListDevicesRequest& WithNextToken(NextTokenT&& value) {
48 SetNextToken(std::forward<NextTokenT>(value));
49 return *this;
50 }
52
54
57 inline int GetMaxResults() const { return m_maxResults; }
58 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
59 inline void SetMaxResults(int value) {
60 m_maxResultsHasBeenSet = true;
61 m_maxResults = value;
62 }
64 SetMaxResults(value);
65 return *this;
66 }
68
70
73 inline const Aws::Utils::DateTime& GetLatestHeartbeatAfter() const { return m_latestHeartbeatAfter; }
74 inline bool LatestHeartbeatAfterHasBeenSet() const { return m_latestHeartbeatAfterHasBeenSet; }
75 template <typename LatestHeartbeatAfterT = Aws::Utils::DateTime>
76 void SetLatestHeartbeatAfter(LatestHeartbeatAfterT&& value) {
77 m_latestHeartbeatAfterHasBeenSet = true;
78 m_latestHeartbeatAfter = std::forward<LatestHeartbeatAfterT>(value);
79 }
80 template <typename LatestHeartbeatAfterT = Aws::Utils::DateTime>
81 ListDevicesRequest& WithLatestHeartbeatAfter(LatestHeartbeatAfterT&& value) {
82 SetLatestHeartbeatAfter(std::forward<LatestHeartbeatAfterT>(value));
83 return *this;
84 }
86
88
92 inline const Aws::String& GetModelName() const { return m_modelName; }
93 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
94 template <typename ModelNameT = Aws::String>
95 void SetModelName(ModelNameT&& value) {
96 m_modelNameHasBeenSet = true;
97 m_modelName = std::forward<ModelNameT>(value);
98 }
99 template <typename ModelNameT = Aws::String>
100 ListDevicesRequest& WithModelName(ModelNameT&& value) {
101 SetModelName(std::forward<ModelNameT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetDeviceFleetName() const { return m_deviceFleetName; }
111 inline bool DeviceFleetNameHasBeenSet() const { return m_deviceFleetNameHasBeenSet; }
112 template <typename DeviceFleetNameT = Aws::String>
113 void SetDeviceFleetName(DeviceFleetNameT&& value) {
114 m_deviceFleetNameHasBeenSet = true;
115 m_deviceFleetName = std::forward<DeviceFleetNameT>(value);
116 }
117 template <typename DeviceFleetNameT = Aws::String>
118 ListDevicesRequest& WithDeviceFleetName(DeviceFleetNameT&& value) {
119 SetDeviceFleetName(std::forward<DeviceFleetNameT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_nextToken;
125
126 int m_maxResults{0};
127
128 Aws::Utils::DateTime m_latestHeartbeatAfter{};
129
130 Aws::String m_modelName;
131
132 Aws::String m_deviceFleetName;
133 bool m_nextTokenHasBeenSet = false;
134 bool m_maxResultsHasBeenSet = false;
135 bool m_latestHeartbeatAfterHasBeenSet = false;
136 bool m_modelNameHasBeenSet = false;
137 bool m_deviceFleetNameHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace SageMaker
142} // namespace Aws
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
const Aws::Utils::DateTime & GetLatestHeartbeatAfter() const
ListDevicesRequest & WithDeviceFleetName(DeviceFleetNameT &&value)
AWS_SAGEMAKER_API ListDevicesRequest()=default
void SetDeviceFleetName(DeviceFleetNameT &&value)
ListDevicesRequest & WithNextToken(NextTokenT &&value)
ListDevicesRequest & WithLatestHeartbeatAfter(LatestHeartbeatAfterT &&value)
void SetLatestHeartbeatAfter(LatestHeartbeatAfterT &&value)
const Aws::String & GetDeviceFleetName() const
ListDevicesRequest & WithModelName(ModelNameT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListDevicesRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String