7#include <aws/ivs/IVS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ivs/model/StreamHealth.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/ivs/model/StreamState.h>
52 inline void SetChannelArn(
const char* value) { m_channelArnHasBeenSet =
true; m_channelArn.assign(value); }
79 inline void SetPlaybackUrl(
const char* value) { m_playbackUrlHasBeenSet =
true; m_playbackUrl.assign(value); }
121 inline void SetStreamId(
const char* value) { m_streamIdHasBeenSet =
true; m_streamId.assign(value); }
137 inline void SetViewerCount(
long long value) { m_viewerCountHasBeenSet =
true; m_viewerCount = value; }
143 bool m_channelArnHasBeenSet =
false;
146 bool m_healthHasBeenSet =
false;
149 bool m_playbackUrlHasBeenSet =
false;
152 bool m_startTimeHasBeenSet =
false;
155 bool m_stateHasBeenSet =
false;
158 bool m_streamIdHasBeenSet =
false;
160 long long m_viewerCount;
161 bool m_viewerCountHasBeenSet =
false;
Stream & WithPlaybackUrl(const Aws::String &value)
void SetHealth(StreamHealth &&value)
const Aws::String & GetStreamId() const
Stream & WithHealth(const StreamHealth &value)
const Aws::String & GetPlaybackUrl() const
AWS_IVS_API Stream & operator=(Aws::Utils::Json::JsonView jsonValue)
Stream & WithViewerCount(long long value)
Stream & WithState(StreamState &&value)
void SetChannelArn(const Aws::String &value)
Stream & WithChannelArn(const char *value)
Stream & WithChannelArn(Aws::String &&value)
void SetStreamId(const char *value)
Stream & WithStartTime(Aws::Utils::DateTime &&value)
void SetPlaybackUrl(const char *value)
void SetPlaybackUrl(const Aws::String &value)
void SetChannelArn(Aws::String &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
bool StateHasBeenSet() const
AWS_IVS_API Stream(Aws::Utils::Json::JsonView jsonValue)
bool StartTimeHasBeenSet() const
void SetStreamId(const Aws::String &value)
void SetStartTime(Aws::Utils::DateTime &&value)
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
bool StreamIdHasBeenSet() const
Stream & WithStreamId(const char *value)
Stream & WithChannelArn(const Aws::String &value)
Stream & WithStreamId(const Aws::String &value)
Stream & WithPlaybackUrl(const char *value)
bool ViewerCountHasBeenSet() const
Stream & WithStreamId(Aws::String &&value)
void SetViewerCount(long long value)
void SetHealth(const StreamHealth &value)
void SetStreamId(Aws::String &&value)
const Aws::String & GetChannelArn() const
const StreamHealth & GetHealth() const
Stream & WithHealth(StreamHealth &&value)
bool HealthHasBeenSet() const
Stream & WithState(const StreamState &value)
void SetState(StreamState &&value)
long long GetViewerCount() const
const StreamState & GetState() const
Stream & WithPlaybackUrl(Aws::String &&value)
void SetState(const StreamState &value)
bool ChannelArnHasBeenSet() const
void SetChannelArn(const char *value)
void SetPlaybackUrl(Aws::String &&value)
Stream & WithStartTime(const Aws::Utils::DateTime &value)
bool PlaybackUrlHasBeenSet() const
const Aws::Utils::DateTime & GetStartTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue