/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Summary information about a stream.See Also:
AWS
* API Reference
Channel ARN for the stream.
*/ inline const Aws::String& GetChannelArn() const{ return m_channelArn; } /** *Channel ARN for the stream.
*/ inline bool ChannelArnHasBeenSet() const { return m_channelArnHasBeenSet; } /** *Channel ARN for the stream.
*/ inline void SetChannelArn(const Aws::String& value) { m_channelArnHasBeenSet = true; m_channelArn = value; } /** *Channel ARN for the stream.
*/ inline void SetChannelArn(Aws::String&& value) { m_channelArnHasBeenSet = true; m_channelArn = std::move(value); } /** *Channel ARN for the stream.
*/ inline void SetChannelArn(const char* value) { m_channelArnHasBeenSet = true; m_channelArn.assign(value); } /** *Channel ARN for the stream.
*/ inline StreamSummary& WithChannelArn(const Aws::String& value) { SetChannelArn(value); return *this;} /** *Channel ARN for the stream.
*/ inline StreamSummary& WithChannelArn(Aws::String&& value) { SetChannelArn(std::move(value)); return *this;} /** *Channel ARN for the stream.
*/ inline StreamSummary& WithChannelArn(const char* value) { SetChannelArn(value); return *this;} /** *The stream’s state.
*/ inline const StreamState& GetState() const{ return m_state; } /** *The stream’s state.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The stream’s state.
*/ inline void SetState(const StreamState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The stream’s state.
*/ inline void SetState(StreamState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The stream’s state.
*/ inline StreamSummary& WithState(const StreamState& value) { SetState(value); return *this;} /** *The stream’s state.
*/ inline StreamSummary& WithState(StreamState&& value) { SetState(std::move(value)); return *this;} /** *The stream’s health.
*/ inline const StreamHealth& GetHealth() const{ return m_health; } /** *The stream’s health.
*/ inline bool HealthHasBeenSet() const { return m_healthHasBeenSet; } /** *The stream’s health.
*/ inline void SetHealth(const StreamHealth& value) { m_healthHasBeenSet = true; m_health = value; } /** *The stream’s health.
*/ inline void SetHealth(StreamHealth&& value) { m_healthHasBeenSet = true; m_health = std::move(value); } /** *The stream’s health.
*/ inline StreamSummary& WithHealth(const StreamHealth& value) { SetHealth(value); return *this;} /** *The stream’s health.
*/ inline StreamSummary& WithHealth(StreamHealth&& value) { SetHealth(std::move(value)); return *this;} /** *Number of current viewers of the stream.
*/ inline long long GetViewerCount() const{ return m_viewerCount; } /** *Number of current viewers of the stream.
*/ inline bool ViewerCountHasBeenSet() const { return m_viewerCountHasBeenSet; } /** *Number of current viewers of the stream.
*/ inline void SetViewerCount(long long value) { m_viewerCountHasBeenSet = true; m_viewerCount = value; } /** *Number of current viewers of the stream.
*/ inline StreamSummary& WithViewerCount(long long value) { SetViewerCount(value); return *this;} /** *ISO-8601 formatted timestamp of the stream’s start.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *ISO-8601 formatted timestamp of the stream’s start.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *ISO-8601 formatted timestamp of the stream’s start.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *ISO-8601 formatted timestamp of the stream’s start.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *ISO-8601 formatted timestamp of the stream’s start.
*/ inline StreamSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *ISO-8601 formatted timestamp of the stream’s start.
*/ inline StreamSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} private: Aws::String m_channelArn; bool m_channelArnHasBeenSet; StreamState m_state; bool m_stateHasBeenSet; StreamHealth m_health; bool m_healthHasBeenSet; long long m_viewerCount; bool m_viewerCountHasBeenSet; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet; }; } // namespace Model } // namespace IVS } // namespace Aws