7#include <aws/snow-device-management/SnowDeviceManagement_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/snow-device-management/model/AttachmentStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
23namespace SnowDeviceManagement
62 inline void SetDeleteOnTermination(
bool value) { m_deleteOnTerminationHasBeenSet =
true; m_deleteOnTermination = value; }
86 inline void SetVolumeId(
const char* value) { m_volumeIdHasBeenSet =
true; m_volumeId.assign(value); }
94 bool m_attachTimeHasBeenSet =
false;
96 bool m_deleteOnTermination;
97 bool m_deleteOnTerminationHasBeenSet =
false;
100 bool m_statusHasBeenSet =
false;
103 bool m_volumeIdHasBeenSet =
false;
void SetVolumeId(Aws::String &&value)
void SetDeleteOnTermination(bool value)
EbsInstanceBlockDevice & WithAttachTime(Aws::Utils::DateTime &&value)
bool AttachTimeHasBeenSet() const
bool DeleteOnTerminationHasBeenSet() const
bool GetDeleteOnTermination() const
AWS_SNOWDEVICEMANAGEMENT_API EbsInstanceBlockDevice(Aws::Utils::Json::JsonView jsonValue)
EbsInstanceBlockDevice & WithVolumeId(const char *value)
EbsInstanceBlockDevice & WithStatus(const AttachmentStatus &value)
EbsInstanceBlockDevice & WithVolumeId(const Aws::String &value)
bool StatusHasBeenSet() const
void SetStatus(const AttachmentStatus &value)
void SetVolumeId(const char *value)
void SetVolumeId(const Aws::String &value)
AWS_SNOWDEVICEMANAGEMENT_API EbsInstanceBlockDevice & operator=(Aws::Utils::Json::JsonView jsonValue)
EbsInstanceBlockDevice & WithVolumeId(Aws::String &&value)
void SetAttachTime(const Aws::Utils::DateTime &value)
bool VolumeIdHasBeenSet() const
const AttachmentStatus & GetStatus() const
void SetStatus(AttachmentStatus &&value)
EbsInstanceBlockDevice & WithDeleteOnTermination(bool value)
EbsInstanceBlockDevice & WithStatus(AttachmentStatus &&value)
AWS_SNOWDEVICEMANAGEMENT_API EbsInstanceBlockDevice()
EbsInstanceBlockDevice & WithAttachTime(const Aws::Utils::DateTime &value)
void SetAttachTime(Aws::Utils::DateTime &&value)
AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetVolumeId() const
const Aws::Utils::DateTime & GetAttachTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue