AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AgeRange.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Rekognition
20{
21namespace Model
22{
23
34 {
35 public:
36 AWS_REKOGNITION_API AgeRange();
37 AWS_REKOGNITION_API AgeRange(Aws::Utils::Json::JsonView jsonValue);
38 AWS_REKOGNITION_API AgeRange& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline int GetLow() const{ return m_low; }
47 inline bool LowHasBeenSet() const { return m_lowHasBeenSet; }
48 inline void SetLow(int value) { m_lowHasBeenSet = true; m_low = value; }
49 inline AgeRange& WithLow(int value) { SetLow(value); return *this;}
51
53
56 inline int GetHigh() const{ return m_high; }
57 inline bool HighHasBeenSet() const { return m_highHasBeenSet; }
58 inline void SetHigh(int value) { m_highHasBeenSet = true; m_high = value; }
59 inline AgeRange& WithHigh(int value) { SetHigh(value); return *this;}
61 private:
62
63 int m_low;
64 bool m_lowHasBeenSet = false;
65
66 int m_high;
67 bool m_highHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace Rekognition
72} // namespace Aws
AWS_REKOGNITION_API AgeRange & operator=(Aws::Utils::Json::JsonView jsonValue)
AgeRange & WithHigh(int value)
Definition AgeRange.h:59
AWS_REKOGNITION_API AgeRange()
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:49
Aws::Utils::Json::JsonValue JsonValue