AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Circle.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.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 LocationService
22{
23namespace Model
24{
25
32 class Circle
33 {
34 public:
35 AWS_LOCATIONSERVICE_API Circle();
36 AWS_LOCATIONSERVICE_API Circle(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LOCATIONSERVICE_API Circle& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::Vector<double>& GetCenter() const{ return m_center; }
48 inline bool CenterHasBeenSet() const { return m_centerHasBeenSet; }
49 inline void SetCenter(const Aws::Vector<double>& value) { m_centerHasBeenSet = true; m_center = value; }
50 inline void SetCenter(Aws::Vector<double>&& value) { m_centerHasBeenSet = true; m_center = std::move(value); }
51 inline Circle& WithCenter(const Aws::Vector<double>& value) { SetCenter(value); return *this;}
52 inline Circle& WithCenter(Aws::Vector<double>&& value) { SetCenter(std::move(value)); return *this;}
53 inline Circle& AddCenter(double value) { m_centerHasBeenSet = true; m_center.push_back(value); return *this; }
55
57
61 inline double GetRadius() const{ return m_radius; }
62 inline bool RadiusHasBeenSet() const { return m_radiusHasBeenSet; }
63 inline void SetRadius(double value) { m_radiusHasBeenSet = true; m_radius = value; }
64 inline Circle& WithRadius(double value) { SetRadius(value); return *this;}
66 private:
67
68 Aws::Vector<double> m_center;
69 bool m_centerHasBeenSet = false;
70
71 double m_radius;
72 bool m_radiusHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace LocationService
77} // namespace Aws
Circle & WithCenter(const Aws::Vector< double > &value)
Definition Circle.h:51
const Aws::Vector< double > & GetCenter() const
Definition Circle.h:47
Circle & WithCenter(Aws::Vector< double > &&value)
Definition Circle.h:52
Circle & AddCenter(double value)
Definition Circle.h:53
Circle & WithRadius(double value)
Definition Circle.h:64
AWS_LOCATIONSERVICE_API Circle()
void SetCenter(Aws::Vector< double > &&value)
Definition Circle.h:50
AWS_LOCATIONSERVICE_API Circle(Aws::Utils::Json::JsonView jsonValue)
void SetCenter(const Aws::Vector< double > &value)
Definition Circle.h:49
AWS_LOCATIONSERVICE_API Circle & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRadius(double value)
Definition Circle.h:63
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue