AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListDevicesRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SageMaker
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SAGEMAKER_API ListDevicesRequest() = default;
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_SAGEMAKER_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetNextToken() const { return m_nextToken; }
44 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
45 template<typename NextTokenT = Aws::String>
46 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
47 template<typename NextTokenT = Aws::String>
48 ListDevicesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
50
52
55 inline int GetMaxResults() const { return m_maxResults; }
56 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
57 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
58 inline ListDevicesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
60
62
65 inline const Aws::Utils::DateTime& GetLatestHeartbeatAfter() const { return m_latestHeartbeatAfter; }
66 inline bool LatestHeartbeatAfterHasBeenSet() const { return m_latestHeartbeatAfterHasBeenSet; }
67 template<typename LatestHeartbeatAfterT = Aws::Utils::DateTime>
68 void SetLatestHeartbeatAfter(LatestHeartbeatAfterT&& value) { m_latestHeartbeatAfterHasBeenSet = true; m_latestHeartbeatAfter = std::forward<LatestHeartbeatAfterT>(value); }
69 template<typename LatestHeartbeatAfterT = Aws::Utils::DateTime>
70 ListDevicesRequest& WithLatestHeartbeatAfter(LatestHeartbeatAfterT&& value) { SetLatestHeartbeatAfter(std::forward<LatestHeartbeatAfterT>(value)); return *this;}
72
74
78 inline const Aws::String& GetModelName() const { return m_modelName; }
79 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
80 template<typename ModelNameT = Aws::String>
81 void SetModelName(ModelNameT&& value) { m_modelNameHasBeenSet = true; m_modelName = std::forward<ModelNameT>(value); }
82 template<typename ModelNameT = Aws::String>
83 ListDevicesRequest& WithModelName(ModelNameT&& value) { SetModelName(std::forward<ModelNameT>(value)); return *this;}
85
87
90 inline const Aws::String& GetDeviceFleetName() const { return m_deviceFleetName; }
91 inline bool DeviceFleetNameHasBeenSet() const { return m_deviceFleetNameHasBeenSet; }
92 template<typename DeviceFleetNameT = Aws::String>
93 void SetDeviceFleetName(DeviceFleetNameT&& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = std::forward<DeviceFleetNameT>(value); }
94 template<typename DeviceFleetNameT = Aws::String>
95 ListDevicesRequest& WithDeviceFleetName(DeviceFleetNameT&& value) { SetDeviceFleetName(std::forward<DeviceFleetNameT>(value)); return *this;}
97 private:
98
99 Aws::String m_nextToken;
100 bool m_nextTokenHasBeenSet = false;
101
102 int m_maxResults{0};
103 bool m_maxResultsHasBeenSet = false;
104
105 Aws::Utils::DateTime m_latestHeartbeatAfter{};
106 bool m_latestHeartbeatAfterHasBeenSet = false;
107
108 Aws::String m_modelName;
109 bool m_modelNameHasBeenSet = false;
110
111 Aws::String m_deviceFleetName;
112 bool m_deviceFleetNameHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace SageMaker
117} // 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