AWS SDK for C++  1.9.159
AWS SDK for C++
StartGameSessionPlacementResult.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 GameSessionPlacement& GetGameSessionPlacement() const{ return m_gameSessionPlacement; }
47 
53  inline void SetGameSessionPlacement(const GameSessionPlacement& value) { m_gameSessionPlacement = value; }
54 
60  inline void SetGameSessionPlacement(GameSessionPlacement&& value) { m_gameSessionPlacement = std::move(value); }
61 
67  inline StartGameSessionPlacementResult& WithGameSessionPlacement(const GameSessionPlacement& value) { SetGameSessionPlacement(value); return *this;}
68 
74  inline StartGameSessionPlacementResult& WithGameSessionPlacement(GameSessionPlacement&& value) { SetGameSessionPlacement(std::move(value)); return *this;}
75 
76  private:
77 
78  GameSessionPlacement m_gameSessionPlacement;
79  };
80 
81 } // namespace Model
82 } // namespace GameLift
83 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::StartGameSessionPlacementResult::operator=
StartGameSessionPlacementResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::StartGameSessionPlacementResult::WithGameSessionPlacement
StartGameSessionPlacementResult & WithGameSessionPlacement(const GameSessionPlacement &value)
Definition: StartGameSessionPlacementResult.h:67
Aws::GameLift::Model::StartGameSessionPlacementResult::WithGameSessionPlacement
StartGameSessionPlacementResult & WithGameSessionPlacement(GameSessionPlacement &&value)
Definition: StartGameSessionPlacementResult.h:74
Aws::GameLift::Model::GameSessionPlacement
Definition: GameSessionPlacement.h:43
Aws::GameLift::Model::StartGameSessionPlacementResult::SetGameSessionPlacement
void SetGameSessionPlacement(GameSessionPlacement &&value)
Definition: StartGameSessionPlacementResult.h:60
GameSessionPlacement.h
GameLift_EXPORTS.h
Aws::GameLift::Model::StartGameSessionPlacementResult::SetGameSessionPlacement
void SetGameSessionPlacement(const GameSessionPlacement &value)
Definition: StartGameSessionPlacementResult.h:53
Aws::GameLift::Model::StartGameSessionPlacementResult::GetGameSessionPlacement
const GameSessionPlacement & GetGameSessionPlacement() const
Definition: StartGameSessionPlacementResult.h:46
Aws::GameLift::Model::StartGameSessionPlacementResult::StartGameSessionPlacementResult
StartGameSessionPlacementResult()
Aws::GameLift::Model::StartGameSessionPlacementResult
Definition: StartGameSessionPlacementResult.h:34
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::StartGameSessionPlacementResult::StartGameSessionPlacementResult
StartGameSessionPlacementResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)