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/KxVolumeStatus.h>
11#include <aws/finspace/model/KxAzMode.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/DateTime.h>
52 template<
typename VolumeNameT = Aws::String>
53 void SetVolumeName(VolumeNameT&& value) { m_volumeNameHasBeenSet =
true; m_volumeName = std::forward<VolumeNameT>(value); }
54 template<
typename VolumeNameT = Aws::String>
93 template<
typename DescriptionT = Aws::String>
94 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
95 template<
typename DescriptionT = Aws::String>
105 template<
typename StatusReasonT = Aws::String>
106 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
107 template<
typename StatusReasonT = Aws::String>
129 template<
typename AvailabilityZoneIdsT = Aws::Vector<Aws::String>>
130 void SetAvailabilityZoneIds(AvailabilityZoneIdsT&& value) { m_availabilityZoneIdsHasBeenSet =
true; m_availabilityZoneIds = std::forward<AvailabilityZoneIdsT>(value); }
131 template<
typename AvailabilityZoneIdsT = Aws::Vector<Aws::String>>
133 template<
typename AvailabilityZoneIdsT = Aws::String>
134 KxVolume&
AddAvailabilityZoneIds(AvailabilityZoneIdsT&& value) { m_availabilityZoneIdsHasBeenSet =
true; m_availabilityZoneIds.emplace_back(std::forward<AvailabilityZoneIdsT>(value));
return *
this; }
145 template<
typename CreatedTimestampT = Aws::Utils::DateTime>
146 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet =
true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
147 template<
typename CreatedTimestampT = Aws::Utils::DateTime>
159 template<
typename LastModifiedTimestampT = Aws::Utils::DateTime>
160 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) { m_lastModifiedTimestampHasBeenSet =
true; m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value); }
161 template<
typename LastModifiedTimestampT = Aws::Utils::DateTime>
167 bool m_volumeNameHasBeenSet =
false;
170 bool m_volumeTypeHasBeenSet =
false;
173 bool m_statusHasBeenSet =
false;
176 bool m_descriptionHasBeenSet =
false;
179 bool m_statusReasonHasBeenSet =
false;
182 bool m_azModeHasBeenSet =
false;
185 bool m_availabilityZoneIdsHasBeenSet =
false;
188 bool m_createdTimestampHasBeenSet =
false;
191 bool m_lastModifiedTimestampHasBeenSet =
false;
void SetStatusReason(StatusReasonT &&value)
bool StatusReasonHasBeenSet() const
void SetVolumeType(KxVolumeType value)
KxVolumeType GetVolumeType() const
const Aws::Vector< Aws::String > & GetAvailabilityZoneIds() const
KxVolume & WithStatus(KxVolumeStatus value)
void SetAzMode(KxAzMode value)
KxVolume & WithStatusReason(StatusReasonT &&value)
bool AzModeHasBeenSet() const
const Aws::String & GetVolumeName() const
bool AvailabilityZoneIdsHasBeenSet() const
KxVolumeStatus GetStatus() const
bool VolumeNameHasBeenSet() const
const Aws::String & GetStatusReason() const
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
bool CreatedTimestampHasBeenSet() const
void SetLastModifiedTimestamp(LastModifiedTimestampT &&value)
bool StatusHasBeenSet() const
KxAzMode GetAzMode() const
void SetVolumeName(VolumeNameT &&value)
KxVolume & WithCreatedTimestamp(CreatedTimestampT &&value)
bool DescriptionHasBeenSet() const
AWS_FINSPACE_API KxVolume & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FINSPACE_API KxVolume(Aws::Utils::Json::JsonView jsonValue)
KxVolume & WithVolumeType(KxVolumeType value)
void SetDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
const Aws::Utils::DateTime & GetCreatedTimestamp() const
AWS_FINSPACE_API KxVolume()=default
KxVolume & WithAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
KxVolume & WithDescription(DescriptionT &&value)
void SetStatus(KxVolumeStatus value)
bool VolumeTypeHasBeenSet() const
KxVolume & WithAzMode(KxAzMode value)
const Aws::String & GetDescription() const
KxVolume & WithVolumeName(VolumeNameT &&value)
void SetAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
KxVolume & WithLastModifiedTimestamp(LastModifiedTimestampT &&value)
KxVolume & AddAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
bool LastModifiedTimestampHasBeenSet() const
void SetCreatedTimestamp(CreatedTimestampT &&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