7#include <aws/lookoutvision/LookoutforVision_EXPORTS.h>
8#include <aws/lookoutvision/model/ImageSource.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/Array.h>
11#include <aws/lookoutvision/model/Anomaly.h>
24namespace LookoutforVision
70 inline void SetIsAnomalous(
bool value) { m_isAnomalousHasBeenSet =
true; m_isAnomalous = value; }
81 inline void SetConfidence(
double value) { m_confidenceHasBeenSet =
true; m_confidence = value; }
126 bool m_sourceHasBeenSet =
false;
129 bool m_isAnomalousHasBeenSet =
false;
132 bool m_confidenceHasBeenSet =
false;
135 bool m_anomaliesHasBeenSet =
false;
138 bool m_anomalyMaskHasBeenSet =
false;
DetectAnomalyResult & WithSource(ImageSource &&value)
DetectAnomalyResult & WithAnomalyMask(Aws::Utils::ByteBuffer &&value)
void SetAnomalyMask(const Aws::Utils::ByteBuffer &value)
DetectAnomalyResult & WithAnomalies(const Aws::Vector< Anomaly > &value)
void SetConfidence(double value)
AWS_LOOKOUTFORVISION_API DetectAnomalyResult & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AnomalyMaskHasBeenSet() const
AWS_LOOKOUTFORVISION_API DetectAnomalyResult()
const ImageSource & GetSource() const
DetectAnomalyResult & AddAnomalies(Anomaly &&value)
DetectAnomalyResult & WithAnomalyMask(const Aws::Utils::ByteBuffer &value)
double GetConfidence() const
void SetAnomalyMask(Aws::Utils::ByteBuffer &&value)
void SetIsAnomalous(bool value)
void SetSource(ImageSource &&value)
AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const
bool SourceHasBeenSet() const
bool AnomaliesHasBeenSet() const
bool IsAnomalousHasBeenSet() const
bool GetIsAnomalous() const
const Aws::Vector< Anomaly > & GetAnomalies() const
const Aws::Utils::ByteBuffer & GetAnomalyMask() const
DetectAnomalyResult & WithSource(const ImageSource &value)
AWS_LOOKOUTFORVISION_API DetectAnomalyResult(Aws::Utils::Json::JsonView jsonValue)
void SetSource(const ImageSource &value)
DetectAnomalyResult & AddAnomalies(const Anomaly &value)
void SetAnomalies(const Aws::Vector< Anomaly > &value)
DetectAnomalyResult & WithIsAnomalous(bool value)
DetectAnomalyResult & WithAnomalies(Aws::Vector< Anomaly > &&value)
DetectAnomalyResult & WithConfidence(double value)
bool ConfidenceHasBeenSet() const
void SetAnomalies(Aws::Vector< Anomaly > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue