/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace GameSparks { namespace Model { /** */ class GetGeneratedCodeJobRequest : public GameSparksRequest { public: AWS_GAMESPARKS_API GetGeneratedCodeJobRequest(); // 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 "GetGeneratedCodeJob"; } 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 GetGeneratedCodeJobRequest& WithGameName(const Aws::String& value) { SetGameName(value); return *this;} /** *

The name of the game.

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

The name of the game.

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

The identifier of the code generation job.

*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *

The identifier of the code generation job.

*/ inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } /** *

The identifier of the code generation job.

*/ inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } /** *

The identifier of the code generation job.

*/ inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } /** *

The identifier of the code generation job.

*/ inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } /** *

The identifier of the code generation job.

*/ inline GetGeneratedCodeJobRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *

The identifier of the code generation job.

*/ inline GetGeneratedCodeJobRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *

The identifier of the code generation job.

*/ inline GetGeneratedCodeJobRequest& WithJobId(const char* value) { SetJobId(value); return *this;} /** *

The identifier of the snapshot for the code generation job.

*/ inline const Aws::String& GetSnapshotId() const{ return m_snapshotId; } /** *

The identifier of the snapshot for the code generation job.

*/ inline bool SnapshotIdHasBeenSet() const { return m_snapshotIdHasBeenSet; } /** *

The identifier of the snapshot for the code generation job.

*/ inline void SetSnapshotId(const Aws::String& value) { m_snapshotIdHasBeenSet = true; m_snapshotId = value; } /** *

The identifier of the snapshot for the code generation job.

*/ inline void SetSnapshotId(Aws::String&& value) { m_snapshotIdHasBeenSet = true; m_snapshotId = std::move(value); } /** *

The identifier of the snapshot for the code generation job.

*/ inline void SetSnapshotId(const char* value) { m_snapshotIdHasBeenSet = true; m_snapshotId.assign(value); } /** *

The identifier of the snapshot for the code generation job.

*/ inline GetGeneratedCodeJobRequest& WithSnapshotId(const Aws::String& value) { SetSnapshotId(value); return *this;} /** *

The identifier of the snapshot for the code generation job.

*/ inline GetGeneratedCodeJobRequest& WithSnapshotId(Aws::String&& value) { SetSnapshotId(std::move(value)); return *this;} /** *

The identifier of the snapshot for the code generation job.

*/ inline GetGeneratedCodeJobRequest& WithSnapshotId(const char* value) { SetSnapshotId(value); return *this;} private: Aws::String m_gameName; bool m_gameNameHasBeenSet = false; Aws::String m_jobId; bool m_jobIdHasBeenSet = false; Aws::String m_snapshotId; bool m_snapshotIdHasBeenSet = false; }; } // namespace Model } // namespace GameSparks } // namespace Aws