7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/connectcampaignsv2/model/OpenHours.h>
9#include <aws/connectcampaignsv2/model/RestrictedPeriods.h>
20namespace ConnectCampaignsV2 {
39 template <
typename OpenHoursT = OpenHours>
41 m_openHoursHasBeenSet =
true;
42 m_openHours = std::forward<OpenHoursT>(value);
44 template <
typename OpenHoursT = OpenHours>
55 template <
typename RestrictedPeriodsT = RestrictedPeriods>
57 m_restrictedPeriodsHasBeenSet =
true;
58 m_restrictedPeriods = std::forward<RestrictedPeriodsT>(value);
60 template <
typename RestrictedPeriodsT = RestrictedPeriods>
70 bool m_openHoursHasBeenSet =
false;
71 bool m_restrictedPeriodsHasBeenSet =
false;
AWS_CONNECTCAMPAIGNSV2_API TimeWindow & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRestrictedPeriods(RestrictedPeriodsT &&value)
AWS_CONNECTCAMPAIGNSV2_API TimeWindow()=default
bool OpenHoursHasBeenSet() const
const OpenHours & GetOpenHours() const
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const RestrictedPeriods & GetRestrictedPeriods() const
TimeWindow & WithRestrictedPeriods(RestrictedPeriodsT &&value)
TimeWindow & WithOpenHours(OpenHoursT &&value)
void SetOpenHours(OpenHoursT &&value)
bool RestrictedPeriodsHasBeenSet() const
AWS_CONNECTCAMPAIGNSV2_API TimeWindow(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue