/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a snapshot.See Also:
AWS
* API Reference
The time when the snapshot was created.
*/ inline const Aws::Utils::DateTime& GetSnapshotTime() const{ return m_snapshotTime; } /** *The time when the snapshot was created.
*/ inline bool SnapshotTimeHasBeenSet() const { return m_snapshotTimeHasBeenSet; } /** *The time when the snapshot was created.
*/ inline void SetSnapshotTime(const Aws::Utils::DateTime& value) { m_snapshotTimeHasBeenSet = true; m_snapshotTime = value; } /** *The time when the snapshot was created.
*/ inline void SetSnapshotTime(Aws::Utils::DateTime&& value) { m_snapshotTimeHasBeenSet = true; m_snapshotTime = std::move(value); } /** *The time when the snapshot was created.
*/ inline Snapshot& WithSnapshotTime(const Aws::Utils::DateTime& value) { SetSnapshotTime(value); return *this;} /** *The time when the snapshot was created.
*/ inline Snapshot& WithSnapshotTime(Aws::Utils::DateTime&& value) { SetSnapshotTime(std::move(value)); return *this;} private: Aws::Utils::DateTime m_snapshotTime; bool m_snapshotTimeHasBeenSet = false; }; } // namespace Model } // namespace WorkSpaces } // namespace Aws