AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GPSPointDimension.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/GPSCoordinates.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 Pinpoint
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_PINPOINT_API GPSPointDimension();
36 AWS_PINPOINT_API GPSPointDimension(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const GPSCoordinates& GetCoordinates() const{ return m_coordinates; }
46 inline bool CoordinatesHasBeenSet() const { return m_coordinatesHasBeenSet; }
47 inline void SetCoordinates(const GPSCoordinates& value) { m_coordinatesHasBeenSet = true; m_coordinates = value; }
48 inline void SetCoordinates(GPSCoordinates&& value) { m_coordinatesHasBeenSet = true; m_coordinates = std::move(value); }
49 inline GPSPointDimension& WithCoordinates(const GPSCoordinates& value) { SetCoordinates(value); return *this;}
50 inline GPSPointDimension& WithCoordinates(GPSCoordinates&& value) { SetCoordinates(std::move(value)); return *this;}
52
54
57 inline double GetRangeInKilometers() const{ return m_rangeInKilometers; }
58 inline bool RangeInKilometersHasBeenSet() const { return m_rangeInKilometersHasBeenSet; }
59 inline void SetRangeInKilometers(double value) { m_rangeInKilometersHasBeenSet = true; m_rangeInKilometers = value; }
60 inline GPSPointDimension& WithRangeInKilometers(double value) { SetRangeInKilometers(value); return *this;}
62 private:
63
64 GPSCoordinates m_coordinates;
65 bool m_coordinatesHasBeenSet = false;
66
67 double m_rangeInKilometers;
68 bool m_rangeInKilometersHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Pinpoint
73} // namespace Aws
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
GPSPointDimension & WithCoordinates(GPSCoordinates &&value)
GPSPointDimension & WithRangeInKilometers(double value)
AWS_PINPOINT_API GPSPointDimension & operator=(Aws::Utils::Json::JsonView jsonValue)
GPSPointDimension & WithCoordinates(const GPSCoordinates &value)
const GPSCoordinates & GetCoordinates() const
AWS_PINPOINT_API GPSPointDimension(Aws::Utils::Json::JsonView jsonValue)
void SetCoordinates(const GPSCoordinates &value)
void SetCoordinates(GPSCoordinates &&value)
Aws::Utils::Json::JsonValue JsonValue