7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/connectcampaignsv2/model/LocalTimeZoneConfig.h>
9#include <aws/connectcampaignsv2/model/TimeWindow.h>
22namespace ConnectCampaignsV2
45 template<
typename LocalTimeZoneConfigT = LocalTimeZoneConfig>
46 void SetLocalTimeZoneConfig(LocalTimeZoneConfigT&& value) { m_localTimeZoneConfigHasBeenSet =
true; m_localTimeZoneConfig = std::forward<LocalTimeZoneConfigT>(value); }
47 template<
typename LocalTimeZoneConfigT = LocalTimeZoneConfig>
55 template<
typename TelephonyT = TimeWindow>
56 void SetTelephony(TelephonyT&& value) { m_telephonyHasBeenSet =
true; m_telephony = std::forward<TelephonyT>(value); }
57 template<
typename TelephonyT = TimeWindow>
65 template<
typename SmsT = TimeWindow>
66 void SetSms(SmsT&& value) { m_smsHasBeenSet =
true; m_sms = std::forward<SmsT>(value); }
67 template<
typename SmsT = TimeWindow>
75 template<
typename EmailT = TimeWindow>
76 void SetEmail(EmailT&& value) { m_emailHasBeenSet =
true; m_email = std::forward<EmailT>(value); }
77 template<
typename EmailT = TimeWindow>
83 bool m_localTimeZoneConfigHasBeenSet =
false;
86 bool m_telephonyHasBeenSet =
false;
89 bool m_smsHasBeenSet =
false;
92 bool m_emailHasBeenSet =
false;
void SetEmail(EmailT &&value)
const TimeWindow & GetEmail() const
const TimeWindow & GetSms() const
bool EmailHasBeenSet() const
AWS_CONNECTCAMPAIGNSV2_API CommunicationTimeConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TelephonyHasBeenSet() const
const TimeWindow & GetTelephony() const
CommunicationTimeConfig & WithSms(SmsT &&value)
void SetTelephony(TelephonyT &&value)
const LocalTimeZoneConfig & GetLocalTimeZoneConfig() const
bool LocalTimeZoneConfigHasBeenSet() const
AWS_CONNECTCAMPAIGNSV2_API CommunicationTimeConfig(Aws::Utils::Json::JsonView jsonValue)
void SetLocalTimeZoneConfig(LocalTimeZoneConfigT &&value)
AWS_CONNECTCAMPAIGNSV2_API CommunicationTimeConfig()=default
CommunicationTimeConfig & WithEmail(EmailT &&value)
bool SmsHasBeenSet() const
CommunicationTimeConfig & WithTelephony(TelephonyT &&value)
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
CommunicationTimeConfig & WithLocalTimeZoneConfig(LocalTimeZoneConfigT &&value)
void SetSms(SmsT &&value)
Aws::Utils::Json::JsonValue JsonValue