AWS SDK for C++  1.9.159
AWS SDK for C++
DASHTimestampRange.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 
37  {
38  public:
43 
44 
55  inline const Aws::Utils::DateTime& GetStartTimestamp() const{ return m_startTimestamp; }
56 
67  inline bool StartTimestampHasBeenSet() const { return m_startTimestampHasBeenSet; }
68 
79  inline void SetStartTimestamp(const Aws::Utils::DateTime& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = value; }
80 
91  inline void SetStartTimestamp(Aws::Utils::DateTime&& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = std::move(value); }
92 
103  inline DASHTimestampRange& WithStartTimestamp(const Aws::Utils::DateTime& value) { SetStartTimestamp(value); return *this;}
104 
115  inline DASHTimestampRange& WithStartTimestamp(Aws::Utils::DateTime&& value) { SetStartTimestamp(std::move(value)); return *this;}
116 
117 
133  inline const Aws::Utils::DateTime& GetEndTimestamp() const{ return m_endTimestamp; }
134 
150  inline bool EndTimestampHasBeenSet() const { return m_endTimestampHasBeenSet; }
151 
167  inline void SetEndTimestamp(const Aws::Utils::DateTime& value) { m_endTimestampHasBeenSet = true; m_endTimestamp = value; }
168 
184  inline void SetEndTimestamp(Aws::Utils::DateTime&& value) { m_endTimestampHasBeenSet = true; m_endTimestamp = std::move(value); }
185 
201  inline DASHTimestampRange& WithEndTimestamp(const Aws::Utils::DateTime& value) { SetEndTimestamp(value); return *this;}
202 
218  inline DASHTimestampRange& WithEndTimestamp(Aws::Utils::DateTime&& value) { SetEndTimestamp(std::move(value)); return *this;}
219 
220  private:
221 
222  Aws::Utils::DateTime m_startTimestamp;
223  bool m_startTimestampHasBeenSet;
224 
225  Aws::Utils::DateTime m_endTimestamp;
226  bool m_endTimestampHasBeenSet;
227  };
228 
229 } // namespace Model
230 } // namespace KinesisVideoArchivedMedia
231 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::KinesisVideoArchivedMedia::Model::DASHTimestampRange::StartTimestampHasBeenSet
bool StartTimestampHasBeenSet() const
Definition: DASHTimestampRange.h:67
Aws::KinesisVideoArchivedMedia::Model::DASHTimestampRange
Definition: DASHTimestampRange.h:37
Aws::KinesisVideoArchivedMedia::Model::DASHTimestampRange::WithEndTimestamp
DASHTimestampRange & WithEndTimestamp(Aws::Utils::DateTime &&value)
Definition: DASHTimestampRange.h:218
Aws::KinesisVideoArchivedMedia::Model::DASHTimestampRange::SetStartTimestamp
void SetStartTimestamp(const Aws::Utils::DateTime &value)
Definition: DASHTimestampRange.h:79
AWS_KINESISVIDEOARCHIVEDMEDIA_API
#define AWS_KINESISVIDEOARCHIVEDMEDIA_API
Definition: KinesisVideoArchivedMedia_EXPORTS.h:28
Aws::KinesisVideoArchivedMedia::Model::DASHTimestampRange::GetEndTimestamp
const Aws::Utils::DateTime & GetEndTimestamp() const
Definition: DASHTimestampRange.h:133
Aws::KinesisVideoArchivedMedia::Model::DASHTimestampRange::DASHTimestampRange
DASHTimestampRange(Aws::Utils::Json::JsonView jsonValue)
DateTime.h
Aws::KinesisVideoArchivedMedia::Model::DASHTimestampRange::SetEndTimestamp
void SetEndTimestamp(const Aws::Utils::DateTime &value)
Definition: DASHTimestampRange.h:167
Aws::KinesisVideoArchivedMedia::Model::DASHTimestampRange::WithStartTimestamp
DASHTimestampRange & WithStartTimestamp(const Aws::Utils::DateTime &value)
Definition: DASHTimestampRange.h:103
Aws::KinesisVideoArchivedMedia::Model::DASHTimestampRange::SetEndTimestamp
void SetEndTimestamp(Aws::Utils::DateTime &&value)
Definition: DASHTimestampRange.h:184
KinesisVideoArchivedMedia_EXPORTS.h
Aws::KinesisVideoArchivedMedia::Model::DASHTimestampRange::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::KinesisVideoArchivedMedia::Model::DASHTimestampRange::WithStartTimestamp
DASHTimestampRange & WithStartTimestamp(Aws::Utils::DateTime &&value)
Definition: DASHTimestampRange.h:115
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::KinesisVideoArchivedMedia::Model::DASHTimestampRange::GetStartTimestamp
const Aws::Utils::DateTime & GetStartTimestamp() const
Definition: DASHTimestampRange.h:55
Aws::KinesisVideoArchivedMedia::Model::DASHTimestampRange::SetStartTimestamp
void SetStartTimestamp(Aws::Utils::DateTime &&value)
Definition: DASHTimestampRange.h:91
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::KinesisVideoArchivedMedia::Model::DASHTimestampRange::operator=
DASHTimestampRange & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::KinesisVideoArchivedMedia::Model::DASHTimestampRange::DASHTimestampRange
DASHTimestampRange()
Aws::KinesisVideoArchivedMedia::Model::DASHTimestampRange::EndTimestampHasBeenSet
bool EndTimestampHasBeenSet() const
Definition: DASHTimestampRange.h:150
Aws::KinesisVideoArchivedMedia::Model::DASHTimestampRange::WithEndTimestamp
DASHTimestampRange & WithEndTimestamp(const Aws::Utils::DateTime &value)
Definition: DASHTimestampRange.h:201