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

Represents the returned data in response to a request action.

See * Also:

AWS * API Reference

*/ class AWS_GAMELIFT_API DescribeMatchmakingResult { public: DescribeMatchmakingResult(); DescribeMatchmakingResult(const Aws::AmazonWebServiceResult& result); DescribeMatchmakingResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A collection of existing matchmaking ticket objects matching the request.

*/ inline const Aws::Vector& GetTicketList() const{ return m_ticketList; } /** *

A collection of existing matchmaking ticket objects matching the request.

*/ inline void SetTicketList(const Aws::Vector& value) { m_ticketList = value; } /** *

A collection of existing matchmaking ticket objects matching the request.

*/ inline void SetTicketList(Aws::Vector&& value) { m_ticketList = std::move(value); } /** *

A collection of existing matchmaking ticket objects matching the request.

*/ inline DescribeMatchmakingResult& WithTicketList(const Aws::Vector& value) { SetTicketList(value); return *this;} /** *

A collection of existing matchmaking ticket objects matching the request.

*/ inline DescribeMatchmakingResult& WithTicketList(Aws::Vector&& value) { SetTicketList(std::move(value)); return *this;} /** *

A collection of existing matchmaking ticket objects matching the request.

*/ inline DescribeMatchmakingResult& AddTicketList(const MatchmakingTicket& value) { m_ticketList.push_back(value); return *this; } /** *

A collection of existing matchmaking ticket objects matching the request.

*/ inline DescribeMatchmakingResult& AddTicketList(MatchmakingTicket&& value) { m_ticketList.push_back(std::move(value)); return *this; } private: Aws::Vector m_ticketList; }; } // namespace Model } // namespace GameLift } // namespace Aws