AWS SDK for C++  1.9.44
AWS SDK for C++
SuspendGameServerGroupResult.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 SuspendGameServerGroupResult& WithGameServerGroup(const GameServerGroup& value) { SetGameServerGroup(value); return *this;}
62 
68  inline SuspendGameServerGroupResult& 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::SuspendGameServerGroupResult::SuspendGameServerGroupResult
SuspendGameServerGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::GameServerGroup
Definition: GameServerGroup.h:52
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::SuspendGameServerGroupResult::GetGameServerGroup
const GameServerGroup & GetGameServerGroup() const
Definition: SuspendGameServerGroupResult.h:40
Aws::GameLift::Model::SuspendGameServerGroupResult::operator=
SuspendGameServerGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::SuspendGameServerGroupResult
Definition: SuspendGameServerGroupResult.h:28
GameLift_EXPORTS.h
Aws::GameLift::Model::SuspendGameServerGroupResult::SuspendGameServerGroupResult
SuspendGameServerGroupResult()
GameServerGroup.h
Aws::GameLift::Model::SuspendGameServerGroupResult::SetGameServerGroup
void SetGameServerGroup(GameServerGroup &&value)
Definition: SuspendGameServerGroupResult.h:54
Aws::GameLift::Model::SuspendGameServerGroupResult::WithGameServerGroup
SuspendGameServerGroupResult & WithGameServerGroup(const GameServerGroup &value)
Definition: SuspendGameServerGroupResult.h:61
Aws::GameLift::Model::SuspendGameServerGroupResult::WithGameServerGroup
SuspendGameServerGroupResult & WithGameServerGroup(GameServerGroup &&value)
Definition: SuspendGameServerGroupResult.h:68
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::SuspendGameServerGroupResult::SetGameServerGroup
void SetGameServerGroup(const GameServerGroup &value)
Definition: SuspendGameServerGroupResult.h:47