AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GeocoderHierarchy.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
29 public:
30 AWS_QUICKSIGHT_API GeocoderHierarchy() = default;
31 AWS_QUICKSIGHT_API GeocoderHierarchy(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetCountry() const { return m_country; }
40 inline bool CountryHasBeenSet() const { return m_countryHasBeenSet; }
41 template <typename CountryT = Aws::String>
42 void SetCountry(CountryT&& value) {
43 m_countryHasBeenSet = true;
44 m_country = std::forward<CountryT>(value);
45 }
46 template <typename CountryT = Aws::String>
47 GeocoderHierarchy& WithCountry(CountryT&& value) {
48 SetCountry(std::forward<CountryT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetState() const { return m_state; }
58 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
59 template <typename StateT = Aws::String>
60 void SetState(StateT&& value) {
61 m_stateHasBeenSet = true;
62 m_state = std::forward<StateT>(value);
63 }
64 template <typename StateT = Aws::String>
65 GeocoderHierarchy& WithState(StateT&& value) {
66 SetState(std::forward<StateT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetCounty() const { return m_county; }
76 inline bool CountyHasBeenSet() const { return m_countyHasBeenSet; }
77 template <typename CountyT = Aws::String>
78 void SetCounty(CountyT&& value) {
79 m_countyHasBeenSet = true;
80 m_county = std::forward<CountyT>(value);
81 }
82 template <typename CountyT = Aws::String>
83 GeocoderHierarchy& WithCounty(CountyT&& value) {
84 SetCounty(std::forward<CountyT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetCity() const { return m_city; }
94 inline bool CityHasBeenSet() const { return m_cityHasBeenSet; }
95 template <typename CityT = Aws::String>
96 void SetCity(CityT&& value) {
97 m_cityHasBeenSet = true;
98 m_city = std::forward<CityT>(value);
99 }
100 template <typename CityT = Aws::String>
101 GeocoderHierarchy& WithCity(CityT&& value) {
102 SetCity(std::forward<CityT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetPostCode() const { return m_postCode; }
112 inline bool PostCodeHasBeenSet() const { return m_postCodeHasBeenSet; }
113 template <typename PostCodeT = Aws::String>
114 void SetPostCode(PostCodeT&& value) {
115 m_postCodeHasBeenSet = true;
116 m_postCode = std::forward<PostCodeT>(value);
117 }
118 template <typename PostCodeT = Aws::String>
119 GeocoderHierarchy& WithPostCode(PostCodeT&& value) {
120 SetPostCode(std::forward<PostCodeT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_country;
126
127 Aws::String m_state;
128
129 Aws::String m_county;
130
131 Aws::String m_city;
132
133 Aws::String m_postCode;
134 bool m_countryHasBeenSet = false;
135 bool m_stateHasBeenSet = false;
136 bool m_countyHasBeenSet = false;
137 bool m_cityHasBeenSet = false;
138 bool m_postCodeHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace QuickSight
143} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
GeocoderHierarchy & WithCountry(CountryT &&value)
GeocoderHierarchy & WithPostCode(PostCodeT &&value)
AWS_QUICKSIGHT_API GeocoderHierarchy & operator=(Aws::Utils::Json::JsonView jsonValue)
GeocoderHierarchy & WithState(StateT &&value)
GeocoderHierarchy & WithCity(CityT &&value)
GeocoderHierarchy & WithCounty(CountyT &&value)
AWS_QUICKSIGHT_API GeocoderHierarchy()=default
AWS_QUICKSIGHT_API GeocoderHierarchy(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue