AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DeregisterDevicesRequest.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/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SageMaker
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SAGEMAKER_API DeregisterDevicesRequest() = 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 "DeregisterDevices"; }
32
33 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetDeviceFleetName() const { return m_deviceFleetName; }
43 inline bool DeviceFleetNameHasBeenSet() const { return m_deviceFleetNameHasBeenSet; }
44 template<typename DeviceFleetNameT = Aws::String>
45 void SetDeviceFleetName(DeviceFleetNameT&& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = std::forward<DeviceFleetNameT>(value); }
46 template<typename DeviceFleetNameT = Aws::String>
47 DeregisterDevicesRequest& WithDeviceFleetName(DeviceFleetNameT&& value) { SetDeviceFleetName(std::forward<DeviceFleetNameT>(value)); return *this;}
49
51
54 inline const Aws::Vector<Aws::String>& GetDeviceNames() const { return m_deviceNames; }
55 inline bool DeviceNamesHasBeenSet() const { return m_deviceNamesHasBeenSet; }
56 template<typename DeviceNamesT = Aws::Vector<Aws::String>>
57 void SetDeviceNames(DeviceNamesT&& value) { m_deviceNamesHasBeenSet = true; m_deviceNames = std::forward<DeviceNamesT>(value); }
58 template<typename DeviceNamesT = Aws::Vector<Aws::String>>
59 DeregisterDevicesRequest& WithDeviceNames(DeviceNamesT&& value) { SetDeviceNames(std::forward<DeviceNamesT>(value)); return *this;}
60 template<typename DeviceNamesT = Aws::String>
61 DeregisterDevicesRequest& AddDeviceNames(DeviceNamesT&& value) { m_deviceNamesHasBeenSet = true; m_deviceNames.emplace_back(std::forward<DeviceNamesT>(value)); return *this; }
63 private:
64
65 Aws::String m_deviceFleetName;
66 bool m_deviceFleetNameHasBeenSet = false;
67
68 Aws::Vector<Aws::String> m_deviceNames;
69 bool m_deviceNamesHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace SageMaker
74} // 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