7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/rekognition/Rekognition_EXPORTS.h>
9#include <aws/rekognition/model/ContentType.h>
10#include <aws/rekognition/model/ModerationLabel.h>
21namespace Rekognition {
47 m_timestampHasBeenSet =
true;
62 template <
typename ModerationLabelT = ModerationLabel>
64 m_moderationLabelHasBeenSet =
true;
65 m_moderationLabel = std::forward<ModerationLabelT>(value);
67 template <
typename ModerationLabelT = ModerationLabel>
82 m_startTimestampMillisHasBeenSet =
true;
83 m_startTimestampMillis = value;
99 m_endTimestampMillisHasBeenSet =
true;
100 m_endTimestampMillis = value;
116 m_durationMillisHasBeenSet =
true;
117 m_durationMillis = value;
132 template <
typename ContentTypesT = Aws::Vector<ContentType>>
134 m_contentTypesHasBeenSet =
true;
135 m_contentTypes = std::forward<ContentTypesT>(value);
137 template <
typename ContentTypesT = Aws::Vector<ContentType>>
142 template <
typename ContentTypesT = ContentType>
144 m_contentTypesHasBeenSet =
true;
145 m_contentTypes.emplace_back(std::forward<ContentTypesT>(value));
150 long long m_timestamp{0};
152 ModerationLabel m_moderationLabel;
154 long long m_startTimestampMillis{0};
156 long long m_endTimestampMillis{0};
158 long long m_durationMillis{0};
161 bool m_timestampHasBeenSet =
false;
162 bool m_moderationLabelHasBeenSet =
false;
163 bool m_startTimestampMillisHasBeenSet =
false;
164 bool m_endTimestampMillisHasBeenSet =
false;
165 bool m_durationMillisHasBeenSet =
false;
166 bool m_contentTypesHasBeenSet =
false;
bool ContentTypesHasBeenSet() const
void SetContentTypes(ContentTypesT &&value)
AWS_REKOGNITION_API ContentModerationDetection(Aws::Utils::Json::JsonView jsonValue)
bool DurationMillisHasBeenSet() const
bool ModerationLabelHasBeenSet() const
const ModerationLabel & GetModerationLabel() const
ContentModerationDetection & AddContentTypes(ContentTypesT &&value)
long long GetEndTimestampMillis() const
ContentModerationDetection & WithContentTypes(ContentTypesT &&value)
long long GetTimestamp() const
bool StartTimestampMillisHasBeenSet() const
ContentModerationDetection & WithTimestamp(long long value)
void SetEndTimestampMillis(long long value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
ContentModerationDetection & WithEndTimestampMillis(long long value)
ContentModerationDetection & WithDurationMillis(long long value)
long long GetStartTimestampMillis() const
void SetTimestamp(long long value)
AWS_REKOGNITION_API ContentModerationDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TimestampHasBeenSet() const
void SetModerationLabel(ModerationLabelT &&value)
ContentModerationDetection & WithStartTimestampMillis(long long value)
void SetStartTimestampMillis(long long value)
ContentModerationDetection & WithModerationLabel(ModerationLabelT &&value)
const Aws::Vector< ContentType > & GetContentTypes() const
AWS_REKOGNITION_API ContentModerationDetection()=default
void SetDurationMillis(long long value)
bool EndTimestampMillisHasBeenSet() const
long long GetDurationMillis() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue