7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/socialmessaging/SocialMessaging_EXPORTS.h>
10#include <aws/socialmessaging/model/WhatsAppHolidayScheduleEntry.h>
11#include <aws/socialmessaging/model/WhatsAppWeeklyOperatingHoursEntry.h>
22namespace SocialMessaging {
47 m_enabledHasBeenSet =
true;
63 template <
typename TimezoneT = Aws::String>
65 m_timezoneHasBeenSet =
true;
66 m_timezone = std::forward<TimezoneT>(value);
68 template <
typename TimezoneT = Aws::String>
81 template <
typename WeeklyOperatingHoursT = Aws::Vector<WhatsAppWeeklyOperatingHoursEntry>>
83 m_weeklyOperatingHoursHasBeenSet =
true;
84 m_weeklyOperatingHours = std::forward<WeeklyOperatingHoursT>(value);
86 template <
typename WeeklyOperatingHoursT = Aws::Vector<WhatsAppWeeklyOperatingHoursEntry>>
91 template <
typename WeeklyOperatingHoursT = WhatsAppWeeklyOperatingHoursEntry>
93 m_weeklyOperatingHoursHasBeenSet =
true;
94 m_weeklyOperatingHours.emplace_back(std::forward<WeeklyOperatingHoursT>(value));
105 template <
typename Hol
idayScheduleT = Aws::Vector<WhatsAppHol
idayScheduleEntry>>
107 m_holidayScheduleHasBeenSet =
true;
108 m_holidaySchedule = std::forward<HolidayScheduleT>(value);
110 template <
typename Hol
idayScheduleT = Aws::Vector<WhatsAppHol
idayScheduleEntry>>
115 template <
typename Hol
idayScheduleT = WhatsAppHol
idayScheduleEntry>
117 m_holidayScheduleHasBeenSet =
true;
118 m_holidaySchedule.emplace_back(std::forward<HolidayScheduleT>(value));
123 bool m_enabled{
false};
130 bool m_enabledHasBeenSet =
false;
131 bool m_timezoneHasBeenSet =
false;
132 bool m_weeklyOperatingHoursHasBeenSet =
false;
133 bool m_holidayScheduleHasBeenSet =
false;
void SetEnabled(bool value)
AWS_SOCIALMESSAGING_API WhatsAppCallHours & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
WhatsAppCallHours & AddWeeklyOperatingHours(WeeklyOperatingHoursT &&value)
AWS_SOCIALMESSAGING_API WhatsAppCallHours(Aws::Utils::Json::JsonView jsonValue)
void SetWeeklyOperatingHours(WeeklyOperatingHoursT &&value)
const Aws::String & GetTimezone() const
WhatsAppCallHours & WithEnabled(bool value)
const Aws::Vector< WhatsAppHolidayScheduleEntry > & GetHolidaySchedule() const
void SetHolidaySchedule(HolidayScheduleT &&value)
bool TimezoneHasBeenSet() const
WhatsAppCallHours & WithTimezone(TimezoneT &&value)
WhatsAppCallHours & AddHolidaySchedule(HolidayScheduleT &&value)
bool EnabledHasBeenSet() const
WhatsAppCallHours & WithWeeklyOperatingHours(WeeklyOperatingHoursT &&value)
const Aws::Vector< WhatsAppWeeklyOperatingHoursEntry > & GetWeeklyOperatingHours() const
AWS_SOCIALMESSAGING_API WhatsAppCallHours()=default
bool WeeklyOperatingHoursHasBeenSet() const
bool HolidayScheduleHasBeenSet() const
void SetTimezone(TimezoneT &&value)
WhatsAppCallHours & WithHolidaySchedule(HolidayScheduleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue