7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/ModerationLabel.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rekognition/model/ContentType.h>
52 inline void SetTimestamp(
long long value) { m_timestampHasBeenSet =
true; m_timestamp = value; }
75 inline void SetStartTimestampMillis(
long long value) { m_startTimestampMillisHasBeenSet =
true; m_startTimestampMillis = value; }
86 inline void SetEndTimestampMillis(
long long value) { m_endTimestampMillisHasBeenSet =
true; m_endTimestampMillis = value; }
97 inline void SetDurationMillis(
long long value) { m_durationMillisHasBeenSet =
true; m_durationMillis = value; }
117 long long m_timestamp;
118 bool m_timestampHasBeenSet =
false;
121 bool m_moderationLabelHasBeenSet =
false;
123 long long m_startTimestampMillis;
124 bool m_startTimestampMillisHasBeenSet =
false;
126 long long m_endTimestampMillis;
127 bool m_endTimestampMillisHasBeenSet =
false;
129 long long m_durationMillis;
130 bool m_durationMillisHasBeenSet =
false;
133 bool m_contentTypesHasBeenSet =
false;
bool ContentTypesHasBeenSet() const
ContentModerationDetection & WithModerationLabel(const ModerationLabel &value)
ContentModerationDetection & WithContentTypes(const Aws::Vector< ContentType > &value)
AWS_REKOGNITION_API ContentModerationDetection(Aws::Utils::Json::JsonView jsonValue)
ContentModerationDetection & AddContentTypes(const ContentType &value)
void SetModerationLabel(const ModerationLabel &value)
void SetContentTypes(Aws::Vector< ContentType > &&value)
bool DurationMillisHasBeenSet() const
bool ModerationLabelHasBeenSet() const
const ModerationLabel & GetModerationLabel() const
long long GetEndTimestampMillis() const
long long GetTimestamp() const
bool StartTimestampMillisHasBeenSet() const
ContentModerationDetection & WithTimestamp(long long value)
void SetEndTimestampMillis(long long value)
ContentModerationDetection & WithModerationLabel(ModerationLabel &&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)
void SetContentTypes(const Aws::Vector< ContentType > &value)
ContentModerationDetection & AddContentTypes(ContentType &&value)
AWS_REKOGNITION_API ContentModerationDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TimestampHasBeenSet() const
ContentModerationDetection & WithStartTimestampMillis(long long value)
void SetStartTimestampMillis(long long value)
AWS_REKOGNITION_API ContentModerationDetection()
const Aws::Vector< ContentType > & GetContentTypes() const
void SetModerationLabel(ModerationLabel &&value)
void SetDurationMillis(long long value)
bool EndTimestampMillisHasBeenSet() const
ContentModerationDetection & WithContentTypes(Aws::Vector< ContentType > &&value)
long long GetDurationMillis() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue