AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
Coordinate.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace QuickSight {
17namespace Model {
18
26 public:
27 AWS_QUICKSIGHT_API Coordinate() = default;
28 AWS_QUICKSIGHT_API Coordinate(Aws::Utils::Json::JsonView jsonValue);
29 AWS_QUICKSIGHT_API Coordinate& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline double GetLatitude() const { return m_latitude; }
37 inline bool LatitudeHasBeenSet() const { return m_latitudeHasBeenSet; }
38 inline void SetLatitude(double value) {
39 m_latitudeHasBeenSet = true;
40 m_latitude = value;
41 }
42 inline Coordinate& WithLatitude(double value) {
43 SetLatitude(value);
44 return *this;
45 }
47
49
52 inline double GetLongitude() const { return m_longitude; }
53 inline bool LongitudeHasBeenSet() const { return m_longitudeHasBeenSet; }
54 inline void SetLongitude(double value) {
55 m_longitudeHasBeenSet = true;
56 m_longitude = value;
57 }
58 inline Coordinate& WithLongitude(double value) {
59 SetLongitude(value);
60 return *this;
61 }
63 private:
64 double m_latitude{0.0};
65
66 double m_longitude{0.0};
67 bool m_latitudeHasBeenSet = false;
68 bool m_longitudeHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace QuickSight
73} // namespace Aws
Coordinate & WithLatitude(double value)
Definition Coordinate.h:42
AWS_QUICKSIGHT_API Coordinate()=default
AWS_QUICKSIGHT_API Coordinate(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLongitude(double value)
Definition Coordinate.h:54
Coordinate & WithLongitude(double value)
Definition Coordinate.h:58
AWS_QUICKSIGHT_API Coordinate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue