126 lines
3.9 KiB
C++
126 lines
3.9 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/kinesis-video-archived-media/KinesisVideoArchivedMedia_EXPORTS.h>
|
|
#include <aws/core/utils/DateTime.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace KinesisVideoArchivedMedia
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>The range of timestamps for which to return fragments.</p><p><h3>See
|
|
* Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/TimestampRange">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_KINESISVIDEOARCHIVEDMEDIA_API TimestampRange
|
|
{
|
|
public:
|
|
TimestampRange();
|
|
TimestampRange(Aws::Utils::Json::JsonView jsonValue);
|
|
TimestampRange& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The starting timestamp in the range of timestamps for which to return
|
|
* fragments.</p>
|
|
*/
|
|
inline const Aws::Utils::DateTime& GetStartTimestamp() const{ return m_startTimestamp; }
|
|
|
|
/**
|
|
* <p>The starting timestamp in the range of timestamps for which to return
|
|
* fragments.</p>
|
|
*/
|
|
inline bool StartTimestampHasBeenSet() const { return m_startTimestampHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The starting timestamp in the range of timestamps for which to return
|
|
* fragments.</p>
|
|
*/
|
|
inline void SetStartTimestamp(const Aws::Utils::DateTime& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = value; }
|
|
|
|
/**
|
|
* <p>The starting timestamp in the range of timestamps for which to return
|
|
* fragments.</p>
|
|
*/
|
|
inline void SetStartTimestamp(Aws::Utils::DateTime&& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = std::move(value); }
|
|
|
|
/**
|
|
* <p>The starting timestamp in the range of timestamps for which to return
|
|
* fragments.</p>
|
|
*/
|
|
inline TimestampRange& WithStartTimestamp(const Aws::Utils::DateTime& value) { SetStartTimestamp(value); return *this;}
|
|
|
|
/**
|
|
* <p>The starting timestamp in the range of timestamps for which to return
|
|
* fragments.</p>
|
|
*/
|
|
inline TimestampRange& WithStartTimestamp(Aws::Utils::DateTime&& value) { SetStartTimestamp(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The ending timestamp in the range of timestamps for which to return
|
|
* fragments.</p>
|
|
*/
|
|
inline const Aws::Utils::DateTime& GetEndTimestamp() const{ return m_endTimestamp; }
|
|
|
|
/**
|
|
* <p>The ending timestamp in the range of timestamps for which to return
|
|
* fragments.</p>
|
|
*/
|
|
inline bool EndTimestampHasBeenSet() const { return m_endTimestampHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The ending timestamp in the range of timestamps for which to return
|
|
* fragments.</p>
|
|
*/
|
|
inline void SetEndTimestamp(const Aws::Utils::DateTime& value) { m_endTimestampHasBeenSet = true; m_endTimestamp = value; }
|
|
|
|
/**
|
|
* <p>The ending timestamp in the range of timestamps for which to return
|
|
* fragments.</p>
|
|
*/
|
|
inline void SetEndTimestamp(Aws::Utils::DateTime&& value) { m_endTimestampHasBeenSet = true; m_endTimestamp = std::move(value); }
|
|
|
|
/**
|
|
* <p>The ending timestamp in the range of timestamps for which to return
|
|
* fragments.</p>
|
|
*/
|
|
inline TimestampRange& WithEndTimestamp(const Aws::Utils::DateTime& value) { SetEndTimestamp(value); return *this;}
|
|
|
|
/**
|
|
* <p>The ending timestamp in the range of timestamps for which to return
|
|
* fragments.</p>
|
|
*/
|
|
inline TimestampRange& WithEndTimestamp(Aws::Utils::DateTime&& value) { SetEndTimestamp(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::Utils::DateTime m_startTimestamp;
|
|
bool m_startTimestampHasBeenSet;
|
|
|
|
Aws::Utils::DateTime m_endTimestamp;
|
|
bool m_endTimestampHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace KinesisVideoArchivedMedia
|
|
} // namespace Aws
|