7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/Label.h>
49 inline void SetTimestamp(
long long value) { m_timestampHasBeenSet =
true; m_timestamp = value; }
59 template<
typename LabelT = Label>
60 void SetLabel(LabelT&& value) { m_labelHasBeenSet =
true; m_label = std::forward<LabelT>(value); }
61 template<
typename LabelT = Label>
72 inline void SetStartTimestampMillis(
long long value) { m_startTimestampMillisHasBeenSet =
true; m_startTimestampMillis = value; }
83 inline void SetEndTimestampMillis(
long long value) { m_endTimestampMillisHasBeenSet =
true; m_endTimestampMillis = value; }
94 inline void SetDurationMillis(
long long value) { m_durationMillisHasBeenSet =
true; m_durationMillis = value; }
99 long long m_timestamp{0};
100 bool m_timestampHasBeenSet =
false;
103 bool m_labelHasBeenSet =
false;
105 long long m_startTimestampMillis{0};
106 bool m_startTimestampMillisHasBeenSet =
false;
108 long long m_endTimestampMillis{0};
109 bool m_endTimestampMillisHasBeenSet =
false;
111 long long m_durationMillis{0};
112 bool m_durationMillisHasBeenSet =
false;
bool EndTimestampMillisHasBeenSet() const
AWS_REKOGNITION_API LabelDetection(Aws::Utils::Json::JsonView jsonValue)
bool StartTimestampMillisHasBeenSet() const
LabelDetection & WithEndTimestampMillis(long long value)
bool DurationMillisHasBeenSet() const
long long GetEndTimestampMillis() const
LabelDetection & WithStartTimestampMillis(long long value)
bool TimestampHasBeenSet() const
void SetDurationMillis(long long value)
const Label & GetLabel() const
void SetStartTimestampMillis(long long value)
LabelDetection & WithLabel(LabelT &&value)
LabelDetection & WithDurationMillis(long long value)
void SetLabel(LabelT &&value)
LabelDetection & WithTimestamp(long long value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
long long GetDurationMillis() const
long long GetStartTimestampMillis() const
AWS_REKOGNITION_API LabelDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTimestamp(long long value)
void SetEndTimestampMillis(long long value)
bool LabelHasBeenSet() const
AWS_REKOGNITION_API LabelDetection()=default
long long GetTimestamp() const
Aws::Utils::Json::JsonValue JsonValue