AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetDeploymentsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker-edge/SagemakerEdgeManagerRequest.h>
9#include <aws/sagemaker-edge/SagemakerEdgeManager_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SagemakerEdgeManager {
15namespace Model {
16
20 public:
21 AWS_SAGEMAKEREDGEMANAGER_API GetDeploymentsRequest() = 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 "GetDeployments"; }
28
29 AWS_SAGEMAKEREDGEMANAGER_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetDeviceName() const { return m_deviceName; }
37 inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
38 template <typename DeviceNameT = Aws::String>
39 void SetDeviceName(DeviceNameT&& value) {
40 m_deviceNameHasBeenSet = true;
41 m_deviceName = std::forward<DeviceNameT>(value);
42 }
43 template <typename DeviceNameT = Aws::String>
44 GetDeploymentsRequest& WithDeviceName(DeviceNameT&& value) {
45 SetDeviceName(std::forward<DeviceNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetDeviceFleetName() const { return m_deviceFleetName; }
55 inline bool DeviceFleetNameHasBeenSet() const { return m_deviceFleetNameHasBeenSet; }
56 template <typename DeviceFleetNameT = Aws::String>
57 void SetDeviceFleetName(DeviceFleetNameT&& value) {
58 m_deviceFleetNameHasBeenSet = true;
59 m_deviceFleetName = std::forward<DeviceFleetNameT>(value);
60 }
61 template <typename DeviceFleetNameT = Aws::String>
62 GetDeploymentsRequest& WithDeviceFleetName(DeviceFleetNameT&& value) {
63 SetDeviceFleetName(std::forward<DeviceFleetNameT>(value));
64 return *this;
65 }
67 private:
68 Aws::String m_deviceName;
69
70 Aws::String m_deviceFleetName;
71 bool m_deviceNameHasBeenSet = false;
72 bool m_deviceFleetNameHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace SagemakerEdgeManager
77} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKEREDGEMANAGER_API Aws::String SerializePayload() const override
AWS_SAGEMAKEREDGEMANAGER_API GetDeploymentsRequest()=default
GetDeploymentsRequest & WithDeviceName(DeviceNameT &&value)
GetDeploymentsRequest & WithDeviceFleetName(DeviceFleetNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String