AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateKxVolumeResult.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/finspace/model/KxAzMode.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/core/utils/DateTime.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace finspace
30{
31namespace Model
32{
34 {
35 public:
36 AWS_FINSPACE_API CreateKxVolumeResult();
39
40
42
46 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
47 inline void SetEnvironmentId(const Aws::String& value) { m_environmentId = value; }
48 inline void SetEnvironmentId(Aws::String&& value) { m_environmentId = std::move(value); }
49 inline void SetEnvironmentId(const char* value) { m_environmentId.assign(value); }
50 inline CreateKxVolumeResult& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
51 inline CreateKxVolumeResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
52 inline CreateKxVolumeResult& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
54
56
59 inline const Aws::String& GetVolumeName() const{ return m_volumeName; }
60 inline void SetVolumeName(const Aws::String& value) { m_volumeName = value; }
61 inline void SetVolumeName(Aws::String&& value) { m_volumeName = std::move(value); }
62 inline void SetVolumeName(const char* value) { m_volumeName.assign(value); }
63 inline CreateKxVolumeResult& WithVolumeName(const Aws::String& value) { SetVolumeName(value); return *this;}
64 inline CreateKxVolumeResult& WithVolumeName(Aws::String&& value) { SetVolumeName(std::move(value)); return *this;}
65 inline CreateKxVolumeResult& WithVolumeName(const char* value) { SetVolumeName(value); return *this;}
67
69
73 inline const KxVolumeType& GetVolumeType() const{ return m_volumeType; }
74 inline void SetVolumeType(const KxVolumeType& value) { m_volumeType = value; }
75 inline void SetVolumeType(KxVolumeType&& value) { m_volumeType = std::move(value); }
76 inline CreateKxVolumeResult& WithVolumeType(const KxVolumeType& value) { SetVolumeType(value); return *this;}
77 inline CreateKxVolumeResult& WithVolumeType(KxVolumeType&& value) { SetVolumeType(std::move(value)); return *this;}
79
81
84 inline const Aws::String& GetVolumeArn() const{ return m_volumeArn; }
85 inline void SetVolumeArn(const Aws::String& value) { m_volumeArn = value; }
86 inline void SetVolumeArn(Aws::String&& value) { m_volumeArn = std::move(value); }
87 inline void SetVolumeArn(const char* value) { m_volumeArn.assign(value); }
88 inline CreateKxVolumeResult& WithVolumeArn(const Aws::String& value) { SetVolumeArn(value); return *this;}
89 inline CreateKxVolumeResult& WithVolumeArn(Aws::String&& value) { SetVolumeArn(std::move(value)); return *this;}
90 inline CreateKxVolumeResult& WithVolumeArn(const char* value) { SetVolumeArn(value); return *this;}
92
94
98 inline const KxNAS1Configuration& GetNas1Configuration() const{ return m_nas1Configuration; }
99 inline void SetNas1Configuration(const KxNAS1Configuration& value) { m_nas1Configuration = value; }
100 inline void SetNas1Configuration(KxNAS1Configuration&& value) { m_nas1Configuration = std::move(value); }
102 inline CreateKxVolumeResult& WithNas1Configuration(KxNAS1Configuration&& value) { SetNas1Configuration(std::move(value)); return *this;}
104
106
117 inline const KxVolumeStatus& GetStatus() const{ return m_status; }
118 inline void SetStatus(const KxVolumeStatus& value) { m_status = value; }
119 inline void SetStatus(KxVolumeStatus&& value) { m_status = std::move(value); }
120 inline CreateKxVolumeResult& WithStatus(const KxVolumeStatus& value) { SetStatus(value); return *this;}
121 inline CreateKxVolumeResult& WithStatus(KxVolumeStatus&& value) { SetStatus(std::move(value)); return *this;}
123
125
128 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
129 inline void SetStatusReason(const Aws::String& value) { m_statusReason = value; }
130 inline void SetStatusReason(Aws::String&& value) { m_statusReason = std::move(value); }
131 inline void SetStatusReason(const char* value) { m_statusReason.assign(value); }
132 inline CreateKxVolumeResult& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
133 inline CreateKxVolumeResult& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
134 inline CreateKxVolumeResult& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
136
138
143 inline const KxAzMode& GetAzMode() const{ return m_azMode; }
144 inline void SetAzMode(const KxAzMode& value) { m_azMode = value; }
145 inline void SetAzMode(KxAzMode&& value) { m_azMode = std::move(value); }
146 inline CreateKxVolumeResult& WithAzMode(const KxAzMode& value) { SetAzMode(value); return *this;}
147 inline CreateKxVolumeResult& WithAzMode(KxAzMode&& value) { SetAzMode(std::move(value)); return *this;}
149
151
154 inline const Aws::String& GetDescription() const{ return m_description; }
155 inline void SetDescription(const Aws::String& value) { m_description = value; }
156 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
157 inline void SetDescription(const char* value) { m_description.assign(value); }
158 inline CreateKxVolumeResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
159 inline CreateKxVolumeResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
160 inline CreateKxVolumeResult& WithDescription(const char* value) { SetDescription(value); return *this;}
162
164
167 inline const Aws::Vector<Aws::String>& GetAvailabilityZoneIds() const{ return m_availabilityZoneIds; }
168 inline void SetAvailabilityZoneIds(const Aws::Vector<Aws::String>& value) { m_availabilityZoneIds = value; }
169 inline void SetAvailabilityZoneIds(Aws::Vector<Aws::String>&& value) { m_availabilityZoneIds = std::move(value); }
172 inline CreateKxVolumeResult& AddAvailabilityZoneIds(const Aws::String& value) { m_availabilityZoneIds.push_back(value); return *this; }
173 inline CreateKxVolumeResult& AddAvailabilityZoneIds(Aws::String&& value) { m_availabilityZoneIds.push_back(std::move(value)); return *this; }
174 inline CreateKxVolumeResult& AddAvailabilityZoneIds(const char* value) { m_availabilityZoneIds.push_back(value); return *this; }
176
178
183 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
184 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestamp = value; }
185 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestamp = std::move(value); }
187 inline CreateKxVolumeResult& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
189
191
192 inline const Aws::String& GetRequestId() const{ return m_requestId; }
193 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
194 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
195 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
196 inline CreateKxVolumeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
197 inline CreateKxVolumeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
198 inline CreateKxVolumeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
200 private:
201
202 Aws::String m_environmentId;
203
204 Aws::String m_volumeName;
205
206 KxVolumeType m_volumeType;
207
208 Aws::String m_volumeArn;
209
210 KxNAS1Configuration m_nas1Configuration;
211
212 KxVolumeStatus m_status;
213
214 Aws::String m_statusReason;
215
216 KxAzMode m_azMode;
217
218 Aws::String m_description;
219
220 Aws::Vector<Aws::String> m_availabilityZoneIds;
221
222 Aws::Utils::DateTime m_createdTimestamp;
223
224 Aws::String m_requestId;
225 };
226
227} // namespace Model
228} // namespace finspace
229} // namespace Aws
CreateKxVolumeResult & WithAvailabilityZoneIds(const Aws::Vector< Aws::String > &value)
CreateKxVolumeResult & WithStatusReason(const Aws::String &value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetVolumeName(const Aws::String &value)
CreateKxVolumeResult & WithVolumeName(const Aws::String &value)
CreateKxVolumeResult & WithRequestId(Aws::String &&value)
void SetStatusReason(const Aws::String &value)
CreateKxVolumeResult & WithNas1Configuration(KxNAS1Configuration &&value)
CreateKxVolumeResult & WithVolumeArn(const char *value)
CreateKxVolumeResult & WithEnvironmentId(Aws::String &&value)
void SetNas1Configuration(const KxNAS1Configuration &value)
void SetAvailabilityZoneIds(Aws::Vector< Aws::String > &&value)
CreateKxVolumeResult & WithDescription(const Aws::String &value)
CreateKxVolumeResult & WithAzMode(KxAzMode &&value)
void SetVolumeType(const KxVolumeType &value)
CreateKxVolumeResult & WithVolumeArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
CreateKxVolumeResult & WithRequestId(const Aws::String &value)
CreateKxVolumeResult & WithStatusReason(Aws::String &&value)
void SetDescription(const Aws::String &value)
CreateKxVolumeResult & WithEnvironmentId(const Aws::String &value)
void SetNas1Configuration(KxNAS1Configuration &&value)
CreateKxVolumeResult & AddAvailabilityZoneIds(const char *value)
CreateKxVolumeResult & WithVolumeType(KxVolumeType &&value)
CreateKxVolumeResult & WithStatusReason(const char *value)
CreateKxVolumeResult & WithVolumeName(Aws::String &&value)
CreateKxVolumeResult & WithRequestId(const char *value)
CreateKxVolumeResult & WithVolumeType(const KxVolumeType &value)
AWS_FINSPACE_API CreateKxVolumeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateKxVolumeResult & AddAvailabilityZoneIds(Aws::String &&value)
CreateKxVolumeResult & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
CreateKxVolumeResult & WithAvailabilityZoneIds(Aws::Vector< Aws::String > &&value)
CreateKxVolumeResult & WithVolumeArn(Aws::String &&value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
CreateKxVolumeResult & WithAzMode(const KxAzMode &value)
AWS_FINSPACE_API CreateKxVolumeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateKxVolumeResult & WithDescription(const char *value)
CreateKxVolumeResult & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
CreateKxVolumeResult & AddAvailabilityZoneIds(const Aws::String &value)
CreateKxVolumeResult & WithEnvironmentId(const char *value)
const Aws::Vector< Aws::String > & GetAvailabilityZoneIds() const
CreateKxVolumeResult & WithNas1Configuration(const KxNAS1Configuration &value)
void SetVolumeArn(const Aws::String &value)
void SetStatus(const KxVolumeStatus &value)
CreateKxVolumeResult & WithStatus(KxVolumeStatus &&value)
void SetAvailabilityZoneIds(const Aws::Vector< Aws::String > &value)
CreateKxVolumeResult & WithDescription(Aws::String &&value)
const KxNAS1Configuration & GetNas1Configuration() const
void SetEnvironmentId(const Aws::String &value)
CreateKxVolumeResult & WithVolumeName(const char *value)
CreateKxVolumeResult & WithStatus(const KxVolumeStatus &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