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

A unique identifier for the fleet to get event logs for. 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 get event logs for. You can use either * the fleet ID or ARN value.

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

A unique identifier for the fleet to get event logs for. 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 get event logs for. 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 get event logs for. 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 get event logs for. You can use either * the fleet ID or ARN value.

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

A unique identifier for the fleet to get event logs for. You can use either * the fleet ID or ARN value.

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

A unique identifier for the fleet to get event logs for. You can use either * the fleet ID or ARN value.

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

The earliest date to retrieve event logs for. If no start time is specified, * this call returns entries starting from when the fleet was created to the * specified end time. Format is a number expressed in Unix time as milliseconds * (ex: "1469498468.057").

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *

The earliest date to retrieve event logs for. If no start time is specified, * this call returns entries starting from when the fleet was created to the * specified end time. Format is a number expressed in Unix time as milliseconds * (ex: "1469498468.057").

*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *

The earliest date to retrieve event logs for. If no start time is specified, * this call returns entries starting from when the fleet was created to the * specified end time. Format is a number expressed in Unix time as milliseconds * (ex: "1469498468.057").

*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *

The earliest date to retrieve event logs for. If no start time is specified, * this call returns entries starting from when the fleet was created to the * specified end time. Format is a number expressed in Unix time as milliseconds * (ex: "1469498468.057").

*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *

The earliest date to retrieve event logs for. If no start time is specified, * this call returns entries starting from when the fleet was created to the * specified end time. Format is a number expressed in Unix time as milliseconds * (ex: "1469498468.057").

*/ inline DescribeFleetEventsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

The earliest date to retrieve event logs for. If no start time is specified, * this call returns entries starting from when the fleet was created to the * specified end time. Format is a number expressed in Unix time as milliseconds * (ex: "1469498468.057").

*/ inline DescribeFleetEventsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *

The most recent date to retrieve event logs for. If no end time is specified, * this call returns entries from the specified start time up to the present. * Format is a number expressed in Unix time as milliseconds (ex: * "1469498468.057").

*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *

The most recent date to retrieve event logs for. If no end time is specified, * this call returns entries from the specified start time up to the present. * Format is a number expressed in Unix time as milliseconds (ex: * "1469498468.057").

*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *

The most recent date to retrieve event logs for. If no end time is specified, * this call returns entries from the specified start time up to the present. * Format is a number expressed in Unix time as milliseconds (ex: * "1469498468.057").

*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *

The most recent date to retrieve event logs for. If no end time is specified, * this call returns entries from the specified start time up to the present. * Format is a number expressed in Unix time as milliseconds (ex: * "1469498468.057").

*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *

The most recent date to retrieve event logs for. If no end time is specified, * this call returns entries from the specified start time up to the present. * Format is a number expressed in Unix time as milliseconds (ex: * "1469498468.057").

*/ inline DescribeFleetEventsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *

The most recent date to retrieve event logs for. If no end time is specified, * this call returns entries from the specified start time up to the present. * Format is a number expressed in Unix time as milliseconds (ex: * "1469498468.057").

*/ inline DescribeFleetEventsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(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 DescribeFleetEventsRequest& 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 DescribeFleetEventsRequest& 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 DescribeFleetEventsRequest& 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 DescribeFleetEventsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_fleetId; bool m_fleetIdHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; int m_limit; bool m_limitHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace GameLift } // namespace Aws