AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HLSTimestampRange.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
34 {
35 public:
36 AWS_KINESISVIDEOARCHIVEDMEDIA_API HLSTimestampRange();
37 AWS_KINESISVIDEOARCHIVEDMEDIA_API HLSTimestampRange(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KINESISVIDEOARCHIVEDMEDIA_API HLSTimestampRange& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISVIDEOARCHIVEDMEDIA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
53 inline const Aws::Utils::DateTime& GetStartTimestamp() const{ return m_startTimestamp; }
54 inline bool StartTimestampHasBeenSet() const { return m_startTimestampHasBeenSet; }
55 inline void SetStartTimestamp(const Aws::Utils::DateTime& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = value; }
56 inline void SetStartTimestamp(Aws::Utils::DateTime&& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = std::move(value); }
57 inline HLSTimestampRange& WithStartTimestamp(const Aws::Utils::DateTime& value) { SetStartTimestamp(value); return *this;}
58 inline HLSTimestampRange& WithStartTimestamp(Aws::Utils::DateTime&& value) { SetStartTimestamp(std::move(value)); return *this;}
60
62
77 inline const Aws::Utils::DateTime& GetEndTimestamp() const{ return m_endTimestamp; }
78 inline bool EndTimestampHasBeenSet() const { return m_endTimestampHasBeenSet; }
79 inline void SetEndTimestamp(const Aws::Utils::DateTime& value) { m_endTimestampHasBeenSet = true; m_endTimestamp = value; }
80 inline void SetEndTimestamp(Aws::Utils::DateTime&& value) { m_endTimestampHasBeenSet = true; m_endTimestamp = std::move(value); }
81 inline HLSTimestampRange& WithEndTimestamp(const Aws::Utils::DateTime& value) { SetEndTimestamp(value); return *this;}
82 inline HLSTimestampRange& WithEndTimestamp(Aws::Utils::DateTime&& value) { SetEndTimestamp(std::move(value)); return *this;}
84 private:
85
86 Aws::Utils::DateTime m_startTimestamp;
87 bool m_startTimestampHasBeenSet = false;
88
89 Aws::Utils::DateTime m_endTimestamp;
90 bool m_endTimestampHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace KinesisVideoArchivedMedia
95} // namespace Aws
HLSTimestampRange & WithStartTimestamp(const Aws::Utils::DateTime &value)
HLSTimestampRange & WithEndTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetStartTimestamp() const
AWS_KINESISVIDEOARCHIVEDMEDIA_API HLSTimestampRange(Aws::Utils::Json::JsonView jsonValue)
void SetStartTimestamp(const Aws::Utils::DateTime &value)
HLSTimestampRange & WithStartTimestamp(Aws::Utils::DateTime &&value)
AWS_KINESISVIDEOARCHIVEDMEDIA_API HLSTimestampRange & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISVIDEOARCHIVEDMEDIA_API HLSTimestampRange()
AWS_KINESISVIDEOARCHIVEDMEDIA_API Aws::Utils::Json::JsonValue Jsonize() const
HLSTimestampRange & WithEndTimestamp(const Aws::Utils::DateTime &value)
void SetEndTimestamp(const Aws::Utils::DateTime &value)
Aws::Utils::Json::JsonValue JsonValue