AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
46 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
47 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
48 inline ListDevicesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
49 inline ListDevicesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
50 inline ListDevicesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
52
54
57 inline int GetMaxResults() const{ return m_maxResults; }
58 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
59 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
60 inline ListDevicesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
62
64
67 inline const Aws::Utils::DateTime& GetLatestHeartbeatAfter() const{ return m_latestHeartbeatAfter; }
68 inline bool LatestHeartbeatAfterHasBeenSet() const { return m_latestHeartbeatAfterHasBeenSet; }
69 inline void SetLatestHeartbeatAfter(const Aws::Utils::DateTime& value) { m_latestHeartbeatAfterHasBeenSet = true; m_latestHeartbeatAfter = value; }
70 inline void SetLatestHeartbeatAfter(Aws::Utils::DateTime&& value) { m_latestHeartbeatAfterHasBeenSet = true; m_latestHeartbeatAfter = std::move(value); }
74
76
80 inline const Aws::String& GetModelName() const{ return m_modelName; }
81 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
82 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
83 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
84 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
85 inline ListDevicesRequest& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
86 inline ListDevicesRequest& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
87 inline ListDevicesRequest& WithModelName(const char* value) { SetModelName(value); return *this;}
89
91
94 inline const Aws::String& GetDeviceFleetName() const{ return m_deviceFleetName; }
95 inline bool DeviceFleetNameHasBeenSet() const { return m_deviceFleetNameHasBeenSet; }
96 inline void SetDeviceFleetName(const Aws::String& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = value; }
97 inline void SetDeviceFleetName(Aws::String&& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = std::move(value); }
98 inline void SetDeviceFleetName(const char* value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName.assign(value); }
99 inline ListDevicesRequest& WithDeviceFleetName(const Aws::String& value) { SetDeviceFleetName(value); return *this;}
100 inline ListDevicesRequest& WithDeviceFleetName(Aws::String&& value) { SetDeviceFleetName(std::move(value)); return *this;}
101 inline ListDevicesRequest& WithDeviceFleetName(const char* value) { SetDeviceFleetName(value); return *this;}
103 private:
104
105 Aws::String m_nextToken;
106 bool m_nextTokenHasBeenSet = false;
107
108 int m_maxResults;
109 bool m_maxResultsHasBeenSet = false;
110
111 Aws::Utils::DateTime m_latestHeartbeatAfter;
112 bool m_latestHeartbeatAfterHasBeenSet = false;
113
114 Aws::String m_modelName;
115 bool m_modelNameHasBeenSet = false;
116
117 Aws::String m_deviceFleetName;
118 bool m_deviceFleetNameHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace SageMaker
123} // namespace Aws
ListDevicesRequest & WithNextToken(Aws::String &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListDevicesRequest & WithLatestHeartbeatAfter(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLatestHeartbeatAfter() const
ListDevicesRequest & WithModelName(Aws::String &&value)
void SetModelName(const Aws::String &value)
ListDevicesRequest & WithDeviceFleetName(const char *value)
const Aws::String & GetDeviceFleetName() const
ListDevicesRequest & WithModelName(const char *value)
void SetDeviceFleetName(const Aws::String &value)
ListDevicesRequest & WithLatestHeartbeatAfter(const Aws::Utils::DateTime &value)
ListDevicesRequest & WithDeviceFleetName(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListDevicesRequest & WithNextToken(const Aws::String &value)
ListDevicesRequest & WithMaxResults(int value)
void SetLatestHeartbeatAfter(const Aws::Utils::DateTime &value)
void SetLatestHeartbeatAfter(Aws::Utils::DateTime &&value)
ListDevicesRequest & WithModelName(const Aws::String &value)
ListDevicesRequest & WithNextToken(const char *value)
virtual const char * GetServiceRequestName() const override
ListDevicesRequest & WithDeviceFleetName(const Aws::String &value)
void SetNextToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String