AWS SDK for C++  1.9.159
AWS SDK for C++
TimestampRange.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 
45  inline const Aws::Utils::DateTime& GetStartTimestamp() const{ return m_startTimestamp; }
46 
51  inline bool StartTimestampHasBeenSet() const { return m_startTimestampHasBeenSet; }
52 
57  inline void SetStartTimestamp(const Aws::Utils::DateTime& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = value; }
58 
63  inline void SetStartTimestamp(Aws::Utils::DateTime&& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = std::move(value); }
64 
69  inline TimestampRange& WithStartTimestamp(const Aws::Utils::DateTime& value) { SetStartTimestamp(value); return *this;}
70 
75  inline TimestampRange& WithStartTimestamp(Aws::Utils::DateTime&& value) { SetStartTimestamp(std::move(value)); return *this;}
76 
77 
82  inline const Aws::Utils::DateTime& GetEndTimestamp() const{ return m_endTimestamp; }
83 
88  inline bool EndTimestampHasBeenSet() const { return m_endTimestampHasBeenSet; }
89 
94  inline void SetEndTimestamp(const Aws::Utils::DateTime& value) { m_endTimestampHasBeenSet = true; m_endTimestamp = value; }
95 
100  inline void SetEndTimestamp(Aws::Utils::DateTime&& value) { m_endTimestampHasBeenSet = true; m_endTimestamp = std::move(value); }
101 
106  inline TimestampRange& WithEndTimestamp(const Aws::Utils::DateTime& value) { SetEndTimestamp(value); return *this;}
107 
112  inline TimestampRange& WithEndTimestamp(Aws::Utils::DateTime&& value) { SetEndTimestamp(std::move(value)); return *this;}
113 
114  private:
115 
116  Aws::Utils::DateTime m_startTimestamp;
117  bool m_startTimestampHasBeenSet;
118 
119  Aws::Utils::DateTime m_endTimestamp;
120  bool m_endTimestampHasBeenSet;
121  };
122 
123 } // namespace Model
124 } // namespace KinesisVideoArchivedMedia
125 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::KinesisVideoArchivedMedia::Model::TimestampRange::EndTimestampHasBeenSet
bool EndTimestampHasBeenSet() const
Definition: TimestampRange.h:88
Aws::KinesisVideoArchivedMedia::Model::TimestampRange::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::KinesisVideoArchivedMedia::Model::TimestampRange::WithStartTimestamp
TimestampRange & WithStartTimestamp(const Aws::Utils::DateTime &value)
Definition: TimestampRange.h:69
Aws::KinesisVideoArchivedMedia::Model::TimestampRange::SetEndTimestamp
void SetEndTimestamp(Aws::Utils::DateTime &&value)
Definition: TimestampRange.h:100
Aws::KinesisVideoArchivedMedia::Model::TimestampRange::WithStartTimestamp
TimestampRange & WithStartTimestamp(Aws::Utils::DateTime &&value)
Definition: TimestampRange.h:75
Aws::KinesisVideoArchivedMedia::Model::TimestampRange::StartTimestampHasBeenSet
bool StartTimestampHasBeenSet() const
Definition: TimestampRange.h:51
AWS_KINESISVIDEOARCHIVEDMEDIA_API
#define AWS_KINESISVIDEOARCHIVEDMEDIA_API
Definition: KinesisVideoArchivedMedia_EXPORTS.h:28
DateTime.h
Aws::KinesisVideoArchivedMedia::Model::TimestampRange::SetStartTimestamp
void SetStartTimestamp(Aws::Utils::DateTime &&value)
Definition: TimestampRange.h:63
Aws::KinesisVideoArchivedMedia::Model::TimestampRange::WithEndTimestamp
TimestampRange & WithEndTimestamp(const Aws::Utils::DateTime &value)
Definition: TimestampRange.h:106
Aws::KinesisVideoArchivedMedia::Model::TimestampRange::operator=
TimestampRange & operator=(Aws::Utils::Json::JsonView jsonValue)
KinesisVideoArchivedMedia_EXPORTS.h
Aws::KinesisVideoArchivedMedia::Model::TimestampRange::TimestampRange
TimestampRange()
Aws::KinesisVideoArchivedMedia::Model::TimestampRange::SetStartTimestamp
void SetStartTimestamp(const Aws::Utils::DateTime &value)
Definition: TimestampRange.h:57
Aws::KinesisVideoArchivedMedia::Model::TimestampRange::WithEndTimestamp
TimestampRange & WithEndTimestamp(Aws::Utils::DateTime &&value)
Definition: TimestampRange.h:112
Aws::KinesisVideoArchivedMedia::Model::TimestampRange::GetStartTimestamp
const Aws::Utils::DateTime & GetStartTimestamp() const
Definition: TimestampRange.h:45
Aws::KinesisVideoArchivedMedia::Model::TimestampRange
Definition: TimestampRange.h:33
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::KinesisVideoArchivedMedia::Model::TimestampRange::SetEndTimestamp
void SetEndTimestamp(const Aws::Utils::DateTime &value)
Definition: TimestampRange.h:94
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::KinesisVideoArchivedMedia::Model::TimestampRange::GetEndTimestamp
const Aws::Utils::DateTime & GetEndTimestamp() const
Definition: TimestampRange.h:82
Aws::KinesisVideoArchivedMedia::Model::TimestampRange::TimestampRange
TimestampRange(Aws::Utils::Json::JsonView jsonValue)