7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename IdT = Aws::String>
47 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
48 template<
typename IdT = Aws::String>
58 template<
typename NameT = Aws::String>
59 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
60 template<
typename NameT = Aws::String>
70 template<
typename LocalizedNameT = Aws::String>
71 void SetLocalizedName(LocalizedNameT&& value) { m_localizedNameHasBeenSet =
true; m_localizedName = std::forward<LocalizedNameT>(value); }
72 template<
typename LocalizedNameT = Aws::String>
83 inline void SetPrimary(
bool value) { m_primaryHasBeenSet =
true; m_primary = value; }
89 bool m_idHasBeenSet =
false;
92 bool m_nameHasBeenSet =
false;
95 bool m_localizedNameHasBeenSet =
false;
97 bool m_primary{
false};
98 bool m_primaryHasBeenSet =
false;
AWS_GEOPLACES_API Category()=default
Category & WithId(IdT &&value)
void SetPrimary(bool value)
bool LocalizedNameHasBeenSet() const
AWS_GEOPLACES_API Category & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
AWS_GEOPLACES_API Category(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetName(NameT &&value)
bool PrimaryHasBeenSet() const
const Aws::String & GetId() const
Category & WithPrimary(bool value)
bool IdHasBeenSet() const
const Aws::String & GetLocalizedName() const
Category & WithName(NameT &&value)
Category & WithLocalizedName(LocalizedNameT &&value)
void SetLocalizedName(LocalizedNameT &&value)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue