AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TimestampRange.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 TimestampRange();
36 AWS_KINESISVIDEOARCHIVEDMEDIA_API TimestampRange(Aws::Utils::Json::JsonView jsonValue);
37 AWS_KINESISVIDEOARCHIVEDMEDIA_API TimestampRange& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KINESISVIDEOARCHIVEDMEDIA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::Utils::DateTime& GetStartTimestamp() const{ return m_startTimestamp; }
47 inline bool StartTimestampHasBeenSet() const { return m_startTimestampHasBeenSet; }
48 inline void SetStartTimestamp(const Aws::Utils::DateTime& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = value; }
49 inline void SetStartTimestamp(Aws::Utils::DateTime&& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = std::move(value); }
50 inline TimestampRange& WithStartTimestamp(const Aws::Utils::DateTime& value) { SetStartTimestamp(value); return *this;}
51 inline TimestampRange& WithStartTimestamp(Aws::Utils::DateTime&& value) { SetStartTimestamp(std::move(value)); return *this;}
53
55
59 inline const Aws::Utils::DateTime& GetEndTimestamp() const{ return m_endTimestamp; }
60 inline bool EndTimestampHasBeenSet() const { return m_endTimestampHasBeenSet; }
61 inline void SetEndTimestamp(const Aws::Utils::DateTime& value) { m_endTimestampHasBeenSet = true; m_endTimestamp = value; }
62 inline void SetEndTimestamp(Aws::Utils::DateTime&& value) { m_endTimestampHasBeenSet = true; m_endTimestamp = std::move(value); }
63 inline TimestampRange& WithEndTimestamp(const Aws::Utils::DateTime& value) { SetEndTimestamp(value); return *this;}
64 inline TimestampRange& WithEndTimestamp(Aws::Utils::DateTime&& value) { SetEndTimestamp(std::move(value)); return *this;}
66 private:
67
68 Aws::Utils::DateTime m_startTimestamp;
69 bool m_startTimestampHasBeenSet = false;
70
71 Aws::Utils::DateTime m_endTimestamp;
72 bool m_endTimestampHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace KinesisVideoArchivedMedia
77} // namespace Aws
void SetStartTimestamp(const Aws::Utils::DateTime &value)
void SetStartTimestamp(Aws::Utils::DateTime &&value)
AWS_KINESISVIDEOARCHIVEDMEDIA_API TimestampRange & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEndTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetStartTimestamp() const
TimestampRange & WithEndTimestamp(const Aws::Utils::DateTime &value)
TimestampRange & WithStartTimestamp(Aws::Utils::DateTime &&value)
AWS_KINESISVIDEOARCHIVEDMEDIA_API TimestampRange()
AWS_KINESISVIDEOARCHIVEDMEDIA_API TimestampRange(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISVIDEOARCHIVEDMEDIA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEndTimestamp(const Aws::Utils::DateTime &value)
TimestampRange & WithStartTimestamp(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEndTimestamp() const
TimestampRange & WithEndTimestamp(Aws::Utils::DateTime &&value)
Aws::Utils::Json::JsonValue JsonValue