AWS SDK for C++  1.9.44
AWS SDK for C++
DescribeGameSessionPlacementResult.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 
44  inline const GameSessionPlacement& GetGameSessionPlacement() const{ return m_gameSessionPlacement; }
45 
49  inline void SetGameSessionPlacement(const GameSessionPlacement& value) { m_gameSessionPlacement = value; }
50 
54  inline void SetGameSessionPlacement(GameSessionPlacement&& value) { m_gameSessionPlacement = std::move(value); }
55 
59  inline DescribeGameSessionPlacementResult& WithGameSessionPlacement(const GameSessionPlacement& value) { SetGameSessionPlacement(value); return *this;}
60 
64  inline DescribeGameSessionPlacementResult& WithGameSessionPlacement(GameSessionPlacement&& value) { SetGameSessionPlacement(std::move(value)); return *this;}
65 
66  private:
67 
68  GameSessionPlacement m_gameSessionPlacement;
69  };
70 
71 } // namespace Model
72 } // namespace GameLift
73 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::DescribeGameSessionPlacementResult::WithGameSessionPlacement
DescribeGameSessionPlacementResult & WithGameSessionPlacement(const GameSessionPlacement &value)
Definition: DescribeGameSessionPlacementResult.h:59
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DescribeGameSessionPlacementResult::SetGameSessionPlacement
void SetGameSessionPlacement(const GameSessionPlacement &value)
Definition: DescribeGameSessionPlacementResult.h:49
Aws::GameLift::Model::DescribeGameSessionPlacementResult::GetGameSessionPlacement
const GameSessionPlacement & GetGameSessionPlacement() const
Definition: DescribeGameSessionPlacementResult.h:44
Aws::GameLift::Model::DescribeGameSessionPlacementResult::DescribeGameSessionPlacementResult
DescribeGameSessionPlacementResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::GameSessionPlacement
Definition: GameSessionPlacement.h:43
Aws::GameLift::Model::DescribeGameSessionPlacementResult::operator=
DescribeGameSessionPlacementResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GameSessionPlacement.h
GameLift_EXPORTS.h
Aws::GameLift::Model::DescribeGameSessionPlacementResult
Definition: DescribeGameSessionPlacementResult.h:34
Aws::GameLift::Model::DescribeGameSessionPlacementResult::SetGameSessionPlacement
void SetGameSessionPlacement(GameSessionPlacement &&value)
Definition: DescribeGameSessionPlacementResult.h:54
Aws::GameLift::Model::DescribeGameSessionPlacementResult::DescribeGameSessionPlacementResult
DescribeGameSessionPlacementResult()
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::DescribeGameSessionPlacementResult::WithGameSessionPlacement
DescribeGameSessionPlacementResult & WithGameSessionPlacement(GameSessionPlacement &&value)
Definition: DescribeGameSessionPlacementResult.h:64