7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
10#include <aws/gameliftstreams/model/StreamUrlStatus.h>
11#include <aws/gameliftstreams/model/StreamUrlStatusReason.h>
22namespace GameLiftStreams {
52 template <
typename ArnT = Aws::String>
54 m_arnHasBeenSet =
true;
55 m_arn = std::forward<ArnT>(value);
57 template <
typename ArnT = Aws::String>
59 SetArn(std::forward<ArnT>(value));
71 template <
typename StreamUrlIdT = Aws::String>
73 m_streamUrlIdHasBeenSet =
true;
74 m_streamUrlId = std::forward<StreamUrlIdT>(value);
76 template <
typename StreamUrlIdT = Aws::String>
92 template <
typename StreamUrlT = Aws::String>
94 m_streamUrlHasBeenSet =
true;
95 m_streamUrl = std::forward<StreamUrlT>(value);
97 template <
typename StreamUrlT = Aws::String>
118 m_statusHasBeenSet =
true;
144 m_statusReasonHasBeenSet =
true;
145 m_statusReason = value;
161 template <
typename ExpiresAtT = Aws::Utils::DateTime>
163 m_expiresAtHasBeenSet =
true;
164 m_expiresAt = std::forward<ExpiresAtT>(value);
166 template <
typename ExpiresAtT = Aws::Utils::DateTime>
181 template <
typename CreatedAtT = Aws::Utils::DateTime>
183 m_createdAtHasBeenSet =
true;
184 m_createdAt = std::forward<CreatedAtT>(value);
186 template <
typename CreatedAtT = Aws::Utils::DateTime>
200 m_usageLimitHasBeenSet =
true;
201 m_usageLimit = value;
217 m_remainingUsesHasBeenSet =
true;
218 m_remainingUses = value;
237 template <
typename StreamGroupArnT = Aws::String>
239 m_streamGroupArnHasBeenSet =
true;
240 m_streamGroupArn = std::forward<StreamGroupArnT>(value);
242 template <
typename StreamGroupArnT = Aws::String>
260 template <
typename ApplicationArnT = Aws::String>
262 m_applicationArnHasBeenSet =
true;
263 m_applicationArn = std::forward<ApplicationArnT>(value);
265 template <
typename ApplicationArnT = Aws::String>
280 m_sessionLengthSecondsHasBeenSet =
true;
281 m_sessionLengthSeconds = value;
295 template <
typename DescriptionT = Aws::String>
297 m_descriptionHasBeenSet =
true;
298 m_description = std::forward<DescriptionT>(value);
300 template <
typename DescriptionT = Aws::String>
323 int m_remainingUses{0};
329 int m_sessionLengthSeconds{0};
332 bool m_arnHasBeenSet =
false;
333 bool m_streamUrlIdHasBeenSet =
false;
334 bool m_streamUrlHasBeenSet =
false;
335 bool m_statusHasBeenSet =
false;
336 bool m_statusReasonHasBeenSet =
false;
337 bool m_expiresAtHasBeenSet =
false;
338 bool m_createdAtHasBeenSet =
false;
339 bool m_usageLimitHasBeenSet =
false;
340 bool m_remainingUsesHasBeenSet =
false;
341 bool m_streamGroupArnHasBeenSet =
false;
342 bool m_applicationArnHasBeenSet =
false;
343 bool m_sessionLengthSecondsHasBeenSet =
false;
344 bool m_descriptionHasBeenSet =
false;
bool DescriptionHasBeenSet() const
StreamUrlSummary & WithStreamUrlId(StreamUrlIdT &&value)
void SetExpiresAt(ExpiresAtT &&value)
bool ExpiresAtHasBeenSet() const
StreamUrlStatusReason GetStatusReason() const
bool UsageLimitHasBeenSet() const
StreamUrlSummary & WithDescription(DescriptionT &&value)
bool StatusReasonHasBeenSet() const
bool StreamGroupArnHasBeenSet() const
void SetStreamGroupArn(StreamGroupArnT &&value)
AWS_GAMELIFTSTREAMS_API StreamUrlSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
StreamUrlSummary & WithArn(ArnT &&value)
const Aws::String & GetStreamGroupArn() const
int GetUsageLimit() const
bool SessionLengthSecondsHasBeenSet() const
StreamUrlSummary & WithUsageLimit(int value)
bool RemainingUsesHasBeenSet() const
int GetSessionLengthSeconds() const
AWS_GAMELIFTSTREAMS_API StreamUrlSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFTSTREAMS_API StreamUrlSummary()=default
int GetRemainingUses() const
StreamUrlSummary & WithApplicationArn(ApplicationArnT &&value)
bool StatusHasBeenSet() const
const Aws::Utils::DateTime & GetExpiresAt() const
const Aws::String & GetApplicationArn() const
const Aws::String & GetStreamUrlId() const
void SetCreatedAt(CreatedAtT &&value)
bool StreamUrlHasBeenSet() const
void SetStreamUrl(StreamUrlT &&value)
StreamUrlSummary & WithStreamUrl(StreamUrlT &&value)
void SetApplicationArn(ApplicationArnT &&value)
void SetRemainingUses(int value)
const Aws::Utils::DateTime & GetCreatedAt() const
StreamUrlSummary & WithCreatedAt(CreatedAtT &&value)
StreamUrlSummary & WithExpiresAt(ExpiresAtT &&value)
StreamUrlSummary & WithSessionLengthSeconds(int value)
StreamUrlSummary & WithRemainingUses(int value)
const Aws::String & GetStreamUrl() const
void SetStatusReason(StreamUrlStatusReason value)
void SetArn(ArnT &&value)
const Aws::String & GetDescription() const
AWS_GAMELIFTSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const
bool CreatedAtHasBeenSet() const
bool ApplicationArnHasBeenSet() const
void SetUsageLimit(int value)
void SetStatus(StreamUrlStatus value)
StreamUrlSummary & WithStreamGroupArn(StreamGroupArnT &&value)
StreamUrlStatus GetStatus() const
void SetSessionLengthSeconds(int value)
void SetStreamUrlId(StreamUrlIdT &&value)
bool StreamUrlIdHasBeenSet() const
StreamUrlSummary & WithStatus(StreamUrlStatus value)
void SetDescription(DescriptionT &&value)
bool ArnHasBeenSet() const
StreamUrlSummary & WithStatusReason(StreamUrlStatusReason value)
const Aws::String & GetArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue