AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetKxVolumeResult.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/finspace/model/KxVolumeType.h>
10#include <aws/finspace/model/KxNAS1Configuration.h>
11#include <aws/finspace/model/KxVolumeStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/finspace/model/KxAzMode.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/finspace/model/KxAttachedCluster.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace finspace
31{
32namespace Model
33{
35 {
36 public:
37 AWS_FINSPACE_API GetKxVolumeResult() = default;
40
41
43
47 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
48 template<typename EnvironmentIdT = Aws::String>
49 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
50 template<typename EnvironmentIdT = Aws::String>
51 GetKxVolumeResult& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetVolumeName() const { return m_volumeName; }
59 template<typename VolumeNameT = Aws::String>
60 void SetVolumeName(VolumeNameT&& value) { m_volumeNameHasBeenSet = true; m_volumeName = std::forward<VolumeNameT>(value); }
61 template<typename VolumeNameT = Aws::String>
62 GetKxVolumeResult& WithVolumeName(VolumeNameT&& value) { SetVolumeName(std::forward<VolumeNameT>(value)); return *this;}
64
66
70 inline KxVolumeType GetVolumeType() const { return m_volumeType; }
71 inline void SetVolumeType(KxVolumeType value) { m_volumeTypeHasBeenSet = true; m_volumeType = value; }
72 inline GetKxVolumeResult& WithVolumeType(KxVolumeType value) { SetVolumeType(value); return *this;}
74
76
79 inline const Aws::String& GetVolumeArn() const { return m_volumeArn; }
80 template<typename VolumeArnT = Aws::String>
81 void SetVolumeArn(VolumeArnT&& value) { m_volumeArnHasBeenSet = true; m_volumeArn = std::forward<VolumeArnT>(value); }
82 template<typename VolumeArnT = Aws::String>
83 GetKxVolumeResult& WithVolumeArn(VolumeArnT&& value) { SetVolumeArn(std::forward<VolumeArnT>(value)); return *this;}
85
87
91 inline const KxNAS1Configuration& GetNas1Configuration() const { return m_nas1Configuration; }
92 template<typename Nas1ConfigurationT = KxNAS1Configuration>
93 void SetNas1Configuration(Nas1ConfigurationT&& value) { m_nas1ConfigurationHasBeenSet = true; m_nas1Configuration = std::forward<Nas1ConfigurationT>(value); }
94 template<typename Nas1ConfigurationT = KxNAS1Configuration>
95 GetKxVolumeResult& WithNas1Configuration(Nas1ConfigurationT&& value) { SetNas1Configuration(std::forward<Nas1ConfigurationT>(value)); return *this;}
97
99
110 inline KxVolumeStatus GetStatus() const { return m_status; }
111 inline void SetStatus(KxVolumeStatus value) { m_statusHasBeenSet = true; m_status = value; }
112 inline GetKxVolumeResult& WithStatus(KxVolumeStatus value) { SetStatus(value); return *this;}
114
116
119 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
120 template<typename StatusReasonT = Aws::String>
121 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::forward<StatusReasonT>(value); }
122 template<typename StatusReasonT = Aws::String>
123 GetKxVolumeResult& WithStatusReason(StatusReasonT&& value) { SetStatusReason(std::forward<StatusReasonT>(value)); return *this;}
125
127
132 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
133 template<typename CreatedTimestampT = Aws::Utils::DateTime>
134 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
135 template<typename CreatedTimestampT = Aws::Utils::DateTime>
136 GetKxVolumeResult& WithCreatedTimestamp(CreatedTimestampT&& value) { SetCreatedTimestamp(std::forward<CreatedTimestampT>(value)); return *this;}
138
140
143 inline const Aws::String& GetDescription() const { return m_description; }
144 template<typename DescriptionT = Aws::String>
145 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
146 template<typename DescriptionT = Aws::String>
147 GetKxVolumeResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
149
151
156 inline KxAzMode GetAzMode() const { return m_azMode; }
157 inline void SetAzMode(KxAzMode value) { m_azModeHasBeenSet = true; m_azMode = value; }
158 inline GetKxVolumeResult& WithAzMode(KxAzMode value) { SetAzMode(value); return *this;}
160
162
165 inline const Aws::Vector<Aws::String>& GetAvailabilityZoneIds() const { return m_availabilityZoneIds; }
166 template<typename AvailabilityZoneIdsT = Aws::Vector<Aws::String>>
167 void SetAvailabilityZoneIds(AvailabilityZoneIdsT&& value) { m_availabilityZoneIdsHasBeenSet = true; m_availabilityZoneIds = std::forward<AvailabilityZoneIdsT>(value); }
168 template<typename AvailabilityZoneIdsT = Aws::Vector<Aws::String>>
169 GetKxVolumeResult& WithAvailabilityZoneIds(AvailabilityZoneIdsT&& value) { SetAvailabilityZoneIds(std::forward<AvailabilityZoneIdsT>(value)); return *this;}
170 template<typename AvailabilityZoneIdsT = Aws::String>
171 GetKxVolumeResult& AddAvailabilityZoneIds(AvailabilityZoneIdsT&& value) { m_availabilityZoneIdsHasBeenSet = true; m_availabilityZoneIds.emplace_back(std::forward<AvailabilityZoneIdsT>(value)); return *this; }
173
175
180 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const { return m_lastModifiedTimestamp; }
181 template<typename LastModifiedTimestampT = Aws::Utils::DateTime>
182 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) { m_lastModifiedTimestampHasBeenSet = true; m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value); }
183 template<typename LastModifiedTimestampT = Aws::Utils::DateTime>
184 GetKxVolumeResult& WithLastModifiedTimestamp(LastModifiedTimestampT&& value) { SetLastModifiedTimestamp(std::forward<LastModifiedTimestampT>(value)); return *this;}
186
188
191 inline const Aws::Vector<KxAttachedCluster>& GetAttachedClusters() const { return m_attachedClusters; }
192 template<typename AttachedClustersT = Aws::Vector<KxAttachedCluster>>
193 void SetAttachedClusters(AttachedClustersT&& value) { m_attachedClustersHasBeenSet = true; m_attachedClusters = std::forward<AttachedClustersT>(value); }
194 template<typename AttachedClustersT = Aws::Vector<KxAttachedCluster>>
195 GetKxVolumeResult& WithAttachedClusters(AttachedClustersT&& value) { SetAttachedClusters(std::forward<AttachedClustersT>(value)); return *this;}
196 template<typename AttachedClustersT = KxAttachedCluster>
197 GetKxVolumeResult& AddAttachedClusters(AttachedClustersT&& value) { m_attachedClustersHasBeenSet = true; m_attachedClusters.emplace_back(std::forward<AttachedClustersT>(value)); return *this; }
199
201
202 inline const Aws::String& GetRequestId() const { return m_requestId; }
203 template<typename RequestIdT = Aws::String>
204 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
205 template<typename RequestIdT = Aws::String>
206 GetKxVolumeResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
208 private:
209
210 Aws::String m_environmentId;
211 bool m_environmentIdHasBeenSet = false;
212
213 Aws::String m_volumeName;
214 bool m_volumeNameHasBeenSet = false;
215
217 bool m_volumeTypeHasBeenSet = false;
218
219 Aws::String m_volumeArn;
220 bool m_volumeArnHasBeenSet = false;
221
222 KxNAS1Configuration m_nas1Configuration;
223 bool m_nas1ConfigurationHasBeenSet = false;
224
226 bool m_statusHasBeenSet = false;
227
228 Aws::String m_statusReason;
229 bool m_statusReasonHasBeenSet = false;
230
231 Aws::Utils::DateTime m_createdTimestamp{};
232 bool m_createdTimestampHasBeenSet = false;
233
234 Aws::String m_description;
235 bool m_descriptionHasBeenSet = false;
236
237 KxAzMode m_azMode{KxAzMode::NOT_SET};
238 bool m_azModeHasBeenSet = false;
239
240 Aws::Vector<Aws::String> m_availabilityZoneIds;
241 bool m_availabilityZoneIdsHasBeenSet = false;
242
243 Aws::Utils::DateTime m_lastModifiedTimestamp{};
244 bool m_lastModifiedTimestampHasBeenSet = false;
245
246 Aws::Vector<KxAttachedCluster> m_attachedClusters;
247 bool m_attachedClustersHasBeenSet = false;
248
249 Aws::String m_requestId;
250 bool m_requestIdHasBeenSet = false;
251 };
252
253} // namespace Model
254} // namespace finspace
255} // namespace Aws
void SetDescription(DescriptionT &&value)
GetKxVolumeResult & AddAttachedClusters(AttachedClustersT &&value)
void SetCreatedTimestamp(CreatedTimestampT &&value)
AWS_FINSPACE_API GetKxVolumeResult()=default
GetKxVolumeResult & WithStatusReason(StatusReasonT &&value)
void SetEnvironmentId(EnvironmentIdT &&value)
const Aws::String & GetStatusReason() const
const KxNAS1Configuration & GetNas1Configuration() const
GetKxVolumeResult & WithAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
const Aws::String & GetRequestId() const
GetKxVolumeResult & WithDescription(DescriptionT &&value)
GetKxVolumeResult & WithNas1Configuration(Nas1ConfigurationT &&value)
const Aws::String & GetVolumeName() const
AWS_FINSPACE_API GetKxVolumeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
const Aws::Vector< KxAttachedCluster > & GetAttachedClusters() const
GetKxVolumeResult & WithStatus(KxVolumeStatus value)
void SetAttachedClusters(AttachedClustersT &&value)
const Aws::String & GetVolumeArn() const
AWS_FINSPACE_API GetKxVolumeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetKxVolumeResult & WithVolumeType(KxVolumeType value)
const Aws::String & GetEnvironmentId() const
const Aws::String & GetDescription() const
GetKxVolumeResult & WithRequestId(RequestIdT &&value)
GetKxVolumeResult & WithVolumeArn(VolumeArnT &&value)
GetKxVolumeResult & AddAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
GetKxVolumeResult & WithVolumeName(VolumeNameT &&value)
const Aws::Vector< Aws::String > & GetAvailabilityZoneIds() const
GetKxVolumeResult & WithAzMode(KxAzMode value)
void SetNas1Configuration(Nas1ConfigurationT &&value)
GetKxVolumeResult & WithAttachedClusters(AttachedClustersT &&value)
void SetLastModifiedTimestamp(LastModifiedTimestampT &&value)
GetKxVolumeResult & WithLastModifiedTimestamp(LastModifiedTimestampT &&value)
void SetStatusReason(StatusReasonT &&value)
GetKxVolumeResult & WithEnvironmentId(EnvironmentIdT &&value)
GetKxVolumeResult & WithCreatedTimestamp(CreatedTimestampT &&value)
void SetAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue