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/StreamSessionSummary.h>
16#include <aws/gameliftstreams/model/StreamUrlStatus.h>
17#include <aws/gameliftstreams/model/StreamUrlStatusReason.h>
22template <
typename RESULT_TYPE>
23class AmazonWebServiceResult;
30namespace GameLiftStreams {
48 template <
typename ArnT = Aws::String>
50 m_arnHasBeenSet =
true;
51 m_arn = std::forward<ArnT>(value);
53 template <
typename ArnT = Aws::String>
55 SetArn(std::forward<ArnT>(value));
66 template <
typename StreamUrlIdT = Aws::String>
68 m_streamUrlIdHasBeenSet =
true;
69 m_streamUrlId = std::forward<StreamUrlIdT>(value);
71 template <
typename StreamUrlIdT = Aws::String>
86 template <
typename StreamUrlT = Aws::String>
88 m_streamUrlHasBeenSet =
true;
89 m_streamUrl = std::forward<StreamUrlT>(value);
91 template <
typename StreamUrlT = Aws::String>
111 m_statusHasBeenSet =
true;
136 m_statusReasonHasBeenSet =
true;
137 m_statusReason = value;
152 template <
typename ExpiresAtT = Aws::Utils::DateTime>
154 m_expiresAtHasBeenSet =
true;
155 m_expiresAt = std::forward<ExpiresAtT>(value);
157 template <
typename ExpiresAtT = Aws::Utils::DateTime>
171 template <
typename CreatedAtT = Aws::Utils::DateTime>
173 m_createdAtHasBeenSet =
true;
174 m_createdAt = std::forward<CreatedAtT>(value);
176 template <
typename CreatedAtT = Aws::Utils::DateTime>
189 m_usageLimitHasBeenSet =
true;
190 m_usageLimit = value;
205 m_remainingUsesHasBeenSet =
true;
206 m_remainingUses = value;
224 template <
typename StreamGroupArnT = Aws::String>
226 m_streamGroupArnHasBeenSet =
true;
227 m_streamGroupArn = std::forward<StreamGroupArnT>(value);
229 template <
typename StreamGroupArnT = Aws::String>
246 template <
typename ApplicationArnT = Aws::String>
248 m_applicationArnHasBeenSet =
true;
249 m_applicationArn = std::forward<ApplicationArnT>(value);
251 template <
typename ApplicationArnT = Aws::String>
265 m_protocolHasBeenSet =
true;
284 template <
typename LocationsT = Aws::Vector<Aws::String>>
286 m_locationsHasBeenSet =
true;
287 m_locations = std::forward<LocationsT>(value);
289 template <
typename LocationsT = Aws::Vector<Aws::String>>
294 template <
typename LocationsT = Aws::String>
296 m_locationsHasBeenSet =
true;
297 m_locations.emplace_back(std::forward<LocationsT>(value));
309 m_sessionLengthSecondsHasBeenSet =
true;
310 m_sessionLengthSeconds = value;
323 template <
typename DescriptionT = Aws::String>
325 m_descriptionHasBeenSet =
true;
326 m_description = std::forward<DescriptionT>(value);
328 template <
typename DescriptionT = Aws::String>
341 template <
typename AdditionalLaunchArgsT = Aws::Vector<Aws::String>>
343 m_additionalLaunchArgsHasBeenSet =
true;
344 m_additionalLaunchArgs = std::forward<AdditionalLaunchArgsT>(value);
346 template <
typename AdditionalLaunchArgsT = Aws::Vector<Aws::String>>
351 template <
typename AdditionalLaunchArgsT = Aws::String>
353 m_additionalLaunchArgsHasBeenSet =
true;
354 m_additionalLaunchArgs.emplace_back(std::forward<AdditionalLaunchArgsT>(value));
365 template <
typename AdditionalEnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
367 m_additionalEnvironmentVariablesHasBeenSet =
true;
368 m_additionalEnvironmentVariables = std::forward<AdditionalEnvironmentVariablesT>(value);
370 template <
typename AdditionalEnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
375 template <
typename AdditionalEnvironmentVariablesKeyT = Aws::String,
typename AdditionalEnvironmentVariablesValueT = Aws::String>
377 AdditionalEnvironmentVariablesValueT&& value) {
378 m_additionalEnvironmentVariablesHasBeenSet =
true;
379 m_additionalEnvironmentVariables.emplace(std::forward<AdditionalEnvironmentVariablesKeyT>(key),
380 std::forward<AdditionalEnvironmentVariablesValueT>(value));
395 template <
typename RoleArnT = Aws::String>
397 m_roleArnHasBeenSet =
true;
398 m_roleArn = std::forward<RoleArnT>(value);
400 template <
typename RoleArnT = Aws::String>
413 template <
typename DisplayConfigurationT = DisplayConfiguration>
415 m_displayConfigurationHasBeenSet =
true;
416 m_displayConfiguration = std::forward<DisplayConfigurationT>(value);
418 template <
typename DisplayConfigurationT = DisplayConfiguration>
431 template <
typename StreamSessionsT = Aws::Vector<StreamSessionSummary>>
433 m_streamSessionsHasBeenSet =
true;
434 m_streamSessions = std::forward<StreamSessionsT>(value);
436 template <
typename StreamSessionsT = Aws::Vector<StreamSessionSummary>>
441 template <
typename StreamSessionsT = StreamSessionSummary>
443 m_streamSessionsHasBeenSet =
true;
444 m_streamSessions.emplace_back(std::forward<StreamSessionsT>(value));
452 template <
typename RequestIdT = Aws::String>
454 m_requestIdHasBeenSet =
true;
455 m_requestId = std::forward<RequestIdT>(value);
457 template <
typename RequestIdT = Aws::String>
482 int m_remainingUses{0};
492 int m_sessionLengthSeconds{0};
502 DisplayConfiguration m_displayConfiguration;
508 bool m_arnHasBeenSet =
false;
509 bool m_streamUrlIdHasBeenSet =
false;
510 bool m_streamUrlHasBeenSet =
false;
511 bool m_statusHasBeenSet =
false;
512 bool m_statusReasonHasBeenSet =
false;
513 bool m_expiresAtHasBeenSet =
false;
514 bool m_createdAtHasBeenSet =
false;
515 bool m_usageLimitHasBeenSet =
false;
516 bool m_remainingUsesHasBeenSet =
false;
517 bool m_streamGroupArnHasBeenSet =
false;
518 bool m_applicationArnHasBeenSet =
false;
519 bool m_protocolHasBeenSet =
false;
520 bool m_locationsHasBeenSet =
false;
521 bool m_sessionLengthSecondsHasBeenSet =
false;
522 bool m_descriptionHasBeenSet =
false;
523 bool m_additionalLaunchArgsHasBeenSet =
false;
524 bool m_additionalEnvironmentVariablesHasBeenSet =
false;
525 bool m_roleArnHasBeenSet =
false;
526 bool m_displayConfigurationHasBeenSet =
false;
527 bool m_streamSessionsHasBeenSet =
false;
528 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
void SetApplicationArn(ApplicationArnT &&value)
GetStreamUrlResult & WithStreamUrl(StreamUrlT &&value)
void SetStreamGroupArn(StreamGroupArnT &&value)
void SetExpiresAt(ExpiresAtT &&value)
const Aws::String & GetApplicationArn() const
void SetRequestId(RequestIdT &&value)
void SetProtocol(Protocol value)
const Aws::String & GetDescription() const
GetStreamUrlResult & WithArn(ArnT &&value)
const Aws::String & GetStreamUrl() const
void SetArn(ArnT &&value)
GetStreamUrlResult & AddStreamSessions(StreamSessionsT &&value)
void SetSessionLengthSeconds(int value)
GetStreamUrlResult & WithApplicationArn(ApplicationArnT &&value)
void SetRemainingUses(int value)
void SetCreatedAt(CreatedAtT &&value)
GetStreamUrlResult & WithStreamUrlId(StreamUrlIdT &&value)
void SetAdditionalEnvironmentVariables(AdditionalEnvironmentVariablesT &&value)
AWS_GAMELIFTSTREAMS_API GetStreamUrlResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Utils::DateTime & GetExpiresAt() const
GetStreamUrlResult & WithDisplayConfiguration(DisplayConfigurationT &&value)
void SetDisplayConfiguration(DisplayConfigurationT &&value)
GetStreamUrlResult & WithDescription(DescriptionT &&value)
Protocol GetProtocol() const
GetStreamUrlResult & WithRoleArn(RoleArnT &&value)
void SetStreamUrlId(StreamUrlIdT &&value)
int GetUsageLimit() const
GetStreamUrlResult & WithLocations(LocationsT &&value)
GetStreamUrlResult & WithRemainingUses(int value)
const Aws::String & GetArn() const
GetStreamUrlResult & WithAdditionalEnvironmentVariables(AdditionalEnvironmentVariablesT &&value)
void SetStreamSessions(StreamSessionsT &&value)
void SetStatus(StreamUrlStatus value)
void SetDescription(DescriptionT &&value)
GetStreamUrlResult & AddLocations(LocationsT &&value)
GetStreamUrlResult & WithUsageLimit(int value)
void SetRoleArn(RoleArnT &&value)
void SetStreamUrl(StreamUrlT &&value)
const Aws::String & GetStreamUrlId() const
StreamUrlStatus GetStatus() const
void SetLocations(LocationsT &&value)
GetStreamUrlResult & WithAdditionalLaunchArgs(AdditionalLaunchArgsT &&value)
GetStreamUrlResult & WithStatus(StreamUrlStatus value)
void SetAdditionalLaunchArgs(AdditionalLaunchArgsT &&value)
void SetUsageLimit(int value)
const Aws::String & GetRoleArn() const
GetStreamUrlResult & WithRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEnvironmentVariables() const
const Aws::Vector< StreamSessionSummary > & GetStreamSessions() const
int GetRemainingUses() const
int GetSessionLengthSeconds() const
GetStreamUrlResult & WithExpiresAt(ExpiresAtT &&value)
AWS_GAMELIFTSTREAMS_API GetStreamUrlResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetStreamUrlResult & WithStatusReason(StreamUrlStatusReason value)
GetStreamUrlResult & WithProtocol(Protocol value)
const Aws::String & GetStreamGroupArn() const
GetStreamUrlResult & WithSessionLengthSeconds(int value)
const Aws::Vector< Aws::String > & GetLocations() const
void SetStatusReason(StreamUrlStatusReason value)
StreamUrlStatusReason GetStatusReason() const
AWS_GAMELIFTSTREAMS_API GetStreamUrlResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetStreamUrlResult & AddAdditionalEnvironmentVariables(AdditionalEnvironmentVariablesKeyT &&key, AdditionalEnvironmentVariablesValueT &&value)
GetStreamUrlResult & AddAdditionalLaunchArgs(AdditionalLaunchArgsT &&value)
GetStreamUrlResult & WithStreamSessions(StreamSessionsT &&value)
const Aws::Vector< Aws::String > & GetAdditionalLaunchArgs() const
const Aws::Utils::DateTime & GetCreatedAt() const
const DisplayConfiguration & GetDisplayConfiguration() const
GetStreamUrlResult & WithCreatedAt(CreatedAtT &&value)
GetStreamUrlResult & WithStreamGroupArn(StreamGroupArnT &&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