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/Protocol.h>
19namespace GameLiftStreams {
48 template <
typename IdentifierT = Aws::String>
50 m_identifierHasBeenSet =
true;
51 m_identifier = std::forward<IdentifierT>(value);
53 template <
typename IdentifierT = Aws::String>
72 template <
typename ApplicationIdentifierT = Aws::String>
74 m_applicationIdentifierHasBeenSet =
true;
75 m_applicationIdentifier = std::forward<ApplicationIdentifierT>(value);
77 template <
typename ApplicationIdentifierT = Aws::String>
92 m_protocolHasBeenSet =
true;
114 m_urlExpiresAfterMinutesHasBeenSet =
true;
115 m_urlExpiresAfterMinutes = value;
135 m_usageLimitHasBeenSet =
true;
136 m_usageLimit = value;
150 template <
typename DescriptionT = Aws::String>
152 m_descriptionHasBeenSet =
true;
153 m_description = std::forward<DescriptionT>(value);
155 template <
typename DescriptionT = Aws::String>
174 template <
typename LocationsT = Aws::Vector<Aws::String>>
176 m_locationsHasBeenSet =
true;
177 m_locations = std::forward<LocationsT>(value);
179 template <
typename LocationsT = Aws::Vector<Aws::String>>
184 template <
typename LocationsT = Aws::String>
186 m_locationsHasBeenSet =
true;
187 m_locations.emplace_back(std::forward<LocationsT>(value));
201 m_sessionLengthSecondsHasBeenSet =
true;
202 m_sessionLengthSeconds = value;
224 template <
typename AdditionalLaunchArgsT = Aws::Vector<Aws::String>>
226 m_additionalLaunchArgsHasBeenSet =
true;
227 m_additionalLaunchArgs = std::forward<AdditionalLaunchArgsT>(value);
229 template <
typename AdditionalLaunchArgsT = Aws::Vector<Aws::String>>
234 template <
typename AdditionalLaunchArgsT = Aws::String>
236 m_additionalLaunchArgsHasBeenSet =
true;
237 m_additionalLaunchArgs.emplace_back(std::forward<AdditionalLaunchArgsT>(value));
260 template <
typename AdditionalEnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
262 m_additionalEnvironmentVariablesHasBeenSet =
true;
263 m_additionalEnvironmentVariables = std::forward<AdditionalEnvironmentVariablesT>(value);
265 template <
typename AdditionalEnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
270 template <
typename AdditionalEnvironmentVariablesKeyT = Aws::String,
typename AdditionalEnvironmentVariablesValueT = Aws::String>
272 AdditionalEnvironmentVariablesValueT&& value) {
273 m_additionalEnvironmentVariablesHasBeenSet =
true;
274 m_additionalEnvironmentVariables.emplace(std::forward<AdditionalEnvironmentVariablesKeyT>(key),
275 std::forward<AdditionalEnvironmentVariablesValueT>(value));
291 template <
typename RoleArnT = Aws::String>
293 m_roleArnHasBeenSet =
true;
294 m_roleArn = std::forward<RoleArnT>(value);
296 template <
typename RoleArnT = Aws::String>
310 template <
typename DisplayConfigurationT = DisplayConfiguration>
312 m_displayConfigurationHasBeenSet =
true;
313 m_displayConfiguration = std::forward<DisplayConfigurationT>(value);
315 template <
typename DisplayConfigurationT = DisplayConfiguration>
331 template <
typename ClientTokenT = Aws::String>
333 m_clientTokenHasBeenSet =
true;
334 m_clientToken = std::forward<ClientTokenT>(value);
336 template <
typename ClientTokenT = Aws::String>
349 int m_urlExpiresAfterMinutes{0};
357 int m_sessionLengthSeconds{0};
365 DisplayConfiguration m_displayConfiguration;
368 bool m_identifierHasBeenSet =
false;
369 bool m_applicationIdentifierHasBeenSet =
false;
370 bool m_protocolHasBeenSet =
false;
371 bool m_urlExpiresAfterMinutesHasBeenSet =
false;
372 bool m_usageLimitHasBeenSet =
false;
373 bool m_descriptionHasBeenSet =
false;
374 bool m_locationsHasBeenSet =
false;
375 bool m_sessionLengthSecondsHasBeenSet =
false;
376 bool m_additionalLaunchArgsHasBeenSet =
false;
377 bool m_additionalEnvironmentVariablesHasBeenSet =
false;
378 bool m_roleArnHasBeenSet =
false;
379 bool m_displayConfigurationHasBeenSet =
false;
380 bool m_clientTokenHasBeenSet =
true;
CreateStreamUrlRequest & WithSessionLengthSeconds(int value)
CreateStreamUrlRequest & WithProtocol(Protocol value)
void SetRoleArn(RoleArnT &&value)
void SetClientToken(ClientTokenT &&value)
bool AdditionalLaunchArgsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEnvironmentVariables() const
void SetDisplayConfiguration(DisplayConfigurationT &&value)
AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override
CreateStreamUrlRequest & WithClientToken(ClientTokenT &&value)
void SetUrlExpiresAfterMinutes(int value)
void SetProtocol(Protocol value)
const DisplayConfiguration & GetDisplayConfiguration() const
const Aws::Vector< Aws::String > & GetAdditionalLaunchArgs() const
bool UrlExpiresAfterMinutesHasBeenSet() const
bool RoleArnHasBeenSet() const
CreateStreamUrlRequest & WithUrlExpiresAfterMinutes(int value)
bool SessionLengthSecondsHasBeenSet() const
int GetUsageLimit() const
void SetUsageLimit(int value)
CreateStreamUrlRequest & WithAdditionalEnvironmentVariables(AdditionalEnvironmentVariablesT &&value)
const Aws::String & GetIdentifier() const
CreateStreamUrlRequest & WithRoleArn(RoleArnT &&value)
const Aws::String & GetDescription() const
CreateStreamUrlRequest & AddAdditionalLaunchArgs(AdditionalLaunchArgsT &&value)
CreateStreamUrlRequest & WithLocations(LocationsT &&value)
CreateStreamUrlRequest & WithIdentifier(IdentifierT &&value)
int GetUrlExpiresAfterMinutes() const
void SetAdditionalLaunchArgs(AdditionalLaunchArgsT &&value)
int GetSessionLengthSeconds() const
CreateStreamUrlRequest & AddAdditionalEnvironmentVariables(AdditionalEnvironmentVariablesKeyT &&key, AdditionalEnvironmentVariablesValueT &&value)
Protocol GetProtocol() const
bool IdentifierHasBeenSet() const
void SetSessionLengthSeconds(int value)
bool UsageLimitHasBeenSet() const
CreateStreamUrlRequest & WithDescription(DescriptionT &&value)
CreateStreamUrlRequest & AddLocations(LocationsT &&value)
bool DisplayConfigurationHasBeenSet() const
const Aws::String & GetClientToken() const
CreateStreamUrlRequest & WithApplicationIdentifier(ApplicationIdentifierT &&value)
CreateStreamUrlRequest & WithAdditionalLaunchArgs(AdditionalLaunchArgsT &&value)
void SetLocations(LocationsT &&value)
const Aws::String & GetApplicationIdentifier() const
bool AdditionalEnvironmentVariablesHasBeenSet() const
void SetDescription(DescriptionT &&value)
CreateStreamUrlRequest & WithDisplayConfiguration(DisplayConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
void SetApplicationIdentifier(ApplicationIdentifierT &&value)
CreateStreamUrlRequest & WithUsageLimit(int value)
bool LocationsHasBeenSet() const
bool ClientTokenHasBeenSet() const
void SetIdentifier(IdentifierT &&value)
bool ProtocolHasBeenSet() const
AWS_GAMELIFTSTREAMS_API CreateStreamUrlRequest()=default
bool DescriptionHasBeenSet() const
const Aws::Vector< Aws::String > & GetLocations() const
void SetAdditionalEnvironmentVariables(AdditionalEnvironmentVariablesT &&value)
bool ApplicationIdentifierHasBeenSet() const
const Aws::String & GetRoleArn() 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