AWS SDK for C++  1.9.159
AWS SDK for C++
DescribeGameServerGroupResult.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 DescribeGameServerGroupResult& WithGameServerGroup(const GameServerGroup& value) { SetGameServerGroup(value); return *this;}
58 
63  inline DescribeGameServerGroupResult& 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::DescribeGameServerGroupResult::DescribeGameServerGroupResult
DescribeGameServerGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::GameServerGroup
Definition: GameServerGroup.h:52
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::DescribeGameServerGroupResult::WithGameServerGroup
DescribeGameServerGroupResult & WithGameServerGroup(const GameServerGroup &value)
Definition: DescribeGameServerGroupResult.h:57
Aws::GameLift::Model::DescribeGameServerGroupResult
Definition: DescribeGameServerGroupResult.h:28
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DescribeGameServerGroupResult::SetGameServerGroup
void SetGameServerGroup(GameServerGroup &&value)
Definition: DescribeGameServerGroupResult.h:51
GameLift_EXPORTS.h
GameServerGroup.h
Aws::GameLift::Model::DescribeGameServerGroupResult::DescribeGameServerGroupResult
DescribeGameServerGroupResult()
Aws::GameLift::Model::DescribeGameServerGroupResult::GetGameServerGroup
const GameServerGroup & GetGameServerGroup() const
Definition: DescribeGameServerGroupResult.h:39
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::DescribeGameServerGroupResult::WithGameServerGroup
DescribeGameServerGroupResult & WithGameServerGroup(GameServerGroup &&value)
Definition: DescribeGameServerGroupResult.h:63
Aws::GameLift::Model::DescribeGameServerGroupResult::operator=
DescribeGameServerGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::DescribeGameServerGroupResult::SetGameServerGroup
void SetGameServerGroup(const GameServerGroup &value)
Definition: DescribeGameServerGroupResult.h:45