AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GeocodePreferenceValue.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/Coordinate.h>
9#include <aws/quicksight/model/GeocoderHierarchy.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API GeocodePreferenceValue() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const GeocoderHierarchy& GetGeocoderHierarchy() const { return m_geocoderHierarchy; }
41 inline bool GeocoderHierarchyHasBeenSet() const { return m_geocoderHierarchyHasBeenSet; }
42 template <typename GeocoderHierarchyT = GeocoderHierarchy>
43 void SetGeocoderHierarchy(GeocoderHierarchyT&& value) {
44 m_geocoderHierarchyHasBeenSet = true;
45 m_geocoderHierarchy = std::forward<GeocoderHierarchyT>(value);
46 }
47 template <typename GeocoderHierarchyT = GeocoderHierarchy>
48 GeocodePreferenceValue& WithGeocoderHierarchy(GeocoderHierarchyT&& value) {
49 SetGeocoderHierarchy(std::forward<GeocoderHierarchyT>(value));
50 return *this;
51 }
53
55
58 inline const Coordinate& GetCoordinate() const { return m_coordinate; }
59 inline bool CoordinateHasBeenSet() const { return m_coordinateHasBeenSet; }
60 template <typename CoordinateT = Coordinate>
61 void SetCoordinate(CoordinateT&& value) {
62 m_coordinateHasBeenSet = true;
63 m_coordinate = std::forward<CoordinateT>(value);
64 }
65 template <typename CoordinateT = Coordinate>
66 GeocodePreferenceValue& WithCoordinate(CoordinateT&& value) {
67 SetCoordinate(std::forward<CoordinateT>(value));
68 return *this;
69 }
71 private:
72 GeocoderHierarchy m_geocoderHierarchy;
73
74 Coordinate m_coordinate;
75 bool m_geocoderHierarchyHasBeenSet = false;
76 bool m_coordinateHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace QuickSight
81} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API GeocodePreferenceValue & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API GeocodePreferenceValue()=default
AWS_QUICKSIGHT_API GeocodePreferenceValue(Aws::Utils::Json::JsonView jsonValue)
GeocodePreferenceValue & WithGeocoderHierarchy(GeocoderHierarchyT &&value)
void SetGeocoderHierarchy(GeocoderHierarchyT &&value)
const GeocoderHierarchy & GetGeocoderHierarchy() const
GeocodePreferenceValue & WithCoordinate(CoordinateT &&value)
Aws::Utils::Json::JsonValue JsonValue