7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/geo-places/GeoPlaces_EXPORTS.h>
9#include <aws/geo-places/model/AdminNamesPreference.h>
10#include <aws/geo-places/model/TranslationName.h>
45 template <
typename NamesT = Aws::Vector<TranslationName>>
47 m_namesHasBeenSet =
true;
48 m_names = std::forward<NamesT>(value);
50 template <
typename NamesT = Aws::Vector<TranslationName>>
52 SetNames(std::forward<NamesT>(value));
55 template <
typename NamesT = TranslationName>
57 m_namesHasBeenSet =
true;
58 m_names.emplace_back(std::forward<NamesT>(value));
71 m_preferenceHasBeenSet =
true;
83 bool m_namesHasBeenSet =
false;
84 bool m_preferenceHasBeenSet =
false;
const Aws::Vector< TranslationName > & GetNames() const
AWS_GEOPLACES_API AdminNames & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNames(NamesT &&value)
AdminNamesPreference GetPreference() const
bool PreferenceHasBeenSet() const
AWS_GEOPLACES_API AdminNames()=default
AdminNames & WithPreference(AdminNamesPreference value)
AdminNames & AddNames(NamesT &&value)
void SetPreference(AdminNamesPreference value)
AdminNames & WithNames(NamesT &&value)
AWS_GEOPLACES_API AdminNames(Aws::Utils::Json::JsonView jsonValue)
bool NamesHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue