/** * 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 GameLift { namespace Model { /** */ class DescribeGameSessionDetailsRequest : public GameLiftRequest { public: AWS_GAMELIFT_API DescribeGameSessionDetailsRequest(); // 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 "DescribeGameSessionDetails"; } AWS_GAMELIFT_API Aws::String SerializePayload() const override; AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A unique identifier for the fleet to retrieve all game sessions active on the * fleet. You can use either the fleet ID or ARN value.

*/ inline const Aws::String& GetFleetId() const{ return m_fleetId; } /** *

A unique identifier for the fleet to retrieve all game sessions active on the * fleet. You can use either the fleet ID or ARN value.

*/ inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } /** *

A unique identifier for the fleet to retrieve all game sessions active on the * fleet. You can use either the fleet ID or ARN value.

*/ inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } /** *

A unique identifier for the fleet to retrieve all game sessions active on the * fleet. You can use either the fleet ID or ARN value.

*/ inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } /** *

A unique identifier for the fleet to retrieve all game sessions active on the * fleet. You can use either the fleet ID or ARN value.

*/ inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } /** *

A unique identifier for the fleet to retrieve all game sessions active on the * fleet. You can use either the fleet ID or ARN value.

*/ inline DescribeGameSessionDetailsRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} /** *

A unique identifier for the fleet to retrieve all game sessions active on the * fleet. You can use either the fleet ID or ARN value.

*/ inline DescribeGameSessionDetailsRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} /** *

A unique identifier for the fleet to retrieve all game sessions active on the * fleet. You can use either the fleet ID or ARN value.

*/ inline DescribeGameSessionDetailsRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} /** *

A unique identifier for the game session to retrieve.

*/ inline const Aws::String& GetGameSessionId() const{ return m_gameSessionId; } /** *

A unique identifier for the game session to retrieve.

*/ inline bool GameSessionIdHasBeenSet() const { return m_gameSessionIdHasBeenSet; } /** *

A unique identifier for the game session to retrieve.

*/ inline void SetGameSessionId(const Aws::String& value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId = value; } /** *

A unique identifier for the game session to retrieve.

*/ inline void SetGameSessionId(Aws::String&& value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId = std::move(value); } /** *

A unique identifier for the game session to retrieve.

*/ inline void SetGameSessionId(const char* value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId.assign(value); } /** *

A unique identifier for the game session to retrieve.

*/ inline DescribeGameSessionDetailsRequest& WithGameSessionId(const Aws::String& value) { SetGameSessionId(value); return *this;} /** *

A unique identifier for the game session to retrieve.

*/ inline DescribeGameSessionDetailsRequest& WithGameSessionId(Aws::String&& value) { SetGameSessionId(std::move(value)); return *this;} /** *

A unique identifier for the game session to retrieve.

*/ inline DescribeGameSessionDetailsRequest& WithGameSessionId(const char* value) { SetGameSessionId(value); return *this;} /** *

A unique identifier for the alias associated with the fleet to retrieve all * game sessions for. You can use either the alias ID or ARN value.

*/ inline const Aws::String& GetAliasId() const{ return m_aliasId; } /** *

A unique identifier for the alias associated with the fleet to retrieve all * game sessions for. You can use either the alias ID or ARN value.

*/ inline bool AliasIdHasBeenSet() const { return m_aliasIdHasBeenSet; } /** *

A unique identifier for the alias associated with the fleet to retrieve all * game sessions for. You can use either the alias ID or ARN value.

*/ inline void SetAliasId(const Aws::String& value) { m_aliasIdHasBeenSet = true; m_aliasId = value; } /** *

A unique identifier for the alias associated with the fleet to retrieve all * game sessions for. You can use either the alias ID or ARN value.

*/ inline void SetAliasId(Aws::String&& value) { m_aliasIdHasBeenSet = true; m_aliasId = std::move(value); } /** *

A unique identifier for the alias associated with the fleet to retrieve all * game sessions for. You can use either the alias ID or ARN value.

*/ inline void SetAliasId(const char* value) { m_aliasIdHasBeenSet = true; m_aliasId.assign(value); } /** *

A unique identifier for the alias associated with the fleet to retrieve all * game sessions for. You can use either the alias ID or ARN value.

*/ inline DescribeGameSessionDetailsRequest& WithAliasId(const Aws::String& value) { SetAliasId(value); return *this;} /** *

A unique identifier for the alias associated with the fleet to retrieve all * game sessions for. You can use either the alias ID or ARN value.

*/ inline DescribeGameSessionDetailsRequest& WithAliasId(Aws::String&& value) { SetAliasId(std::move(value)); return *this;} /** *

A unique identifier for the alias associated with the fleet to retrieve all * game sessions for. You can use either the alias ID or ARN value.

*/ inline DescribeGameSessionDetailsRequest& WithAliasId(const char* value) { SetAliasId(value); return *this;} /** *

A fleet location to get game session details for. You can specify a fleet's * home Region or a remote location. Use the Amazon Web Services Region code * format, such as us-west-2.

*/ inline const Aws::String& GetLocation() const{ return m_location; } /** *

A fleet location to get game session details for. You can specify a fleet's * home Region or a remote location. Use the Amazon Web Services Region code * format, such as us-west-2.

*/ inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; } /** *

A fleet location to get game session details for. You can specify a fleet's * home Region or a remote location. Use the Amazon Web Services Region code * format, such as us-west-2.

*/ inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; } /** *

A fleet location to get game session details for. You can specify a fleet's * home Region or a remote location. Use the Amazon Web Services Region code * format, such as us-west-2.

*/ inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); } /** *

A fleet location to get game session details for. You can specify a fleet's * home Region or a remote location. Use the Amazon Web Services Region code * format, such as us-west-2.

*/ inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); } /** *

A fleet location to get game session details for. You can specify a fleet's * home Region or a remote location. Use the Amazon Web Services Region code * format, such as us-west-2.

*/ inline DescribeGameSessionDetailsRequest& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} /** *

A fleet location to get game session details for. You can specify a fleet's * home Region or a remote location. Use the Amazon Web Services Region code * format, such as us-west-2.

*/ inline DescribeGameSessionDetailsRequest& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} /** *

A fleet location to get game session details for. You can specify a fleet's * home Region or a remote location. Use the Amazon Web Services Region code * format, such as us-west-2.

*/ inline DescribeGameSessionDetailsRequest& WithLocation(const char* value) { SetLocation(value); return *this;} /** *

Game session status to filter results on. Possible game session statuses * include ACTIVE, TERMINATED, ACTIVATING * and TERMINATING (the last two are transitory).

*/ inline const Aws::String& GetStatusFilter() const{ return m_statusFilter; } /** *

Game session status to filter results on. Possible game session statuses * include ACTIVE, TERMINATED, ACTIVATING * and TERMINATING (the last two are transitory).

*/ inline bool StatusFilterHasBeenSet() const { return m_statusFilterHasBeenSet; } /** *

Game session status to filter results on. Possible game session statuses * include ACTIVE, TERMINATED, ACTIVATING * and TERMINATING (the last two are transitory).

*/ inline void SetStatusFilter(const Aws::String& value) { m_statusFilterHasBeenSet = true; m_statusFilter = value; } /** *

Game session status to filter results on. Possible game session statuses * include ACTIVE, TERMINATED, ACTIVATING * and TERMINATING (the last two are transitory).

*/ inline void SetStatusFilter(Aws::String&& value) { m_statusFilterHasBeenSet = true; m_statusFilter = std::move(value); } /** *

Game session status to filter results on. Possible game session statuses * include ACTIVE, TERMINATED, ACTIVATING * and TERMINATING (the last two are transitory).

*/ inline void SetStatusFilter(const char* value) { m_statusFilterHasBeenSet = true; m_statusFilter.assign(value); } /** *

Game session status to filter results on. Possible game session statuses * include ACTIVE, TERMINATED, ACTIVATING * and TERMINATING (the last two are transitory).

*/ inline DescribeGameSessionDetailsRequest& WithStatusFilter(const Aws::String& value) { SetStatusFilter(value); return *this;} /** *

Game session status to filter results on. Possible game session statuses * include ACTIVE, TERMINATED, ACTIVATING * and TERMINATING (the last two are transitory).

*/ inline DescribeGameSessionDetailsRequest& WithStatusFilter(Aws::String&& value) { SetStatusFilter(std::move(value)); return *this;} /** *

Game session status to filter results on. Possible game session statuses * include ACTIVE, TERMINATED, ACTIVATING * and TERMINATING (the last two are transitory).

*/ inline DescribeGameSessionDetailsRequest& WithStatusFilter(const char* value) { SetStatusFilter(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 GetLimit() const{ return m_limit; } /** *

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

*/ inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; } /** *

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

*/ inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; } /** *

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

*/ inline DescribeGameSessionDetailsRequest& WithLimit(int value) { SetLimit(value); return *this;} /** *

A 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; } /** *

A 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; } /** *

A 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; } /** *

A 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); } /** *

A 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); } /** *

A 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 DescribeGameSessionDetailsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

A 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 DescribeGameSessionDetailsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

A 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 DescribeGameSessionDetailsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_fleetId; bool m_fleetIdHasBeenSet = false; Aws::String m_gameSessionId; bool m_gameSessionIdHasBeenSet = false; Aws::String m_aliasId; bool m_aliasIdHasBeenSet = false; Aws::String m_location; bool m_locationHasBeenSet = false; Aws::String m_statusFilter; bool m_statusFilterHasBeenSet = false; int m_limit; bool m_limitHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace GameLift } // namespace Aws