AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StartLiveTailResponseStream.h
1
6#pragma once
7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/model/LiveTailSessionStart.h>
9#include <aws/logs/model/LiveTailSessionUpdate.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 StartLiveTailResponseStream() = default;
40 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const LiveTailSessionStart& GetSessionStart() const { return m_sessionStart; }
49 inline bool SessionStartHasBeenSet() const { return m_sessionStartHasBeenSet; }
50 template<typename SessionStartT = LiveTailSessionStart>
51 void SetSessionStart(SessionStartT&& value) { m_sessionStartHasBeenSet = true; m_sessionStart = std::forward<SessionStartT>(value); }
52 template<typename SessionStartT = LiveTailSessionStart>
53 StartLiveTailResponseStream& WithSessionStart(SessionStartT&& value) { SetSessionStart(std::forward<SessionStartT>(value)); return *this;}
55
57
60 inline const LiveTailSessionUpdate& GetSessionUpdate() const { return m_sessionUpdate; }
61 inline bool SessionUpdateHasBeenSet() const { return m_sessionUpdateHasBeenSet; }
62 template<typename SessionUpdateT = LiveTailSessionUpdate>
63 void SetSessionUpdate(SessionUpdateT&& value) { m_sessionUpdateHasBeenSet = true; m_sessionUpdate = std::forward<SessionUpdateT>(value); }
64 template<typename SessionUpdateT = LiveTailSessionUpdate>
65 StartLiveTailResponseStream& WithSessionUpdate(SessionUpdateT&& value) { SetSessionUpdate(std::forward<SessionUpdateT>(value)); return *this;}
67
69
73 inline const CloudWatchLogsError& GetSessionTimeoutException() const { return m_sessionTimeoutException; }
74 inline bool SessionTimeoutExceptionHasBeenSet() const { return m_sessionTimeoutExceptionHasBeenSet; }
75 template<typename SessionTimeoutExceptionT = CloudWatchLogsError>
76 void SetSessionTimeoutException(SessionTimeoutExceptionT&& value) { m_sessionTimeoutExceptionHasBeenSet = true; m_sessionTimeoutException = std::forward<SessionTimeoutExceptionT>(value); }
77 template<typename SessionTimeoutExceptionT = CloudWatchLogsError>
78 StartLiveTailResponseStream& WithSessionTimeoutException(SessionTimeoutExceptionT&& value) { SetSessionTimeoutException(std::forward<SessionTimeoutExceptionT>(value)); return *this;}
80
82
85 inline const CloudWatchLogsError& GetSessionStreamingException() const { return m_sessionStreamingException; }
86 inline bool SessionStreamingExceptionHasBeenSet() const { return m_sessionStreamingExceptionHasBeenSet; }
87 template<typename SessionStreamingExceptionT = CloudWatchLogsError>
88 void SetSessionStreamingException(SessionStreamingExceptionT&& value) { m_sessionStreamingExceptionHasBeenSet = true; m_sessionStreamingException = std::forward<SessionStreamingExceptionT>(value); }
89 template<typename SessionStreamingExceptionT = CloudWatchLogsError>
90 StartLiveTailResponseStream& WithSessionStreamingException(SessionStreamingExceptionT&& value) { SetSessionStreamingException(std::forward<SessionStreamingExceptionT>(value)); return *this;}
92 private:
93
94 LiveTailSessionStart m_sessionStart;
95 bool m_sessionStartHasBeenSet = false;
96
97 LiveTailSessionUpdate m_sessionUpdate;
98 bool m_sessionUpdateHasBeenSet = false;
99
100 CloudWatchLogsError m_sessionTimeoutException;
101 bool m_sessionTimeoutExceptionHasBeenSet = false;
102
103 CloudWatchLogsError m_sessionStreamingException;
104 bool m_sessionStreamingExceptionHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace CloudWatchLogs
109} // namespace Aws
void SetSessionStreamingException(SessionStreamingExceptionT &&value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDWATCHLOGS_API StartLiveTailResponseStream()=default
StartLiveTailResponseStream & WithSessionStart(SessionStartT &&value)
StartLiveTailResponseStream & WithSessionUpdate(SessionUpdateT &&value)
AWS_CLOUDWATCHLOGS_API StartLiveTailResponseStream & operator=(Aws::Utils::Json::JsonView jsonValue)
StartLiveTailResponseStream & WithSessionStreamingException(SessionStreamingExceptionT &&value)
AWS_CLOUDWATCHLOGS_API StartLiveTailResponseStream(Aws::Utils::Json::JsonView jsonValue)
StartLiveTailResponseStream & WithSessionTimeoutException(SessionTimeoutExceptionT &&value)
Aws::Utils::Json::JsonValue JsonValue