/** * 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 Http { class URI; } //namespace Http namespace GameSparks { namespace Model { /** */ class ListGeneratedCodeJobsRequest : public GameSparksRequest { public: AWS_GAMESPARKS_API ListGeneratedCodeJobsRequest(); // 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 "ListGeneratedCodeJobs"; } AWS_GAMESPARKS_API Aws::String SerializePayload() const override; AWS_GAMESPARKS_API void AddQueryStringParameters(Aws::Http::URI& uri) 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 ListGeneratedCodeJobsRequest& WithGameName(const Aws::String& value) { SetGameName(value); return *this;} /** *

The name of the game.

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

The name of the game.

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

The maximum number of results to return.

Use this parameter with * NextToken to get results as a set of sequential pages.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of results to return.

Use this parameter with * NextToken to get results as a set of sequential pages.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of results to return.

Use this parameter with * NextToken to get results as a set of sequential pages.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of results to return.

Use this parameter with * NextToken to get results as a set of sequential pages.

*/ inline ListGeneratedCodeJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

The token that indicates the start of the next sequential page of * results.

Use the token that is returned with a previous call to this * operation. To start at the beginning of the result set, do not specify a value. *

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The token that indicates the start of the next sequential page of * results.

Use the token that is returned with a previous call to this * operation. To start at the beginning of the result set, do not specify a value. *

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

The token that indicates the start of the next sequential page of * results.

Use the token that is returned with a previous call to this * operation. To start at the beginning of the result set, do not specify a value. *

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

The token that indicates the start of the next sequential page of * results.

Use the token that is returned with a previous call to this * operation. To start at the beginning of the result set, do not specify a value. *

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

The token that indicates the start of the next sequential page of * results.

Use the token that is returned with a previous call to this * operation. To start at the beginning of the result set, do not specify a value. *

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

The token that indicates the start of the next sequential page of * results.

Use the token that is returned with a previous call to this * operation. To start at the beginning of the result set, do not specify a value. *

*/ inline ListGeneratedCodeJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The token that indicates the start of the next sequential page of * results.

Use the token that is returned with a previous call to this * operation. To start at the beginning of the result set, do not specify a value. *

*/ inline ListGeneratedCodeJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The token that indicates the start of the next sequential page of * results.

Use the token that is returned with a previous call to this * operation. To start at the beginning of the result set, do not specify a value. *

*/ inline ListGeneratedCodeJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The identifier of the snapshot.

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

The identifier of the snapshot.

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

The identifier of the snapshot.

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

The identifier of the snapshot.

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

The identifier of the snapshot.

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

The identifier of the snapshot.

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

The identifier of the snapshot.

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

The identifier of the snapshot.

*/ inline ListGeneratedCodeJobsRequest& WithSnapshotId(const char* value) { SetSnapshotId(value); return *this;} private: Aws::String m_gameName; bool m_gameNameHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::String m_snapshotId; bool m_snapshotIdHasBeenSet = false; }; } // namespace Model } // namespace GameSparks } // namespace Aws