AWS SDK for C++  1.9.47
AWS SDK for C++
ResumeGameServerGroupResult.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 
40  inline const GameServerGroup& GetGameServerGroup() const{ return m_gameServerGroup; }
41 
47  inline void SetGameServerGroup(const GameServerGroup& value) { m_gameServerGroup = value; }
48 
54  inline void SetGameServerGroup(GameServerGroup&& value) { m_gameServerGroup = std::move(value); }
55 
61  inline ResumeGameServerGroupResult& WithGameServerGroup(const GameServerGroup& value) { SetGameServerGroup(value); return *this;}
62 
68  inline ResumeGameServerGroupResult& WithGameServerGroup(GameServerGroup&& value) { SetGameServerGroup(std::move(value)); return *this;}
69 
70  private:
71 
72  GameServerGroup m_gameServerGroup;
73  };
74 
75 } // namespace Model
76 } // namespace GameLift
77 } // namespace Aws
Aws::GameLift::Model::GameServerGroup
Definition: GameServerGroup.h:52
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::ResumeGameServerGroupResult::operator=
ResumeGameServerGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::ResumeGameServerGroupResult::GetGameServerGroup
const GameServerGroup & GetGameServerGroup() const
Definition: ResumeGameServerGroupResult.h:40
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::ResumeGameServerGroupResult::SetGameServerGroup
void SetGameServerGroup(GameServerGroup &&value)
Definition: ResumeGameServerGroupResult.h:54
GameLift_EXPORTS.h
Aws::GameLift::Model::ResumeGameServerGroupResult::WithGameServerGroup
ResumeGameServerGroupResult & WithGameServerGroup(GameServerGroup &&value)
Definition: ResumeGameServerGroupResult.h:68
Aws::GameLift::Model::ResumeGameServerGroupResult::ResumeGameServerGroupResult
ResumeGameServerGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GameServerGroup.h
Aws::GameLift::Model::ResumeGameServerGroupResult::WithGameServerGroup
ResumeGameServerGroupResult & WithGameServerGroup(const GameServerGroup &value)
Definition: ResumeGameServerGroupResult.h:61
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::ResumeGameServerGroupResult::SetGameServerGroup
void SetGameServerGroup(const GameServerGroup &value)
Definition: ResumeGameServerGroupResult.h:47
Aws::GameLift::Model::ResumeGameServerGroupResult
Definition: ResumeGameServerGroupResult.h:28
Aws::GameLift::Model::ResumeGameServerGroupResult::ResumeGameServerGroupResult
ResumeGameServerGroupResult()