AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Location.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_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 DeviceFarm
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_DEVICEFARM_API Location();
35 AWS_DEVICEFARM_API Location(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DEVICEFARM_API Location& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline double GetLatitude() const{ return m_latitude; }
45 inline bool LatitudeHasBeenSet() const { return m_latitudeHasBeenSet; }
46 inline void SetLatitude(double value) { m_latitudeHasBeenSet = true; m_latitude = value; }
47 inline Location& WithLatitude(double value) { SetLatitude(value); return *this;}
49
51
54 inline double GetLongitude() const{ return m_longitude; }
55 inline bool LongitudeHasBeenSet() const { return m_longitudeHasBeenSet; }
56 inline void SetLongitude(double value) { m_longitudeHasBeenSet = true; m_longitude = value; }
57 inline Location& WithLongitude(double value) { SetLongitude(value); return *this;}
59 private:
60
61 double m_latitude;
62 bool m_latitudeHasBeenSet = false;
63
64 double m_longitude;
65 bool m_longitudeHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace DeviceFarm
70} // namespace Aws
AWS_DEVICEFARM_API Location & operator=(Aws::Utils::Json::JsonView jsonValue)
Location & WithLongitude(double value)
Definition Location.h:57
void SetLatitude(double value)
Definition Location.h:46
void SetLongitude(double value)
Definition Location.h:56
AWS_DEVICEFARM_API Location(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVICEFARM_API Location()
Location & WithLatitude(double value)
Definition Location.h:47
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue