/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an automatic snapshot.See Also:
AWS
* API Reference
The date of the automatic snapshot in YYYY-MM-DD
format.
The date of the automatic snapshot in YYYY-MM-DD
format.
The date of the automatic snapshot in YYYY-MM-DD
format.
The date of the automatic snapshot in YYYY-MM-DD
format.
The date of the automatic snapshot in YYYY-MM-DD
format.
The date of the automatic snapshot in YYYY-MM-DD
format.
The date of the automatic snapshot in YYYY-MM-DD
format.
The date of the automatic snapshot in YYYY-MM-DD
format.
The timestamp when the automatic snapshot was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The timestamp when the automatic snapshot was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The timestamp when the automatic snapshot was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The timestamp when the automatic snapshot was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The timestamp when the automatic snapshot was created.
*/ inline AutoSnapshotDetails& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The timestamp when the automatic snapshot was created.
*/ inline AutoSnapshotDetails& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The status of the automatic snapshot.
*/ inline const AutoSnapshotStatus& GetStatus() const{ return m_status; } /** *The status of the automatic snapshot.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the automatic snapshot.
*/ inline void SetStatus(const AutoSnapshotStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the automatic snapshot.
*/ inline void SetStatus(AutoSnapshotStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the automatic snapshot.
*/ inline AutoSnapshotDetails& WithStatus(const AutoSnapshotStatus& value) { SetStatus(value); return *this;} /** *The status of the automatic snapshot.
*/ inline AutoSnapshotDetails& WithStatus(AutoSnapshotStatus&& value) { SetStatus(std::move(value)); return *this;} /** *An array of objects that describe the block storage disks attached to the * instance when the automatic snapshot was created.
*/ inline const Aws::VectorAn array of objects that describe the block storage disks attached to the * instance when the automatic snapshot was created.
*/ inline bool FromAttachedDisksHasBeenSet() const { return m_fromAttachedDisksHasBeenSet; } /** *An array of objects that describe the block storage disks attached to the * instance when the automatic snapshot was created.
*/ inline void SetFromAttachedDisks(const Aws::VectorAn array of objects that describe the block storage disks attached to the * instance when the automatic snapshot was created.
*/ inline void SetFromAttachedDisks(Aws::VectorAn array of objects that describe the block storage disks attached to the * instance when the automatic snapshot was created.
*/ inline AutoSnapshotDetails& WithFromAttachedDisks(const Aws::VectorAn array of objects that describe the block storage disks attached to the * instance when the automatic snapshot was created.
*/ inline AutoSnapshotDetails& WithFromAttachedDisks(Aws::VectorAn array of objects that describe the block storage disks attached to the * instance when the automatic snapshot was created.
*/ inline AutoSnapshotDetails& AddFromAttachedDisks(const AttachedDisk& value) { m_fromAttachedDisksHasBeenSet = true; m_fromAttachedDisks.push_back(value); return *this; } /** *An array of objects that describe the block storage disks attached to the * instance when the automatic snapshot was created.
*/ inline AutoSnapshotDetails& AddFromAttachedDisks(AttachedDisk&& value) { m_fromAttachedDisksHasBeenSet = true; m_fromAttachedDisks.push_back(std::move(value)); return *this; } private: Aws::String m_date; bool m_dateHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; AutoSnapshotStatus m_status; bool m_statusHasBeenSet = false; Aws::Vector