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

Properties that specify the code generator for a generated code * job.

See Also:

AWS * API Reference

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

The target version of the GameSparks Game SDK.

*/ inline const Aws::String& GetGameSdkVersion() const{ return m_gameSdkVersion; } /** *

The target version of the GameSparks Game SDK.

*/ inline bool GameSdkVersionHasBeenSet() const { return m_gameSdkVersionHasBeenSet; } /** *

The target version of the GameSparks Game SDK.

*/ inline void SetGameSdkVersion(const Aws::String& value) { m_gameSdkVersionHasBeenSet = true; m_gameSdkVersion = value; } /** *

The target version of the GameSparks Game SDK.

*/ inline void SetGameSdkVersion(Aws::String&& value) { m_gameSdkVersionHasBeenSet = true; m_gameSdkVersion = std::move(value); } /** *

The target version of the GameSparks Game SDK.

*/ inline void SetGameSdkVersion(const char* value) { m_gameSdkVersionHasBeenSet = true; m_gameSdkVersion.assign(value); } /** *

The target version of the GameSparks Game SDK.

*/ inline Generator& WithGameSdkVersion(const Aws::String& value) { SetGameSdkVersion(value); return *this;} /** *

The target version of the GameSparks Game SDK.

*/ inline Generator& WithGameSdkVersion(Aws::String&& value) { SetGameSdkVersion(std::move(value)); return *this;} /** *

The target version of the GameSparks Game SDK.

*/ inline Generator& WithGameSdkVersion(const char* value) { SetGameSdkVersion(value); return *this;} /** *

The programming language for the generated code.

Not all languages * are supported for each platform. For cases where multiple languages are * supported, this parameter specifies the language to be used. If this value is * omitted, the default language for the target platform will be used.

*/ inline const Aws::String& GetLanguage() const{ return m_language; } /** *

The programming language for the generated code.

Not all languages * are supported for each platform. For cases where multiple languages are * supported, this parameter specifies the language to be used. If this value is * omitted, the default language for the target platform will be used.

*/ inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; } /** *

The programming language for the generated code.

Not all languages * are supported for each platform. For cases where multiple languages are * supported, this parameter specifies the language to be used. If this value is * omitted, the default language for the target platform will be used.

*/ inline void SetLanguage(const Aws::String& value) { m_languageHasBeenSet = true; m_language = value; } /** *

The programming language for the generated code.

Not all languages * are supported for each platform. For cases where multiple languages are * supported, this parameter specifies the language to be used. If this value is * omitted, the default language for the target platform will be used.

*/ inline void SetLanguage(Aws::String&& value) { m_languageHasBeenSet = true; m_language = std::move(value); } /** *

The programming language for the generated code.

Not all languages * are supported for each platform. For cases where multiple languages are * supported, this parameter specifies the language to be used. If this value is * omitted, the default language for the target platform will be used.

*/ inline void SetLanguage(const char* value) { m_languageHasBeenSet = true; m_language.assign(value); } /** *

The programming language for the generated code.

Not all languages * are supported for each platform. For cases where multiple languages are * supported, this parameter specifies the language to be used. If this value is * omitted, the default language for the target platform will be used.

*/ inline Generator& WithLanguage(const Aws::String& value) { SetLanguage(value); return *this;} /** *

The programming language for the generated code.

Not all languages * are supported for each platform. For cases where multiple languages are * supported, this parameter specifies the language to be used. If this value is * omitted, the default language for the target platform will be used.

*/ inline Generator& WithLanguage(Aws::String&& value) { SetLanguage(std::move(value)); return *this;} /** *

The programming language for the generated code.

Not all languages * are supported for each platform. For cases where multiple languages are * supported, this parameter specifies the language to be used. If this value is * omitted, the default language for the target platform will be used.

*/ inline Generator& WithLanguage(const char* value) { SetLanguage(value); return *this;} /** *

The platform that will be used to run the generated code.

*/ inline const Aws::String& GetTargetPlatform() const{ return m_targetPlatform; } /** *

The platform that will be used to run the generated code.

*/ inline bool TargetPlatformHasBeenSet() const { return m_targetPlatformHasBeenSet; } /** *

The platform that will be used to run the generated code.

*/ inline void SetTargetPlatform(const Aws::String& value) { m_targetPlatformHasBeenSet = true; m_targetPlatform = value; } /** *

The platform that will be used to run the generated code.

*/ inline void SetTargetPlatform(Aws::String&& value) { m_targetPlatformHasBeenSet = true; m_targetPlatform = std::move(value); } /** *

The platform that will be used to run the generated code.

*/ inline void SetTargetPlatform(const char* value) { m_targetPlatformHasBeenSet = true; m_targetPlatform.assign(value); } /** *

The platform that will be used to run the generated code.

*/ inline Generator& WithTargetPlatform(const Aws::String& value) { SetTargetPlatform(value); return *this;} /** *

The platform that will be used to run the generated code.

*/ inline Generator& WithTargetPlatform(Aws::String&& value) { SetTargetPlatform(std::move(value)); return *this;} /** *

The platform that will be used to run the generated code.

*/ inline Generator& WithTargetPlatform(const char* value) { SetTargetPlatform(value); return *this;} private: Aws::String m_gameSdkVersion; bool m_gameSdkVersionHasBeenSet = false; Aws::String m_language; bool m_languageHasBeenSet = false; Aws::String m_targetPlatform; bool m_targetPlatformHasBeenSet = false; }; } // namespace Model } // namespace GameSparks } // namespace Aws