7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
13#include <aws/gameliftstreams/model/DisplayConfiguration.h>
14#include <aws/gameliftstreams/model/Protocol.h>
15#include <aws/gameliftstreams/model/StreamUrlStatus.h>
16#include <aws/gameliftstreams/model/StreamUrlStatusReason.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
29namespace GameLiftStreams {
47 template <
typename ArnT = Aws::String>
49 m_arnHasBeenSet =
true;
50 m_arn = std::forward<ArnT>(value);
52 template <
typename ArnT = Aws::String>
54 SetArn(std::forward<ArnT>(value));
65 template <
typename StreamUrlIdT = Aws::String>
67 m_streamUrlIdHasBeenSet =
true;
68 m_streamUrlId = std::forward<StreamUrlIdT>(value);
70 template <
typename StreamUrlIdT = Aws::String>
85 template <
typename StreamUrlT = Aws::String>
87 m_streamUrlHasBeenSet =
true;
88 m_streamUrl = std::forward<StreamUrlT>(value);
90 template <
typename StreamUrlT = Aws::String>
110 m_statusHasBeenSet =
true;
135 m_statusReasonHasBeenSet =
true;
136 m_statusReason = value;
151 template <
typename ExpiresAtT = Aws::Utils::DateTime>
153 m_expiresAtHasBeenSet =
true;
154 m_expiresAt = std::forward<ExpiresAtT>(value);
156 template <
typename ExpiresAtT = Aws::Utils::DateTime>
170 template <
typename CreatedAtT = Aws::Utils::DateTime>
172 m_createdAtHasBeenSet =
true;
173 m_createdAt = std::forward<CreatedAtT>(value);
175 template <
typename CreatedAtT = Aws::Utils::DateTime>
188 m_usageLimitHasBeenSet =
true;
189 m_usageLimit = value;
204 m_remainingUsesHasBeenSet =
true;
205 m_remainingUses = value;
223 template <
typename StreamGroupArnT = Aws::String>
225 m_streamGroupArnHasBeenSet =
true;
226 m_streamGroupArn = std::forward<StreamGroupArnT>(value);
228 template <
typename StreamGroupArnT = Aws::String>
245 template <
typename ApplicationArnT = Aws::String>
247 m_applicationArnHasBeenSet =
true;
248 m_applicationArn = std::forward<ApplicationArnT>(value);
250 template <
typename ApplicationArnT = Aws::String>
264 m_protocolHasBeenSet =
true;
283 template <
typename LocationsT = Aws::Vector<Aws::String>>
285 m_locationsHasBeenSet =
true;
286 m_locations = std::forward<LocationsT>(value);
288 template <
typename LocationsT = Aws::Vector<Aws::String>>
293 template <
typename LocationsT = Aws::String>
295 m_locationsHasBeenSet =
true;
296 m_locations.emplace_back(std::forward<LocationsT>(value));
308 m_sessionLengthSecondsHasBeenSet =
true;
309 m_sessionLengthSeconds = value;
322 template <
typename DescriptionT = Aws::String>
324 m_descriptionHasBeenSet =
true;
325 m_description = std::forward<DescriptionT>(value);
327 template <
typename DescriptionT = Aws::String>
340 template <
typename AdditionalLaunchArgsT = Aws::Vector<Aws::String>>
342 m_additionalLaunchArgsHasBeenSet =
true;
343 m_additionalLaunchArgs = std::forward<AdditionalLaunchArgsT>(value);
345 template <
typename AdditionalLaunchArgsT = Aws::Vector<Aws::String>>
350 template <
typename AdditionalLaunchArgsT = Aws::String>
352 m_additionalLaunchArgsHasBeenSet =
true;
353 m_additionalLaunchArgs.emplace_back(std::forward<AdditionalLaunchArgsT>(value));
364 template <
typename AdditionalEnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
366 m_additionalEnvironmentVariablesHasBeenSet =
true;
367 m_additionalEnvironmentVariables = std::forward<AdditionalEnvironmentVariablesT>(value);
369 template <
typename AdditionalEnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
374 template <
typename AdditionalEnvironmentVariablesKeyT = Aws::String,
typename AdditionalEnvironmentVariablesValueT = Aws::String>
376 AdditionalEnvironmentVariablesValueT&& value) {
377 m_additionalEnvironmentVariablesHasBeenSet =
true;
378 m_additionalEnvironmentVariables.emplace(std::forward<AdditionalEnvironmentVariablesKeyT>(key),
379 std::forward<AdditionalEnvironmentVariablesValueT>(value));
394 template <
typename RoleArnT = Aws::String>
396 m_roleArnHasBeenSet =
true;
397 m_roleArn = std::forward<RoleArnT>(value);
399 template <
typename RoleArnT = Aws::String>
412 template <
typename DisplayConfigurationT = DisplayConfiguration>
414 m_displayConfigurationHasBeenSet =
true;
415 m_displayConfiguration = std::forward<DisplayConfigurationT>(value);
417 template <
typename DisplayConfigurationT = DisplayConfiguration>
427 template <
typename RequestIdT = Aws::String>
429 m_requestIdHasBeenSet =
true;
430 m_requestId = std::forward<RequestIdT>(value);
432 template <
typename RequestIdT = Aws::String>
457 int m_remainingUses{0};
467 int m_sessionLengthSeconds{0};
477 DisplayConfiguration m_displayConfiguration;
481 bool m_arnHasBeenSet =
false;
482 bool m_streamUrlIdHasBeenSet =
false;
483 bool m_streamUrlHasBeenSet =
false;
484 bool m_statusHasBeenSet =
false;
485 bool m_statusReasonHasBeenSet =
false;
486 bool m_expiresAtHasBeenSet =
false;
487 bool m_createdAtHasBeenSet =
false;
488 bool m_usageLimitHasBeenSet =
false;
489 bool m_remainingUsesHasBeenSet =
false;
490 bool m_streamGroupArnHasBeenSet =
false;
491 bool m_applicationArnHasBeenSet =
false;
492 bool m_protocolHasBeenSet =
false;
493 bool m_locationsHasBeenSet =
false;
494 bool m_sessionLengthSecondsHasBeenSet =
false;
495 bool m_descriptionHasBeenSet =
false;
496 bool m_additionalLaunchArgsHasBeenSet =
false;
497 bool m_additionalEnvironmentVariablesHasBeenSet =
false;
498 bool m_roleArnHasBeenSet =
false;
499 bool m_displayConfigurationHasBeenSet =
false;
500 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetStreamUrl() const
const Aws::Vector< Aws::String > & GetAdditionalLaunchArgs() const
const Aws::String & GetStreamGroupArn() const
void SetApplicationArn(ApplicationArnT &&value)
void SetStatusReason(StreamUrlStatusReason value)
CreateStreamUrlResult & WithDescription(DescriptionT &&value)
CreateStreamUrlResult & WithLocations(LocationsT &&value)
CreateStreamUrlResult & WithProtocol(Protocol value)
int GetRemainingUses() const
CreateStreamUrlResult & WithStreamUrlId(StreamUrlIdT &&value)
void SetLocations(LocationsT &&value)
const Aws::String & GetArn() const
CreateStreamUrlResult & WithStreamGroupArn(StreamGroupArnT &&value)
void SetRequestId(RequestIdT &&value)
CreateStreamUrlResult & WithStatusReason(StreamUrlStatusReason value)
void SetProtocol(Protocol value)
const Aws::Utils::DateTime & GetExpiresAt() const
void SetAdditionalEnvironmentVariables(AdditionalEnvironmentVariablesT &&value)
const Aws::String & GetDescription() const
void SetStatus(StreamUrlStatus value)
void SetRemainingUses(int value)
void SetStreamUrl(StreamUrlT &&value)
AWS_GAMELIFTSTREAMS_API CreateStreamUrlResult()=default
AWS_GAMELIFTSTREAMS_API CreateStreamUrlResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateStreamUrlResult & WithStreamUrl(StreamUrlT &&value)
const Aws::String & GetApplicationArn() const
void SetStreamGroupArn(StreamGroupArnT &&value)
Protocol GetProtocol() const
CreateStreamUrlResult & WithRemainingUses(int value)
AWS_GAMELIFTSTREAMS_API CreateStreamUrlResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StreamUrlStatus GetStatus() const
const Aws::String & GetStreamUrlId() const
void SetRoleArn(RoleArnT &&value)
void SetArn(ArnT &&value)
void SetExpiresAt(ExpiresAtT &&value)
CreateStreamUrlResult & WithCreatedAt(CreatedAtT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< Aws::String > & GetLocations() const
const Aws::String & GetRoleArn() const
const Aws::String & GetRequestId() const
int GetSessionLengthSeconds() const
CreateStreamUrlResult & WithSessionLengthSeconds(int value)
CreateStreamUrlResult & AddAdditionalEnvironmentVariables(AdditionalEnvironmentVariablesKeyT &&key, AdditionalEnvironmentVariablesValueT &&value)
CreateStreamUrlResult & WithApplicationArn(ApplicationArnT &&value)
CreateStreamUrlResult & WithRoleArn(RoleArnT &&value)
CreateStreamUrlResult & WithAdditionalEnvironmentVariables(AdditionalEnvironmentVariablesT &&value)
CreateStreamUrlResult & WithExpiresAt(ExpiresAtT &&value)
void SetDescription(DescriptionT &&value)
StreamUrlStatusReason GetStatusReason() const
CreateStreamUrlResult & WithStatus(StreamUrlStatus value)
void SetAdditionalLaunchArgs(AdditionalLaunchArgsT &&value)
int GetUsageLimit() const
void SetDisplayConfiguration(DisplayConfigurationT &&value)
CreateStreamUrlResult & WithRequestId(RequestIdT &&value)
CreateStreamUrlResult & WithDisplayConfiguration(DisplayConfigurationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEnvironmentVariables() const
void SetStreamUrlId(StreamUrlIdT &&value)
CreateStreamUrlResult & WithArn(ArnT &&value)
const DisplayConfiguration & GetDisplayConfiguration() const
void SetSessionLengthSeconds(int value)
CreateStreamUrlResult & AddAdditionalLaunchArgs(AdditionalLaunchArgsT &&value)
CreateStreamUrlResult & WithAdditionalLaunchArgs(AdditionalLaunchArgsT &&value)
void SetUsageLimit(int value)
CreateStreamUrlResult & WithUsageLimit(int value)
const Aws::Utils::DateTime & GetCreatedAt() const
CreateStreamUrlResult & AddLocations(LocationsT &&value)
void SetCreatedAt(CreatedAtT &&value)
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
Aws::Utils::Json::JsonValue JsonValue