AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Landmark.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/LandmarkType.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Rekognition
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_REKOGNITION_API Landmark();
36 AWS_REKOGNITION_API Landmark(Aws::Utils::Json::JsonView jsonValue);
37 AWS_REKOGNITION_API Landmark& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const LandmarkType& GetType() const{ return m_type; }
46 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
47 inline void SetType(const LandmarkType& value) { m_typeHasBeenSet = true; m_type = value; }
48 inline void SetType(LandmarkType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
49 inline Landmark& WithType(const LandmarkType& value) { SetType(value); return *this;}
50 inline Landmark& WithType(LandmarkType&& value) { SetType(std::move(value)); return *this;}
52
54
60 inline double GetX() const{ return m_x; }
61 inline bool XHasBeenSet() const { return m_xHasBeenSet; }
62 inline void SetX(double value) { m_xHasBeenSet = true; m_x = value; }
63 inline Landmark& WithX(double value) { SetX(value); return *this;}
65
67
73 inline double GetY() const{ return m_y; }
74 inline bool YHasBeenSet() const { return m_yHasBeenSet; }
75 inline void SetY(double value) { m_yHasBeenSet = true; m_y = value; }
76 inline Landmark& WithY(double value) { SetY(value); return *this;}
78 private:
79
80 LandmarkType m_type;
81 bool m_typeHasBeenSet = false;
82
83 double m_x;
84 bool m_xHasBeenSet = false;
85
86 double m_y;
87 bool m_yHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Rekognition
92} // namespace Aws
AWS_REKOGNITION_API Landmark(Aws::Utils::Json::JsonView jsonValue)
void SetType(LandmarkType &&value)
Definition Landmark.h:48
AWS_REKOGNITION_API Landmark & operator=(Aws::Utils::Json::JsonView jsonValue)
const LandmarkType & GetType() const
Definition Landmark.h:45
Landmark & WithType(const LandmarkType &value)
Definition Landmark.h:49
Landmark & WithY(double value)
Definition Landmark.h:76
void SetType(const LandmarkType &value)
Definition Landmark.h:47
AWS_REKOGNITION_API Landmark()
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
Landmark & WithType(LandmarkType &&value)
Definition Landmark.h:50
Landmark & WithX(double value)
Definition Landmark.h:63
Aws::Utils::Json::JsonValue JsonValue