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/ExportFilesMetadata.h>
14#include <aws/gameliftstreams/model/PerformanceStatsConfiguration.h>
15#include <aws/gameliftstreams/model/Protocol.h>
16#include <aws/gameliftstreams/model/StreamSessionStatus.h>
17#include <aws/gameliftstreams/model/StreamSessionStatusReason.h>
22template <
typename RESULT_TYPE>
23class AmazonWebServiceResult;
30namespace GameLiftStreams {
49 template <
typename ArnT = Aws::String>
51 m_arnHasBeenSet =
true;
52 m_arn = std::forward<ArnT>(value);
54 template <
typename ArnT = Aws::String>
56 SetArn(std::forward<ArnT>(value));
67 template <
typename DescriptionT = Aws::String>
69 m_descriptionHasBeenSet =
true;
70 m_description = std::forward<DescriptionT>(value);
72 template <
typename DescriptionT = Aws::String>
85 template <
typename StreamGroupIdT = Aws::String>
87 m_streamGroupIdHasBeenSet =
true;
88 m_streamGroupId = std::forward<StreamGroupIdT>(value);
90 template <
typename StreamGroupIdT = Aws::String>
102 template <
typename UserIdT = Aws::String>
104 m_userIdHasBeenSet =
true;
105 m_userId = std::forward<UserIdT>(value);
107 template <
typename UserIdT = Aws::String>
146 m_statusHasBeenSet =
true;
190 m_statusReasonHasBeenSet =
true;
191 m_statusReason = value;
205 m_protocolHasBeenSet =
true;
224 template <
typename LocationT = Aws::String>
226 m_locationHasBeenSet =
true;
227 m_location = std::forward<LocationT>(value);
229 template <
typename LocationT = Aws::String>
242 template <
typename SignalRequestT = Aws::String>
244 m_signalRequestHasBeenSet =
true;
245 m_signalRequest = std::forward<SignalRequestT>(value);
247 template <
typename SignalRequestT = Aws::String>
260 template <
typename SignalResponseT = Aws::String>
262 m_signalResponseHasBeenSet =
true;
263 m_signalResponse = std::forward<SignalResponseT>(value);
265 template <
typename SignalResponseT = Aws::String>
283 m_connectionTimeoutSecondsHasBeenSet =
true;
284 m_connectionTimeoutSeconds = value;
300 m_sessionLengthSecondsHasBeenSet =
true;
301 m_sessionLengthSeconds = value;
322 template <
typename AdditionalLaunchArgsT = Aws::Vector<Aws::String>>
324 m_additionalLaunchArgsHasBeenSet =
true;
325 m_additionalLaunchArgs = std::forward<AdditionalLaunchArgsT>(value);
327 template <
typename AdditionalLaunchArgsT = Aws::Vector<Aws::String>>
332 template <
typename AdditionalLaunchArgsT = Aws::String>
334 m_additionalLaunchArgsHasBeenSet =
true;
335 m_additionalLaunchArgs.emplace_back(std::forward<AdditionalLaunchArgsT>(value));
357 template <
typename AdditionalEnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
359 m_additionalEnvironmentVariablesHasBeenSet =
true;
360 m_additionalEnvironmentVariables = std::forward<AdditionalEnvironmentVariablesT>(value);
362 template <
typename AdditionalEnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
367 template <
typename AdditionalEnvironmentVariablesKeyT = Aws::String,
typename AdditionalEnvironmentVariablesValueT = Aws::String>
369 AdditionalEnvironmentVariablesValueT&& value) {
370 m_additionalEnvironmentVariablesHasBeenSet =
true;
371 m_additionalEnvironmentVariables.emplace(std::forward<AdditionalEnvironmentVariablesKeyT>(key),
372 std::forward<AdditionalEnvironmentVariablesValueT>(value));
382 template <
typename PerformanceStatsConfigurationT = PerformanceStatsConfiguration>
384 m_performanceStatsConfigurationHasBeenSet =
true;
385 m_performanceStatsConfiguration = std::forward<PerformanceStatsConfigurationT>(value);
387 template <
typename PerformanceStatsConfigurationT = PerformanceStatsConfiguration>
402 template <
typename LogFileLocationUriT = Aws::String>
404 m_logFileLocationUriHasBeenSet =
true;
405 m_logFileLocationUri = std::forward<LogFileLocationUriT>(value);
407 template <
typename LogFileLocationUriT = Aws::String>
420 template <
typename WebSdkProtocolUrlT = Aws::String>
422 m_webSdkProtocolUrlHasBeenSet =
true;
423 m_webSdkProtocolUrl = std::forward<WebSdkProtocolUrlT>(value);
425 template <
typename WebSdkProtocolUrlT = Aws::String>
439 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
441 m_lastUpdatedAtHasBeenSet =
true;
442 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
444 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
458 template <
typename CreatedAtT = Aws::Utils::DateTime>
460 m_createdAtHasBeenSet =
true;
461 m_createdAt = std::forward<CreatedAtT>(value);
463 template <
typename CreatedAtT = Aws::Utils::DateTime>
480 template <
typename ApplicationArnT = Aws::String>
482 m_applicationArnHasBeenSet =
true;
483 m_applicationArn = std::forward<ApplicationArnT>(value);
485 template <
typename ApplicationArnT = Aws::String>
497 template <
typename ExportFilesMetadataT = ExportFilesMetadata>
499 m_exportFilesMetadataHasBeenSet =
true;
500 m_exportFilesMetadata = std::forward<ExportFilesMetadataT>(value);
502 template <
typename ExportFilesMetadataT = ExportFilesMetadata>
512 template <
typename RequestIdT = Aws::String>
514 m_requestIdHasBeenSet =
true;
515 m_requestId = std::forward<RequestIdT>(value);
517 template <
typename RequestIdT = Aws::String>
546 int m_connectionTimeoutSeconds{0};
548 int m_sessionLengthSeconds{0};
554 PerformanceStatsConfiguration m_performanceStatsConfiguration;
566 ExportFilesMetadata m_exportFilesMetadata;
570 bool m_arnHasBeenSet =
false;
571 bool m_descriptionHasBeenSet =
false;
572 bool m_streamGroupIdHasBeenSet =
false;
573 bool m_userIdHasBeenSet =
false;
574 bool m_statusHasBeenSet =
false;
575 bool m_statusReasonHasBeenSet =
false;
576 bool m_protocolHasBeenSet =
false;
577 bool m_locationHasBeenSet =
false;
578 bool m_signalRequestHasBeenSet =
false;
579 bool m_signalResponseHasBeenSet =
false;
580 bool m_connectionTimeoutSecondsHasBeenSet =
false;
581 bool m_sessionLengthSecondsHasBeenSet =
false;
582 bool m_additionalLaunchArgsHasBeenSet =
false;
583 bool m_additionalEnvironmentVariablesHasBeenSet =
false;
584 bool m_performanceStatsConfigurationHasBeenSet =
false;
585 bool m_logFileLocationUriHasBeenSet =
false;
586 bool m_webSdkProtocolUrlHasBeenSet =
false;
587 bool m_lastUpdatedAtHasBeenSet =
false;
588 bool m_createdAtHasBeenSet =
false;
589 bool m_applicationArnHasBeenSet =
false;
590 bool m_exportFilesMetadataHasBeenSet =
false;
591 bool m_requestIdHasBeenSet =
false;
AWS_GAMELIFTSTREAMS_API StartStreamSessionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetExportFilesMetadata(ExportFilesMetadataT &&value)
void SetLogFileLocationUri(LogFileLocationUriT &&value)
const Aws::String & GetSignalRequest() const
int GetSessionLengthSeconds() const
StartStreamSessionResult & WithStatus(StreamSessionStatus value)
StartStreamSessionResult & WithCreatedAt(CreatedAtT &&value)
void SetRequestId(RequestIdT &&value)
void SetConnectionTimeoutSeconds(int value)
StartStreamSessionResult & WithUserId(UserIdT &&value)
StartStreamSessionResult & WithWebSdkProtocolUrl(WebSdkProtocolUrlT &&value)
const Aws::String & GetLogFileLocationUri() const
const Aws::String & GetStreamGroupId() const
int GetConnectionTimeoutSeconds() const
AWS_GAMELIFTSTREAMS_API StartStreamSessionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartStreamSessionResult & WithSignalResponse(SignalResponseT &&value)
StartStreamSessionResult & WithArn(ArnT &&value)
void SetProtocol(Protocol value)
void SetStatus(StreamSessionStatus value)
StreamSessionStatus GetStatus() const
const Aws::String & GetLocation() const
StreamSessionStatusReason GetStatusReason() const
void SetAdditionalEnvironmentVariables(AdditionalEnvironmentVariablesT &&value)
StartStreamSessionResult & WithLogFileLocationUri(LogFileLocationUriT &&value)
void SetLocation(LocationT &&value)
void SetAdditionalLaunchArgs(AdditionalLaunchArgsT &&value)
void SetPerformanceStatsConfiguration(PerformanceStatsConfigurationT &&value)
StartStreamSessionResult & WithRequestId(RequestIdT &&value)
void SetWebSdkProtocolUrl(WebSdkProtocolUrlT &&value)
const Aws::String & GetRequestId() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
StartStreamSessionResult & WithExportFilesMetadata(ExportFilesMetadataT &&value)
void SetSignalRequest(SignalRequestT &&value)
StartStreamSessionResult & WithConnectionTimeoutSeconds(int value)
StartStreamSessionResult & WithStreamGroupId(StreamGroupIdT &&value)
StartStreamSessionResult & WithSignalRequest(SignalRequestT &&value)
StartStreamSessionResult & AddAdditionalEnvironmentVariables(AdditionalEnvironmentVariablesKeyT &&key, AdditionalEnvironmentVariablesValueT &&value)
StartStreamSessionResult & WithSessionLengthSeconds(int value)
void SetSessionLengthSeconds(int value)
StartStreamSessionResult & WithApplicationArn(ApplicationArnT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetDescription() const
StartStreamSessionResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
void SetStreamGroupId(StreamGroupIdT &&value)
StartStreamSessionResult & WithStatusReason(StreamSessionStatusReason value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetWebSdkProtocolUrl() const
StartStreamSessionResult & WithAdditionalEnvironmentVariables(AdditionalEnvironmentVariablesT &&value)
void SetArn(ArnT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetSignalResponse() const
const Aws::String & GetUserId() const
AWS_GAMELIFTSTREAMS_API StartStreamSessionResult()=default
StartStreamSessionResult & AddAdditionalLaunchArgs(AdditionalLaunchArgsT &&value)
void SetStatusReason(StreamSessionStatusReason value)
void SetApplicationArn(ApplicationArnT &&value)
StartStreamSessionResult & WithPerformanceStatsConfiguration(PerformanceStatsConfigurationT &&value)
const PerformanceStatsConfiguration & GetPerformanceStatsConfiguration() const
void SetUserId(UserIdT &&value)
StartStreamSessionResult & WithAdditionalLaunchArgs(AdditionalLaunchArgsT &&value)
StartStreamSessionResult & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
const Aws::String & GetArn() const
const ExportFilesMetadata & GetExportFilesMetadata() const
void SetSignalResponse(SignalResponseT &&value)
const Aws::Vector< Aws::String > & GetAdditionalLaunchArgs() const
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEnvironmentVariables() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
Protocol GetProtocol() const
StartStreamSessionResult & WithLocation(LocationT &&value)
StartStreamSessionResult & WithProtocol(Protocol value)
const Aws::String & GetApplicationArn() const
StreamSessionStatusReason
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