/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Summary information about a stream session.See Also:
AWS
* API Reference
Time when the channel went offline. This is an ISO 8601 timestamp; note
* that this is returned as a string. For live streams, this is
* NULL
.
Time when the channel went offline. This is an ISO 8601 timestamp; note
* that this is returned as a string. For live streams, this is
* NULL
.
Time when the channel went offline. This is an ISO 8601 timestamp; note
* that this is returned as a string. For live streams, this is
* NULL
.
Time when the channel went offline. This is an ISO 8601 timestamp; note
* that this is returned as a string. For live streams, this is
* NULL
.
Time when the channel went offline. This is an ISO 8601 timestamp; note
* that this is returned as a string. For live streams, this is
* NULL
.
Time when the channel went offline. This is an ISO 8601 timestamp; note
* that this is returned as a string. For live streams, this is
* NULL
.
If true
, this stream encountered a quota breach or failure.
If true
, this stream encountered a quota breach or failure.
If true
, this stream encountered a quota breach or failure.
If true
, this stream encountered a quota breach or failure.
Time when the channel went live. This is an ISO 8601 timestamp; note that * this is returned as a string.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *Time when the channel went live. This is an ISO 8601 timestamp; note that * this is returned as a string.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *Time when the channel went live. This is an ISO 8601 timestamp; note that * this is returned as a string.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *Time when the channel went live. This is an ISO 8601 timestamp; note that * this is returned as a string.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *Time when the channel went live. This is an ISO 8601 timestamp; note that * this is returned as a string.
*/ inline StreamSessionSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *Time when the channel went live. This is an ISO 8601 timestamp; note that * this is returned as a string.
*/ inline StreamSessionSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *Unique identifier for a live or previously live stream in the specified * channel.
*/ inline const Aws::String& GetStreamId() const{ return m_streamId; } /** *Unique identifier for a live or previously live stream in the specified * channel.
*/ inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; } /** *Unique identifier for a live or previously live stream in the specified * channel.
*/ inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; } /** *Unique identifier for a live or previously live stream in the specified * channel.
*/ inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); } /** *Unique identifier for a live or previously live stream in the specified * channel.
*/ inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); } /** *Unique identifier for a live or previously live stream in the specified * channel.
*/ inline StreamSessionSummary& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;} /** *Unique identifier for a live or previously live stream in the specified * channel.
*/ inline StreamSessionSummary& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;} /** *Unique identifier for a live or previously live stream in the specified * channel.
*/ inline StreamSessionSummary& WithStreamId(const char* value) { SetStreamId(value); return *this;} private: Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; bool m_hasErrorEvent; bool m_hasErrorEventHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::String m_streamId; bool m_streamIdHasBeenSet = false; }; } // namespace Model } // namespace IVS } // namespace Aws