/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An instance of a label returned by Amazon Rekognition Image
* (DetectLabels) or by Amazon Rekognition Video
* (GetLabelDetection).See Also:
AWS
* API Reference
The position of the label instance on the image.
*/ inline const BoundingBox& GetBoundingBox() const{ return m_boundingBox; } /** *The position of the label instance on the image.
*/ inline bool BoundingBoxHasBeenSet() const { return m_boundingBoxHasBeenSet; } /** *The position of the label instance on the image.
*/ inline void SetBoundingBox(const BoundingBox& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = value; } /** *The position of the label instance on the image.
*/ inline void SetBoundingBox(BoundingBox&& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = std::move(value); } /** *The position of the label instance on the image.
*/ inline Instance& WithBoundingBox(const BoundingBox& value) { SetBoundingBox(value); return *this;} /** *The position of the label instance on the image.
*/ inline Instance& WithBoundingBox(BoundingBox&& value) { SetBoundingBox(std::move(value)); return *this;} /** *The confidence that Amazon Rekognition has in the accuracy of the bounding * box.
*/ inline double GetConfidence() const{ return m_confidence; } /** *The confidence that Amazon Rekognition has in the accuracy of the bounding * box.
*/ inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; } /** *The confidence that Amazon Rekognition has in the accuracy of the bounding * box.
*/ inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; } /** *The confidence that Amazon Rekognition has in the accuracy of the bounding * box.
*/ inline Instance& WithConfidence(double value) { SetConfidence(value); return *this;} /** *The dominant colors found in an individual instance of a label.
*/ inline const Aws::VectorThe dominant colors found in an individual instance of a label.
*/ inline bool DominantColorsHasBeenSet() const { return m_dominantColorsHasBeenSet; } /** *The dominant colors found in an individual instance of a label.
*/ inline void SetDominantColors(const Aws::VectorThe dominant colors found in an individual instance of a label.
*/ inline void SetDominantColors(Aws::VectorThe dominant colors found in an individual instance of a label.
*/ inline Instance& WithDominantColors(const Aws::VectorThe dominant colors found in an individual instance of a label.
*/ inline Instance& WithDominantColors(Aws::VectorThe dominant colors found in an individual instance of a label.
*/ inline Instance& AddDominantColors(const DominantColor& value) { m_dominantColorsHasBeenSet = true; m_dominantColors.push_back(value); return *this; } /** *The dominant colors found in an individual instance of a label.
*/ inline Instance& AddDominantColors(DominantColor&& value) { m_dominantColorsHasBeenSet = true; m_dominantColors.push_back(std::move(value)); return *this; } private: BoundingBox m_boundingBox; bool m_boundingBoxHasBeenSet = false; double m_confidence; bool m_confidenceHasBeenSet = false; Aws::Vector