/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Indicates the location of the landmark on the face.See Also:
* AWS
* API Reference
Type of landmark.
*/ inline const LandmarkType& GetType() const{ return m_type; } /** *Type of landmark.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *Type of landmark.
*/ inline void SetType(const LandmarkType& value) { m_typeHasBeenSet = true; m_type = value; } /** *Type of landmark.
*/ inline void SetType(LandmarkType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *Type of landmark.
*/ inline Landmark& WithType(const LandmarkType& value) { SetType(value); return *this;} /** *Type of landmark.
*/ inline Landmark& WithType(LandmarkType&& value) { SetType(std::move(value)); return *this;} /** *The x-coordinate from the top left of the landmark expressed as the ratio of * the width of the image. For example, if the image is 700 x 200 and the * x-coordinate of the landmark is at 350 pixels, this value is 0.5.
*/ inline double GetX() const{ return m_x; } /** *The x-coordinate from the top left of the landmark expressed as the ratio of * the width of the image. For example, if the image is 700 x 200 and the * x-coordinate of the landmark is at 350 pixels, this value is 0.5.
*/ inline bool XHasBeenSet() const { return m_xHasBeenSet; } /** *The x-coordinate from the top left of the landmark expressed as the ratio of * the width of the image. For example, if the image is 700 x 200 and the * x-coordinate of the landmark is at 350 pixels, this value is 0.5.
*/ inline void SetX(double value) { m_xHasBeenSet = true; m_x = value; } /** *The x-coordinate from the top left of the landmark expressed as the ratio of * the width of the image. For example, if the image is 700 x 200 and the * x-coordinate of the landmark is at 350 pixels, this value is 0.5.
*/ inline Landmark& WithX(double value) { SetX(value); return *this;} /** *The y-coordinate from the top left of the landmark expressed as the ratio of * the height of the image. For example, if the image is 700 x 200 and the * y-coordinate of the landmark is at 100 pixels, this value is 0.5.
*/ inline double GetY() const{ return m_y; } /** *The y-coordinate from the top left of the landmark expressed as the ratio of * the height of the image. For example, if the image is 700 x 200 and the * y-coordinate of the landmark is at 100 pixels, this value is 0.5.
*/ inline bool YHasBeenSet() const { return m_yHasBeenSet; } /** *The y-coordinate from the top left of the landmark expressed as the ratio of * the height of the image. For example, if the image is 700 x 200 and the * y-coordinate of the landmark is at 100 pixels, this value is 0.5.
*/ inline void SetY(double value) { m_yHasBeenSet = true; m_y = value; } /** *The y-coordinate from the top left of the landmark expressed as the ratio of * the height of the image. For example, if the image is 700 x 200 and the * y-coordinate of the landmark is at 100 pixels, this value is 0.5.
*/ inline Landmark& WithY(double value) { SetY(value); return *this;} private: LandmarkType m_type; bool m_typeHasBeenSet; double m_x; bool m_xHasBeenSet; double m_y; bool m_yHasBeenSet; }; } // namespace Model } // namespace Rekognition } // namespace Aws