AWS SDK for C++  1.9.42
AWS SDK for C++
ClaimGameServerResult.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 {
28  {
29  public:
33 
34 
38  inline const GameServer& GetGameServer() const{ return m_gameServer; }
39 
43  inline void SetGameServer(const GameServer& value) { m_gameServer = value; }
44 
48  inline void SetGameServer(GameServer&& value) { m_gameServer = std::move(value); }
49 
53  inline ClaimGameServerResult& WithGameServer(const GameServer& value) { SetGameServer(value); return *this;}
54 
58  inline ClaimGameServerResult& WithGameServer(GameServer&& value) { SetGameServer(std::move(value)); return *this;}
59 
60  private:
61 
62  GameServer m_gameServer;
63  };
64 
65 } // namespace Model
66 } // namespace GameLift
67 } // namespace Aws
GameServer.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::ClaimGameServerResult::SetGameServer
void SetGameServer(GameServer &&value)
Definition: ClaimGameServerResult.h:48
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::ClaimGameServerResult::WithGameServer
ClaimGameServerResult & WithGameServer(GameServer &&value)
Definition: ClaimGameServerResult.h:58
Aws::GameLift::Model::GameServer
Definition: GameServer.h:45
Aws::GameLift::Model::ClaimGameServerResult::SetGameServer
void SetGameServer(const GameServer &value)
Definition: ClaimGameServerResult.h:43
Aws::GameLift::Model::ClaimGameServerResult::ClaimGameServerResult
ClaimGameServerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::ClaimGameServerResult::operator=
ClaimGameServerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GameLift_EXPORTS.h
Aws::GameLift::Model::ClaimGameServerResult::ClaimGameServerResult
ClaimGameServerResult()
Aws::GameLift::Model::ClaimGameServerResult
Definition: ClaimGameServerResult.h:28
Aws::GameLift::Model::ClaimGameServerResult::WithGameServer
ClaimGameServerResult & WithGameServer(const GameServer &value)
Definition: ClaimGameServerResult.h:53
Aws::GameLift::Model::ClaimGameServerResult::GetGameServer
const GameServer & GetGameServer() const
Definition: ClaimGameServerResult.h:38
Aws
Definition: AccessManagementClient.h:15