AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
LastUploaderStatus.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
10#include <aws/kinesisvideo/model/UploaderStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace KinesisVideo {
22namespace Model {
23
31 public:
32 AWS_KINESISVIDEO_API LastUploaderStatus() = default;
33 AWS_KINESISVIDEO_API LastUploaderStatus(Aws::Utils::Json::JsonView jsonValue);
35 AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetJobStatusDetails() const { return m_jobStatusDetails; }
42 inline bool JobStatusDetailsHasBeenSet() const { return m_jobStatusDetailsHasBeenSet; }
43 template <typename JobStatusDetailsT = Aws::String>
44 void SetJobStatusDetails(JobStatusDetailsT&& value) {
45 m_jobStatusDetailsHasBeenSet = true;
46 m_jobStatusDetails = std::forward<JobStatusDetailsT>(value);
47 }
48 template <typename JobStatusDetailsT = Aws::String>
49 LastUploaderStatus& WithJobStatusDetails(JobStatusDetailsT&& value) {
50 SetJobStatusDetails(std::forward<JobStatusDetailsT>(value));
51 return *this;
52 }
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) {
64 m_lastCollectedTimeHasBeenSet = true;
65 m_lastCollectedTime = std::forward<LastCollectedTimeT>(value);
66 }
67 template <typename LastCollectedTimeT = Aws::Utils::DateTime>
68 LastUploaderStatus& WithLastCollectedTime(LastCollectedTimeT&& value) {
69 SetLastCollectedTime(std::forward<LastCollectedTimeT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
79 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
80 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
81 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
82 m_lastUpdatedTimeHasBeenSet = true;
83 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
84 }
85 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
86 LastUploaderStatus& WithLastUpdatedTime(LastUpdatedTimeT&& value) {
87 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
88 return *this;
89 }
91
93
96 inline UploaderStatus GetUploaderStatus() const { return m_uploaderStatus; }
97 inline bool UploaderStatusHasBeenSet() const { return m_uploaderStatusHasBeenSet; }
98 inline void SetUploaderStatus(UploaderStatus value) {
99 m_uploaderStatusHasBeenSet = true;
100 m_uploaderStatus = value;
101 }
103 SetUploaderStatus(value);
104 return *this;
105 }
107 private:
108 Aws::String m_jobStatusDetails;
109
110 Aws::Utils::DateTime m_lastCollectedTime{};
111
112 Aws::Utils::DateTime m_lastUpdatedTime{};
113
114 UploaderStatus m_uploaderStatus{UploaderStatus::NOT_SET};
115 bool m_jobStatusDetailsHasBeenSet = false;
116 bool m_lastCollectedTimeHasBeenSet = false;
117 bool m_lastUpdatedTimeHasBeenSet = false;
118 bool m_uploaderStatusHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace KinesisVideo
123} // namespace Aws
AWS_KINESISVIDEO_API LastUploaderStatus(Aws::Utils::Json::JsonView jsonValue)
void SetLastCollectedTime(LastCollectedTimeT &&value)
LastUploaderStatus & WithUploaderStatus(UploaderStatus value)
LastUploaderStatus & WithLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISVIDEO_API LastUploaderStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetJobStatusDetails(JobStatusDetailsT &&value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
const Aws::Utils::DateTime & GetLastCollectedTime() const
LastUploaderStatus & WithLastCollectedTime(LastCollectedTimeT &&value)
AWS_KINESISVIDEO_API LastUploaderStatus()=default
LastUploaderStatus & WithJobStatusDetails(JobStatusDetailsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue