AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KinesisVideoStreamStartSelector.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Rekognition
22{
23namespace Model
24{
25
38 {
39 public:
40 AWS_REKOGNITION_API KinesisVideoStreamStartSelector();
43 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline long long GetProducerTimestamp() const{ return m_producerTimestamp; }
52 inline bool ProducerTimestampHasBeenSet() const { return m_producerTimestampHasBeenSet; }
53 inline void SetProducerTimestamp(long long value) { m_producerTimestampHasBeenSet = true; m_producerTimestamp = value; }
54 inline KinesisVideoStreamStartSelector& WithProducerTimestamp(long long value) { SetProducerTimestamp(value); return *this;}
56
58
62 inline const Aws::String& GetFragmentNumber() const{ return m_fragmentNumber; }
63 inline bool FragmentNumberHasBeenSet() const { return m_fragmentNumberHasBeenSet; }
64 inline void SetFragmentNumber(const Aws::String& value) { m_fragmentNumberHasBeenSet = true; m_fragmentNumber = value; }
65 inline void SetFragmentNumber(Aws::String&& value) { m_fragmentNumberHasBeenSet = true; m_fragmentNumber = std::move(value); }
66 inline void SetFragmentNumber(const char* value) { m_fragmentNumberHasBeenSet = true; m_fragmentNumber.assign(value); }
68 inline KinesisVideoStreamStartSelector& WithFragmentNumber(Aws::String&& value) { SetFragmentNumber(std::move(value)); return *this;}
69 inline KinesisVideoStreamStartSelector& WithFragmentNumber(const char* value) { SetFragmentNumber(value); return *this;}
71 private:
72
73 long long m_producerTimestamp;
74 bool m_producerTimestampHasBeenSet = false;
75
76 Aws::String m_fragmentNumber;
77 bool m_fragmentNumberHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Rekognition
82} // namespace Aws
KinesisVideoStreamStartSelector & WithFragmentNumber(const char *value)
AWS_REKOGNITION_API KinesisVideoStreamStartSelector(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
KinesisVideoStreamStartSelector & WithFragmentNumber(const Aws::String &value)
AWS_REKOGNITION_API KinesisVideoStreamStartSelector & operator=(Aws::Utils::Json::JsonView jsonValue)
KinesisVideoStreamStartSelector & WithProducerTimestamp(long long value)
KinesisVideoStreamStartSelector & WithFragmentNumber(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue