AWS SDK for C++  1.9.44
AWS SDK for C++
UpdateGameServerGroupResult.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 
39  inline const GameServerGroup& GetGameServerGroup() const{ return m_gameServerGroup; }
40 
45  inline void SetGameServerGroup(const GameServerGroup& value) { m_gameServerGroup = value; }
46 
51  inline void SetGameServerGroup(GameServerGroup&& value) { m_gameServerGroup = std::move(value); }
52 
57  inline UpdateGameServerGroupResult& WithGameServerGroup(const GameServerGroup& value) { SetGameServerGroup(value); return *this;}
58 
63  inline UpdateGameServerGroupResult& WithGameServerGroup(GameServerGroup&& value) { SetGameServerGroup(std::move(value)); return *this;}
64 
65  private:
66 
67  GameServerGroup m_gameServerGroup;
68  };
69 
70 } // namespace Model
71 } // namespace GameLift
72 } // namespace Aws
Aws::GameLift::Model::GameServerGroup
Definition: GameServerGroup.h:52
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::UpdateGameServerGroupResult::WithGameServerGroup
UpdateGameServerGroupResult & WithGameServerGroup(const GameServerGroup &value)
Definition: UpdateGameServerGroupResult.h:57
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
GameLift_EXPORTS.h
Aws::GameLift::Model::UpdateGameServerGroupResult::SetGameServerGroup
void SetGameServerGroup(const GameServerGroup &value)
Definition: UpdateGameServerGroupResult.h:45
Aws::GameLift::Model::UpdateGameServerGroupResult::WithGameServerGroup
UpdateGameServerGroupResult & WithGameServerGroup(GameServerGroup &&value)
Definition: UpdateGameServerGroupResult.h:63
Aws::GameLift::Model::UpdateGameServerGroupResult::SetGameServerGroup
void SetGameServerGroup(GameServerGroup &&value)
Definition: UpdateGameServerGroupResult.h:51
Aws::GameLift::Model::UpdateGameServerGroupResult::UpdateGameServerGroupResult
UpdateGameServerGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GameServerGroup.h
Aws::GameLift::Model::UpdateGameServerGroupResult
Definition: UpdateGameServerGroupResult.h:28
Aws::GameLift::Model::UpdateGameServerGroupResult::UpdateGameServerGroupResult
UpdateGameServerGroupResult()
Aws::GameLift::Model::UpdateGameServerGroupResult::GetGameServerGroup
const GameServerGroup & GetGameServerGroup() const
Definition: UpdateGameServerGroupResult.h:39
Aws::GameLift::Model::UpdateGameServerGroupResult::operator=
UpdateGameServerGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15