7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/pinpoint/Pinpoint_EXPORTS.h>
10#include <aws/pinpoint/model/DayOfWeek.h>
11#include <aws/pinpoint/model/OpenHoursRule.h>
44 template <
typename EMAILT = Aws::Map<DayOfWeek, Aws::Vector<OpenHoursRule>>>
46 m_eMAILHasBeenSet =
true;
47 m_eMAIL = std::forward<EMAILT>(value);
49 template <
typename EMAILT = Aws::Map<DayOfWeek, Aws::Vector<OpenHoursRule>>>
51 SetEMAIL(std::forward<EMAILT>(value));
55 m_eMAILHasBeenSet =
true;
56 m_eMAIL.emplace(key, value);
67 template <
typename SMST = Aws::Map<DayOfWeek, Aws::Vector<OpenHoursRule>>>
69 m_sMSHasBeenSet =
true;
70 m_sMS = std::forward<SMST>(value);
72 template <
typename SMST = Aws::Map<DayOfWeek, Aws::Vector<OpenHoursRule>>>
74 SetSMS(std::forward<SMST>(value));
78 m_sMSHasBeenSet =
true;
79 m_sMS.emplace(key, value);
90 template <
typename PUSHT = Aws::Map<DayOfWeek, Aws::Vector<OpenHoursRule>>>
92 m_pUSHHasBeenSet =
true;
93 m_pUSH = std::forward<PUSHT>(value);
95 template <
typename PUSHT = Aws::Map<DayOfWeek, Aws::Vector<OpenHoursRule>>>
97 SetPUSH(std::forward<PUSHT>(value));
101 m_pUSHHasBeenSet =
true;
102 m_pUSH.emplace(key, value);
113 template <
typename VOICET = Aws::Map<DayOfWeek, Aws::Vector<OpenHoursRule>>>
115 m_vOICEHasBeenSet =
true;
116 m_vOICE = std::forward<VOICET>(value);
118 template <
typename VOICET = Aws::Map<DayOfWeek, Aws::Vector<OpenHoursRule>>>
120 SetVOICE(std::forward<VOICET>(value));
124 m_vOICEHasBeenSet =
true;
125 m_vOICE.emplace(key, value);
136 template <
typename CUSTOMT = Aws::Map<DayOfWeek, Aws::Vector<OpenHoursRule>>>
138 m_cUSTOMHasBeenSet =
true;
139 m_cUSTOM = std::forward<CUSTOMT>(value);
141 template <
typename CUSTOMT = Aws::Map<DayOfWeek, Aws::Vector<OpenHoursRule>>>
147 m_cUSTOMHasBeenSet =
true;
148 m_cUSTOM.emplace(key, value);
154 bool m_eMAILHasBeenSet =
false;
157 bool m_sMSHasBeenSet =
false;
160 bool m_pUSHHasBeenSet =
false;
163 bool m_vOICEHasBeenSet =
false;
166 bool m_cUSTOMHasBeenSet =
false;
bool SMSHasBeenSet() const
OpenHours & AddVOICE(DayOfWeek key, Aws::Vector< OpenHoursRule > value)
AWS_PINPOINT_API OpenHours()=default
const Aws::Map< DayOfWeek, Aws::Vector< OpenHoursRule > > & GetSMS() const
const Aws::Map< DayOfWeek, Aws::Vector< OpenHoursRule > > & GetVOICE() const
OpenHours & AddPUSH(DayOfWeek key, Aws::Vector< OpenHoursRule > value)
OpenHours & WithSMS(SMST &&value)
const Aws::Map< DayOfWeek, Aws::Vector< OpenHoursRule > > & GetEMAIL() const
bool CUSTOMHasBeenSet() const
OpenHours & WithCUSTOM(CUSTOMT &&value)
OpenHours & WithVOICE(VOICET &&value)
OpenHours & WithEMAIL(EMAILT &&value)
bool VOICEHasBeenSet() const
OpenHours & AddEMAIL(DayOfWeek key, Aws::Vector< OpenHoursRule > value)
const Aws::Map< DayOfWeek, Aws::Vector< OpenHoursRule > > & GetPUSH() const
AWS_PINPOINT_API OpenHours(Aws::Utils::Json::JsonView jsonValue)
void SetVOICE(VOICET &&value)
bool EMAILHasBeenSet() const
OpenHours & AddSMS(DayOfWeek key, Aws::Vector< OpenHoursRule > value)
const Aws::Map< DayOfWeek, Aws::Vector< OpenHoursRule > > & GetCUSTOM() const
OpenHours & AddCUSTOM(DayOfWeek key, Aws::Vector< OpenHoursRule > value)
OpenHours & WithPUSH(PUSHT &&value)
void SetPUSH(PUSHT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API OpenHours & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEMAIL(EMAILT &&value)
void SetCUSTOM(CUSTOMT &&value)
void SetSMS(SMST &&value)
bool PUSHHasBeenSet() const
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