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/DisplayConfiguration.h>
14#include <aws/gameliftstreams/model/PerformanceStatsConfiguration.h>
15#include <aws/gameliftstreams/model/Protocol.h>
20namespace GameLiftStreams {
45 template <
typename ClientTokenT = Aws::String>
47 m_clientTokenHasBeenSet =
true;
48 m_clientToken = std::forward<ClientTokenT>(value);
50 template <
typename ClientTokenT = Aws::String>
64 template <
typename DescriptionT = Aws::String>
66 m_descriptionHasBeenSet =
true;
67 m_description = std::forward<DescriptionT>(value);
69 template <
typename DescriptionT = Aws::String>
87 template <
typename IdentifierT = Aws::String>
89 m_identifierHasBeenSet =
true;
90 m_identifier = std::forward<IdentifierT>(value);
92 template <
typename IdentifierT = Aws::String>
106 m_protocolHasBeenSet =
true;
127 template <
typename SignalRequestT = Aws::String>
129 m_signalRequestHasBeenSet =
true;
130 m_signalRequest = std::forward<SignalRequestT>(value);
132 template <
typename SignalRequestT = Aws::String>
150 template <
typename ApplicationIdentifierT = Aws::String>
152 m_applicationIdentifierHasBeenSet =
true;
153 m_applicationIdentifier = std::forward<ApplicationIdentifierT>(value);
155 template <
typename ApplicationIdentifierT = Aws::String>
168 template <
typename UserIdT = Aws::String>
170 m_userIdHasBeenSet =
true;
171 m_userId = std::forward<UserIdT>(value);
173 template <
typename UserIdT = Aws::String>
194 template <
typename LocationsT = Aws::Vector<Aws::String>>
196 m_locationsHasBeenSet =
true;
197 m_locations = std::forward<LocationsT>(value);
199 template <
typename LocationsT = Aws::Vector<Aws::String>>
204 template <
typename LocationsT = Aws::String>
206 m_locationsHasBeenSet =
true;
207 m_locations.emplace_back(std::forward<LocationsT>(value));
223 m_connectionTimeoutSecondsHasBeenSet =
true;
224 m_connectionTimeoutSeconds = value;
241 m_sessionLengthSecondsHasBeenSet =
true;
242 m_sessionLengthSeconds = value;
264 template <
typename AdditionalLaunchArgsT = Aws::Vector<Aws::String>>
266 m_additionalLaunchArgsHasBeenSet =
true;
267 m_additionalLaunchArgs = std::forward<AdditionalLaunchArgsT>(value);
269 template <
typename AdditionalLaunchArgsT = Aws::Vector<Aws::String>>
274 template <
typename AdditionalLaunchArgsT = Aws::String>
276 m_additionalLaunchArgsHasBeenSet =
true;
277 m_additionalLaunchArgs.emplace_back(std::forward<AdditionalLaunchArgsT>(value));
300 template <
typename AdditionalEnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
302 m_additionalEnvironmentVariablesHasBeenSet =
true;
303 m_additionalEnvironmentVariables = std::forward<AdditionalEnvironmentVariablesT>(value);
305 template <
typename AdditionalEnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
310 template <
typename AdditionalEnvironmentVariablesKeyT = Aws::String,
typename AdditionalEnvironmentVariablesValueT = Aws::String>
312 AdditionalEnvironmentVariablesValueT&& value) {
313 m_additionalEnvironmentVariablesHasBeenSet =
true;
314 m_additionalEnvironmentVariables.emplace(std::forward<AdditionalEnvironmentVariablesKeyT>(key),
315 std::forward<AdditionalEnvironmentVariablesValueT>(value));
327 template <
typename PerformanceStatsConfigurationT = PerformanceStatsConfiguration>
329 m_performanceStatsConfigurationHasBeenSet =
true;
330 m_performanceStatsConfiguration = std::forward<PerformanceStatsConfigurationT>(value);
332 template <
typename PerformanceStatsConfigurationT = PerformanceStatsConfiguration>
350 template <
typename RoleArnT = Aws::String>
352 m_roleArnHasBeenSet =
true;
353 m_roleArn = std::forward<RoleArnT>(value);
355 template <
typename RoleArnT = Aws::String>
370 template <
typename DisplayConfigurationT = DisplayConfiguration>
372 m_displayConfigurationHasBeenSet =
true;
373 m_displayConfiguration = std::forward<DisplayConfigurationT>(value);
375 template <
typename DisplayConfigurationT = DisplayConfiguration>
398 int m_connectionTimeoutSeconds{0};
400 int m_sessionLengthSeconds{0};
406 PerformanceStatsConfiguration m_performanceStatsConfiguration;
410 DisplayConfiguration m_displayConfiguration;
411 bool m_clientTokenHasBeenSet =
true;
412 bool m_descriptionHasBeenSet =
false;
413 bool m_identifierHasBeenSet =
false;
414 bool m_protocolHasBeenSet =
false;
415 bool m_signalRequestHasBeenSet =
false;
416 bool m_applicationIdentifierHasBeenSet =
false;
417 bool m_userIdHasBeenSet =
false;
418 bool m_locationsHasBeenSet =
false;
419 bool m_connectionTimeoutSecondsHasBeenSet =
false;
420 bool m_sessionLengthSecondsHasBeenSet =
false;
421 bool m_additionalLaunchArgsHasBeenSet =
false;
422 bool m_additionalEnvironmentVariablesHasBeenSet =
false;
423 bool m_performanceStatsConfigurationHasBeenSet =
false;
424 bool m_roleArnHasBeenSet =
false;
425 bool m_displayConfigurationHasBeenSet =
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 & WithRoleArn(RoleArnT &&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
const DisplayConfiguration & GetDisplayConfiguration() const
bool SessionLengthSecondsHasBeenSet() const
void SetSessionLengthSeconds(int value)
StartStreamSessionRequest & WithAdditionalLaunchArgs(AdditionalLaunchArgsT &&value)
bool DisplayConfigurationHasBeenSet() const
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)
void SetDisplayConfiguration(DisplayConfigurationT &&value)
StartStreamSessionRequest & WithIdentifier(IdentifierT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetDescription() const
StartStreamSessionRequest & WithUserId(UserIdT &&value)
const Aws::String & GetRoleArn() const
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)
void SetRoleArn(RoleArnT &&value)
bool ProtocolHasBeenSet() const
StartStreamSessionRequest & WithAdditionalEnvironmentVariables(AdditionalEnvironmentVariablesT &&value)
bool ClientTokenHasBeenSet() const
int GetSessionLengthSeconds() const
StartStreamSessionRequest & WithConnectionTimeoutSeconds(int value)
bool RoleArnHasBeenSet() const
bool AdditionalLaunchArgsHasBeenSet() const
void SetAdditionalLaunchArgs(AdditionalLaunchArgsT &&value)
void SetSignalRequest(SignalRequestT &&value)
const Aws::String & GetSignalRequest() const
StartStreamSessionRequest & WithDisplayConfiguration(DisplayConfigurationT &&value)
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