AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
51 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
52 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
53 inline LiveTailSessionStart& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
54 inline LiveTailSessionStart& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
55 inline LiveTailSessionStart& WithRequestId(const char* value) { SetRequestId(value); return *this;}
57
59
63 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
64 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
65 inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
66 inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
67 inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
68 inline LiveTailSessionStart& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
69 inline LiveTailSessionStart& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
70 inline LiveTailSessionStart& WithSessionId(const char* value) { SetSessionId(value); return *this;}
72
74
78 inline const Aws::Vector<Aws::String>& GetLogGroupIdentifiers() const{ return m_logGroupIdentifiers; }
79 inline bool LogGroupIdentifiersHasBeenSet() const { return m_logGroupIdentifiersHasBeenSet; }
80 inline void SetLogGroupIdentifiers(const Aws::Vector<Aws::String>& value) { m_logGroupIdentifiersHasBeenSet = true; m_logGroupIdentifiers = value; }
81 inline void SetLogGroupIdentifiers(Aws::Vector<Aws::String>&& value) { m_logGroupIdentifiersHasBeenSet = true; m_logGroupIdentifiers = std::move(value); }
84 inline LiveTailSessionStart& AddLogGroupIdentifiers(const Aws::String& value) { m_logGroupIdentifiersHasBeenSet = true; m_logGroupIdentifiers.push_back(value); return *this; }
85 inline LiveTailSessionStart& AddLogGroupIdentifiers(Aws::String&& value) { m_logGroupIdentifiersHasBeenSet = true; m_logGroupIdentifiers.push_back(std::move(value)); return *this; }
86 inline LiveTailSessionStart& AddLogGroupIdentifiers(const char* value) { m_logGroupIdentifiersHasBeenSet = true; m_logGroupIdentifiers.push_back(value); return *this; }
88
90
95 inline const Aws::Vector<Aws::String>& GetLogStreamNames() const{ return m_logStreamNames; }
96 inline bool LogStreamNamesHasBeenSet() const { return m_logStreamNamesHasBeenSet; }
97 inline void SetLogStreamNames(const Aws::Vector<Aws::String>& value) { m_logStreamNamesHasBeenSet = true; m_logStreamNames = value; }
98 inline void SetLogStreamNames(Aws::Vector<Aws::String>&& value) { m_logStreamNamesHasBeenSet = true; m_logStreamNames = std::move(value); }
100 inline LiveTailSessionStart& WithLogStreamNames(Aws::Vector<Aws::String>&& value) { SetLogStreamNames(std::move(value)); return *this;}
101 inline LiveTailSessionStart& AddLogStreamNames(const Aws::String& value) { m_logStreamNamesHasBeenSet = true; m_logStreamNames.push_back(value); return *this; }
102 inline LiveTailSessionStart& AddLogStreamNames(Aws::String&& value) { m_logStreamNamesHasBeenSet = true; m_logStreamNames.push_back(std::move(value)); return *this; }
103 inline LiveTailSessionStart& AddLogStreamNames(const char* value) { m_logStreamNamesHasBeenSet = true; m_logStreamNames.push_back(value); return *this; }
105
107
113 inline const Aws::Vector<Aws::String>& GetLogStreamNamePrefixes() const{ return m_logStreamNamePrefixes; }
114 inline bool LogStreamNamePrefixesHasBeenSet() const { return m_logStreamNamePrefixesHasBeenSet; }
115 inline void SetLogStreamNamePrefixes(const Aws::Vector<Aws::String>& value) { m_logStreamNamePrefixesHasBeenSet = true; m_logStreamNamePrefixes = value; }
116 inline void SetLogStreamNamePrefixes(Aws::Vector<Aws::String>&& value) { m_logStreamNamePrefixesHasBeenSet = true; m_logStreamNamePrefixes = std::move(value); }
119 inline LiveTailSessionStart& AddLogStreamNamePrefixes(const Aws::String& value) { m_logStreamNamePrefixesHasBeenSet = true; m_logStreamNamePrefixes.push_back(value); return *this; }
120 inline LiveTailSessionStart& AddLogStreamNamePrefixes(Aws::String&& value) { m_logStreamNamePrefixesHasBeenSet = true; m_logStreamNamePrefixes.push_back(std::move(value)); return *this; }
121 inline LiveTailSessionStart& AddLogStreamNamePrefixes(const char* value) { m_logStreamNamePrefixesHasBeenSet = true; m_logStreamNamePrefixes.push_back(value); return *this; }
123
125
134 inline const Aws::String& GetLogEventFilterPattern() const{ return m_logEventFilterPattern; }
135 inline bool LogEventFilterPatternHasBeenSet() const { return m_logEventFilterPatternHasBeenSet; }
136 inline void SetLogEventFilterPattern(const Aws::String& value) { m_logEventFilterPatternHasBeenSet = true; m_logEventFilterPattern = value; }
137 inline void SetLogEventFilterPattern(Aws::String&& value) { m_logEventFilterPatternHasBeenSet = true; m_logEventFilterPattern = std::move(value); }
138 inline void SetLogEventFilterPattern(const char* value) { m_logEventFilterPatternHasBeenSet = true; m_logEventFilterPattern.assign(value); }
140 inline LiveTailSessionStart& WithLogEventFilterPattern(Aws::String&& value) { SetLogEventFilterPattern(std::move(value)); return *this;}
141 inline LiveTailSessionStart& WithLogEventFilterPattern(const char* value) { SetLogEventFilterPattern(value); return *this;}
143 private:
144
145 Aws::String m_requestId;
146 bool m_requestIdHasBeenSet = false;
147
148 Aws::String m_sessionId;
149 bool m_sessionIdHasBeenSet = false;
150
151 Aws::Vector<Aws::String> m_logGroupIdentifiers;
152 bool m_logGroupIdentifiersHasBeenSet = false;
153
154 Aws::Vector<Aws::String> m_logStreamNames;
155 bool m_logStreamNamesHasBeenSet = false;
156
157 Aws::Vector<Aws::String> m_logStreamNamePrefixes;
158 bool m_logStreamNamePrefixesHasBeenSet = false;
159
160 Aws::String m_logEventFilterPattern;
161 bool m_logEventFilterPatternHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace CloudWatchLogs
166} // namespace Aws
LiveTailSessionStart & WithLogEventFilterPattern(const char *value)
LiveTailSessionStart & WithLogGroupIdentifiers(const Aws::Vector< Aws::String > &value)
LiveTailSessionStart & WithLogStreamNames(Aws::Vector< Aws::String > &&value)
LiveTailSessionStart & AddLogStreamNames(const Aws::String &value)
LiveTailSessionStart & AddLogStreamNamePrefixes(const Aws::String &value)
void SetLogStreamNames(Aws::Vector< Aws::String > &&value)
void SetLogStreamNamePrefixes(const Aws::Vector< Aws::String > &value)
void SetLogGroupIdentifiers(Aws::Vector< Aws::String > &&value)
LiveTailSessionStart & AddLogStreamNames(Aws::String &&value)
LiveTailSessionStart & WithRequestId(const Aws::String &value)
LiveTailSessionStart & WithLogStreamNames(const Aws::Vector< Aws::String > &value)
LiveTailSessionStart & AddLogStreamNamePrefixes(Aws::String &&value)
LiveTailSessionStart & WithLogStreamNamePrefixes(Aws::Vector< Aws::String > &&value)
void SetLogStreamNames(const Aws::Vector< Aws::String > &value)
void SetLogStreamNamePrefixes(Aws::Vector< Aws::String > &&value)
LiveTailSessionStart & AddLogGroupIdentifiers(Aws::String &&value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
LiveTailSessionStart & WithSessionId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetLogStreamNamePrefixes() const
LiveTailSessionStart & WithLogEventFilterPattern(const Aws::String &value)
AWS_CLOUDWATCHLOGS_API LiveTailSessionStart(Aws::Utils::Json::JsonView jsonValue)
LiveTailSessionStart & WithRequestId(Aws::String &&value)
LiveTailSessionStart & WithSessionId(const char *value)
LiveTailSessionStart & AddLogGroupIdentifiers(const Aws::String &value)
LiveTailSessionStart & WithRequestId(const char *value)
LiveTailSessionStart & AddLogGroupIdentifiers(const char *value)
AWS_CLOUDWATCHLOGS_API LiveTailSessionStart & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetLogGroupIdentifiers() const
LiveTailSessionStart & WithLogGroupIdentifiers(Aws::Vector< Aws::String > &&value)
LiveTailSessionStart & AddLogStreamNamePrefixes(const char *value)
void SetLogGroupIdentifiers(const Aws::Vector< Aws::String > &value)
LiveTailSessionStart & WithLogStreamNamePrefixes(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetLogStreamNames() const
LiveTailSessionStart & AddLogStreamNames(const char *value)
LiveTailSessionStart & WithSessionId(Aws::String &&value)
LiveTailSessionStart & WithLogEventFilterPattern(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue