AWS SDK for C++

AWS SDK for C++ Version 1.11.634

Loading...
Searching...
No Matches
DetachClusterNodeVolumeRequest.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 <utility>
11
12namespace Aws
13{
14namespace SageMaker
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_SAGEMAKER_API DetachClusterNodeVolumeRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DetachClusterNodeVolume"; }
31
32 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
33
35
36
38
43 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
44 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
45 template<typename ClusterArnT = Aws::String>
46 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::forward<ClusterArnT>(value); }
47 template<typename ClusterArnT = Aws::String>
48 DetachClusterNodeVolumeRequest& WithClusterArn(ClusterArnT&& value) { SetClusterArn(std::forward<ClusterArnT>(value)); return *this;}
50
52
56 inline const Aws::String& GetNodeId() const { return m_nodeId; }
57 inline bool NodeIdHasBeenSet() const { return m_nodeIdHasBeenSet; }
58 template<typename NodeIdT = Aws::String>
59 void SetNodeId(NodeIdT&& value) { m_nodeIdHasBeenSet = true; m_nodeId = std::forward<NodeIdT>(value); }
60 template<typename NodeIdT = Aws::String>
61 DetachClusterNodeVolumeRequest& WithNodeId(NodeIdT&& value) { SetNodeId(std::forward<NodeIdT>(value)); return *this;}
63
65
69 inline const Aws::String& GetVolumeId() const { return m_volumeId; }
70 inline bool VolumeIdHasBeenSet() const { return m_volumeIdHasBeenSet; }
71 template<typename VolumeIdT = Aws::String>
72 void SetVolumeId(VolumeIdT&& value) { m_volumeIdHasBeenSet = true; m_volumeId = std::forward<VolumeIdT>(value); }
73 template<typename VolumeIdT = Aws::String>
74 DetachClusterNodeVolumeRequest& WithVolumeId(VolumeIdT&& value) { SetVolumeId(std::forward<VolumeIdT>(value)); return *this;}
76 private:
77
78 Aws::String m_clusterArn;
79 bool m_clusterArnHasBeenSet = false;
80
81 Aws::String m_nodeId;
82 bool m_nodeIdHasBeenSet = false;
83
84 Aws::String m_volumeId;
85 bool m_volumeIdHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace SageMaker
90} // 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