AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EdgeAgentStatus.h
1
6#pragma once
7#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
8#include <aws/kinesisvideo/model/LastRecorderStatus.h>
9#include <aws/kinesisvideo/model/LastUploaderStatus.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 KinesisVideo
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_KINESISVIDEO_API EdgeAgentStatus() = default;
38 AWS_KINESISVIDEO_API EdgeAgentStatus(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISVIDEO_API EdgeAgentStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const LastRecorderStatus& GetLastRecorderStatus() const { return m_lastRecorderStatus; }
48 inline bool LastRecorderStatusHasBeenSet() const { return m_lastRecorderStatusHasBeenSet; }
49 template<typename LastRecorderStatusT = LastRecorderStatus>
50 void SetLastRecorderStatus(LastRecorderStatusT&& value) { m_lastRecorderStatusHasBeenSet = true; m_lastRecorderStatus = std::forward<LastRecorderStatusT>(value); }
51 template<typename LastRecorderStatusT = LastRecorderStatus>
52 EdgeAgentStatus& WithLastRecorderStatus(LastRecorderStatusT&& value) { SetLastRecorderStatus(std::forward<LastRecorderStatusT>(value)); return *this;}
54
56
59 inline const LastUploaderStatus& GetLastUploaderStatus() const { return m_lastUploaderStatus; }
60 inline bool LastUploaderStatusHasBeenSet() const { return m_lastUploaderStatusHasBeenSet; }
61 template<typename LastUploaderStatusT = LastUploaderStatus>
62 void SetLastUploaderStatus(LastUploaderStatusT&& value) { m_lastUploaderStatusHasBeenSet = true; m_lastUploaderStatus = std::forward<LastUploaderStatusT>(value); }
63 template<typename LastUploaderStatusT = LastUploaderStatus>
64 EdgeAgentStatus& WithLastUploaderStatus(LastUploaderStatusT&& value) { SetLastUploaderStatus(std::forward<LastUploaderStatusT>(value)); return *this;}
66 private:
67
68 LastRecorderStatus m_lastRecorderStatus;
69 bool m_lastRecorderStatusHasBeenSet = false;
70
71 LastUploaderStatus m_lastUploaderStatus;
72 bool m_lastUploaderStatusHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace KinesisVideo
77} // namespace Aws
void SetLastUploaderStatus(LastUploaderStatusT &&value)
EdgeAgentStatus & WithLastRecorderStatus(LastRecorderStatusT &&value)
AWS_KINESISVIDEO_API EdgeAgentStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISVIDEO_API EdgeAgentStatus(Aws::Utils::Json::JsonView jsonValue)
void SetLastRecorderStatus(LastRecorderStatusT &&value)
const LastRecorderStatus & GetLastRecorderStatus() const
AWS_KINESISVIDEO_API EdgeAgentStatus()=default
const LastUploaderStatus & GetLastUploaderStatus() const
EdgeAgentStatus & WithLastUploaderStatus(LastUploaderStatusT &&value)
Aws::Utils::Json::JsonValue JsonValue