7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/geo-places/model/OpeningHoursComponents.h>
11#include <aws/geo-places/model/Category.h>
51 template<
typename DisplayT = Aws::Vector<Aws::String>>
52 void SetDisplay(DisplayT&& value) { m_displayHasBeenSet =
true; m_display = std::forward<DisplayT>(value); }
53 template<
typename DisplayT = Aws::Vector<Aws::String>>
55 template<
typename DisplayT = Aws::String>
56 OpeningHours&
AddDisplay(DisplayT&& value) { m_displayHasBeenSet =
true; m_display.emplace_back(std::forward<DisplayT>(value));
return *
this; }
65 inline void SetOpenNow(
bool value) { m_openNowHasBeenSet =
true; m_openNow = value; }
75 template<
typename ComponentsT = Aws::Vector<OpeningHoursComponents>>
76 void SetComponents(ComponentsT&& value) { m_componentsHasBeenSet =
true; m_components = std::forward<ComponentsT>(value); }
77 template<
typename ComponentsT = Aws::Vector<OpeningHoursComponents>>
79 template<
typename ComponentsT = OpeningHoursComponents>
80 OpeningHours&
AddComponents(ComponentsT&& value) { m_componentsHasBeenSet =
true; m_components.emplace_back(std::forward<ComponentsT>(value));
return *
this; }
89 template<
typename CategoriesT = Aws::Vector<Category>>
90 void SetCategories(CategoriesT&& value) { m_categoriesHasBeenSet =
true; m_categories = std::forward<CategoriesT>(value); }
91 template<
typename CategoriesT = Aws::Vector<Category>>
93 template<
typename CategoriesT = Category>
94 OpeningHours&
AddCategories(CategoriesT&& value) { m_categoriesHasBeenSet =
true; m_categories.emplace_back(std::forward<CategoriesT>(value));
return *
this; }
99 bool m_displayHasBeenSet =
false;
101 bool m_openNow{
false};
102 bool m_openNowHasBeenSet =
false;
105 bool m_componentsHasBeenSet =
false;
108 bool m_categoriesHasBeenSet =
false;
bool ComponentsHasBeenSet() const
OpeningHours & WithOpenNow(bool value)
bool OpenNowHasBeenSet() const
AWS_GEOPLACES_API OpeningHours(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Category > & GetCategories() const
void SetOpenNow(bool value)
bool CategoriesHasBeenSet() const
OpeningHours & AddDisplay(DisplayT &&value)
const Aws::Vector< OpeningHoursComponents > & GetComponents() const
void SetDisplay(DisplayT &&value)
AWS_GEOPLACES_API OpeningHours & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOPLACES_API OpeningHours()=default
OpeningHours & AddComponents(ComponentsT &&value)
OpeningHours & WithDisplay(DisplayT &&value)
void SetComponents(ComponentsT &&value)
OpeningHours & WithComponents(ComponentsT &&value)
void SetCategories(CategoriesT &&value)
OpeningHours & WithCategories(CategoriesT &&value)
bool DisplayHasBeenSet() const
const Aws::Vector< Aws::String > & GetDisplay() const
OpeningHours & AddCategories(CategoriesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue