AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
47 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
48 inline void SetEnvironmentId(const Aws::String& value) { m_environmentId = value; }
49 inline void SetEnvironmentId(Aws::String&& value) { m_environmentId = std::move(value); }
50 inline void SetEnvironmentId(const char* value) { m_environmentId.assign(value); }
51 inline GetKxVolumeResult& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
52 inline GetKxVolumeResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
53 inline GetKxVolumeResult& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
55
57
60 inline const Aws::String& GetVolumeName() const{ return m_volumeName; }
61 inline void SetVolumeName(const Aws::String& value) { m_volumeName = value; }
62 inline void SetVolumeName(Aws::String&& value) { m_volumeName = std::move(value); }
63 inline void SetVolumeName(const char* value) { m_volumeName.assign(value); }
64 inline GetKxVolumeResult& WithVolumeName(const Aws::String& value) { SetVolumeName(value); return *this;}
65 inline GetKxVolumeResult& WithVolumeName(Aws::String&& value) { SetVolumeName(std::move(value)); return *this;}
66 inline GetKxVolumeResult& WithVolumeName(const char* value) { SetVolumeName(value); return *this;}
68
70
74 inline const KxVolumeType& GetVolumeType() const{ return m_volumeType; }
75 inline void SetVolumeType(const KxVolumeType& value) { m_volumeType = value; }
76 inline void SetVolumeType(KxVolumeType&& value) { m_volumeType = std::move(value); }
77 inline GetKxVolumeResult& WithVolumeType(const KxVolumeType& value) { SetVolumeType(value); return *this;}
78 inline GetKxVolumeResult& WithVolumeType(KxVolumeType&& value) { SetVolumeType(std::move(value)); return *this;}
80
82
85 inline const Aws::String& GetVolumeArn() const{ return m_volumeArn; }
86 inline void SetVolumeArn(const Aws::String& value) { m_volumeArn = value; }
87 inline void SetVolumeArn(Aws::String&& value) { m_volumeArn = std::move(value); }
88 inline void SetVolumeArn(const char* value) { m_volumeArn.assign(value); }
89 inline GetKxVolumeResult& WithVolumeArn(const Aws::String& value) { SetVolumeArn(value); return *this;}
90 inline GetKxVolumeResult& WithVolumeArn(Aws::String&& value) { SetVolumeArn(std::move(value)); return *this;}
91 inline GetKxVolumeResult& WithVolumeArn(const char* value) { SetVolumeArn(value); return *this;}
93
95
99 inline const KxNAS1Configuration& GetNas1Configuration() const{ return m_nas1Configuration; }
100 inline void SetNas1Configuration(const KxNAS1Configuration& value) { m_nas1Configuration = value; }
101 inline void SetNas1Configuration(KxNAS1Configuration&& value) { m_nas1Configuration = std::move(value); }
103 inline GetKxVolumeResult& WithNas1Configuration(KxNAS1Configuration&& value) { SetNas1Configuration(std::move(value)); return *this;}
105
107
118 inline const KxVolumeStatus& GetStatus() const{ return m_status; }
119 inline void SetStatus(const KxVolumeStatus& value) { m_status = value; }
120 inline void SetStatus(KxVolumeStatus&& value) { m_status = std::move(value); }
121 inline GetKxVolumeResult& WithStatus(const KxVolumeStatus& value) { SetStatus(value); return *this;}
122 inline GetKxVolumeResult& WithStatus(KxVolumeStatus&& value) { SetStatus(std::move(value)); return *this;}
124
126
129 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
130 inline void SetStatusReason(const Aws::String& value) { m_statusReason = value; }
131 inline void SetStatusReason(Aws::String&& value) { m_statusReason = std::move(value); }
132 inline void SetStatusReason(const char* value) { m_statusReason.assign(value); }
133 inline GetKxVolumeResult& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
134 inline GetKxVolumeResult& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
135 inline GetKxVolumeResult& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
137
139
144 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
145 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestamp = value; }
146 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestamp = std::move(value); }
148 inline GetKxVolumeResult& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
150
152
155 inline const Aws::String& GetDescription() const{ return m_description; }
156 inline void SetDescription(const Aws::String& value) { m_description = value; }
157 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
158 inline void SetDescription(const char* value) { m_description.assign(value); }
159 inline GetKxVolumeResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
160 inline GetKxVolumeResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
161 inline GetKxVolumeResult& WithDescription(const char* value) { SetDescription(value); return *this;}
163
165
170 inline const KxAzMode& GetAzMode() const{ return m_azMode; }
171 inline void SetAzMode(const KxAzMode& value) { m_azMode = value; }
172 inline void SetAzMode(KxAzMode&& value) { m_azMode = std::move(value); }
173 inline GetKxVolumeResult& WithAzMode(const KxAzMode& value) { SetAzMode(value); return *this;}
174 inline GetKxVolumeResult& WithAzMode(KxAzMode&& value) { SetAzMode(std::move(value)); return *this;}
176
178
181 inline const Aws::Vector<Aws::String>& GetAvailabilityZoneIds() const{ return m_availabilityZoneIds; }
182 inline void SetAvailabilityZoneIds(const Aws::Vector<Aws::String>& value) { m_availabilityZoneIds = value; }
183 inline void SetAvailabilityZoneIds(Aws::Vector<Aws::String>&& value) { m_availabilityZoneIds = std::move(value); }
186 inline GetKxVolumeResult& AddAvailabilityZoneIds(const Aws::String& value) { m_availabilityZoneIds.push_back(value); return *this; }
187 inline GetKxVolumeResult& AddAvailabilityZoneIds(Aws::String&& value) { m_availabilityZoneIds.push_back(std::move(value)); return *this; }
188 inline GetKxVolumeResult& AddAvailabilityZoneIds(const char* value) { m_availabilityZoneIds.push_back(value); return *this; }
190
192
197 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const{ return m_lastModifiedTimestamp; }
198 inline void SetLastModifiedTimestamp(const Aws::Utils::DateTime& value) { m_lastModifiedTimestamp = value; }
199 inline void SetLastModifiedTimestamp(Aws::Utils::DateTime&& value) { m_lastModifiedTimestamp = std::move(value); }
203
205
208 inline const Aws::Vector<KxAttachedCluster>& GetAttachedClusters() const{ return m_attachedClusters; }
209 inline void SetAttachedClusters(const Aws::Vector<KxAttachedCluster>& value) { m_attachedClusters = value; }
210 inline void SetAttachedClusters(Aws::Vector<KxAttachedCluster>&& value) { m_attachedClusters = std::move(value); }
213 inline GetKxVolumeResult& AddAttachedClusters(const KxAttachedCluster& value) { m_attachedClusters.push_back(value); return *this; }
214 inline GetKxVolumeResult& AddAttachedClusters(KxAttachedCluster&& value) { m_attachedClusters.push_back(std::move(value)); return *this; }
216
218
219 inline const Aws::String& GetRequestId() const{ return m_requestId; }
220 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
221 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
222 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
223 inline GetKxVolumeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
224 inline GetKxVolumeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
225 inline GetKxVolumeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
227 private:
228
229 Aws::String m_environmentId;
230
231 Aws::String m_volumeName;
232
233 KxVolumeType m_volumeType;
234
235 Aws::String m_volumeArn;
236
237 KxNAS1Configuration m_nas1Configuration;
238
239 KxVolumeStatus m_status;
240
241 Aws::String m_statusReason;
242
243 Aws::Utils::DateTime m_createdTimestamp;
244
245 Aws::String m_description;
246
247 KxAzMode m_azMode;
248
249 Aws::Vector<Aws::String> m_availabilityZoneIds;
250
251 Aws::Utils::DateTime m_lastModifiedTimestamp;
252
253 Aws::Vector<KxAttachedCluster> m_attachedClusters;
254
255 Aws::String m_requestId;
256 };
257
258} // namespace Model
259} // namespace finspace
260} // namespace Aws
GetKxVolumeResult & WithVolumeType(const KxVolumeType &value)
GetKxVolumeResult & WithVolumeName(const char *value)
GetKxVolumeResult & WithAttachedClusters(const Aws::Vector< KxAttachedCluster > &value)
void SetEnvironmentId(const Aws::String &value)
GetKxVolumeResult & AddAvailabilityZoneIds(const char *value)
GetKxVolumeResult & WithEnvironmentId(const char *value)
GetKxVolumeResult & WithEnvironmentId(Aws::String &&value)
GetKxVolumeResult & WithVolumeName(const Aws::String &value)
void SetNas1Configuration(const KxNAS1Configuration &value)
GetKxVolumeResult & WithVolumeArn(const char *value)
void SetEnvironmentId(Aws::String &&value)
const Aws::String & GetStatusReason() const
GetKxVolumeResult & WithStatus(KxVolumeStatus &&value)
const KxNAS1Configuration & GetNas1Configuration() const
void SetAvailabilityZoneIds(const Aws::Vector< Aws::String > &value)
void SetRequestId(const Aws::String &value)
GetKxVolumeResult & WithAvailabilityZoneIds(Aws::Vector< Aws::String > &&value)
GetKxVolumeResult & AddAvailabilityZoneIds(const Aws::String &value)
void SetDescription(const Aws::String &value)
GetKxVolumeResult & WithNas1Configuration(KxNAS1Configuration &&value)
GetKxVolumeResult & WithEnvironmentId(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
GetKxVolumeResult & WithAzMode(const KxAzMode &value)
const Aws::String & GetRequestId() const
GetKxVolumeResult & WithAzMode(KxAzMode &&value)
void SetLastModifiedTimestamp(const Aws::Utils::DateTime &value)
GetKxVolumeResult & WithLastModifiedTimestamp(Aws::Utils::DateTime &&value)
void SetAttachedClusters(Aws::Vector< KxAttachedCluster > &&value)
GetKxVolumeResult & WithNas1Configuration(const KxNAS1Configuration &value)
const Aws::String & GetVolumeName() const
GetKxVolumeResult & WithAvailabilityZoneIds(const Aws::Vector< Aws::String > &value)
void SetVolumeArn(const Aws::String &value)
GetKxVolumeResult & WithRequestId(const char *value)
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 & WithVolumeArn(Aws::String &&value)
void SetNas1Configuration(KxNAS1Configuration &&value)
const Aws::String & GetVolumeArn() const
AWS_FINSPACE_API GetKxVolumeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetKxVolumeResult & AddAttachedClusters(const KxAttachedCluster &value)
const KxVolumeStatus & GetStatus() const
void SetVolumeType(KxVolumeType &&value)
GetKxVolumeResult & WithStatusReason(const Aws::String &value)
GetKxVolumeResult & WithDescription(Aws::String &&value)
const Aws::String & GetEnvironmentId() const
void SetAttachedClusters(const Aws::Vector< KxAttachedCluster > &value)
GetKxVolumeResult & WithRequestId(const Aws::String &value)
GetKxVolumeResult & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
const Aws::String & GetDescription() const
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
GetKxVolumeResult & WithRequestId(Aws::String &&value)
GetKxVolumeResult & WithDescription(const Aws::String &value)
GetKxVolumeResult & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
GetKxVolumeResult & WithDescription(const char *value)
GetKxVolumeResult & WithStatusReason(const char *value)
GetKxVolumeResult & WithVolumeType(KxVolumeType &&value)
const Aws::Vector< Aws::String > & GetAvailabilityZoneIds() const
void SetAvailabilityZoneIds(Aws::Vector< Aws::String > &&value)
GetKxVolumeResult & WithAttachedClusters(Aws::Vector< KxAttachedCluster > &&value)
void SetVolumeType(const KxVolumeType &value)
GetKxVolumeResult & WithStatusReason(Aws::String &&value)
void SetStatus(KxVolumeStatus &&value)
GetKxVolumeResult & WithVolumeName(Aws::String &&value)
void SetVolumeName(const Aws::String &value)
const KxVolumeType & GetVolumeType() const
GetKxVolumeResult & AddAttachedClusters(KxAttachedCluster &&value)
GetKxVolumeResult & WithStatus(const KxVolumeStatus &value)
GetKxVolumeResult & WithVolumeArn(const Aws::String &value)
GetKxVolumeResult & WithLastModifiedTimestamp(const Aws::Utils::DateTime &value)
void SetStatus(const KxVolumeStatus &value)
void SetStatusReason(const Aws::String &value)
void SetLastModifiedTimestamp(Aws::Utils::DateTime &&value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
GetKxVolumeResult & AddAvailabilityZoneIds(Aws::String &&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