7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/crt/cbor/Cbor.h>
33 AWS_COMPREHEND_API
BoundingBox(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_COMPREHEND_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 inline double GetHeight()
const {
return m_height; }
45 m_heightHasBeenSet =
true;
59 inline double GetLeft()
const {
return m_left; }
62 m_leftHasBeenSet =
true;
76 inline double GetTop()
const {
return m_top; }
79 m_topHasBeenSet =
true;
93 inline double GetWidth()
const {
return m_width; }
96 m_widthHasBeenSet =
true;
105 double m_height{0.0};
112 bool m_heightHasBeenSet =
false;
113 bool m_leftHasBeenSet =
false;
114 bool m_topHasBeenSet =
false;
115 bool m_widthHasBeenSet =
false;
bool LeftHasBeenSet() const
AWS_COMPREHEND_API BoundingBox & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
BoundingBox & WithHeight(double value)
void SetTop(double value)
BoundingBox & WithLeft(double value)
void SetWidth(double value)
AWS_COMPREHEND_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetLeft(double value)
AWS_COMPREHEND_API BoundingBox(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool HeightHasBeenSet() const
BoundingBox & WithWidth(double value)
BoundingBox & WithTop(double value)
bool TopHasBeenSet() const
AWS_COMPREHEND_API BoundingBox()=default
void SetHeight(double value)
bool WidthHasBeenSet() const