7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-places/GeoPlaces_EXPORTS.h>
10#include <aws/geo-places/model/AccessPointType.h>
44 template <
typename PositionT = Aws::Vector<
double>>
46 m_positionHasBeenSet =
true;
47 m_position = std::forward<PositionT>(value);
49 template <
typename PositionT = Aws::Vector<
double>>
55 m_positionHasBeenSet =
true;
56 m_position.push_back(value);
69 m_typeHasBeenSet =
true;
86 m_primaryHasBeenSet =
true;
102 template <
typename LabelT = Aws::String>
104 m_labelHasBeenSet =
true;
105 m_label = std::forward<LabelT>(value);
107 template <
typename LabelT = Aws::String>
109 SetLabel(std::forward<LabelT>(value));
118 bool m_primary{
false};
121 bool m_positionHasBeenSet =
false;
122 bool m_typeHasBeenSet =
false;
123 bool m_primaryHasBeenSet =
false;
124 bool m_labelHasBeenSet =
false;
void SetPosition(PositionT &&value)
const Aws::Vector< double > & GetPosition() const
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
bool PrimaryHasBeenSet() const
const Aws::String & GetLabel() const
void SetPrimary(bool value)
void SetType(AccessPointType value)
bool PositionHasBeenSet() const
AccessPoint & WithPosition(PositionT &&value)
bool LabelHasBeenSet() const
AWS_GEOPLACES_API AccessPoint(Aws::Utils::Json::JsonView jsonValue)
AccessPoint & WithType(AccessPointType value)
AccessPoint & WithPrimary(bool value)
AWS_GEOPLACES_API AccessPoint & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
AccessPoint & WithLabel(LabelT &&value)
AccessPoint & AddPosition(double value)
AWS_GEOPLACES_API AccessPoint()=default
void SetLabel(LabelT &&value)
AccessPointType GetType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue