AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
AttachClusterNodeVolumeResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker/model/VolumeAttachmentStatus.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SAGEMAKER_API AttachClusterNodeVolumeResult() = default;
35
36
38
42 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
43 template<typename ClusterArnT = Aws::String>
44 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::forward<ClusterArnT>(value); }
45 template<typename ClusterArnT = Aws::String>
46 AttachClusterNodeVolumeResult& WithClusterArn(ClusterArnT&& value) { SetClusterArn(std::forward<ClusterArnT>(value)); return *this;}
48
50
54 inline const Aws::String& GetNodeId() const { return m_nodeId; }
55 template<typename NodeIdT = Aws::String>
56 void SetNodeId(NodeIdT&& value) { m_nodeIdHasBeenSet = true; m_nodeId = std::forward<NodeIdT>(value); }
57 template<typename NodeIdT = Aws::String>
58 AttachClusterNodeVolumeResult& WithNodeId(NodeIdT&& value) { SetNodeId(std::forward<NodeIdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetVolumeId() const { return m_volumeId; }
66 template<typename VolumeIdT = Aws::String>
67 void SetVolumeId(VolumeIdT&& value) { m_volumeIdHasBeenSet = true; m_volumeId = std::forward<VolumeIdT>(value); }
68 template<typename VolumeIdT = Aws::String>
69 AttachClusterNodeVolumeResult& WithVolumeId(VolumeIdT&& value) { SetVolumeId(std::forward<VolumeIdT>(value)); return *this;}
71
73
77 inline const Aws::Utils::DateTime& GetAttachTime() const { return m_attachTime; }
78 template<typename AttachTimeT = Aws::Utils::DateTime>
79 void SetAttachTime(AttachTimeT&& value) { m_attachTimeHasBeenSet = true; m_attachTime = std::forward<AttachTimeT>(value); }
80 template<typename AttachTimeT = Aws::Utils::DateTime>
81 AttachClusterNodeVolumeResult& WithAttachTime(AttachTimeT&& value) { SetAttachTime(std::forward<AttachTimeT>(value)); return *this;}
83
85
88 inline VolumeAttachmentStatus GetStatus() const { return m_status; }
89 inline void SetStatus(VolumeAttachmentStatus value) { m_statusHasBeenSet = true; m_status = value; }
92
94
98 inline const Aws::String& GetDeviceName() const { return m_deviceName; }
99 template<typename DeviceNameT = Aws::String>
100 void SetDeviceName(DeviceNameT&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::forward<DeviceNameT>(value); }
101 template<typename DeviceNameT = Aws::String>
102 AttachClusterNodeVolumeResult& WithDeviceName(DeviceNameT&& value) { SetDeviceName(std::forward<DeviceNameT>(value)); return *this;}
104
106
107 inline const Aws::String& GetRequestId() const { return m_requestId; }
108 template<typename RequestIdT = Aws::String>
109 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
110 template<typename RequestIdT = Aws::String>
111 AttachClusterNodeVolumeResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
113 private:
114
115 Aws::String m_clusterArn;
116 bool m_clusterArnHasBeenSet = false;
117
118 Aws::String m_nodeId;
119 bool m_nodeIdHasBeenSet = false;
120
121 Aws::String m_volumeId;
122 bool m_volumeIdHasBeenSet = false;
123
124 Aws::Utils::DateTime m_attachTime{};
125 bool m_attachTimeHasBeenSet = false;
126
128 bool m_statusHasBeenSet = false;
129
130 Aws::String m_deviceName;
131 bool m_deviceNameHasBeenSet = false;
132
133 Aws::String m_requestId;
134 bool m_requestIdHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace SageMaker
139} // namespace Aws
AWS_SAGEMAKER_API AttachClusterNodeVolumeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AttachClusterNodeVolumeResult & WithVolumeId(VolumeIdT &&value)
AttachClusterNodeVolumeResult & WithAttachTime(AttachTimeT &&value)
AttachClusterNodeVolumeResult & WithRequestId(RequestIdT &&value)
AttachClusterNodeVolumeResult & WithStatus(VolumeAttachmentStatus value)
AWS_SAGEMAKER_API AttachClusterNodeVolumeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AttachClusterNodeVolumeResult & WithNodeId(NodeIdT &&value)
AttachClusterNodeVolumeResult & WithClusterArn(ClusterArnT &&value)
AttachClusterNodeVolumeResult & WithDeviceName(DeviceNameT &&value)
AWS_SAGEMAKER_API AttachClusterNodeVolumeResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue