AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DeregisterDevicesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.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 DeregisterDevicesRequest() = 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 "DeregisterDevices"; }
29
30 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetDeviceFleetName() const { return m_deviceFleetName; }
39 inline bool DeviceFleetNameHasBeenSet() const { return m_deviceFleetNameHasBeenSet; }
40 template <typename DeviceFleetNameT = Aws::String>
41 void SetDeviceFleetName(DeviceFleetNameT&& value) {
42 m_deviceFleetNameHasBeenSet = true;
43 m_deviceFleetName = std::forward<DeviceFleetNameT>(value);
44 }
45 template <typename DeviceFleetNameT = Aws::String>
46 DeregisterDevicesRequest& WithDeviceFleetName(DeviceFleetNameT&& value) {
47 SetDeviceFleetName(std::forward<DeviceFleetNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::Vector<Aws::String>& GetDeviceNames() const { return m_deviceNames; }
57 inline bool DeviceNamesHasBeenSet() const { return m_deviceNamesHasBeenSet; }
58 template <typename DeviceNamesT = Aws::Vector<Aws::String>>
59 void SetDeviceNames(DeviceNamesT&& value) {
60 m_deviceNamesHasBeenSet = true;
61 m_deviceNames = std::forward<DeviceNamesT>(value);
62 }
63 template <typename DeviceNamesT = Aws::Vector<Aws::String>>
65 SetDeviceNames(std::forward<DeviceNamesT>(value));
66 return *this;
67 }
68 template <typename DeviceNamesT = Aws::String>
70 m_deviceNamesHasBeenSet = true;
71 m_deviceNames.emplace_back(std::forward<DeviceNamesT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_deviceFleetName;
77
78 Aws::Vector<Aws::String> m_deviceNames;
79 bool m_deviceFleetNameHasBeenSet = false;
80 bool m_deviceNamesHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace SageMaker
85} // namespace Aws
DeregisterDevicesRequest & WithDeviceFleetName(DeviceFleetNameT &&value)
DeregisterDevicesRequest & WithDeviceNames(DeviceNamesT &&value)
AWS_SAGEMAKER_API DeregisterDevicesRequest()=default
DeregisterDevicesRequest & AddDeviceNames(DeviceNamesT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetDeviceNames() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector