AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LastRecorderStatus.h
1
6#pragma once
7#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/kinesisvideo/model/RecorderStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace KinesisVideo
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_KINESISVIDEO_API LastRecorderStatus() = default;
38 AWS_KINESISVIDEO_API LastRecorderStatus(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetJobStatusDetails() const { return m_jobStatusDetails; }
48 inline bool JobStatusDetailsHasBeenSet() const { return m_jobStatusDetailsHasBeenSet; }
49 template<typename JobStatusDetailsT = Aws::String>
50 void SetJobStatusDetails(JobStatusDetailsT&& value) { m_jobStatusDetailsHasBeenSet = true; m_jobStatusDetails = std::forward<JobStatusDetailsT>(value); }
51 template<typename JobStatusDetailsT = Aws::String>
52 LastRecorderStatus& WithJobStatusDetails(JobStatusDetailsT&& value) { SetJobStatusDetails(std::forward<JobStatusDetailsT>(value)); return *this;}
54
56
60 inline const Aws::Utils::DateTime& GetLastCollectedTime() const { return m_lastCollectedTime; }
61 inline bool LastCollectedTimeHasBeenSet() const { return m_lastCollectedTimeHasBeenSet; }
62 template<typename LastCollectedTimeT = Aws::Utils::DateTime>
63 void SetLastCollectedTime(LastCollectedTimeT&& value) { m_lastCollectedTimeHasBeenSet = true; m_lastCollectedTime = std::forward<LastCollectedTimeT>(value); }
64 template<typename LastCollectedTimeT = Aws::Utils::DateTime>
65 LastRecorderStatus& WithLastCollectedTime(LastCollectedTimeT&& value) { SetLastCollectedTime(std::forward<LastCollectedTimeT>(value)); return *this;}
67
69
72 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
73 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
74 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
75 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
76 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
77 LastRecorderStatus& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
79
81
84 inline RecorderStatus GetRecorderStatus() const { return m_recorderStatus; }
85 inline bool RecorderStatusHasBeenSet() const { return m_recorderStatusHasBeenSet; }
86 inline void SetRecorderStatus(RecorderStatus value) { m_recorderStatusHasBeenSet = true; m_recorderStatus = value; }
89 private:
90
91 Aws::String m_jobStatusDetails;
92 bool m_jobStatusDetailsHasBeenSet = false;
93
94 Aws::Utils::DateTime m_lastCollectedTime{};
95 bool m_lastCollectedTimeHasBeenSet = false;
96
97 Aws::Utils::DateTime m_lastUpdatedTime{};
98 bool m_lastUpdatedTimeHasBeenSet = false;
99
100 RecorderStatus m_recorderStatus{RecorderStatus::NOT_SET};
101 bool m_recorderStatusHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace KinesisVideo
106} // namespace Aws
void SetJobStatusDetails(JobStatusDetailsT &&value)
AWS_KINESISVIDEO_API LastRecorderStatus()=default
AWS_KINESISVIDEO_API LastRecorderStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
LastRecorderStatus & WithLastUpdatedTime(LastUpdatedTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISVIDEO_API LastRecorderStatus(Aws::Utils::Json::JsonView jsonValue)
LastRecorderStatus & WithJobStatusDetails(JobStatusDetailsT &&value)
const Aws::Utils::DateTime & GetLastCollectedTime() const
void SetLastCollectedTime(LastCollectedTimeT &&value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
LastRecorderStatus & WithLastCollectedTime(LastCollectedTimeT &&value)
LastRecorderStatus & WithRecorderStatus(RecorderStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue