AWS SDK for C++  1.9.103
AWS SDK for C++
StopGameSessionPlacementResult.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 
45  inline const GameSessionPlacement& GetGameSessionPlacement() const{ return m_gameSessionPlacement; }
46 
51  inline void SetGameSessionPlacement(const GameSessionPlacement& value) { m_gameSessionPlacement = value; }
52 
57  inline void SetGameSessionPlacement(GameSessionPlacement&& value) { m_gameSessionPlacement = std::move(value); }
58 
63  inline StopGameSessionPlacementResult& WithGameSessionPlacement(const GameSessionPlacement& value) { SetGameSessionPlacement(value); return *this;}
64 
69  inline StopGameSessionPlacementResult& WithGameSessionPlacement(GameSessionPlacement&& value) { SetGameSessionPlacement(std::move(value)); return *this;}
70 
71  private:
72 
73  GameSessionPlacement m_gameSessionPlacement;
74  };
75 
76 } // namespace Model
77 } // namespace GameLift
78 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::StopGameSessionPlacementResult::WithGameSessionPlacement
StopGameSessionPlacementResult & WithGameSessionPlacement(GameSessionPlacement &&value)
Definition: StopGameSessionPlacementResult.h:69
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::StopGameSessionPlacementResult::operator=
StopGameSessionPlacementResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::StopGameSessionPlacementResult::StopGameSessionPlacementResult
StopGameSessionPlacementResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::GameSessionPlacement
Definition: GameSessionPlacement.h:43
Aws::GameLift::Model::StopGameSessionPlacementResult::StopGameSessionPlacementResult
StopGameSessionPlacementResult()
GameSessionPlacement.h
GameLift_EXPORTS.h
Aws::GameLift::Model::StopGameSessionPlacementResult::GetGameSessionPlacement
const GameSessionPlacement & GetGameSessionPlacement() const
Definition: StopGameSessionPlacementResult.h:45
Aws::GameLift::Model::StopGameSessionPlacementResult::SetGameSessionPlacement
void SetGameSessionPlacement(GameSessionPlacement &&value)
Definition: StopGameSessionPlacementResult.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::StopGameSessionPlacementResult
Definition: StopGameSessionPlacementResult.h:34
Aws::GameLift::Model::StopGameSessionPlacementResult::WithGameSessionPlacement
StopGameSessionPlacementResult & WithGameSessionPlacement(const GameSessionPlacement &value)
Definition: StopGameSessionPlacementResult.h:63
Aws::GameLift::Model::StopGameSessionPlacementResult::SetGameSessionPlacement
void SetGameSessionPlacement(const GameSessionPlacement &value)
Definition: StopGameSessionPlacementResult.h:51