AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StreamSessionSummary.h
1
6#pragma once
7#include <aws/ivs/IVS_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.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 IVS
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IVS_API StreamSessionSummary();
39
40
42
47 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
48 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
49 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
50 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
51 inline StreamSessionSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
52 inline StreamSessionSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
54
56
59 inline bool GetHasErrorEvent() const{ return m_hasErrorEvent; }
60 inline bool HasErrorEventHasBeenSet() const { return m_hasErrorEventHasBeenSet; }
61 inline void SetHasErrorEvent(bool value) { m_hasErrorEventHasBeenSet = true; m_hasErrorEvent = value; }
62 inline StreamSessionSummary& WithHasErrorEvent(bool value) { SetHasErrorEvent(value); return *this;}
64
66
70 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
71 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
72 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
73 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
74 inline StreamSessionSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
75 inline StreamSessionSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
77
79
83 inline const Aws::String& GetStreamId() const{ return m_streamId; }
84 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
85 inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; }
86 inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); }
87 inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); }
88 inline StreamSessionSummary& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
89 inline StreamSessionSummary& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
90 inline StreamSessionSummary& WithStreamId(const char* value) { SetStreamId(value); return *this;}
92 private:
93
94 Aws::Utils::DateTime m_endTime;
95 bool m_endTimeHasBeenSet = false;
96
97 bool m_hasErrorEvent;
98 bool m_hasErrorEventHasBeenSet = false;
99
100 Aws::Utils::DateTime m_startTime;
101 bool m_startTimeHasBeenSet = false;
102
103 Aws::String m_streamId;
104 bool m_streamIdHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace IVS
109} // namespace Aws
const Aws::Utils::DateTime & GetStartTime() const
StreamSessionSummary & WithStreamId(const Aws::String &value)
StreamSessionSummary & WithEndTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEndTime() const
void SetEndTime(Aws::Utils::DateTime &&value)
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
StreamSessionSummary & WithHasErrorEvent(bool value)
StreamSessionSummary & WithStartTime(Aws::Utils::DateTime &&value)
StreamSessionSummary & WithStreamId(Aws::String &&value)
const Aws::String & GetStreamId() const
void SetEndTime(const Aws::Utils::DateTime &value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
AWS_IVS_API StreamSessionSummary(Aws::Utils::Json::JsonView jsonValue)
StreamSessionSummary & WithEndTime(Aws::Utils::DateTime &&value)
AWS_IVS_API StreamSessionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
StreamSessionSummary & WithStreamId(const char *value)
void SetStreamId(const Aws::String &value)
StreamSessionSummary & WithStartTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue