AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
LiveTailSessionStart.h
1
6#pragma once
7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CloudWatchLogs
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_CLOUDWATCHLOGS_API LiveTailSessionStart() = default;
38 AWS_CLOUDWATCHLOGS_API LiveTailSessionStart(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDWATCHLOGS_API LiveTailSessionStart& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetRequestId() const { return m_requestId; }
49 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
50 template<typename RequestIdT = Aws::String>
51 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
52 template<typename RequestIdT = Aws::String>
53 LiveTailSessionStart& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
55
57
61 inline const Aws::String& GetSessionId() const { return m_sessionId; }
62 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
63 template<typename SessionIdT = Aws::String>
64 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::forward<SessionIdT>(value); }
65 template<typename SessionIdT = Aws::String>
66 LiveTailSessionStart& WithSessionId(SessionIdT&& value) { SetSessionId(std::forward<SessionIdT>(value)); return *this;}
68
70
74 inline const Aws::Vector<Aws::String>& GetLogGroupIdentifiers() const { return m_logGroupIdentifiers; }
75 inline bool LogGroupIdentifiersHasBeenSet() const { return m_logGroupIdentifiersHasBeenSet; }
76 template<typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
77 void SetLogGroupIdentifiers(LogGroupIdentifiersT&& value) { m_logGroupIdentifiersHasBeenSet = true; m_logGroupIdentifiers = std::forward<LogGroupIdentifiersT>(value); }
78 template<typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
79 LiveTailSessionStart& WithLogGroupIdentifiers(LogGroupIdentifiersT&& value) { SetLogGroupIdentifiers(std::forward<LogGroupIdentifiersT>(value)); return *this;}
80 template<typename LogGroupIdentifiersT = Aws::String>
81 LiveTailSessionStart& AddLogGroupIdentifiers(LogGroupIdentifiersT&& value) { m_logGroupIdentifiersHasBeenSet = true; m_logGroupIdentifiers.emplace_back(std::forward<LogGroupIdentifiersT>(value)); return *this; }
83
85
90 inline const Aws::Vector<Aws::String>& GetLogStreamNames() const { return m_logStreamNames; }
91 inline bool LogStreamNamesHasBeenSet() const { return m_logStreamNamesHasBeenSet; }
92 template<typename LogStreamNamesT = Aws::Vector<Aws::String>>
93 void SetLogStreamNames(LogStreamNamesT&& value) { m_logStreamNamesHasBeenSet = true; m_logStreamNames = std::forward<LogStreamNamesT>(value); }
94 template<typename LogStreamNamesT = Aws::Vector<Aws::String>>
95 LiveTailSessionStart& WithLogStreamNames(LogStreamNamesT&& value) { SetLogStreamNames(std::forward<LogStreamNamesT>(value)); return *this;}
96 template<typename LogStreamNamesT = Aws::String>
97 LiveTailSessionStart& AddLogStreamNames(LogStreamNamesT&& value) { m_logStreamNamesHasBeenSet = true; m_logStreamNames.emplace_back(std::forward<LogStreamNamesT>(value)); return *this; }
99
101
107 inline const Aws::Vector<Aws::String>& GetLogStreamNamePrefixes() const { return m_logStreamNamePrefixes; }
108 inline bool LogStreamNamePrefixesHasBeenSet() const { return m_logStreamNamePrefixesHasBeenSet; }
109 template<typename LogStreamNamePrefixesT = Aws::Vector<Aws::String>>
110 void SetLogStreamNamePrefixes(LogStreamNamePrefixesT&& value) { m_logStreamNamePrefixesHasBeenSet = true; m_logStreamNamePrefixes = std::forward<LogStreamNamePrefixesT>(value); }
111 template<typename LogStreamNamePrefixesT = Aws::Vector<Aws::String>>
112 LiveTailSessionStart& WithLogStreamNamePrefixes(LogStreamNamePrefixesT&& value) { SetLogStreamNamePrefixes(std::forward<LogStreamNamePrefixesT>(value)); return *this;}
113 template<typename LogStreamNamePrefixesT = Aws::String>
114 LiveTailSessionStart& AddLogStreamNamePrefixes(LogStreamNamePrefixesT&& value) { m_logStreamNamePrefixesHasBeenSet = true; m_logStreamNamePrefixes.emplace_back(std::forward<LogStreamNamePrefixesT>(value)); return *this; }
116
118
127 inline const Aws::String& GetLogEventFilterPattern() const { return m_logEventFilterPattern; }
128 inline bool LogEventFilterPatternHasBeenSet() const { return m_logEventFilterPatternHasBeenSet; }
129 template<typename LogEventFilterPatternT = Aws::String>
130 void SetLogEventFilterPattern(LogEventFilterPatternT&& value) { m_logEventFilterPatternHasBeenSet = true; m_logEventFilterPattern = std::forward<LogEventFilterPatternT>(value); }
131 template<typename LogEventFilterPatternT = Aws::String>
132 LiveTailSessionStart& WithLogEventFilterPattern(LogEventFilterPatternT&& value) { SetLogEventFilterPattern(std::forward<LogEventFilterPatternT>(value)); return *this;}
134 private:
135
136 Aws::String m_requestId;
137 bool m_requestIdHasBeenSet = false;
138
139 Aws::String m_sessionId;
140 bool m_sessionIdHasBeenSet = false;
141
142 Aws::Vector<Aws::String> m_logGroupIdentifiers;
143 bool m_logGroupIdentifiersHasBeenSet = false;
144
145 Aws::Vector<Aws::String> m_logStreamNames;
146 bool m_logStreamNamesHasBeenSet = false;
147
148 Aws::Vector<Aws::String> m_logStreamNamePrefixes;
149 bool m_logStreamNamePrefixesHasBeenSet = false;
150
151 Aws::String m_logEventFilterPattern;
152 bool m_logEventFilterPatternHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace CloudWatchLogs
157} // namespace Aws
LiveTailSessionStart & WithRequestId(RequestIdT &&value)
LiveTailSessionStart & WithLogGroupIdentifiers(LogGroupIdentifiersT &&value)
void SetLogStreamNamePrefixes(LogStreamNamePrefixesT &&value)
LiveTailSessionStart & WithLogStreamNamePrefixes(LogStreamNamePrefixesT &&value)
LiveTailSessionStart & WithLogEventFilterPattern(LogEventFilterPatternT &&value)
LiveTailSessionStart & AddLogStreamNamePrefixes(LogStreamNamePrefixesT &&value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetLogStreamNamePrefixes() const
AWS_CLOUDWATCHLOGS_API LiveTailSessionStart(Aws::Utils::Json::JsonView jsonValue)
LiveTailSessionStart & AddLogGroupIdentifiers(LogGroupIdentifiersT &&value)
LiveTailSessionStart & WithLogStreamNames(LogStreamNamesT &&value)
AWS_CLOUDWATCHLOGS_API LiveTailSessionStart()=default
void SetLogGroupIdentifiers(LogGroupIdentifiersT &&value)
AWS_CLOUDWATCHLOGS_API LiveTailSessionStart & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetLogGroupIdentifiers() const
LiveTailSessionStart & AddLogStreamNames(LogStreamNamesT &&value)
LiveTailSessionStart & WithSessionId(SessionIdT &&value)
void SetLogEventFilterPattern(LogEventFilterPatternT &&value)
const Aws::Vector< Aws::String > & GetLogStreamNames() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue