AWS SDK for C++  1.9.155
AWS SDK for C++
ClipTimestampRange.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 
33  {
34  public:
39 
40 
49  inline const Aws::Utils::DateTime& GetStartTimestamp() const{ return m_startTimestamp; }
50 
59  inline bool StartTimestampHasBeenSet() const { return m_startTimestampHasBeenSet; }
60 
69  inline void SetStartTimestamp(const Aws::Utils::DateTime& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = value; }
70 
79  inline void SetStartTimestamp(Aws::Utils::DateTime&& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = std::move(value); }
80 
89  inline ClipTimestampRange& WithStartTimestamp(const Aws::Utils::DateTime& value) { SetStartTimestamp(value); return *this;}
90 
99  inline ClipTimestampRange& WithStartTimestamp(Aws::Utils::DateTime&& value) { SetStartTimestamp(std::move(value)); return *this;}
100 
101 
113  inline const Aws::Utils::DateTime& GetEndTimestamp() const{ return m_endTimestamp; }
114 
126  inline bool EndTimestampHasBeenSet() const { return m_endTimestampHasBeenSet; }
127 
139  inline void SetEndTimestamp(const Aws::Utils::DateTime& value) { m_endTimestampHasBeenSet = true; m_endTimestamp = value; }
140 
152  inline void SetEndTimestamp(Aws::Utils::DateTime&& value) { m_endTimestampHasBeenSet = true; m_endTimestamp = std::move(value); }
153 
165  inline ClipTimestampRange& WithEndTimestamp(const Aws::Utils::DateTime& value) { SetEndTimestamp(value); return *this;}
166 
178  inline ClipTimestampRange& WithEndTimestamp(Aws::Utils::DateTime&& value) { SetEndTimestamp(std::move(value)); return *this;}
179 
180  private:
181 
182  Aws::Utils::DateTime m_startTimestamp;
183  bool m_startTimestampHasBeenSet;
184 
185  Aws::Utils::DateTime m_endTimestamp;
186  bool m_endTimestampHasBeenSet;
187  };
188 
189 } // namespace Model
190 } // namespace KinesisVideoArchivedMedia
191 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::KinesisVideoArchivedMedia::Model::ClipTimestampRange::EndTimestampHasBeenSet
bool EndTimestampHasBeenSet() const
Definition: ClipTimestampRange.h:126
Aws::KinesisVideoArchivedMedia::Model::ClipTimestampRange::ClipTimestampRange
ClipTimestampRange()
AWS_KINESISVIDEOARCHIVEDMEDIA_API
#define AWS_KINESISVIDEOARCHIVEDMEDIA_API
Definition: KinesisVideoArchivedMedia_EXPORTS.h:28
DateTime.h
Aws::KinesisVideoArchivedMedia::Model::ClipTimestampRange::SetStartTimestamp
void SetStartTimestamp(Aws::Utils::DateTime &&value)
Definition: ClipTimestampRange.h:79
Aws::KinesisVideoArchivedMedia::Model::ClipTimestampRange::WithEndTimestamp
ClipTimestampRange & WithEndTimestamp(Aws::Utils::DateTime &&value)
Definition: ClipTimestampRange.h:178
Aws::KinesisVideoArchivedMedia::Model::ClipTimestampRange::WithStartTimestamp
ClipTimestampRange & WithStartTimestamp(Aws::Utils::DateTime &&value)
Definition: ClipTimestampRange.h:99
KinesisVideoArchivedMedia_EXPORTS.h
Aws::KinesisVideoArchivedMedia::Model::ClipTimestampRange::operator=
ClipTimestampRange & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::KinesisVideoArchivedMedia::Model::ClipTimestampRange::WithEndTimestamp
ClipTimestampRange & WithEndTimestamp(const Aws::Utils::DateTime &value)
Definition: ClipTimestampRange.h:165
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::KinesisVideoArchivedMedia::Model::ClipTimestampRange::GetStartTimestamp
const Aws::Utils::DateTime & GetStartTimestamp() const
Definition: ClipTimestampRange.h:49
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::KinesisVideoArchivedMedia::Model::ClipTimestampRange::SetEndTimestamp
void SetEndTimestamp(Aws::Utils::DateTime &&value)
Definition: ClipTimestampRange.h:152
Aws::KinesisVideoArchivedMedia::Model::ClipTimestampRange::ClipTimestampRange
ClipTimestampRange(Aws::Utils::Json::JsonView jsonValue)
Aws::KinesisVideoArchivedMedia::Model::ClipTimestampRange::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::KinesisVideoArchivedMedia::Model::ClipTimestampRange::SetStartTimestamp
void SetStartTimestamp(const Aws::Utils::DateTime &value)
Definition: ClipTimestampRange.h:69
Aws::KinesisVideoArchivedMedia::Model::ClipTimestampRange::SetEndTimestamp
void SetEndTimestamp(const Aws::Utils::DateTime &value)
Definition: ClipTimestampRange.h:139
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::KinesisVideoArchivedMedia::Model::ClipTimestampRange
Definition: ClipTimestampRange.h:33
Aws::KinesisVideoArchivedMedia::Model::ClipTimestampRange::WithStartTimestamp
ClipTimestampRange & WithStartTimestamp(const Aws::Utils::DateTime &value)
Definition: ClipTimestampRange.h:89
Aws::KinesisVideoArchivedMedia::Model::ClipTimestampRange::StartTimestampHasBeenSet
bool StartTimestampHasBeenSet() const
Definition: ClipTimestampRange.h:59
Aws::KinesisVideoArchivedMedia::Model::ClipTimestampRange::GetEndTimestamp
const Aws::Utils::DateTime & GetEndTimestamp() const
Definition: ClipTimestampRange.h:113