7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/gamelift/GameLiftRequest.h>
10#include <aws/gamelift/GameLift_EXPORTS.h>
11#include <aws/gamelift/model/GameProperty.h>
12#include <aws/gamelift/model/PlayerSessionCreationPolicy.h>
13#include <aws/gamelift/model/ProtectionPolicy.h>
43 template <
typename GameSessionIdT = Aws::String>
45 m_gameSessionIdHasBeenSet =
true;
46 m_gameSessionId = std::forward<GameSessionIdT>(value);
48 template <
typename GameSessionIdT = Aws::String>
63 m_maximumPlayerSessionCountHasBeenSet =
true;
64 m_maximumPlayerSessionCount = value;
79 template <
typename NameT = Aws::String>
81 m_nameHasBeenSet =
true;
82 m_name = std::forward<NameT>(value);
84 template <
typename NameT = Aws::String>
86 SetName(std::forward<NameT>(value));
99 m_playerSessionCreationPolicyHasBeenSet =
true;
100 m_playerSessionCreationPolicy = value;
119 m_protectionPolicyHasBeenSet =
true;
120 m_protectionPolicy = value;
143 template <
typename GamePropertiesT = Aws::Vector<GameProperty>>
145 m_gamePropertiesHasBeenSet =
true;
146 m_gameProperties = std::forward<GamePropertiesT>(value);
148 template <
typename GamePropertiesT = Aws::Vector<GameProperty>>
153 template <
typename GamePropertiesT = GameProperty>
155 m_gamePropertiesHasBeenSet =
true;
156 m_gameProperties.emplace_back(std::forward<GamePropertiesT>(value));
163 int m_maximumPlayerSessionCount{0};
172 bool m_gameSessionIdHasBeenSet =
false;
173 bool m_maximumPlayerSessionCountHasBeenSet =
false;
174 bool m_nameHasBeenSet =
false;
175 bool m_playerSessionCreationPolicyHasBeenSet =
false;
176 bool m_protectionPolicyHasBeenSet =
false;
177 bool m_gamePropertiesHasBeenSet =
false;
bool GameSessionIdHasBeenSet() const
ProtectionPolicy GetProtectionPolicy() const
UpdateGameSessionRequest & WithName(NameT &&value)
UpdateGameSessionRequest & WithGameProperties(GamePropertiesT &&value)
bool ProtectionPolicyHasBeenSet() const
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
UpdateGameSessionRequest & WithGameSessionId(GameSessionIdT &&value)
void SetPlayerSessionCreationPolicy(PlayerSessionCreationPolicy value)
const Aws::String & GetGameSessionId() const
const Aws::String & GetName() const
UpdateGameSessionRequest & WithProtectionPolicy(ProtectionPolicy value)
UpdateGameSessionRequest & WithPlayerSessionCreationPolicy(PlayerSessionCreationPolicy value)
void SetName(NameT &&value)
UpdateGameSessionRequest & AddGameProperties(GamePropertiesT &&value)
bool NameHasBeenSet() const
bool GamePropertiesHasBeenSet() const
void SetProtectionPolicy(ProtectionPolicy value)
void SetMaximumPlayerSessionCount(int value)
bool PlayerSessionCreationPolicyHasBeenSet() const
void SetGameProperties(GamePropertiesT &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
bool MaximumPlayerSessionCountHasBeenSet() const
const Aws::Vector< GameProperty > & GetGameProperties() const
UpdateGameSessionRequest & WithMaximumPlayerSessionCount(int value)
AWS_GAMELIFT_API UpdateGameSessionRequest()=default
int GetMaximumPlayerSessionCount() const
void SetGameSessionId(GameSessionIdT &&value)
PlayerSessionCreationPolicy GetPlayerSessionCreationPolicy() const
PlayerSessionCreationPolicy
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector