AWS SDK for C++  1.9.155
AWS SDK for C++
HLSTimestampRange.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace KinesisVideoArchivedMedia
22 {
23 namespace Model
24 {
25 
34  {
35  public:
40 
41 
52  inline const Aws::Utils::DateTime& GetStartTimestamp() const{ return m_startTimestamp; }
53 
64  inline bool StartTimestampHasBeenSet() const { return m_startTimestampHasBeenSet; }
65 
76  inline void SetStartTimestamp(const Aws::Utils::DateTime& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = value; }
77 
88  inline void SetStartTimestamp(Aws::Utils::DateTime&& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = std::move(value); }
89 
100  inline HLSTimestampRange& WithStartTimestamp(const Aws::Utils::DateTime& value) { SetStartTimestamp(value); return *this;}
101 
112  inline HLSTimestampRange& WithStartTimestamp(Aws::Utils::DateTime&& value) { SetStartTimestamp(std::move(value)); return *this;}
113 
114 
130  inline const Aws::Utils::DateTime& GetEndTimestamp() const{ return m_endTimestamp; }
131 
147  inline bool EndTimestampHasBeenSet() const { return m_endTimestampHasBeenSet; }
148 
164  inline void SetEndTimestamp(const Aws::Utils::DateTime& value) { m_endTimestampHasBeenSet = true; m_endTimestamp = value; }
165 
181  inline void SetEndTimestamp(Aws::Utils::DateTime&& value) { m_endTimestampHasBeenSet = true; m_endTimestamp = std::move(value); }
182 
198  inline HLSTimestampRange& WithEndTimestamp(const Aws::Utils::DateTime& value) { SetEndTimestamp(value); return *this;}
199 
215  inline HLSTimestampRange& WithEndTimestamp(Aws::Utils::DateTime&& value) { SetEndTimestamp(std::move(value)); return *this;}
216 
217  private:
218 
219  Aws::Utils::DateTime m_startTimestamp;
220  bool m_startTimestampHasBeenSet;
221 
222  Aws::Utils::DateTime m_endTimestamp;
223  bool m_endTimestampHasBeenSet;
224  };
225 
226 } // namespace Model
227 } // namespace KinesisVideoArchivedMedia
228 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::KinesisVideoArchivedMedia::Model::HLSTimestampRange::SetStartTimestamp
void SetStartTimestamp(const Aws::Utils::DateTime &value)
Definition: HLSTimestampRange.h:76
Aws::KinesisVideoArchivedMedia::Model::HLSTimestampRange::GetStartTimestamp
const Aws::Utils::DateTime & GetStartTimestamp() const
Definition: HLSTimestampRange.h:52
AWS_KINESISVIDEOARCHIVEDMEDIA_API
#define AWS_KINESISVIDEOARCHIVEDMEDIA_API
Definition: KinesisVideoArchivedMedia_EXPORTS.h:28
Aws::KinesisVideoArchivedMedia::Model::HLSTimestampRange::operator=
HLSTimestampRange & operator=(Aws::Utils::Json::JsonView jsonValue)
DateTime.h
KinesisVideoArchivedMedia_EXPORTS.h
Aws::KinesisVideoArchivedMedia::Model::HLSTimestampRange::SetEndTimestamp
void SetEndTimestamp(Aws::Utils::DateTime &&value)
Definition: HLSTimestampRange.h:181
Aws::KinesisVideoArchivedMedia::Model::HLSTimestampRange::GetEndTimestamp
const Aws::Utils::DateTime & GetEndTimestamp() const
Definition: HLSTimestampRange.h:130
Aws::KinesisVideoArchivedMedia::Model::HLSTimestampRange::WithEndTimestamp
HLSTimestampRange & WithEndTimestamp(Aws::Utils::DateTime &&value)
Definition: HLSTimestampRange.h:215
Aws::KinesisVideoArchivedMedia::Model::HLSTimestampRange::SetStartTimestamp
void SetStartTimestamp(Aws::Utils::DateTime &&value)
Definition: HLSTimestampRange.h:88
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::KinesisVideoArchivedMedia::Model::HLSTimestampRange::HLSTimestampRange
HLSTimestampRange(Aws::Utils::Json::JsonView jsonValue)
Aws::KinesisVideoArchivedMedia::Model::HLSTimestampRange::WithStartTimestamp
HLSTimestampRange & WithStartTimestamp(const Aws::Utils::DateTime &value)
Definition: HLSTimestampRange.h:100
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::KinesisVideoArchivedMedia::Model::HLSTimestampRange::WithEndTimestamp
HLSTimestampRange & WithEndTimestamp(const Aws::Utils::DateTime &value)
Definition: HLSTimestampRange.h:198
Aws::KinesisVideoArchivedMedia::Model::HLSTimestampRange
Definition: HLSTimestampRange.h:34
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::KinesisVideoArchivedMedia::Model::HLSTimestampRange::HLSTimestampRange
HLSTimestampRange()
Aws::KinesisVideoArchivedMedia::Model::HLSTimestampRange::SetEndTimestamp
void SetEndTimestamp(const Aws::Utils::DateTime &value)
Definition: HLSTimestampRange.h:164
Aws::KinesisVideoArchivedMedia::Model::HLSTimestampRange::StartTimestampHasBeenSet
bool StartTimestampHasBeenSet() const
Definition: HLSTimestampRange.h:64
Aws::KinesisVideoArchivedMedia::Model::HLSTimestampRange::EndTimestampHasBeenSet
bool EndTimestampHasBeenSet() const
Definition: HLSTimestampRange.h:147
Aws::KinesisVideoArchivedMedia::Model::HLSTimestampRange::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::KinesisVideoArchivedMedia::Model::HLSTimestampRange::WithStartTimestamp
HLSTimestampRange & WithStartTimestamp(Aws::Utils::DateTime &&value)
Definition: HLSTimestampRange.h:112