AWS SDK for C++  1.9.104
AWS SDK for C++
StartMatchBackfillResult.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 StartMatchBackfillResult& WithMatchmakingTicket(const MatchmakingTicket& value) { SetMatchmakingTicket(value); return *this;}
68 
74  inline StartMatchBackfillResult& 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
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::StartMatchBackfillResult::GetMatchmakingTicket
const MatchmakingTicket & GetMatchmakingTicket() const
Definition: StartMatchBackfillResult.h:46
Aws::GameLift::Model::StartMatchBackfillResult::StartMatchBackfillResult
StartMatchBackfillResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::StartMatchBackfillResult::StartMatchBackfillResult
StartMatchBackfillResult()
Aws::GameLift::Model::StartMatchBackfillResult
Definition: StartMatchBackfillResult.h:34
GameLift_EXPORTS.h
Aws::GameLift::Model::StartMatchBackfillResult::SetMatchmakingTicket
void SetMatchmakingTicket(MatchmakingTicket &&value)
Definition: StartMatchBackfillResult.h:60
Aws::GameLift::Model::StartMatchBackfillResult::WithMatchmakingTicket
StartMatchBackfillResult & WithMatchmakingTicket(const MatchmakingTicket &value)
Definition: StartMatchBackfillResult.h:67
Aws::GameLift::Model::StartMatchBackfillResult::SetMatchmakingTicket
void SetMatchmakingTicket(const MatchmakingTicket &value)
Definition: StartMatchBackfillResult.h:53
Aws::GameLift::Model::MatchmakingTicket
Definition: MatchmakingTicket.h:41
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::StartMatchBackfillResult::operator=
StartMatchBackfillResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::StartMatchBackfillResult::WithMatchmakingTicket
StartMatchBackfillResult & WithMatchmakingTicket(MatchmakingTicket &&value)
Definition: StartMatchBackfillResult.h:74
MatchmakingTicket.h