AWS SDK for C++
1.8.157
AWS SDK for C++
aws-cpp-sdk-gamelift
include
aws
gamelift
model
StartMatchmakingResult.h
Go to the documentation of this file.
1
6
#pragma once
7
#include <
aws/gamelift/GameLift_EXPORTS.h
>
8
#include <
aws/gamelift/model/MatchmakingTicket.h
>
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
{
33
class
AWS_GAMELIFT_API
StartMatchmakingResult
34
{
35
public
:
36
StartMatchmakingResult
();
37
StartMatchmakingResult
(
const
Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>
& result);
38
StartMatchmakingResult
&
operator=
(
const
Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>
& result);
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
Aws::GameLift::Model::StartMatchmakingResult::WithMatchmakingTicket
StartMatchmakingResult & WithMatchmakingTicket(const MatchmakingTicket &value)
Definition:
StartMatchmakingResult.h:67
Aws::AmazonWebServiceResult
Definition:
AmazonWebServiceResult.h:19
Aws::GameLift::Model::StartMatchmakingResult::SetMatchmakingTicket
void SetMatchmakingTicket(const MatchmakingTicket &value)
Definition:
StartMatchmakingResult.h:53
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition:
GameLift_EXPORTS.h:28
Aws::GameLift::Model::StartMatchmakingResult::GetMatchmakingTicket
const MatchmakingTicket & GetMatchmakingTicket() const
Definition:
StartMatchmakingResult.h:46
GameLift_EXPORTS.h
Aws::GameLift::Model::StartMatchmakingResult::StartMatchmakingResult
StartMatchmakingResult()
Aws::GameLift::Model::StartMatchmakingResult::operator=
StartMatchmakingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::MatchmakingTicket
Definition:
MatchmakingTicket.h:41
Aws
Definition:
AccessManagementClient.h:15
Aws::GameLift::Model::StartMatchmakingResult::WithMatchmakingTicket
StartMatchmakingResult & WithMatchmakingTicket(MatchmakingTicket &&value)
Definition:
StartMatchmakingResult.h:74
Aws::GameLift::Model::StartMatchmakingResult
Definition:
StartMatchmakingResult.h:34
Aws::GameLift::Model::StartMatchmakingResult::SetMatchmakingTicket
void SetMatchmakingTicket(MatchmakingTicket &&value)
Definition:
StartMatchmakingResult.h:60
Aws::GameLift::Model::StartMatchmakingResult::StartMatchmakingResult
StartMatchmakingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
MatchmakingTicket.h
Generated by
1.8.19
Privacy |
Site terms |
Cookie preferences