/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace GameSparks { namespace Model { /** *

The summary of the properties of a snapshot.

See Also:

AWS * API Reference

*/ class SnapshotSummary { public: AWS_GAMESPARKS_API SnapshotSummary(); AWS_GAMESPARKS_API SnapshotSummary(Aws::Utils::Json::JsonView jsonValue); AWS_GAMESPARKS_API SnapshotSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GAMESPARKS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 SnapshotSummary& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;} /** *

The timestamp of when the snapshot was created.

*/ inline SnapshotSummary& 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 SnapshotSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the snapshot.

*/ inline SnapshotSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the snapshot.

*/ inline SnapshotSummary& 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 SnapshotSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The identifier of the snapshot.

*/ inline SnapshotSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The identifier of the snapshot.

*/ inline SnapshotSummary& WithId(const char* value) { SetId(value); return *this;} /** *

Then timestamp of when the snapshot was last updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; } /** *

Then timestamp of when the snapshot was last updated.

*/ inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; } /** *

Then timestamp of when the snapshot was last updated.

*/ inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; } /** *

Then timestamp of when the snapshot was last updated.

*/ inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); } /** *

Then timestamp of when the snapshot was last updated.

*/ inline SnapshotSummary& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;} /** *

Then timestamp of when the snapshot was last updated.

*/ inline SnapshotSummary& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(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; }; } // namespace Model } // namespace GameSparks } // namespace Aws