AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateKxVolumeResult.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 UpdateKxVolumeResult();
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 UpdateKxVolumeResult& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
52 inline UpdateKxVolumeResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
53 inline UpdateKxVolumeResult& 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 UpdateKxVolumeResult& WithVolumeName(const Aws::String& value) { SetVolumeName(value); return *this;}
65 inline UpdateKxVolumeResult& WithVolumeName(Aws::String&& value) { SetVolumeName(std::move(value)); return *this;}
66 inline UpdateKxVolumeResult& 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 UpdateKxVolumeResult& WithVolumeType(const KxVolumeType& value) { SetVolumeType(value); return *this;}
78 inline UpdateKxVolumeResult& 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 UpdateKxVolumeResult& WithVolumeArn(const Aws::String& value) { SetVolumeArn(value); return *this;}
90 inline UpdateKxVolumeResult& WithVolumeArn(Aws::String&& value) { SetVolumeArn(std::move(value)); return *this;}
91 inline UpdateKxVolumeResult& 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 UpdateKxVolumeResult& 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 UpdateKxVolumeResult& WithStatus(const KxVolumeStatus& value) { SetStatus(value); return *this;}
122 inline UpdateKxVolumeResult& WithStatus(KxVolumeStatus&& value) { SetStatus(std::move(value)); return *this;}
124
126
129 inline const Aws::String& GetDescription() const{ return m_description; }
130 inline void SetDescription(const Aws::String& value) { m_description = value; }
131 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
132 inline void SetDescription(const char* value) { m_description.assign(value); }
133 inline UpdateKxVolumeResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
134 inline UpdateKxVolumeResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
135 inline UpdateKxVolumeResult& WithDescription(const char* value) { SetDescription(value); return *this;}
137
139
142 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
143 inline void SetStatusReason(const Aws::String& value) { m_statusReason = value; }
144 inline void SetStatusReason(Aws::String&& value) { m_statusReason = std::move(value); }
145 inline void SetStatusReason(const char* value) { m_statusReason.assign(value); }
146 inline UpdateKxVolumeResult& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
147 inline UpdateKxVolumeResult& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
148 inline UpdateKxVolumeResult& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
150
152
157 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
158 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestamp = value; }
159 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestamp = std::move(value); }
161 inline UpdateKxVolumeResult& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(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 UpdateKxVolumeResult& WithAzMode(const KxAzMode& value) { SetAzMode(value); return *this;}
174 inline UpdateKxVolumeResult& 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 UpdateKxVolumeResult& AddAvailabilityZoneIds(const Aws::String& value) { m_availabilityZoneIds.push_back(value); return *this; }
187 inline UpdateKxVolumeResult& AddAvailabilityZoneIds(Aws::String&& value) { m_availabilityZoneIds.push_back(std::move(value)); return *this; }
188 inline UpdateKxVolumeResult& 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 UpdateKxVolumeResult& AddAttachedClusters(const KxAttachedCluster& value) { m_attachedClusters.push_back(value); return *this; }
214 inline UpdateKxVolumeResult& 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 UpdateKxVolumeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
224 inline UpdateKxVolumeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
225 inline UpdateKxVolumeResult& 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_description;
242
243 Aws::String m_statusReason;
244
245 Aws::Utils::DateTime m_createdTimestamp;
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
void SetVolumeType(const KxVolumeType &value)
void SetStatusReason(const Aws::String &value)
UpdateKxVolumeResult & WithVolumeArn(const char *value)
UpdateKxVolumeResult & WithDescription(const Aws::String &value)
void SetAvailabilityZoneIds(const Aws::Vector< Aws::String > &value)
UpdateKxVolumeResult & WithRequestId(const Aws::String &value)
UpdateKxVolumeResult & WithAvailabilityZoneIds(const Aws::Vector< Aws::String > &value)
UpdateKxVolumeResult & WithStatusReason(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAvailabilityZoneIds() const
void SetAvailabilityZoneIds(Aws::Vector< Aws::String > &&value)
UpdateKxVolumeResult & AddAvailabilityZoneIds(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
UpdateKxVolumeResult & WithVolumeType(const KxVolumeType &value)
UpdateKxVolumeResult & WithEnvironmentId(Aws::String &&value)
UpdateKxVolumeResult & WithAzMode(KxAzMode &&value)
UpdateKxVolumeResult & WithStatus(const KxVolumeStatus &value)
const Aws::Vector< KxAttachedCluster > & GetAttachedClusters() const
void SetVolumeArn(const Aws::String &value)
void SetStatus(const KxVolumeStatus &value)
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
UpdateKxVolumeResult & WithAvailabilityZoneIds(Aws::Vector< Aws::String > &&value)
void SetLastModifiedTimestamp(Aws::Utils::DateTime &&value)
void SetEnvironmentId(const Aws::String &value)
UpdateKxVolumeResult & WithEnvironmentId(const Aws::String &value)
UpdateKxVolumeResult & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetAttachedClusters(Aws::Vector< KxAttachedCluster > &&value)
AWS_FINSPACE_API UpdateKxVolumeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateKxVolumeResult & WithStatus(KxVolumeStatus &&value)
UpdateKxVolumeResult & WithVolumeName(const char *value)
UpdateKxVolumeResult & WithLastModifiedTimestamp(Aws::Utils::DateTime &&value)
UpdateKxVolumeResult & AddAvailabilityZoneIds(Aws::String &&value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
UpdateKxVolumeResult & WithNas1Configuration(KxNAS1Configuration &&value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetVolumeName(const Aws::String &value)
void SetLastModifiedTimestamp(const Aws::Utils::DateTime &value)
void SetNas1Configuration(const KxNAS1Configuration &value)
UpdateKxVolumeResult & WithAttachedClusters(Aws::Vector< KxAttachedCluster > &&value)
const KxNAS1Configuration & GetNas1Configuration() const
UpdateKxVolumeResult & WithRequestId(Aws::String &&value)
void SetNas1Configuration(KxNAS1Configuration &&value)
UpdateKxVolumeResult & WithStatusReason(const char *value)
UpdateKxVolumeResult & AddAttachedClusters(const KxAttachedCluster &value)
UpdateKxVolumeResult & WithVolumeArn(Aws::String &&value)
UpdateKxVolumeResult & WithVolumeArn(const Aws::String &value)
UpdateKxVolumeResult & WithVolumeType(KxVolumeType &&value)
UpdateKxVolumeResult & WithStatusReason(const Aws::String &value)
UpdateKxVolumeResult & AddAttachedClusters(KxAttachedCluster &&value)
UpdateKxVolumeResult & WithLastModifiedTimestamp(const Aws::Utils::DateTime &value)
UpdateKxVolumeResult & WithAzMode(const KxAzMode &value)
UpdateKxVolumeResult & WithVolumeName(const Aws::String &value)
void SetAttachedClusters(const Aws::Vector< KxAttachedCluster > &value)
UpdateKxVolumeResult & WithRequestId(const char *value)
UpdateKxVolumeResult & WithAttachedClusters(const Aws::Vector< KxAttachedCluster > &value)
UpdateKxVolumeResult & WithDescription(Aws::String &&value)
AWS_FINSPACE_API UpdateKxVolumeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateKxVolumeResult & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
UpdateKxVolumeResult & WithDescription(const char *value)
UpdateKxVolumeResult & WithVolumeName(Aws::String &&value)
UpdateKxVolumeResult & AddAvailabilityZoneIds(const char *value)
UpdateKxVolumeResult & WithEnvironmentId(const char *value)
UpdateKxVolumeResult & WithNas1Configuration(const KxNAS1Configuration &value)
void SetDescription(const 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