/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about a game.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of this game.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of this game.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of this game.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of this game.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of this game.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of this game.
*/ inline GameDetails& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of this game.
*/ inline GameDetails& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of this game.
*/ inline GameDetails& WithArn(const char* value) { SetArn(value); return *this;} /** *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 GameDetails& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;} /** *The date when the game was created.
*/ inline GameDetails& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;} /** *The description of the game.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the game.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the game.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the game.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the game.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the game.
*/ inline GameDetails& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the game.
*/ inline GameDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the game.
*/ inline GameDetails& WithDescription(const char* value) { SetDescription(value); return *this;} /** *Determines if the game can be deleted.
*/ inline bool GetEnableTerminationProtection() const{ return m_enableTerminationProtection; } /** *Determines if the game can be deleted.
*/ inline bool EnableTerminationProtectionHasBeenSet() const { return m_enableTerminationProtectionHasBeenSet; } /** *Determines if the game can be deleted.
*/ inline void SetEnableTerminationProtection(bool value) { m_enableTerminationProtectionHasBeenSet = true; m_enableTerminationProtection = value; } /** *Determines if the game can be deleted.
*/ inline GameDetails& WithEnableTerminationProtection(bool value) { SetEnableTerminationProtection(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 GameDetails& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;} /** *The date when the game was last modified.
*/ inline GameDetails& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;} /** *The name of the game.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the game.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the game.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the game.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the game.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the game.
*/ inline GameDetails& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the game.
*/ inline GameDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the game.
*/ inline GameDetails& WithName(const char* value) { SetName(value); return *this;} /** *The state of the game.
*/ inline const GameState& GetState() const{ return m_state; } /** *The state of the game.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of the game.
*/ inline void SetState(const GameState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of the game.
*/ inline void SetState(GameState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of the game.
*/ inline GameDetails& WithState(const GameState& value) { SetState(value); return *this;} /** *The state of the game.
*/ inline GameDetails& WithState(GameState&& value) { SetState(std::move(value)); return *this;} /** *The tags associated with the game.
*/ inline const Aws::MapThe tags associated with the game.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags associated with the game.
*/ inline void SetTags(const Aws::MapThe tags associated with the game.
*/ inline void SetTags(Aws::MapThe tags associated with the game.
*/ inline GameDetails& WithTags(const Aws::MapThe tags associated with the game.
*/ inline GameDetails& WithTags(Aws::MapThe tags associated with the game.
*/ inline GameDetails& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags associated with the game.
*/ inline GameDetails& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags associated with the game.
*/ inline GameDetails& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags associated with the game.
*/ inline GameDetails& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags associated with the game.
*/ inline GameDetails& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags associated with the game.
*/ inline GameDetails& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags associated with the game.
*/ inline GameDetails& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Utils::DateTime m_created; bool m_createdHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; bool m_enableTerminationProtection; bool m_enableTerminationProtectionHasBeenSet = false; Aws::Utils::DateTime m_lastUpdated; bool m_lastUpdatedHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; GameState m_state; bool m_stateHasBeenSet = false; Aws::Map