AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DetachClusterNodeVolumeResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/VolumeAttachmentStatus.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker {
24namespace Model {
26 public:
27 AWS_SAGEMAKER_API DetachClusterNodeVolumeResult() = default;
30
32
36 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
37 template <typename ClusterArnT = Aws::String>
38 void SetClusterArn(ClusterArnT&& value) {
39 m_clusterArnHasBeenSet = true;
40 m_clusterArn = std::forward<ClusterArnT>(value);
41 }
42 template <typename ClusterArnT = Aws::String>
44 SetClusterArn(std::forward<ClusterArnT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetNodeId() const { return m_nodeId; }
55 template <typename NodeIdT = Aws::String>
56 void SetNodeId(NodeIdT&& value) {
57 m_nodeIdHasBeenSet = true;
58 m_nodeId = std::forward<NodeIdT>(value);
59 }
60 template <typename NodeIdT = Aws::String>
62 SetNodeId(std::forward<NodeIdT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetVolumeId() const { return m_volumeId; }
72 template <typename VolumeIdT = Aws::String>
73 void SetVolumeId(VolumeIdT&& value) {
74 m_volumeIdHasBeenSet = true;
75 m_volumeId = std::forward<VolumeIdT>(value);
76 }
77 template <typename VolumeIdT = Aws::String>
79 SetVolumeId(std::forward<VolumeIdT>(value));
80 return *this;
81 }
83
85
89 inline const Aws::Utils::DateTime& GetAttachTime() const { return m_attachTime; }
90 template <typename AttachTimeT = Aws::Utils::DateTime>
91 void SetAttachTime(AttachTimeT&& value) {
92 m_attachTimeHasBeenSet = true;
93 m_attachTime = std::forward<AttachTimeT>(value);
94 }
95 template <typename AttachTimeT = Aws::Utils::DateTime>
97 SetAttachTime(std::forward<AttachTimeT>(value));
98 return *this;
99 }
101
103
106 inline VolumeAttachmentStatus GetStatus() const { return m_status; }
108 m_statusHasBeenSet = true;
109 m_status = value;
110 }
112 SetStatus(value);
113 return *this;
114 }
116
118
122 inline const Aws::String& GetDeviceName() const { return m_deviceName; }
123 template <typename DeviceNameT = Aws::String>
124 void SetDeviceName(DeviceNameT&& value) {
125 m_deviceNameHasBeenSet = true;
126 m_deviceName = std::forward<DeviceNameT>(value);
127 }
128 template <typename DeviceNameT = Aws::String>
130 SetDeviceName(std::forward<DeviceNameT>(value));
131 return *this;
132 }
134
136
137 inline const Aws::String& GetRequestId() const { return m_requestId; }
138 template <typename RequestIdT = Aws::String>
139 void SetRequestId(RequestIdT&& value) {
140 m_requestIdHasBeenSet = true;
141 m_requestId = std::forward<RequestIdT>(value);
142 }
143 template <typename RequestIdT = Aws::String>
145 SetRequestId(std::forward<RequestIdT>(value));
146 return *this;
147 }
149 private:
150 Aws::String m_clusterArn;
151
152 Aws::String m_nodeId;
153
154 Aws::String m_volumeId;
155
156 Aws::Utils::DateTime m_attachTime{};
157
159
160 Aws::String m_deviceName;
161
162 Aws::String m_requestId;
163 bool m_clusterArnHasBeenSet = false;
164 bool m_nodeIdHasBeenSet = false;
165 bool m_volumeIdHasBeenSet = false;
166 bool m_attachTimeHasBeenSet = false;
167 bool m_statusHasBeenSet = false;
168 bool m_deviceNameHasBeenSet = false;
169 bool m_requestIdHasBeenSet = false;
170};
171
172} // namespace Model
173} // namespace SageMaker
174} // namespace Aws
DetachClusterNodeVolumeResult & WithDeviceName(DeviceNameT &&value)
AWS_SAGEMAKER_API DetachClusterNodeVolumeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DetachClusterNodeVolumeResult & WithVolumeId(VolumeIdT &&value)
AWS_SAGEMAKER_API DetachClusterNodeVolumeResult()=default
AWS_SAGEMAKER_API DetachClusterNodeVolumeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DetachClusterNodeVolumeResult & WithAttachTime(AttachTimeT &&value)
DetachClusterNodeVolumeResult & WithStatus(VolumeAttachmentStatus value)
DetachClusterNodeVolumeResult & WithRequestId(RequestIdT &&value)
DetachClusterNodeVolumeResult & WithClusterArn(ClusterArnT &&value)
DetachClusterNodeVolumeResult & WithNodeId(NodeIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue