7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/lightsail/model/AutoSnapshotStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/lightsail/model/AttachedDisk.h>
52 inline void SetDate(
const char* value) { m_dateHasBeenSet =
true; m_date.assign(value); }
99 bool m_dateHasBeenSet =
false;
102 bool m_createdAtHasBeenSet =
false;
105 bool m_statusHasBeenSet =
false;
108 bool m_fromAttachedDisksHasBeenSet =
false;
bool StatusHasBeenSet() const
void SetDate(const char *value)
AutoSnapshotDetails & WithDate(const Aws::String &value)
AutoSnapshotDetails & WithDate(const char *value)
AutoSnapshotDetails & AddFromAttachedDisks(AttachedDisk &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AutoSnapshotDetails & WithFromAttachedDisks(const Aws::Vector< AttachedDisk > &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
AutoSnapshotDetails & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_LIGHTSAIL_API AutoSnapshotDetails(Aws::Utils::Json::JsonView jsonValue)
void SetFromAttachedDisks(Aws::Vector< AttachedDisk > &&value)
const Aws::String & GetDate() const
AutoSnapshotDetails & WithStatus(AutoSnapshotStatus &&value)
const AutoSnapshotStatus & GetStatus() const
AWS_LIGHTSAIL_API AutoSnapshotDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFromAttachedDisks(const Aws::Vector< AttachedDisk > &value)
AutoSnapshotDetails & WithCreatedAt(Aws::Utils::DateTime &&value)
AutoSnapshotDetails & AddFromAttachedDisks(const AttachedDisk &value)
void SetStatus(const AutoSnapshotStatus &value)
bool DateHasBeenSet() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetStatus(AutoSnapshotStatus &&value)
AutoSnapshotDetails & WithDate(Aws::String &&value)
bool FromAttachedDisksHasBeenSet() const
void SetDate(const Aws::String &value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LIGHTSAIL_API AutoSnapshotDetails()
bool CreatedAtHasBeenSet() const
AutoSnapshotDetails & WithFromAttachedDisks(Aws::Vector< AttachedDisk > &&value)
const Aws::Vector< AttachedDisk > & GetFromAttachedDisks() const
AutoSnapshotDetails & WithStatus(const AutoSnapshotStatus &value)
void SetDate(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