AWS SDK for C++  1.9.45
AWS SDK for C++
DescribeMatchmakingResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace GameLift
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
45  inline const Aws::Vector<MatchmakingTicket>& GetTicketList() const{ return m_ticketList; }
46 
50  inline void SetTicketList(const Aws::Vector<MatchmakingTicket>& value) { m_ticketList = value; }
51 
55  inline void SetTicketList(Aws::Vector<MatchmakingTicket>&& value) { m_ticketList = std::move(value); }
56 
60  inline DescribeMatchmakingResult& WithTicketList(const Aws::Vector<MatchmakingTicket>& value) { SetTicketList(value); return *this;}
61 
65  inline DescribeMatchmakingResult& WithTicketList(Aws::Vector<MatchmakingTicket>&& value) { SetTicketList(std::move(value)); return *this;}
66 
70  inline DescribeMatchmakingResult& AddTicketList(const MatchmakingTicket& value) { m_ticketList.push_back(value); return *this; }
71 
75  inline DescribeMatchmakingResult& AddTicketList(MatchmakingTicket&& value) { m_ticketList.push_back(std::move(value)); return *this; }
76 
77  private:
78 
79  Aws::Vector<MatchmakingTicket> m_ticketList;
80  };
81 
82 } // namespace Model
83 } // namespace GameLift
84 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DescribeMatchmakingResult
Definition: DescribeMatchmakingResult.h:35
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::GameLift::Model::DescribeMatchmakingResult::DescribeMatchmakingResult
DescribeMatchmakingResult()
Aws::GameLift::Model::DescribeMatchmakingResult::operator=
DescribeMatchmakingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::DescribeMatchmakingResult::SetTicketList
void SetTicketList(const Aws::Vector< MatchmakingTicket > &value)
Definition: DescribeMatchmakingResult.h:50
GameLift_EXPORTS.h
Aws::GameLift::Model::DescribeMatchmakingResult::WithTicketList
DescribeMatchmakingResult & WithTicketList(const Aws::Vector< MatchmakingTicket > &value)
Definition: DescribeMatchmakingResult.h:60
Aws::GameLift::Model::DescribeMatchmakingResult::GetTicketList
const Aws::Vector< MatchmakingTicket > & GetTicketList() const
Definition: DescribeMatchmakingResult.h:45
Aws::GameLift::Model::MatchmakingTicket
Definition: MatchmakingTicket.h:41
Aws::GameLift::Model::DescribeMatchmakingResult::SetTicketList
void SetTicketList(Aws::Vector< MatchmakingTicket > &&value)
Definition: DescribeMatchmakingResult.h:55
Aws::GameLift::Model::DescribeMatchmakingResult::DescribeMatchmakingResult
DescribeMatchmakingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::DescribeMatchmakingResult::AddTicketList
DescribeMatchmakingResult & AddTicketList(MatchmakingTicket &&value)
Definition: DescribeMatchmakingResult.h:75
Aws
Definition: AccessManagementClient.h:15
MatchmakingTicket.h
Aws::GameLift::Model::DescribeMatchmakingResult::WithTicketList
DescribeMatchmakingResult & WithTicketList(Aws::Vector< MatchmakingTicket > &&value)
Definition: DescribeMatchmakingResult.h:65
Aws::GameLift::Model::DescribeMatchmakingResult::AddTicketList
DescribeMatchmakingResult & AddTicketList(const MatchmakingTicket &value)
Definition: DescribeMatchmakingResult.h:70