7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/geo-places/GeoPlaces_EXPORTS.h>
9#include <aws/geo-places/model/Category.h>
44 m_restrictedHasBeenSet =
true;
59 template <
typename CategoriesT = Aws::Vector<Category>>
61 m_categoriesHasBeenSet =
true;
62 m_categories = std::forward<CategoriesT>(value);
64 template <
typename CategoriesT = Aws::Vector<Category>>
69 template <
typename CategoriesT = Category>
71 m_categoriesHasBeenSet =
true;
72 m_categories.emplace_back(std::forward<CategoriesT>(value));
77 bool m_restricted{
false};
80 bool m_restrictedHasBeenSet =
false;
81 bool m_categoriesHasBeenSet =
false;
void SetCategories(CategoriesT &&value)
AWS_GEOPLACES_API AccessRestriction()=default
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
AccessRestriction & WithRestricted(bool value)
AccessRestriction & WithCategories(CategoriesT &&value)
bool CategoriesHasBeenSet() const
bool GetRestricted() const
AccessRestriction & AddCategories(CategoriesT &&value)
AWS_GEOPLACES_API AccessRestriction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRestricted(bool 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