AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreateGameServerGroupResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/gamelift/GameLift_EXPORTS.h>
9#include <aws/gamelift/model/GameServerGroup.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace GameLift {
23namespace Model {
25 public:
26 AWS_GAMELIFT_API CreateGameServerGroupResult() = default;
29
31
38 inline const GameServerGroup& GetGameServerGroup() const { return m_gameServerGroup; }
39 template <typename GameServerGroupT = GameServerGroup>
40 void SetGameServerGroup(GameServerGroupT&& value) {
41 m_gameServerGroupHasBeenSet = true;
42 m_gameServerGroup = std::forward<GameServerGroupT>(value);
43 }
44 template <typename GameServerGroupT = GameServerGroup>
46 SetGameServerGroup(std::forward<GameServerGroupT>(value));
47 return *this;
48 }
50
52
53 inline const Aws::String& GetRequestId() const { return m_requestId; }
54 template <typename RequestIdT = Aws::String>
55 void SetRequestId(RequestIdT&& value) {
56 m_requestIdHasBeenSet = true;
57 m_requestId = std::forward<RequestIdT>(value);
58 }
59 template <typename RequestIdT = Aws::String>
61 SetRequestId(std::forward<RequestIdT>(value));
62 return *this;
63 }
65 private:
66 GameServerGroup m_gameServerGroup;
67
68 Aws::String m_requestId;
69 bool m_gameServerGroupHasBeenSet = false;
70 bool m_requestIdHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace GameLift
75} // namespace Aws
CreateGameServerGroupResult & WithGameServerGroup(GameServerGroupT &&value)
AWS_GAMELIFT_API CreateGameServerGroupResult()=default
CreateGameServerGroupResult & WithRequestId(RequestIdT &&value)
AWS_GAMELIFT_API CreateGameServerGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GAMELIFT_API CreateGameServerGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue