7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/gamelift/model/PlayerSessionCreationPolicy.h>
11#include <aws/gamelift/model/ProtectionPolicy.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/gamelift/model/GameProperty.h>
47 template<
typename GameSessionIdT = Aws::String>
48 void SetGameSessionId(GameSessionIdT&& value) { m_gameSessionIdHasBeenSet =
true; m_gameSessionId = std::forward<GameSessionIdT>(value); }
49 template<
typename GameSessionIdT = Aws::String>
71 template<
typename NameT = Aws::String>
72 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
73 template<
typename NameT = Aws::String>
114 template<
typename GamePropertiesT = Aws::Vector<GameProperty>>
115 void SetGameProperties(GamePropertiesT&& value) { m_gamePropertiesHasBeenSet =
true; m_gameProperties = std::forward<GamePropertiesT>(value); }
116 template<
typename GamePropertiesT = Aws::Vector<GameProperty>>
118 template<
typename GamePropertiesT = GameProperty>
124 bool m_gameSessionIdHasBeenSet =
false;
126 int m_maximumPlayerSessionCount{0};
127 bool m_maximumPlayerSessionCountHasBeenSet =
false;
130 bool m_nameHasBeenSet =
false;
133 bool m_playerSessionCreationPolicyHasBeenSet =
false;
136 bool m_protectionPolicyHasBeenSet =
false;
139 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