AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DASHTimestampRange.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
37 {
38 public:
39 AWS_KINESISVIDEOARCHIVEDMEDIA_API DASHTimestampRange() = default;
40 AWS_KINESISVIDEOARCHIVEDMEDIA_API DASHTimestampRange(Aws::Utils::Json::JsonView jsonValue);
41 AWS_KINESISVIDEOARCHIVEDMEDIA_API DASHTimestampRange& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_KINESISVIDEOARCHIVEDMEDIA_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
56 inline const Aws::Utils::DateTime& GetStartTimestamp() const { return m_startTimestamp; }
57 inline bool StartTimestampHasBeenSet() const { return m_startTimestampHasBeenSet; }
58 template<typename StartTimestampT = Aws::Utils::DateTime>
59 void SetStartTimestamp(StartTimestampT&& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = std::forward<StartTimestampT>(value); }
60 template<typename StartTimestampT = Aws::Utils::DateTime>
61 DASHTimestampRange& WithStartTimestamp(StartTimestampT&& value) { SetStartTimestamp(std::forward<StartTimestampT>(value)); return *this;}
63
65
80 inline const Aws::Utils::DateTime& GetEndTimestamp() const { return m_endTimestamp; }
81 inline bool EndTimestampHasBeenSet() const { return m_endTimestampHasBeenSet; }
82 template<typename EndTimestampT = Aws::Utils::DateTime>
83 void SetEndTimestamp(EndTimestampT&& value) { m_endTimestampHasBeenSet = true; m_endTimestamp = std::forward<EndTimestampT>(value); }
84 template<typename EndTimestampT = Aws::Utils::DateTime>
85 DASHTimestampRange& WithEndTimestamp(EndTimestampT&& value) { SetEndTimestamp(std::forward<EndTimestampT>(value)); return *this;}
87 private:
88
89 Aws::Utils::DateTime m_startTimestamp{};
90 bool m_startTimestampHasBeenSet = false;
91
92 Aws::Utils::DateTime m_endTimestamp{};
93 bool m_endTimestampHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace KinesisVideoArchivedMedia
98} // namespace Aws
DASHTimestampRange & WithEndTimestamp(EndTimestampT &&value)
AWS_KINESISVIDEOARCHIVEDMEDIA_API DASHTimestampRange()=default
DASHTimestampRange & WithStartTimestamp(StartTimestampT &&value)
AWS_KINESISVIDEOARCHIVEDMEDIA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISVIDEOARCHIVEDMEDIA_API DASHTimestampRange & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISVIDEOARCHIVEDMEDIA_API DASHTimestampRange(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue