/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This object contains information about this Live Tail session, including the
* log groups included and the log stream filters, if any.See Also:
* AWS
* API Reference
The unique ID generated by CloudWatch Logs to identify this Live Tail session * request.
*/ inline const Aws::String& GetRequestId() const{ return m_requestId; } /** *The unique ID generated by CloudWatch Logs to identify this Live Tail session * request.
*/ inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; } /** *The unique ID generated by CloudWatch Logs to identify this Live Tail session * request.
*/ inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; } /** *The unique ID generated by CloudWatch Logs to identify this Live Tail session * request.
*/ inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); } /** *The unique ID generated by CloudWatch Logs to identify this Live Tail session * request.
*/ inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); } /** *The unique ID generated by CloudWatch Logs to identify this Live Tail session * request.
*/ inline LiveTailSessionStart& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} /** *The unique ID generated by CloudWatch Logs to identify this Live Tail session * request.
*/ inline LiveTailSessionStart& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} /** *The unique ID generated by CloudWatch Logs to identify this Live Tail session * request.
*/ inline LiveTailSessionStart& WithRequestId(const char* value) { SetRequestId(value); return *this;} /** *The unique ID generated by CloudWatch Logs to identify this Live Tail * session.
*/ inline const Aws::String& GetSessionId() const{ return m_sessionId; } /** *The unique ID generated by CloudWatch Logs to identify this Live Tail * session.
*/ inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; } /** *The unique ID generated by CloudWatch Logs to identify this Live Tail * session.
*/ inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; } /** *The unique ID generated by CloudWatch Logs to identify this Live Tail * session.
*/ inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); } /** *The unique ID generated by CloudWatch Logs to identify this Live Tail * session.
*/ inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); } /** *The unique ID generated by CloudWatch Logs to identify this Live Tail * session.
*/ inline LiveTailSessionStart& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} /** *The unique ID generated by CloudWatch Logs to identify this Live Tail * session.
*/ inline LiveTailSessionStart& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} /** *The unique ID generated by CloudWatch Logs to identify this Live Tail * session.
*/ inline LiveTailSessionStart& WithSessionId(const char* value) { SetSessionId(value); return *this;} /** *An array of the names and ARNs of the log groups included in this Live Tail * session.
*/ inline const Aws::VectorAn array of the names and ARNs of the log groups included in this Live Tail * session.
*/ inline bool LogGroupIdentifiersHasBeenSet() const { return m_logGroupIdentifiersHasBeenSet; } /** *An array of the names and ARNs of the log groups included in this Live Tail * session.
*/ inline void SetLogGroupIdentifiers(const Aws::VectorAn array of the names and ARNs of the log groups included in this Live Tail * session.
*/ inline void SetLogGroupIdentifiers(Aws::VectorAn array of the names and ARNs of the log groups included in this Live Tail * session.
*/ inline LiveTailSessionStart& WithLogGroupIdentifiers(const Aws::VectorAn array of the names and ARNs of the log groups included in this Live Tail * session.
*/ inline LiveTailSessionStart& WithLogGroupIdentifiers(Aws::VectorAn array of the names and ARNs of the log groups included in this Live Tail * session.
*/ inline LiveTailSessionStart& AddLogGroupIdentifiers(const Aws::String& value) { m_logGroupIdentifiersHasBeenSet = true; m_logGroupIdentifiers.push_back(value); return *this; } /** *An array of the names and ARNs of the log groups included in this Live Tail * session.
*/ inline LiveTailSessionStart& AddLogGroupIdentifiers(Aws::String&& value) { m_logGroupIdentifiersHasBeenSet = true; m_logGroupIdentifiers.push_back(std::move(value)); return *this; } /** *An array of the names and ARNs of the log groups included in this Live Tail * session.
*/ inline LiveTailSessionStart& AddLogGroupIdentifiers(const char* value) { m_logGroupIdentifiersHasBeenSet = true; m_logGroupIdentifiers.push_back(value); return *this; } /** *If your StartLiveTail operation request included a
* logStreamNames
parameter that filtered the session to only include
* certain log streams, these streams are listed here.
If your StartLiveTail operation request included a
* logStreamNames
parameter that filtered the session to only include
* certain log streams, these streams are listed here.
If your StartLiveTail operation request included a
* logStreamNames
parameter that filtered the session to only include
* certain log streams, these streams are listed here.
If your StartLiveTail operation request included a
* logStreamNames
parameter that filtered the session to only include
* certain log streams, these streams are listed here.
If your StartLiveTail operation request included a
* logStreamNames
parameter that filtered the session to only include
* certain log streams, these streams are listed here.
If your StartLiveTail operation request included a
* logStreamNames
parameter that filtered the session to only include
* certain log streams, these streams are listed here.
If your StartLiveTail operation request included a
* logStreamNames
parameter that filtered the session to only include
* certain log streams, these streams are listed here.
If your StartLiveTail operation request included a
* logStreamNames
parameter that filtered the session to only include
* certain log streams, these streams are listed here.
If your StartLiveTail operation request included a
* logStreamNames
parameter that filtered the session to only include
* certain log streams, these streams are listed here.
If your StartLiveTail operation request included a
* logStreamNamePrefixes
parameter that filtered the session to only
* include log streams that have names that start with certain prefixes, these
* prefixes are listed here.
If your StartLiveTail operation request included a
* logStreamNamePrefixes
parameter that filtered the session to only
* include log streams that have names that start with certain prefixes, these
* prefixes are listed here.
If your StartLiveTail operation request included a
* logStreamNamePrefixes
parameter that filtered the session to only
* include log streams that have names that start with certain prefixes, these
* prefixes are listed here.
If your StartLiveTail operation request included a
* logStreamNamePrefixes
parameter that filtered the session to only
* include log streams that have names that start with certain prefixes, these
* prefixes are listed here.
If your StartLiveTail operation request included a
* logStreamNamePrefixes
parameter that filtered the session to only
* include log streams that have names that start with certain prefixes, these
* prefixes are listed here.
If your StartLiveTail operation request included a
* logStreamNamePrefixes
parameter that filtered the session to only
* include log streams that have names that start with certain prefixes, these
* prefixes are listed here.
If your StartLiveTail operation request included a
* logStreamNamePrefixes
parameter that filtered the session to only
* include log streams that have names that start with certain prefixes, these
* prefixes are listed here.
If your StartLiveTail operation request included a
* logStreamNamePrefixes
parameter that filtered the session to only
* include log streams that have names that start with certain prefixes, these
* prefixes are listed here.
If your StartLiveTail operation request included a
* logStreamNamePrefixes
parameter that filtered the session to only
* include log streams that have names that start with certain prefixes, these
* prefixes are listed here.
An optional pattern to filter the results to include only log events that
* match the pattern. For example, a filter pattern of error 404
* displays only log events that include both error
and
* 404
.
For more information about filter pattern syntax, see * Filter * and Pattern Syntax.
*/ inline const Aws::String& GetLogEventFilterPattern() const{ return m_logEventFilterPattern; } /** *An optional pattern to filter the results to include only log events that
* match the pattern. For example, a filter pattern of error 404
* displays only log events that include both error
and
* 404
.
For more information about filter pattern syntax, see * Filter * and Pattern Syntax.
*/ inline bool LogEventFilterPatternHasBeenSet() const { return m_logEventFilterPatternHasBeenSet; } /** *An optional pattern to filter the results to include only log events that
* match the pattern. For example, a filter pattern of error 404
* displays only log events that include both error
and
* 404
.
For more information about filter pattern syntax, see * Filter * and Pattern Syntax.
*/ inline void SetLogEventFilterPattern(const Aws::String& value) { m_logEventFilterPatternHasBeenSet = true; m_logEventFilterPattern = value; } /** *An optional pattern to filter the results to include only log events that
* match the pattern. For example, a filter pattern of error 404
* displays only log events that include both error
and
* 404
.
For more information about filter pattern syntax, see * Filter * and Pattern Syntax.
*/ inline void SetLogEventFilterPattern(Aws::String&& value) { m_logEventFilterPatternHasBeenSet = true; m_logEventFilterPattern = std::move(value); } /** *An optional pattern to filter the results to include only log events that
* match the pattern. For example, a filter pattern of error 404
* displays only log events that include both error
and
* 404
.
For more information about filter pattern syntax, see * Filter * and Pattern Syntax.
*/ inline void SetLogEventFilterPattern(const char* value) { m_logEventFilterPatternHasBeenSet = true; m_logEventFilterPattern.assign(value); } /** *An optional pattern to filter the results to include only log events that
* match the pattern. For example, a filter pattern of error 404
* displays only log events that include both error
and
* 404
.
For more information about filter pattern syntax, see * Filter * and Pattern Syntax.
*/ inline LiveTailSessionStart& WithLogEventFilterPattern(const Aws::String& value) { SetLogEventFilterPattern(value); return *this;} /** *An optional pattern to filter the results to include only log events that
* match the pattern. For example, a filter pattern of error 404
* displays only log events that include both error
and
* 404
.
For more information about filter pattern syntax, see * Filter * and Pattern Syntax.
*/ inline LiveTailSessionStart& WithLogEventFilterPattern(Aws::String&& value) { SetLogEventFilterPattern(std::move(value)); return *this;} /** *An optional pattern to filter the results to include only log events that
* match the pattern. For example, a filter pattern of error 404
* displays only log events that include both error
and
* 404
.
For more information about filter pattern syntax, see * Filter * and Pattern Syntax.
*/ inline LiveTailSessionStart& WithLogEventFilterPattern(const char* value) { SetLogEventFilterPattern(value); return *this;} private: Aws::String m_requestId; bool m_requestIdHasBeenSet = false; Aws::String m_sessionId; bool m_sessionIdHasBeenSet = false; Aws::Vector