AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AttachClusterNodeVolumeRequest.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 AttachClusterNodeVolumeRequest() = 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 "AttachClusterNodeVolume"; }
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
59 inline const Aws::String& GetNodeId() const { return m_nodeId; }
60 inline bool NodeIdHasBeenSet() const { return m_nodeIdHasBeenSet; }
61 template <typename NodeIdT = Aws::String>
62 void SetNodeId(NodeIdT&& value) {
63 m_nodeIdHasBeenSet = true;
64 m_nodeId = std::forward<NodeIdT>(value);
65 }
66 template <typename NodeIdT = Aws::String>
68 SetNodeId(std::forward<NodeIdT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetVolumeId() const { return m_volumeId; }
79 inline bool VolumeIdHasBeenSet() const { return m_volumeIdHasBeenSet; }
80 template <typename VolumeIdT = Aws::String>
81 void SetVolumeId(VolumeIdT&& value) {
82 m_volumeIdHasBeenSet = true;
83 m_volumeId = std::forward<VolumeIdT>(value);
84 }
85 template <typename VolumeIdT = Aws::String>
87 SetVolumeId(std::forward<VolumeIdT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_clusterArn;
93
94 Aws::String m_nodeId;
95
96 Aws::String m_volumeId;
97 bool m_clusterArnHasBeenSet = false;
98 bool m_nodeIdHasBeenSet = false;
99 bool m_volumeIdHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace SageMaker
104} // 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