7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-places/GeoPlaces_EXPORTS.h>
10#include <aws/geo-places/model/Category.h>
11#include <aws/geo-places/model/OpeningHoursComponents.h>
45 template <
typename DisplayT = Aws::Vector<Aws::String>>
47 m_displayHasBeenSet =
true;
48 m_display = std::forward<DisplayT>(value);
50 template <
typename DisplayT = Aws::Vector<Aws::String>>
55 template <
typename DisplayT = Aws::String>
57 m_displayHasBeenSet =
true;
58 m_display.emplace_back(std::forward<DisplayT>(value));
70 m_openNowHasBeenSet =
true;
85 template <
typename ComponentsT = Aws::Vector<OpeningHoursComponents>>
87 m_componentsHasBeenSet =
true;
88 m_components = std::forward<ComponentsT>(value);
90 template <
typename ComponentsT = Aws::Vector<OpeningHoursComponents>>
95 template <
typename ComponentsT = OpeningHoursComponents>
97 m_componentsHasBeenSet =
true;
98 m_components.emplace_back(std::forward<ComponentsT>(value));
109 template <
typename CategoriesT = Aws::Vector<Category>>
111 m_categoriesHasBeenSet =
true;
112 m_categories = std::forward<CategoriesT>(value);
114 template <
typename CategoriesT = Aws::Vector<Category>>
119 template <
typename CategoriesT = Category>
121 m_categoriesHasBeenSet =
true;
122 m_categories.emplace_back(std::forward<CategoriesT>(value));
129 bool m_openNow{
false};
134 bool m_displayHasBeenSet =
false;
135 bool m_openNowHasBeenSet =
false;
136 bool m_componentsHasBeenSet =
false;
137 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