/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace GameSparks { namespace Model { /** */ class ImportGameConfigurationRequest : public GameSparksRequest { public: AWS_GAMESPARKS_API ImportGameConfigurationRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ImportGameConfiguration"; } AWS_GAMESPARKS_API Aws::String SerializePayload() const override; /** *

The name of the game.

*/ inline const Aws::String& GetGameName() const{ return m_gameName; } /** *

The name of the game.

*/ inline bool GameNameHasBeenSet() const { return m_gameNameHasBeenSet; } /** *

The name of the game.

*/ inline void SetGameName(const Aws::String& value) { m_gameNameHasBeenSet = true; m_gameName = value; } /** *

The name of the game.

*/ inline void SetGameName(Aws::String&& value) { m_gameNameHasBeenSet = true; m_gameName = std::move(value); } /** *

The name of the game.

*/ inline void SetGameName(const char* value) { m_gameNameHasBeenSet = true; m_gameName.assign(value); } /** *

The name of the game.

*/ inline ImportGameConfigurationRequest& WithGameName(const Aws::String& value) { SetGameName(value); return *this;} /** *

The name of the game.

*/ inline ImportGameConfigurationRequest& WithGameName(Aws::String&& value) { SetGameName(std::move(value)); return *this;} /** *

The name of the game.

*/ inline ImportGameConfigurationRequest& WithGameName(const char* value) { SetGameName(value); return *this;} /** *

The source used to import configuration sections.

*/ inline const ImportGameConfigurationSource& GetImportSource() const{ return m_importSource; } /** *

The source used to import configuration sections.

*/ inline bool ImportSourceHasBeenSet() const { return m_importSourceHasBeenSet; } /** *

The source used to import configuration sections.

*/ inline void SetImportSource(const ImportGameConfigurationSource& value) { m_importSourceHasBeenSet = true; m_importSource = value; } /** *

The source used to import configuration sections.

*/ inline void SetImportSource(ImportGameConfigurationSource&& value) { m_importSourceHasBeenSet = true; m_importSource = std::move(value); } /** *

The source used to import configuration sections.

*/ inline ImportGameConfigurationRequest& WithImportSource(const ImportGameConfigurationSource& value) { SetImportSource(value); return *this;} /** *

The source used to import configuration sections.

*/ inline ImportGameConfigurationRequest& WithImportSource(ImportGameConfigurationSource&& value) { SetImportSource(std::move(value)); return *this;} private: Aws::String m_gameName; bool m_gameNameHasBeenSet = false; ImportGameConfigurationSource m_importSource; bool m_importSourceHasBeenSet = false; }; } // namespace Model } // namespace GameSparks } // namespace Aws