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>
48 template <
typename GameSessionIdT = Aws::String>
50 m_gameSessionIdHasBeenSet =
true;
51 m_gameSessionId = std::forward<GameSessionIdT>(value);
53 template <
typename GameSessionIdT = Aws::String>
68 m_maximumPlayerSessionCountHasBeenSet =
true;
69 m_maximumPlayerSessionCount = value;
84 template <
typename NameT = Aws::String>
86 m_nameHasBeenSet =
true;
87 m_name = std::forward<NameT>(value);
89 template <
typename NameT = Aws::String>
91 SetName(std::forward<NameT>(value));
104 m_playerSessionCreationPolicyHasBeenSet =
true;
105 m_playerSessionCreationPolicy = value;
124 m_protectionPolicyHasBeenSet =
true;
125 m_protectionPolicy = value;
152 template <
typename GamePropertiesT = Aws::Vector<GameProperty>>
154 m_gamePropertiesHasBeenSet =
true;
155 m_gameProperties = std::forward<GamePropertiesT>(value);
157 template <
typename GamePropertiesT = Aws::Vector<GameProperty>>
162 template <
typename GamePropertiesT = GameProperty>
164 m_gamePropertiesHasBeenSet =
true;
165 m_gameProperties.emplace_back(std::forward<GamePropertiesT>(value));
172 int m_maximumPlayerSessionCount{0};
181 bool m_gameSessionIdHasBeenSet =
false;
182 bool m_maximumPlayerSessionCountHasBeenSet =
false;
183 bool m_nameHasBeenSet =
false;
184 bool m_playerSessionCreationPolicyHasBeenSet =
false;
185 bool m_protectionPolicyHasBeenSet =
false;
186 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