AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeDeviceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SageMaker {
15namespace Model {
16
20 public:
21 AWS_SAGEMAKER_API DescribeDeviceRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeDevice"; }
28
29 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetNextToken() const { return m_nextToken; }
38 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
39 template <typename NextTokenT = Aws::String>
40 void SetNextToken(NextTokenT&& value) {
41 m_nextTokenHasBeenSet = true;
42 m_nextToken = std::forward<NextTokenT>(value);
43 }
44 template <typename NextTokenT = Aws::String>
45 DescribeDeviceRequest& WithNextToken(NextTokenT&& value) {
46 SetNextToken(std::forward<NextTokenT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetDeviceName() const { return m_deviceName; }
56 inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
57 template <typename DeviceNameT = Aws::String>
58 void SetDeviceName(DeviceNameT&& value) {
59 m_deviceNameHasBeenSet = true;
60 m_deviceName = std::forward<DeviceNameT>(value);
61 }
62 template <typename DeviceNameT = Aws::String>
63 DescribeDeviceRequest& WithDeviceName(DeviceNameT&& value) {
64 SetDeviceName(std::forward<DeviceNameT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetDeviceFleetName() const { return m_deviceFleetName; }
74 inline bool DeviceFleetNameHasBeenSet() const { return m_deviceFleetNameHasBeenSet; }
75 template <typename DeviceFleetNameT = Aws::String>
76 void SetDeviceFleetName(DeviceFleetNameT&& value) {
77 m_deviceFleetNameHasBeenSet = true;
78 m_deviceFleetName = std::forward<DeviceFleetNameT>(value);
79 }
80 template <typename DeviceFleetNameT = Aws::String>
81 DescribeDeviceRequest& WithDeviceFleetName(DeviceFleetNameT&& value) {
82 SetDeviceFleetName(std::forward<DeviceFleetNameT>(value));
83 return *this;
84 }
86 private:
87 Aws::String m_nextToken;
88
89 Aws::String m_deviceName;
90
91 Aws::String m_deviceFleetName;
92 bool m_nextTokenHasBeenSet = false;
93 bool m_deviceNameHasBeenSet = false;
94 bool m_deviceFleetNameHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace SageMaker
99} // namespace Aws
DescribeDeviceRequest & WithDeviceName(DeviceNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API DescribeDeviceRequest()=default
DescribeDeviceRequest & WithNextToken(NextTokenT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
DescribeDeviceRequest & WithDeviceFleetName(DeviceFleetNameT &&value)
void SetDeviceFleetName(DeviceFleetNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String