AWS SDK for C++

AWS SDK for C++ Version 1.11.742

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace KinesisVideo {
21namespace Model {
22
31 public:
32 AWS_KINESISVIDEO_API EdgeAgentStatus() = default;
33 AWS_KINESISVIDEO_API EdgeAgentStatus(Aws::Utils::Json::JsonView jsonValue);
34 AWS_KINESISVIDEO_API EdgeAgentStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const LastRecorderStatus& GetLastRecorderStatus() const { return m_lastRecorderStatus; }
42 inline bool LastRecorderStatusHasBeenSet() const { return m_lastRecorderStatusHasBeenSet; }
43 template <typename LastRecorderStatusT = LastRecorderStatus>
44 void SetLastRecorderStatus(LastRecorderStatusT&& value) {
45 m_lastRecorderStatusHasBeenSet = true;
46 m_lastRecorderStatus = std::forward<LastRecorderStatusT>(value);
47 }
48 template <typename LastRecorderStatusT = LastRecorderStatus>
49 EdgeAgentStatus& WithLastRecorderStatus(LastRecorderStatusT&& value) {
50 SetLastRecorderStatus(std::forward<LastRecorderStatusT>(value));
51 return *this;
52 }
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) {
63 m_lastUploaderStatusHasBeenSet = true;
64 m_lastUploaderStatus = std::forward<LastUploaderStatusT>(value);
65 }
66 template <typename LastUploaderStatusT = LastUploaderStatus>
67 EdgeAgentStatus& WithLastUploaderStatus(LastUploaderStatusT&& value) {
68 SetLastUploaderStatus(std::forward<LastUploaderStatusT>(value));
69 return *this;
70 }
72 private:
73 LastRecorderStatus m_lastRecorderStatus;
74
75 LastUploaderStatus m_lastUploaderStatus;
76 bool m_lastRecorderStatusHasBeenSet = false;
77 bool m_lastUploaderStatusHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace KinesisVideo
82} // 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