AWS SDK for C++  1.8.55
AWS SDK for C++
StartMatchmakingResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace GameLift
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
46  inline const MatchmakingTicket& GetMatchmakingTicket() const{ return m_matchmakingTicket; }
47 
53  inline void SetMatchmakingTicket(const MatchmakingTicket& value) { m_matchmakingTicket = value; }
54 
60  inline void SetMatchmakingTicket(MatchmakingTicket&& value) { m_matchmakingTicket = std::move(value); }
61 
67  inline StartMatchmakingResult& WithMatchmakingTicket(const MatchmakingTicket& value) { SetMatchmakingTicket(value); return *this;}
68 
74  inline StartMatchmakingResult& WithMatchmakingTicket(MatchmakingTicket&& value) { SetMatchmakingTicket(std::move(value)); return *this;}
75 
76  private:
77 
78  MatchmakingTicket m_matchmakingTicket;
79  };
80 
81 } // namespace Model
82 } // namespace GameLift
83 } // namespace Aws
#define AWS_GAMELIFT_API
const MatchmakingTicket & GetMatchmakingTicket() const
StartMatchmakingResult & WithMatchmakingTicket(MatchmakingTicket &&value)
void SetMatchmakingTicket(const MatchmakingTicket &value)
StartMatchmakingResult & WithMatchmakingTicket(const MatchmakingTicket &value)
void SetMatchmakingTicket(MatchmakingTicket &&value)