AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DetachClusterNodeVolumeRequest.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 DetachClusterNodeVolumeRequest() = 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 "DetachClusterNodeVolume"; }
28
29 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
30
32
34
39 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
40 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
41 template <typename ClusterArnT = Aws::String>
42 void SetClusterArn(ClusterArnT&& value) {
43 m_clusterArnHasBeenSet = true;
44 m_clusterArn = std::forward<ClusterArnT>(value);
45 }
46 template <typename ClusterArnT = Aws::String>
48 SetClusterArn(std::forward<ClusterArnT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetNodeId() const { return m_nodeId; }
59 inline bool NodeIdHasBeenSet() const { return m_nodeIdHasBeenSet; }
60 template <typename NodeIdT = Aws::String>
61 void SetNodeId(NodeIdT&& value) {
62 m_nodeIdHasBeenSet = true;
63 m_nodeId = std::forward<NodeIdT>(value);
64 }
65 template <typename NodeIdT = Aws::String>
67 SetNodeId(std::forward<NodeIdT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetVolumeId() const { return m_volumeId; }
78 inline bool VolumeIdHasBeenSet() const { return m_volumeIdHasBeenSet; }
79 template <typename VolumeIdT = Aws::String>
80 void SetVolumeId(VolumeIdT&& value) {
81 m_volumeIdHasBeenSet = true;
82 m_volumeId = std::forward<VolumeIdT>(value);
83 }
84 template <typename VolumeIdT = Aws::String>
86 SetVolumeId(std::forward<VolumeIdT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_clusterArn;
92
93 Aws::String m_nodeId;
94
95 Aws::String m_volumeId;
96 bool m_clusterArnHasBeenSet = false;
97 bool m_nodeIdHasBeenSet = false;
98 bool m_volumeIdHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace SageMaker
103} // namespace Aws
DetachClusterNodeVolumeRequest & WithNodeId(NodeIdT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DetachClusterNodeVolumeRequest & WithVolumeId(VolumeIdT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API DetachClusterNodeVolumeRequest()=default
DetachClusterNodeVolumeRequest & WithClusterArn(ClusterArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String