7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
48 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
62 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
76 inline void SetLocalizedName(
const char* value) { m_localizedNameHasBeenSet =
true; m_localizedName.assign(value); }
89 inline void SetPrimary(
bool value) { m_primaryHasBeenSet =
true; m_primary = value; }
95 bool m_idHasBeenSet =
false;
98 bool m_nameHasBeenSet =
false;
101 bool m_localizedNameHasBeenSet =
false;
104 bool m_primaryHasBeenSet =
false;
Category & WithName(const Aws::String &value)
Category & WithId(Aws::String &&value)
void SetPrimary(bool value)
bool LocalizedNameHasBeenSet() const
AWS_GEOPLACES_API Category & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const char *value)
Category & WithId(const Aws::String &value)
bool NameHasBeenSet() const
AWS_GEOPLACES_API Category(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetId(Aws::String &&value)
Category & WithName(Aws::String &&value)
void SetName(Aws::String &&value)
Category & WithId(const char *value)
void SetId(const char *value)
void SetLocalizedName(const char *value)
AWS_GEOPLACES_API Category()
void SetLocalizedName(Aws::String &&value)
bool PrimaryHasBeenSet() const
Category & WithName(const char *value)
const Aws::String & GetId() const
void SetId(const Aws::String &value)
Category & WithLocalizedName(const Aws::String &value)
Category & WithPrimary(bool value)
bool IdHasBeenSet() const
void SetName(const Aws::String &value)
const Aws::String & GetLocalizedName() const
Category & WithLocalizedName(const char *value)
void SetLocalizedName(const Aws::String &value)
Category & WithLocalizedName(Aws::String &&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