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

Details about the game configuration.

The game configuration is * organized into named sections, where the schema of each section is defined by an * extension. The schema for these sections can be retrieved using the * GetExtensionVersion operation.

See Also:

AWS * API Reference

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

The date when the game was created.

*/ inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; } /** *

The date when the game was created.

*/ inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; } /** *

The date when the game was created.

*/ inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; } /** *

The date when the game was created.

*/ inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); } /** *

The date when the game was created.

*/ inline GameConfigurationDetails& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;} /** *

The date when the game was created.

*/ inline GameConfigurationDetails& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;} /** *

The date when the game was last modified.

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

The date when the game was last modified.

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

The date when the game was last modified.

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

The date when the game was last modified.

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

The date when the game was last modified.

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

The date when the game was last modified.

*/ inline GameConfigurationDetails& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;} /** *

Configuration data, organized by section name.

*/ inline const Aws::Map& GetSections() const{ return m_sections; } /** *

Configuration data, organized by section name.

*/ inline bool SectionsHasBeenSet() const { return m_sectionsHasBeenSet; } /** *

Configuration data, organized by section name.

*/ inline void SetSections(const Aws::Map& value) { m_sectionsHasBeenSet = true; m_sections = value; } /** *

Configuration data, organized by section name.

*/ inline void SetSections(Aws::Map&& value) { m_sectionsHasBeenSet = true; m_sections = std::move(value); } /** *

Configuration data, organized by section name.

*/ inline GameConfigurationDetails& WithSections(const Aws::Map& value) { SetSections(value); return *this;} /** *

Configuration data, organized by section name.

*/ inline GameConfigurationDetails& WithSections(Aws::Map&& value) { SetSections(std::move(value)); return *this;} /** *

Configuration data, organized by section name.

*/ inline GameConfigurationDetails& AddSections(const Aws::String& key, const Section& value) { m_sectionsHasBeenSet = true; m_sections.emplace(key, value); return *this; } /** *

Configuration data, organized by section name.

*/ inline GameConfigurationDetails& AddSections(Aws::String&& key, const Section& value) { m_sectionsHasBeenSet = true; m_sections.emplace(std::move(key), value); return *this; } /** *

Configuration data, organized by section name.

*/ inline GameConfigurationDetails& AddSections(const Aws::String& key, Section&& value) { m_sectionsHasBeenSet = true; m_sections.emplace(key, std::move(value)); return *this; } /** *

Configuration data, organized by section name.

*/ inline GameConfigurationDetails& AddSections(Aws::String&& key, Section&& value) { m_sectionsHasBeenSet = true; m_sections.emplace(std::move(key), std::move(value)); return *this; } /** *

Configuration data, organized by section name.

*/ inline GameConfigurationDetails& AddSections(const char* key, Section&& value) { m_sectionsHasBeenSet = true; m_sections.emplace(key, std::move(value)); return *this; } /** *

Configuration data, organized by section name.

*/ inline GameConfigurationDetails& 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::Utils::DateTime m_lastUpdated; bool m_lastUpdatedHasBeenSet = false; Aws::Map m_sections; bool m_sectionsHasBeenSet = false; }; } // namespace Model } // namespace GameSparks } // namespace Aws