/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Properties that provide details of a snapshot.See Also:
AWS
* API Reference
The timestamp of when the snapshot was created.
*/ inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; } /** *The timestamp of when the snapshot was created.
*/ inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; } /** *The timestamp of when the snapshot was created.
*/ inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; } /** *The timestamp of when the snapshot was created.
*/ inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); } /** *The timestamp of when the snapshot was created.
*/ inline SnapshotDetails& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;} /** *The timestamp of when the snapshot was created.
*/ inline SnapshotDetails& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;} /** *The description of the snapshot.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the snapshot.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the snapshot.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the snapshot.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the snapshot.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the snapshot.
*/ inline SnapshotDetails& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the snapshot.
*/ inline SnapshotDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the snapshot.
*/ inline SnapshotDetails& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The identifier of the snapshot.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The identifier of the snapshot.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The identifier of the snapshot.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The identifier of the snapshot.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The identifier of the snapshot.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The identifier of the snapshot.
*/ inline SnapshotDetails& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The identifier of the snapshot.
*/ inline SnapshotDetails& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The identifier of the snapshot.
*/ inline SnapshotDetails& WithId(const char* value) { SetId(value); return *this;} /** *The timestamp of when the snapshot was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; } /** *The timestamp of when the snapshot was last updated.
*/ inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; } /** *The timestamp of when the snapshot was last updated.
*/ inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; } /** *The timestamp of when the snapshot was last updated.
*/ inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); } /** *The timestamp of when the snapshot was last updated.
*/ inline SnapshotDetails& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;} /** *The timestamp of when the snapshot was last updated.
*/ inline SnapshotDetails& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;} /** *The sections in the snapshot.
*/ inline const Aws::MapThe sections in the snapshot.
*/ inline bool SectionsHasBeenSet() const { return m_sectionsHasBeenSet; } /** *The sections in the snapshot.
*/ inline void SetSections(const Aws::MapThe sections in the snapshot.
*/ inline void SetSections(Aws::MapThe sections in the snapshot.
*/ inline SnapshotDetails& WithSections(const Aws::MapThe sections in the snapshot.
*/ inline SnapshotDetails& WithSections(Aws::MapThe sections in the snapshot.
*/ inline SnapshotDetails& AddSections(const Aws::String& key, const Section& value) { m_sectionsHasBeenSet = true; m_sections.emplace(key, value); return *this; } /** *The sections in the snapshot.
*/ inline SnapshotDetails& AddSections(Aws::String&& key, const Section& value) { m_sectionsHasBeenSet = true; m_sections.emplace(std::move(key), value); return *this; } /** *The sections in the snapshot.
*/ inline SnapshotDetails& AddSections(const Aws::String& key, Section&& value) { m_sectionsHasBeenSet = true; m_sections.emplace(key, std::move(value)); return *this; } /** *The sections in the snapshot.
*/ inline SnapshotDetails& AddSections(Aws::String&& key, Section&& value) { m_sectionsHasBeenSet = true; m_sections.emplace(std::move(key), std::move(value)); return *this; } /** *The sections in the snapshot.
*/ inline SnapshotDetails& AddSections(const char* key, Section&& value) { m_sectionsHasBeenSet = true; m_sections.emplace(key, std::move(value)); return *this; } /** *The sections in the snapshot.
*/ inline SnapshotDetails& AddSections(const char* key, const Section& value) { m_sectionsHasBeenSet = true; m_sections.emplace(key, value); return *this; } private: Aws::Utils::DateTime m_created; bool m_createdHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::Utils::DateTime m_lastUpdated; bool m_lastUpdatedHasBeenSet = false; Aws::Map