/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace KinesisVideo { namespace Model { /** *

The latest status of a stream's edge recording job.

See Also:

* AWS * API Reference

*/ class LastRecorderStatus { public: AWS_KINESISVIDEO_API LastRecorderStatus(); AWS_KINESISVIDEO_API LastRecorderStatus(Aws::Utils::Json::JsonView jsonValue); AWS_KINESISVIDEO_API LastRecorderStatus& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A description of a recorder job’s latest status.

*/ inline const Aws::String& GetJobStatusDetails() const{ return m_jobStatusDetails; } /** *

A description of a recorder job’s latest status.

*/ inline bool JobStatusDetailsHasBeenSet() const { return m_jobStatusDetailsHasBeenSet; } /** *

A description of a recorder job’s latest status.

*/ inline void SetJobStatusDetails(const Aws::String& value) { m_jobStatusDetailsHasBeenSet = true; m_jobStatusDetails = value; } /** *

A description of a recorder job’s latest status.

*/ inline void SetJobStatusDetails(Aws::String&& value) { m_jobStatusDetailsHasBeenSet = true; m_jobStatusDetails = std::move(value); } /** *

A description of a recorder job’s latest status.

*/ inline void SetJobStatusDetails(const char* value) { m_jobStatusDetailsHasBeenSet = true; m_jobStatusDetails.assign(value); } /** *

A description of a recorder job’s latest status.

*/ inline LastRecorderStatus& WithJobStatusDetails(const Aws::String& value) { SetJobStatusDetails(value); return *this;} /** *

A description of a recorder job’s latest status.

*/ inline LastRecorderStatus& WithJobStatusDetails(Aws::String&& value) { SetJobStatusDetails(std::move(value)); return *this;} /** *

A description of a recorder job’s latest status.

*/ inline LastRecorderStatus& WithJobStatusDetails(const char* value) { SetJobStatusDetails(value); return *this;} /** *

The timestamp at which the recorder job was last executed and media stored to * local disk.

*/ inline const Aws::Utils::DateTime& GetLastCollectedTime() const{ return m_lastCollectedTime; } /** *

The timestamp at which the recorder job was last executed and media stored to * local disk.

*/ inline bool LastCollectedTimeHasBeenSet() const { return m_lastCollectedTimeHasBeenSet; } /** *

The timestamp at which the recorder job was last executed and media stored to * local disk.

*/ inline void SetLastCollectedTime(const Aws::Utils::DateTime& value) { m_lastCollectedTimeHasBeenSet = true; m_lastCollectedTime = value; } /** *

The timestamp at which the recorder job was last executed and media stored to * local disk.

*/ inline void SetLastCollectedTime(Aws::Utils::DateTime&& value) { m_lastCollectedTimeHasBeenSet = true; m_lastCollectedTime = std::move(value); } /** *

The timestamp at which the recorder job was last executed and media stored to * local disk.

*/ inline LastRecorderStatus& WithLastCollectedTime(const Aws::Utils::DateTime& value) { SetLastCollectedTime(value); return *this;} /** *

The timestamp at which the recorder job was last executed and media stored to * local disk.

*/ inline LastRecorderStatus& WithLastCollectedTime(Aws::Utils::DateTime&& value) { SetLastCollectedTime(std::move(value)); return *this;} /** *

The timestamp at which the recorder status was last updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *

The timestamp at which the recorder status was last updated.

*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *

The timestamp at which the recorder status was last updated.

*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *

The timestamp at which the recorder status was last updated.

*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *

The timestamp at which the recorder status was last updated.

*/ inline LastRecorderStatus& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *

The timestamp at which the recorder status was last updated.

*/ inline LastRecorderStatus& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *

The status of the latest recorder job.

*/ inline const RecorderStatus& GetRecorderStatus() const{ return m_recorderStatus; } /** *

The status of the latest recorder job.

*/ inline bool RecorderStatusHasBeenSet() const { return m_recorderStatusHasBeenSet; } /** *

The status of the latest recorder job.

*/ inline void SetRecorderStatus(const RecorderStatus& value) { m_recorderStatusHasBeenSet = true; m_recorderStatus = value; } /** *

The status of the latest recorder job.

*/ inline void SetRecorderStatus(RecorderStatus&& value) { m_recorderStatusHasBeenSet = true; m_recorderStatus = std::move(value); } /** *

The status of the latest recorder job.

*/ inline LastRecorderStatus& WithRecorderStatus(const RecorderStatus& value) { SetRecorderStatus(value); return *this;} /** *

The status of the latest recorder job.

*/ inline LastRecorderStatus& WithRecorderStatus(RecorderStatus&& value) { SetRecorderStatus(std::move(value)); return *this;} private: Aws::String m_jobStatusDetails; bool m_jobStatusDetailsHasBeenSet = false; Aws::Utils::DateTime m_lastCollectedTime; bool m_lastCollectedTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedTime; bool m_lastUpdatedTimeHasBeenSet = false; RecorderStatus m_recorderStatus; bool m_recorderStatusHasBeenSet = false; }; } // namespace Model } // namespace KinesisVideo } // namespace Aws