/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include 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
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::MapConfiguration data, organized by section name.
*/ inline bool SectionsHasBeenSet() const { return m_sectionsHasBeenSet; } /** *Configuration data, organized by section name.
*/ inline void SetSections(const Aws::MapConfiguration data, organized by section name.
*/ inline void SetSections(Aws::MapConfiguration data, organized by section name.
*/ inline GameConfigurationDetails& WithSections(const Aws::MapConfiguration data, organized by section name.
*/ inline GameConfigurationDetails& WithSections(Aws::MapConfiguration 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