AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ClipTimestampRange.h
1
6#pragma once
7#include <aws/kinesis-video-archived-media/KinesisVideoArchivedMedia_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace KinesisVideoArchivedMedia
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_KINESISVIDEOARCHIVEDMEDIA_API ClipTimestampRange() = default;
36 AWS_KINESISVIDEOARCHIVEDMEDIA_API ClipTimestampRange(Aws::Utils::Json::JsonView jsonValue);
37 AWS_KINESISVIDEOARCHIVEDMEDIA_API ClipTimestampRange& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KINESISVIDEOARCHIVEDMEDIA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
50 inline const Aws::Utils::DateTime& GetStartTimestamp() const { return m_startTimestamp; }
51 inline bool StartTimestampHasBeenSet() const { return m_startTimestampHasBeenSet; }
52 template<typename StartTimestampT = Aws::Utils::DateTime>
53 void SetStartTimestamp(StartTimestampT&& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = std::forward<StartTimestampT>(value); }
54 template<typename StartTimestampT = Aws::Utils::DateTime>
55 ClipTimestampRange& WithStartTimestamp(StartTimestampT&& value) { SetStartTimestamp(std::forward<StartTimestampT>(value)); return *this;}
57
59
70 inline const Aws::Utils::DateTime& GetEndTimestamp() const { return m_endTimestamp; }
71 inline bool EndTimestampHasBeenSet() const { return m_endTimestampHasBeenSet; }
72 template<typename EndTimestampT = Aws::Utils::DateTime>
73 void SetEndTimestamp(EndTimestampT&& value) { m_endTimestampHasBeenSet = true; m_endTimestamp = std::forward<EndTimestampT>(value); }
74 template<typename EndTimestampT = Aws::Utils::DateTime>
75 ClipTimestampRange& WithEndTimestamp(EndTimestampT&& value) { SetEndTimestamp(std::forward<EndTimestampT>(value)); return *this;}
77 private:
78
79 Aws::Utils::DateTime m_startTimestamp{};
80 bool m_startTimestampHasBeenSet = false;
81
82 Aws::Utils::DateTime m_endTimestamp{};
83 bool m_endTimestampHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace KinesisVideoArchivedMedia
88} // namespace Aws
AWS_KINESISVIDEOARCHIVEDMEDIA_API ClipTimestampRange(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISVIDEOARCHIVEDMEDIA_API ClipTimestampRange()=default
AWS_KINESISVIDEOARCHIVEDMEDIA_API Aws::Utils::Json::JsonValue Jsonize() const
ClipTimestampRange & WithStartTimestamp(StartTimestampT &&value)
AWS_KINESISVIDEOARCHIVEDMEDIA_API ClipTimestampRange & operator=(Aws::Utils::Json::JsonView jsonValue)
ClipTimestampRange & WithEndTimestamp(EndTimestampT &&value)
Aws::Utils::Json::JsonValue JsonValue