AWS SDK for C++  1.9.44
AWS SDK for C++
CreateGameServerGroupResult.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 
42  inline const GameServerGroup& GetGameServerGroup() const{ return m_gameServerGroup; }
43 
51  inline void SetGameServerGroup(const GameServerGroup& value) { m_gameServerGroup = value; }
52 
60  inline void SetGameServerGroup(GameServerGroup&& value) { m_gameServerGroup = std::move(value); }
61 
69  inline CreateGameServerGroupResult& WithGameServerGroup(const GameServerGroup& value) { SetGameServerGroup(value); return *this;}
70 
78  inline CreateGameServerGroupResult& WithGameServerGroup(GameServerGroup&& value) { SetGameServerGroup(std::move(value)); return *this;}
79 
80  private:
81 
82  GameServerGroup m_gameServerGroup;
83  };
84 
85 } // namespace Model
86 } // namespace GameLift
87 } // namespace Aws
Aws::GameLift::Model::CreateGameServerGroupResult::CreateGameServerGroupResult
CreateGameServerGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::CreateGameServerGroupResult::WithGameServerGroup
CreateGameServerGroupResult & WithGameServerGroup(GameServerGroup &&value)
Definition: CreateGameServerGroupResult.h:78
Aws::GameLift::Model::GameServerGroup
Definition: GameServerGroup.h:52
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::CreateGameServerGroupResult::SetGameServerGroup
void SetGameServerGroup(GameServerGroup &&value)
Definition: CreateGameServerGroupResult.h:60
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::CreateGameServerGroupResult::SetGameServerGroup
void SetGameServerGroup(const GameServerGroup &value)
Definition: CreateGameServerGroupResult.h:51
Aws::GameLift::Model::CreateGameServerGroupResult::GetGameServerGroup
const GameServerGroup & GetGameServerGroup() const
Definition: CreateGameServerGroupResult.h:42
GameLift_EXPORTS.h
GameServerGroup.h
Aws::GameLift::Model::CreateGameServerGroupResult::operator=
CreateGameServerGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::CreateGameServerGroupResult
Definition: CreateGameServerGroupResult.h:28
Aws::GameLift::Model::CreateGameServerGroupResult::WithGameServerGroup
CreateGameServerGroupResult & WithGameServerGroup(const GameServerGroup &value)
Definition: CreateGameServerGroupResult.h:69
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::CreateGameServerGroupResult::CreateGameServerGroupResult
CreateGameServerGroupResult()