AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AgeRange.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Rekognition {
17namespace Model {
18
28class AgeRange {
29 public:
30 AWS_REKOGNITION_API AgeRange() = default;
31 AWS_REKOGNITION_API AgeRange(Aws::Utils::Json::JsonView jsonValue);
32 AWS_REKOGNITION_API AgeRange& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline int GetLow() const { return m_low; }
40 inline bool LowHasBeenSet() const { return m_lowHasBeenSet; }
41 inline void SetLow(int value) {
42 m_lowHasBeenSet = true;
43 m_low = value;
44 }
45 inline AgeRange& WithLow(int value) {
46 SetLow(value);
47 return *this;
48 }
50
52
55 inline int GetHigh() const { return m_high; }
56 inline bool HighHasBeenSet() const { return m_highHasBeenSet; }
57 inline void SetHigh(int value) {
58 m_highHasBeenSet = true;
59 m_high = value;
60 }
61 inline AgeRange& WithHigh(int value) {
62 SetHigh(value);
63 return *this;
64 }
66 private:
67 int m_low{0};
68
69 int m_high{0};
70 bool m_lowHasBeenSet = false;
71 bool m_highHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace Rekognition
76} // namespace Aws
AWS_REKOGNITION_API AgeRange()=default
AWS_REKOGNITION_API AgeRange & operator=(Aws::Utils::Json::JsonView jsonValue)
AgeRange & WithHigh(int value)
Definition AgeRange.h:61
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API AgeRange(Aws::Utils::Json::JsonView jsonValue)
AgeRange & WithLow(int value)
Definition AgeRange.h:45
Aws::Utils::Json::JsonValue JsonValue