7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/connectcampaignsv2/model/DayOfWeek.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/connectcampaignsv2/model/TimeRange.h>
24namespace ConnectCampaignsV2
47 template<
typename DailyHoursT = Aws::Map<DayOfWeek, Aws::Vector<TimeRange>>>
48 void SetDailyHours(DailyHoursT&& value) { m_dailyHoursHasBeenSet =
true; m_dailyHours = std::forward<DailyHoursT>(value); }
49 template<
typename DailyHoursT = Aws::Map<DayOfWeek, Aws::Vector<TimeRange>>>
52 m_dailyHoursHasBeenSet =
true; m_dailyHours.emplace(key, value);
return *
this;
58 bool m_dailyHoursHasBeenSet =
false;
AWS_CONNECTCAMPAIGNSV2_API OpenHours & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< DayOfWeek, Aws::Vector< TimeRange > > & GetDailyHours() const
void SetDailyHours(DailyHoursT &&value)
bool DailyHoursHasBeenSet() const
AWS_CONNECTCAMPAIGNSV2_API OpenHours(Aws::Utils::Json::JsonView jsonValue)
OpenHours & WithDailyHours(DailyHoursT &&value)
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTCAMPAIGNSV2_API OpenHours()=default
OpenHours & AddDailyHours(DayOfWeek key, Aws::Vector< TimeRange > value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue