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>
50 template<
typename DateT = Aws::String>
51 void SetDate(DateT&& value) { m_dateHasBeenSet =
true; m_date = std::forward<DateT>(value); }
52 template<
typename DateT = Aws::String>
62 template<
typename CreatedAtT = Aws::Utils::DateTime>
63 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
64 template<
typename CreatedAtT = Aws::Utils::DateTime>
85 template<
typename FromAttachedDisksT = Aws::Vector<AttachedDisk>>
86 void SetFromAttachedDisks(FromAttachedDisksT&& value) { m_fromAttachedDisksHasBeenSet =
true; m_fromAttachedDisks = std::forward<FromAttachedDisksT>(value); }
87 template<
typename FromAttachedDisksT = Aws::Vector<AttachedDisk>>
89 template<
typename FromAttachedDisksT = AttachedDisk>
95 bool m_dateHasBeenSet =
false;
98 bool m_createdAtHasBeenSet =
false;
101 bool m_statusHasBeenSet =
false;
104 bool m_fromAttachedDisksHasBeenSet =
false;
bool StatusHasBeenSet() const
AutoSnapshotDetails & WithStatus(AutoSnapshotStatus value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_LIGHTSAIL_API AutoSnapshotDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDate() const
AWS_LIGHTSAIL_API AutoSnapshotDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoSnapshotDetails & AddFromAttachedDisks(FromAttachedDisksT &&value)
void SetStatus(AutoSnapshotStatus value)
bool DateHasBeenSet() const
AutoSnapshotStatus GetStatus() const
void SetDate(DateT &&value)
bool FromAttachedDisksHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AutoSnapshotDetails & WithCreatedAt(CreatedAtT &&value)
AutoSnapshotDetails & WithDate(DateT &&value)
bool CreatedAtHasBeenSet() const
AWS_LIGHTSAIL_API AutoSnapshotDetails()=default
const Aws::Vector< AttachedDisk > & GetFromAttachedDisks() const
AutoSnapshotDetails & WithFromAttachedDisks(FromAttachedDisksT &&value)
void SetFromAttachedDisks(FromAttachedDisksT &&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