AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <aws/logs/model/SessionTimeoutException.h>
11#include <aws/logs/model/SessionStreamingException.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace CloudWatchLogs
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_CLOUDWATCHLOGS_API StartLiveTailResponseStream();
42 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const LiveTailSessionStart& GetSessionStart() const{ return m_sessionStart; }
51 inline bool SessionStartHasBeenSet() const { return m_sessionStartHasBeenSet; }
52 inline void SetSessionStart(const LiveTailSessionStart& value) { m_sessionStartHasBeenSet = true; m_sessionStart = value; }
53 inline void SetSessionStart(LiveTailSessionStart&& value) { m_sessionStartHasBeenSet = true; m_sessionStart = std::move(value); }
55 inline StartLiveTailResponseStream& WithSessionStart(LiveTailSessionStart&& value) { SetSessionStart(std::move(value)); return *this;}
57
59
62 inline const LiveTailSessionUpdate& GetSessionUpdate() const{ return m_sessionUpdate; }
63 inline bool SessionUpdateHasBeenSet() const { return m_sessionUpdateHasBeenSet; }
64 inline void SetSessionUpdate(const LiveTailSessionUpdate& value) { m_sessionUpdateHasBeenSet = true; m_sessionUpdate = value; }
65 inline void SetSessionUpdate(LiveTailSessionUpdate&& value) { m_sessionUpdateHasBeenSet = true; m_sessionUpdate = std::move(value); }
67 inline StartLiveTailResponseStream& WithSessionUpdate(LiveTailSessionUpdate&& value) { SetSessionUpdate(std::move(value)); return *this;}
69
71
75 inline const SessionTimeoutException& GetSessionTimeoutException() const{ return m_sessionTimeoutException; }
76 inline bool SessionTimeoutExceptionHasBeenSet() const { return m_sessionTimeoutExceptionHasBeenSet; }
77 inline void SetSessionTimeoutException(const SessionTimeoutException& value) { m_sessionTimeoutExceptionHasBeenSet = true; m_sessionTimeoutException = value; }
78 inline void SetSessionTimeoutException(SessionTimeoutException&& value) { m_sessionTimeoutExceptionHasBeenSet = true; m_sessionTimeoutException = std::move(value); }
79 inline StartLiveTailResponseStream& WithSessionTimeoutException(const SessionTimeoutException& value) { SetSessionTimeoutException(value); return *this;}
80 inline StartLiveTailResponseStream& WithSessionTimeoutException(SessionTimeoutException&& value) { SetSessionTimeoutException(std::move(value)); return *this;}
82
84
87 inline const SessionStreamingException& GetSessionStreamingException() const{ return m_sessionStreamingException; }
88 inline bool SessionStreamingExceptionHasBeenSet() const { return m_sessionStreamingExceptionHasBeenSet; }
89 inline void SetSessionStreamingException(const SessionStreamingException& value) { m_sessionStreamingExceptionHasBeenSet = true; m_sessionStreamingException = value; }
90 inline void SetSessionStreamingException(SessionStreamingException&& value) { m_sessionStreamingExceptionHasBeenSet = true; m_sessionStreamingException = std::move(value); }
91 inline StartLiveTailResponseStream& WithSessionStreamingException(const SessionStreamingException& value) { SetSessionStreamingException(value); return *this;}
92 inline StartLiveTailResponseStream& WithSessionStreamingException(SessionStreamingException&& value) { SetSessionStreamingException(std::move(value)); return *this;}
94 private:
95
96 LiveTailSessionStart m_sessionStart;
97 bool m_sessionStartHasBeenSet = false;
98
99 LiveTailSessionUpdate m_sessionUpdate;
100 bool m_sessionUpdateHasBeenSet = false;
101
102 SessionTimeoutException m_sessionTimeoutException;
103 bool m_sessionTimeoutExceptionHasBeenSet = false;
104
105 SessionStreamingException m_sessionStreamingException;
106 bool m_sessionStreamingExceptionHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace CloudWatchLogs
111} // namespace Aws
const SessionStreamingException & GetSessionStreamingException() const
StartLiveTailResponseStream & WithSessionTimeoutException(SessionTimeoutException &&value)
StartLiveTailResponseStream & WithSessionStart(LiveTailSessionStart &&value)
StartLiveTailResponseStream & WithSessionUpdate(LiveTailSessionUpdate &&value)
StartLiveTailResponseStream & WithSessionStreamingException(const SessionStreamingException &value)
StartLiveTailResponseStream & WithSessionStreamingException(SessionStreamingException &&value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
StartLiveTailResponseStream & WithSessionTimeoutException(const SessionTimeoutException &value)
void SetSessionStreamingException(SessionStreamingException &&value)
void SetSessionTimeoutException(const SessionTimeoutException &value)
const SessionTimeoutException & GetSessionTimeoutException() const
StartLiveTailResponseStream & WithSessionUpdate(const LiveTailSessionUpdate &value)
AWS_CLOUDWATCHLOGS_API StartLiveTailResponseStream & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSessionStreamingException(const SessionStreamingException &value)
StartLiveTailResponseStream & WithSessionStart(const LiveTailSessionStart &value)
AWS_CLOUDWATCHLOGS_API StartLiveTailResponseStream(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue