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