AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
39
40
42
46 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
47 template<typename EnvironmentIdT = Aws::String>
48 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
49 template<typename EnvironmentIdT = Aws::String>
50 CreateKxVolumeResult& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetVolumeName() const { return m_volumeName; }
58 template<typename VolumeNameT = Aws::String>
59 void SetVolumeName(VolumeNameT&& value) { m_volumeNameHasBeenSet = true; m_volumeName = std::forward<VolumeNameT>(value); }
60 template<typename VolumeNameT = Aws::String>
61 CreateKxVolumeResult& WithVolumeName(VolumeNameT&& value) { SetVolumeName(std::forward<VolumeNameT>(value)); return *this;}
63
65
69 inline KxVolumeType GetVolumeType() const { return m_volumeType; }
70 inline void SetVolumeType(KxVolumeType value) { m_volumeTypeHasBeenSet = true; m_volumeType = value; }
71 inline CreateKxVolumeResult& WithVolumeType(KxVolumeType value) { SetVolumeType(value); return *this;}
73
75
78 inline const Aws::String& GetVolumeArn() const { return m_volumeArn; }
79 template<typename VolumeArnT = Aws::String>
80 void SetVolumeArn(VolumeArnT&& value) { m_volumeArnHasBeenSet = true; m_volumeArn = std::forward<VolumeArnT>(value); }
81 template<typename VolumeArnT = Aws::String>
82 CreateKxVolumeResult& WithVolumeArn(VolumeArnT&& value) { SetVolumeArn(std::forward<VolumeArnT>(value)); return *this;}
84
86
90 inline const KxNAS1Configuration& GetNas1Configuration() const { return m_nas1Configuration; }
91 template<typename Nas1ConfigurationT = KxNAS1Configuration>
92 void SetNas1Configuration(Nas1ConfigurationT&& value) { m_nas1ConfigurationHasBeenSet = true; m_nas1Configuration = std::forward<Nas1ConfigurationT>(value); }
93 template<typename Nas1ConfigurationT = KxNAS1Configuration>
94 CreateKxVolumeResult& WithNas1Configuration(Nas1ConfigurationT&& value) { SetNas1Configuration(std::forward<Nas1ConfigurationT>(value)); return *this;}
96
98
109 inline KxVolumeStatus GetStatus() const { return m_status; }
110 inline void SetStatus(KxVolumeStatus value) { m_statusHasBeenSet = true; m_status = value; }
111 inline CreateKxVolumeResult& WithStatus(KxVolumeStatus value) { SetStatus(value); return *this;}
113
115
118 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
119 template<typename StatusReasonT = Aws::String>
120 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::forward<StatusReasonT>(value); }
121 template<typename StatusReasonT = Aws::String>
122 CreateKxVolumeResult& WithStatusReason(StatusReasonT&& value) { SetStatusReason(std::forward<StatusReasonT>(value)); return *this;}
124
126
131 inline KxAzMode GetAzMode() const { return m_azMode; }
132 inline void SetAzMode(KxAzMode value) { m_azModeHasBeenSet = true; m_azMode = value; }
133 inline CreateKxVolumeResult& WithAzMode(KxAzMode value) { SetAzMode(value); return *this;}
135
137
140 inline const Aws::String& GetDescription() const { return m_description; }
141 template<typename DescriptionT = Aws::String>
142 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
143 template<typename DescriptionT = Aws::String>
144 CreateKxVolumeResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
146
148
151 inline const Aws::Vector<Aws::String>& GetAvailabilityZoneIds() const { return m_availabilityZoneIds; }
152 template<typename AvailabilityZoneIdsT = Aws::Vector<Aws::String>>
153 void SetAvailabilityZoneIds(AvailabilityZoneIdsT&& value) { m_availabilityZoneIdsHasBeenSet = true; m_availabilityZoneIds = std::forward<AvailabilityZoneIdsT>(value); }
154 template<typename AvailabilityZoneIdsT = Aws::Vector<Aws::String>>
155 CreateKxVolumeResult& WithAvailabilityZoneIds(AvailabilityZoneIdsT&& value) { SetAvailabilityZoneIds(std::forward<AvailabilityZoneIdsT>(value)); return *this;}
156 template<typename AvailabilityZoneIdsT = Aws::String>
157 CreateKxVolumeResult& AddAvailabilityZoneIds(AvailabilityZoneIdsT&& value) { m_availabilityZoneIdsHasBeenSet = true; m_availabilityZoneIds.emplace_back(std::forward<AvailabilityZoneIdsT>(value)); return *this; }
159
161
166 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
167 template<typename CreatedTimestampT = Aws::Utils::DateTime>
168 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
169 template<typename CreatedTimestampT = Aws::Utils::DateTime>
170 CreateKxVolumeResult& WithCreatedTimestamp(CreatedTimestampT&& value) { SetCreatedTimestamp(std::forward<CreatedTimestampT>(value)); return *this;}
172
174
175 inline const Aws::String& GetRequestId() const { return m_requestId; }
176 template<typename RequestIdT = Aws::String>
177 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
178 template<typename RequestIdT = Aws::String>
179 CreateKxVolumeResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
181 private:
182
183 Aws::String m_environmentId;
184 bool m_environmentIdHasBeenSet = false;
185
186 Aws::String m_volumeName;
187 bool m_volumeNameHasBeenSet = false;
188
190 bool m_volumeTypeHasBeenSet = false;
191
192 Aws::String m_volumeArn;
193 bool m_volumeArnHasBeenSet = false;
194
195 KxNAS1Configuration m_nas1Configuration;
196 bool m_nas1ConfigurationHasBeenSet = false;
197
199 bool m_statusHasBeenSet = false;
200
201 Aws::String m_statusReason;
202 bool m_statusReasonHasBeenSet = false;
203
204 KxAzMode m_azMode{KxAzMode::NOT_SET};
205 bool m_azModeHasBeenSet = false;
206
207 Aws::String m_description;
208 bool m_descriptionHasBeenSet = false;
209
210 Aws::Vector<Aws::String> m_availabilityZoneIds;
211 bool m_availabilityZoneIdsHasBeenSet = false;
212
213 Aws::Utils::DateTime m_createdTimestamp{};
214 bool m_createdTimestampHasBeenSet = false;
215
216 Aws::String m_requestId;
217 bool m_requestIdHasBeenSet = false;
218 };
219
220} // namespace Model
221} // namespace finspace
222} // namespace Aws
AWS_FINSPACE_API CreateKxVolumeResult()=default
CreateKxVolumeResult & WithDescription(DescriptionT &&value)
void SetNas1Configuration(Nas1ConfigurationT &&value)
CreateKxVolumeResult & WithVolumeArn(VolumeArnT &&value)
CreateKxVolumeResult & WithCreatedTimestamp(CreatedTimestampT &&value)
CreateKxVolumeResult & WithStatus(KxVolumeStatus value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
CreateKxVolumeResult & WithStatusReason(StatusReasonT &&value)
CreateKxVolumeResult & WithEnvironmentId(EnvironmentIdT &&value)
CreateKxVolumeResult & WithAzMode(KxAzMode value)
AWS_FINSPACE_API CreateKxVolumeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateKxVolumeResult & WithRequestId(RequestIdT &&value)
CreateKxVolumeResult & WithAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
AWS_FINSPACE_API CreateKxVolumeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateKxVolumeResult & WithVolumeName(VolumeNameT &&value)
CreateKxVolumeResult & WithNas1Configuration(Nas1ConfigurationT &&value)
const Aws::Vector< Aws::String > & GetAvailabilityZoneIds() const
void SetCreatedTimestamp(CreatedTimestampT &&value)
CreateKxVolumeResult & AddAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
void SetAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
const KxNAS1Configuration & GetNas1Configuration() const
CreateKxVolumeResult & WithVolumeType(KxVolumeType 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