/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This object includes the stream returned by your StartLiveTail
* request.See Also:
AWS
* API Reference
This object contains information about this Live Tail session, including the * log groups included and the log stream filters, if any.
*/ inline const LiveTailSessionStart& GetSessionStart() const{ return m_sessionStart; } /** *This object contains information about this Live Tail session, including the * log groups included and the log stream filters, if any.
*/ inline bool SessionStartHasBeenSet() const { return m_sessionStartHasBeenSet; } /** *This object contains information about this Live Tail session, including the * log groups included and the log stream filters, if any.
*/ inline void SetSessionStart(const LiveTailSessionStart& value) { m_sessionStartHasBeenSet = true; m_sessionStart = value; } /** *This object contains information about this Live Tail session, including the * log groups included and the log stream filters, if any.
*/ inline void SetSessionStart(LiveTailSessionStart&& value) { m_sessionStartHasBeenSet = true; m_sessionStart = std::move(value); } /** *This object contains information about this Live Tail session, including the * log groups included and the log stream filters, if any.
*/ inline StartLiveTailResponseStream& WithSessionStart(const LiveTailSessionStart& value) { SetSessionStart(value); return *this;} /** *This object contains information about this Live Tail session, including the * log groups included and the log stream filters, if any.
*/ inline StartLiveTailResponseStream& WithSessionStart(LiveTailSessionStart&& value) { SetSessionStart(std::move(value)); return *this;} /** *This object contains the log events and session metadata.
*/ inline const LiveTailSessionUpdate& GetSessionUpdate() const{ return m_sessionUpdate; } /** *This object contains the log events and session metadata.
*/ inline bool SessionUpdateHasBeenSet() const { return m_sessionUpdateHasBeenSet; } /** *This object contains the log events and session metadata.
*/ inline void SetSessionUpdate(const LiveTailSessionUpdate& value) { m_sessionUpdateHasBeenSet = true; m_sessionUpdate = value; } /** *This object contains the log events and session metadata.
*/ inline void SetSessionUpdate(LiveTailSessionUpdate&& value) { m_sessionUpdateHasBeenSet = true; m_sessionUpdate = std::move(value); } /** *This object contains the log events and session metadata.
*/ inline StartLiveTailResponseStream& WithSessionUpdate(const LiveTailSessionUpdate& value) { SetSessionUpdate(value); return *this;} /** *This object contains the log events and session metadata.
*/ inline StartLiveTailResponseStream& WithSessionUpdate(LiveTailSessionUpdate&& value) { SetSessionUpdate(std::move(value)); return *this;} /** *This exception is returned in the stream when the Live Tail session times * out. Live Tail sessions time out after three hours.
*/ inline const SessionTimeoutException& GetSessionTimeoutException() const{ return m_sessionTimeoutException; } /** *This exception is returned in the stream when the Live Tail session times * out. Live Tail sessions time out after three hours.
*/ inline bool SessionTimeoutExceptionHasBeenSet() const { return m_sessionTimeoutExceptionHasBeenSet; } /** *This exception is returned in the stream when the Live Tail session times * out. Live Tail sessions time out after three hours.
*/ inline void SetSessionTimeoutException(const SessionTimeoutException& value) { m_sessionTimeoutExceptionHasBeenSet = true; m_sessionTimeoutException = value; } /** *This exception is returned in the stream when the Live Tail session times * out. Live Tail sessions time out after three hours.
*/ inline void SetSessionTimeoutException(SessionTimeoutException&& value) { m_sessionTimeoutExceptionHasBeenSet = true; m_sessionTimeoutException = std::move(value); } /** *This exception is returned in the stream when the Live Tail session times * out. Live Tail sessions time out after three hours.
*/ inline StartLiveTailResponseStream& WithSessionTimeoutException(const SessionTimeoutException& value) { SetSessionTimeoutException(value); return *this;} /** *This exception is returned in the stream when the Live Tail session times * out. Live Tail sessions time out after three hours.
*/ inline StartLiveTailResponseStream& WithSessionTimeoutException(SessionTimeoutException&& value) { SetSessionTimeoutException(std::move(value)); return *this;} /** *This exception is returned if an unknown error occurs.
*/ inline const SessionStreamingException& GetSessionStreamingException() const{ return m_sessionStreamingException; } /** *This exception is returned if an unknown error occurs.
*/ inline bool SessionStreamingExceptionHasBeenSet() const { return m_sessionStreamingExceptionHasBeenSet; } /** *This exception is returned if an unknown error occurs.
*/ inline void SetSessionStreamingException(const SessionStreamingException& value) { m_sessionStreamingExceptionHasBeenSet = true; m_sessionStreamingException = value; } /** *This exception is returned if an unknown error occurs.
*/ inline void SetSessionStreamingException(SessionStreamingException&& value) { m_sessionStreamingExceptionHasBeenSet = true; m_sessionStreamingException = std::move(value); } /** *This exception is returned if an unknown error occurs.
*/ inline StartLiveTailResponseStream& WithSessionStreamingException(const SessionStreamingException& value) { SetSessionStreamingException(value); return *this;} /** *This exception is returned if an unknown error occurs.
*/ inline StartLiveTailResponseStream& WithSessionStreamingException(SessionStreamingException&& value) { SetSessionStreamingException(std::move(value)); return *this;} private: LiveTailSessionStart m_sessionStart; bool m_sessionStartHasBeenSet = false; LiveTailSessionUpdate m_sessionUpdate; bool m_sessionUpdateHasBeenSet = false; SessionTimeoutException m_sessionTimeoutException; bool m_sessionTimeoutExceptionHasBeenSet = false; SessionStreamingException m_sessionStreamingException; bool m_sessionStreamingExceptionHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchLogs } // namespace Aws