7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-places/model/Category.h>
49 inline void SetRestricted(
bool value) { m_restrictedHasBeenSet =
true; m_restricted = value; }
69 bool m_restrictedHasBeenSet =
false;
72 bool m_categoriesHasBeenSet =
false;
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
AccessRestriction & WithCategories(const Aws::Vector< Category > &value)
AccessRestriction & WithRestricted(bool value)
AccessRestriction & AddCategories(const Category &value)
bool CategoriesHasBeenSet() const
void SetCategories(Aws::Vector< Category > &&value)
bool GetRestricted() const
AccessRestriction & AddCategories(Category &&value)
AWS_GEOPLACES_API AccessRestriction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOPLACES_API AccessRestriction()
AccessRestriction & WithCategories(Aws::Vector< Category > &&value)
void SetRestricted(bool value)
void SetCategories(const Aws::Vector< Category > &value)
bool RestrictedHasBeenSet() const
AWS_GEOPLACES_API AccessRestriction(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Category > & GetCategories() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue