AWS SDK for C++

AWS SDK for C++ Version 1.11.633

Loading...
Searching...
No Matches
AttachClusterNodeVolumeRequest.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 AttachClusterNodeVolumeRequest() = 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 "AttachClusterNodeVolume"; }
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 AttachClusterNodeVolumeRequest& WithClusterArn(ClusterArnT&& value) { SetClusterArn(std::forward<ClusterArnT>(value)); return *this;}
50
52
57 inline const Aws::String& GetNodeId() const { return m_nodeId; }
58 inline bool NodeIdHasBeenSet() const { return m_nodeIdHasBeenSet; }
59 template<typename NodeIdT = Aws::String>
60 void SetNodeId(NodeIdT&& value) { m_nodeIdHasBeenSet = true; m_nodeId = std::forward<NodeIdT>(value); }
61 template<typename NodeIdT = Aws::String>
62 AttachClusterNodeVolumeRequest& WithNodeId(NodeIdT&& value) { SetNodeId(std::forward<NodeIdT>(value)); return *this;}
64
66
70 inline const Aws::String& GetVolumeId() const { return m_volumeId; }
71 inline bool VolumeIdHasBeenSet() const { return m_volumeIdHasBeenSet; }
72 template<typename VolumeIdT = Aws::String>
73 void SetVolumeId(VolumeIdT&& value) { m_volumeIdHasBeenSet = true; m_volumeId = std::forward<VolumeIdT>(value); }
74 template<typename VolumeIdT = Aws::String>
75 AttachClusterNodeVolumeRequest& WithVolumeId(VolumeIdT&& value) { SetVolumeId(std::forward<VolumeIdT>(value)); return *this;}
77 private:
78
79 Aws::String m_clusterArn;
80 bool m_clusterArnHasBeenSet = false;
81
82 Aws::String m_nodeId;
83 bool m_nodeIdHasBeenSet = false;
84
85 Aws::String m_volumeId;
86 bool m_volumeIdHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace SageMaker
91} // namespace Aws
AttachClusterNodeVolumeRequest & WithClusterArn(ClusterArnT &&value)
AWS_SAGEMAKER_API AttachClusterNodeVolumeRequest()=default
AttachClusterNodeVolumeRequest & WithVolumeId(VolumeIdT &&value)
AttachClusterNodeVolumeRequest & WithNodeId(NodeIdT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String