7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/gameliftstreams/GameLiftStreamsRequest.h>
12#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
13#include <aws/gameliftstreams/model/PerformanceStatsConfiguration.h>
14#include <aws/gameliftstreams/model/Protocol.h>
19namespace GameLiftStreams {
44 template <
typename ClientTokenT = Aws::String>
46 m_clientTokenHasBeenSet =
true;
47 m_clientToken = std::forward<ClientTokenT>(value);
49 template <
typename ClientTokenT = Aws::String>
63 template <
typename DescriptionT = Aws::String>
65 m_descriptionHasBeenSet =
true;
66 m_description = std::forward<DescriptionT>(value);
68 template <
typename DescriptionT = Aws::String>
86 template <
typename IdentifierT = Aws::String>
88 m_identifierHasBeenSet =
true;
89 m_identifier = std::forward<IdentifierT>(value);
91 template <
typename IdentifierT = Aws::String>
105 m_protocolHasBeenSet =
true;
126 template <
typename SignalRequestT = Aws::String>
128 m_signalRequestHasBeenSet =
true;
129 m_signalRequest = std::forward<SignalRequestT>(value);
131 template <
typename SignalRequestT = Aws::String>
149 template <
typename ApplicationIdentifierT = Aws::String>
151 m_applicationIdentifierHasBeenSet =
true;
152 m_applicationIdentifier = std::forward<ApplicationIdentifierT>(value);
154 template <
typename ApplicationIdentifierT = Aws::String>
167 template <
typename UserIdT = Aws::String>
169 m_userIdHasBeenSet =
true;
170 m_userId = std::forward<UserIdT>(value);
172 template <
typename UserIdT = Aws::String>
193 template <
typename LocationsT = Aws::Vector<Aws::String>>
195 m_locationsHasBeenSet =
true;
196 m_locations = std::forward<LocationsT>(value);
198 template <
typename LocationsT = Aws::Vector<Aws::String>>
203 template <
typename LocationsT = Aws::String>
205 m_locationsHasBeenSet =
true;
206 m_locations.emplace_back(std::forward<LocationsT>(value));
222 m_connectionTimeoutSecondsHasBeenSet =
true;
223 m_connectionTimeoutSeconds = value;
240 m_sessionLengthSecondsHasBeenSet =
true;
241 m_sessionLengthSeconds = value;
263 template <
typename AdditionalLaunchArgsT = Aws::Vector<Aws::String>>
265 m_additionalLaunchArgsHasBeenSet =
true;
266 m_additionalLaunchArgs = std::forward<AdditionalLaunchArgsT>(value);
268 template <
typename AdditionalLaunchArgsT = Aws::Vector<Aws::String>>
273 template <
typename AdditionalLaunchArgsT = Aws::String>
275 m_additionalLaunchArgsHasBeenSet =
true;
276 m_additionalLaunchArgs.emplace_back(std::forward<AdditionalLaunchArgsT>(value));
299 template <
typename AdditionalEnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
301 m_additionalEnvironmentVariablesHasBeenSet =
true;
302 m_additionalEnvironmentVariables = std::forward<AdditionalEnvironmentVariablesT>(value);
304 template <
typename AdditionalEnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
309 template <
typename AdditionalEnvironmentVariablesKeyT = Aws::String,
typename AdditionalEnvironmentVariablesValueT = Aws::String>
311 AdditionalEnvironmentVariablesValueT&& value) {
312 m_additionalEnvironmentVariablesHasBeenSet =
true;
313 m_additionalEnvironmentVariables.emplace(std::forward<AdditionalEnvironmentVariablesKeyT>(key),
314 std::forward<AdditionalEnvironmentVariablesValueT>(value));
326 template <
typename PerformanceStatsConfigurationT = PerformanceStatsConfiguration>
328 m_performanceStatsConfigurationHasBeenSet =
true;
329 m_performanceStatsConfiguration = std::forward<PerformanceStatsConfigurationT>(value);
331 template <
typename PerformanceStatsConfigurationT = PerformanceStatsConfiguration>
354 int m_connectionTimeoutSeconds{0};
356 int m_sessionLengthSeconds{0};
362 PerformanceStatsConfiguration m_performanceStatsConfiguration;
363 bool m_clientTokenHasBeenSet =
true;
364 bool m_descriptionHasBeenSet =
false;
365 bool m_identifierHasBeenSet =
false;
366 bool m_protocolHasBeenSet =
false;
367 bool m_signalRequestHasBeenSet =
false;
368 bool m_applicationIdentifierHasBeenSet =
false;
369 bool m_userIdHasBeenSet =
false;
370 bool m_locationsHasBeenSet =
false;
371 bool m_connectionTimeoutSecondsHasBeenSet =
false;
372 bool m_sessionLengthSecondsHasBeenSet =
false;
373 bool m_additionalLaunchArgsHasBeenSet =
false;
374 bool m_additionalEnvironmentVariablesHasBeenSet =
false;
375 bool m_performanceStatsConfigurationHasBeenSet =
false;
StartStreamSessionRequest & WithProtocol(Protocol value)
void SetApplicationIdentifier(ApplicationIdentifierT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEnvironmentVariables() const
bool AdditionalEnvironmentVariablesHasBeenSet() const
const Aws::Vector< Aws::String > & GetLocations() const
StartStreamSessionRequest & WithSignalRequest(SignalRequestT &&value)
bool IdentifierHasBeenSet() const
const Aws::Vector< Aws::String > & GetAdditionalLaunchArgs() const
StartStreamSessionRequest & AddAdditionalLaunchArgs(AdditionalLaunchArgsT &&value)
StartStreamSessionRequest & AddAdditionalEnvironmentVariables(AdditionalEnvironmentVariablesKeyT &&key, AdditionalEnvironmentVariablesValueT &&value)
void SetIdentifier(IdentifierT &&value)
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetApplicationIdentifier() const
void SetUserId(UserIdT &&value)
StartStreamSessionRequest & WithLocations(LocationsT &&value)
void SetConnectionTimeoutSeconds(int value)
bool LocationsHasBeenSet() const
const PerformanceStatsConfiguration & GetPerformanceStatsConfiguration() const
void SetAdditionalEnvironmentVariables(AdditionalEnvironmentVariablesT &&value)
bool DescriptionHasBeenSet() const
AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override
bool SessionLengthSecondsHasBeenSet() const
void SetSessionLengthSeconds(int value)
StartStreamSessionRequest & WithAdditionalLaunchArgs(AdditionalLaunchArgsT &&value)
void SetLocations(LocationsT &&value)
const Aws::String & GetUserId() const
const Aws::String & GetIdentifier() const
bool ApplicationIdentifierHasBeenSet() const
bool UserIdHasBeenSet() const
StartStreamSessionRequest & WithDescription(DescriptionT &&value)
StartStreamSessionRequest & AddLocations(LocationsT &&value)
StartStreamSessionRequest & WithSessionLengthSeconds(int value)
StartStreamSessionRequest & WithIdentifier(IdentifierT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetDescription() const
StartStreamSessionRequest & WithUserId(UserIdT &&value)
bool ConnectionTimeoutSecondsHasBeenSet() const
AWS_GAMELIFTSTREAMS_API StartStreamSessionRequest()=default
void SetProtocol(Protocol value)
StartStreamSessionRequest & WithApplicationIdentifier(ApplicationIdentifierT &&value)
int GetConnectionTimeoutSeconds() const
const Aws::String & GetClientToken() const
void SetDescription(DescriptionT &&value)
bool ProtocolHasBeenSet() const
StartStreamSessionRequest & WithAdditionalEnvironmentVariables(AdditionalEnvironmentVariablesT &&value)
bool ClientTokenHasBeenSet() const
int GetSessionLengthSeconds() const
StartStreamSessionRequest & WithConnectionTimeoutSeconds(int value)
bool AdditionalLaunchArgsHasBeenSet() const
void SetAdditionalLaunchArgs(AdditionalLaunchArgsT &&value)
void SetSignalRequest(SignalRequestT &&value)
const Aws::String & GetSignalRequest() const
StartStreamSessionRequest & WithPerformanceStatsConfiguration(PerformanceStatsConfigurationT &&value)
void SetPerformanceStatsConfiguration(PerformanceStatsConfigurationT &&value)
Protocol GetProtocol() const
bool SignalRequestHasBeenSet() const
StartStreamSessionRequest & WithClientToken(ClientTokenT &&value)
bool PerformanceStatsConfigurationHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector