7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pinpoint/model/JourneyLimits.h>
11#include <aws/pinpoint/model/QuietTime.h>
12#include <aws/pinpoint/model/JourneySchedule.h>
13#include <aws/pinpoint/model/StartCondition.h>
14#include <aws/pinpoint/model/State.h>
15#include <aws/pinpoint/model/JourneyChannelSettings.h>
16#include <aws/pinpoint/model/OpenHours.h>
17#include <aws/pinpoint/model/ClosedDays.h>
18#include <aws/core/utils/memory/stl/AWSVector.h>
19#include <aws/pinpoint/model/Activity.h>
20#include <aws/pinpoint/model/__TimezoneEstimationMethodsElement.h>
63 template<
typename ActivitiesT = Aws::Map<Aws::String, Activity>>
64 void SetActivities(ActivitiesT&& value) { m_activitiesHasBeenSet =
true; m_activities = std::forward<ActivitiesT>(value); }
65 template<
typename ActivitiesT = Aws::Map<Aws::String, Activity>>
67 template<
typename ActivitiesKeyT = Aws::String,
typename ActivitiesValueT = Activity>
69 m_activitiesHasBeenSet =
true; m_activities.emplace(std::forward<ActivitiesKeyT>(key), std::forward<ActivitiesValueT>(value));
return *
this;
79 template<
typename CreationDateT = Aws::String>
80 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
81 template<
typename CreationDateT = Aws::String>
91 template<
typename LastModifiedDateT = Aws::String>
92 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
93 template<
typename LastModifiedDateT = Aws::String>
103 template<
typename LimitsT = JourneyLimits>
104 void SetLimits(LimitsT&& value) { m_limitsHasBeenSet =
true; m_limits = std::forward<LimitsT>(value); }
105 template<
typename LimitsT = JourneyLimits>
117 inline void SetLocalTime(
bool value) { m_localTimeHasBeenSet =
true; m_localTime = value; }
129 template<
typename NameT = Aws::String>
130 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
131 template<
typename NameT = Aws::String>
150 template<
typename QuietTimeT = QuietTime>
151 void SetQuietTime(QuietTimeT&& value) { m_quietTimeHasBeenSet =
true; m_quietTime = std::forward<QuietTimeT>(value); }
152 template<
typename QuietTimeT = QuietTime>
163 template<
typename RefreshFrequencyT = Aws::String>
164 void SetRefreshFrequency(RefreshFrequencyT&& value) { m_refreshFrequencyHasBeenSet =
true; m_refreshFrequency = std::forward<RefreshFrequencyT>(value); }
165 template<
typename RefreshFrequencyT = Aws::String>
175 template<
typename ScheduleT = JourneySchedule>
176 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
177 template<
typename ScheduleT = JourneySchedule>
189 template<
typename StartActivityT = Aws::String>
190 void SetStartActivity(StartActivityT&& value) { m_startActivityHasBeenSet =
true; m_startActivity = std::forward<StartActivityT>(value); }
191 template<
typename StartActivityT = Aws::String>
201 template<
typename StartConditionT = StartCondition>
202 void SetStartCondition(StartConditionT&& value) { m_startConditionHasBeenSet =
true; m_startCondition = std::forward<StartConditionT>(value); }
203 template<
typename StartConditionT = StartCondition>
221 inline void SetState(
State value) { m_stateHasBeenSet =
true; m_state = value; }
232 inline void SetWaitForQuietTime(
bool value) { m_waitForQuietTimeHasBeenSet =
true; m_waitForQuietTime = value; }
253 template<
typename JourneyChannelSettingsT = JourneyChannelSettings>
254 void SetJourneyChannelSettings(JourneyChannelSettingsT&& value) { m_journeyChannelSettingsHasBeenSet =
true; m_journeyChannelSettings = std::forward<JourneyChannelSettingsT>(value); }
255 template<
typename JourneyChannelSettingsT = JourneyChannelSettings>
266 inline void SetSendingSchedule(
bool value) { m_sendingScheduleHasBeenSet =
true; m_sendingSchedule = value; }
277 template<
typename OpenHoursT = OpenHours>
278 void SetOpenHours(OpenHoursT&& value) { m_openHoursHasBeenSet =
true; m_openHours = std::forward<OpenHoursT>(value); }
279 template<
typename OpenHoursT = OpenHours>
290 template<
typename ClosedDaysT = ClosedDays>
291 void SetClosedDays(ClosedDaysT&& value) { m_closedDaysHasBeenSet =
true; m_closedDays = std::forward<ClosedDaysT>(value); }
292 template<
typename ClosedDaysT = ClosedDays>
312 template<
typename TimezoneEstimationMethodsT = Aws::Vector<__TimezoneEstimationMethodsElement>>
313 void SetTimezoneEstimationMethods(TimezoneEstimationMethodsT&& value) { m_timezoneEstimationMethodsHasBeenSet =
true; m_timezoneEstimationMethods = std::forward<TimezoneEstimationMethodsT>(value); }
314 template<
typename TimezoneEstimationMethodsT = Aws::Vector<__TimezoneEstimationMethodsElement>>
321 bool m_activitiesHasBeenSet =
false;
324 bool m_creationDateHasBeenSet =
false;
327 bool m_lastModifiedDateHasBeenSet =
false;
330 bool m_limitsHasBeenSet =
false;
332 bool m_localTime{
false};
333 bool m_localTimeHasBeenSet =
false;
336 bool m_nameHasBeenSet =
false;
338 QuietTime m_quietTime;
339 bool m_quietTimeHasBeenSet =
false;
342 bool m_refreshFrequencyHasBeenSet =
false;
344 JourneySchedule m_schedule;
345 bool m_scheduleHasBeenSet =
false;
348 bool m_startActivityHasBeenSet =
false;
350 StartCondition m_startCondition;
351 bool m_startConditionHasBeenSet =
false;
354 bool m_stateHasBeenSet =
false;
356 bool m_waitForQuietTime{
false};
357 bool m_waitForQuietTimeHasBeenSet =
false;
359 bool m_refreshOnSegmentUpdate{
false};
360 bool m_refreshOnSegmentUpdateHasBeenSet =
false;
362 JourneyChannelSettings m_journeyChannelSettings;
363 bool m_journeyChannelSettingsHasBeenSet =
false;
365 bool m_sendingSchedule{
false};
366 bool m_sendingScheduleHasBeenSet =
false;
368 OpenHours m_openHours;
369 bool m_openHoursHasBeenSet =
false;
371 ClosedDays m_closedDays;
372 bool m_closedDaysHasBeenSet =
false;
375 bool m_timezoneEstimationMethodsHasBeenSet =
false;
const QuietTime & GetQuietTime() const
bool OpenHoursHasBeenSet() const
void SetQuietTime(QuietTimeT &&value)
void SetClosedDays(ClosedDaysT &&value)
WriteJourneyRequest & WithQuietTime(QuietTimeT &&value)
const JourneyLimits & GetLimits() const
WriteJourneyRequest & WithSendingSchedule(bool value)
void SetName(NameT &&value)
void SetLimits(LimitsT &&value)
bool GetSendingSchedule() const
bool LimitsHasBeenSet() const
WriteJourneyRequest & WithClosedDays(ClosedDaysT &&value)
const Aws::Vector< __TimezoneEstimationMethodsElement > & GetTimezoneEstimationMethods() const
bool GetWaitForQuietTime() const
bool RefreshOnSegmentUpdateHasBeenSet() const
bool JourneyChannelSettingsHasBeenSet() const
WriteJourneyRequest & WithRefreshOnSegmentUpdate(bool value)
WriteJourneyRequest & WithJourneyChannelSettings(JourneyChannelSettingsT &&value)
bool ScheduleHasBeenSet() const
WriteJourneyRequest & AddTimezoneEstimationMethods(__TimezoneEstimationMethodsElement value)
const Aws::String & GetLastModifiedDate() const
WriteJourneyRequest & WithState(State value)
WriteJourneyRequest & WithTimezoneEstimationMethods(TimezoneEstimationMethodsT &&value)
WriteJourneyRequest & WithCreationDate(CreationDateT &&value)
AWS_PINPOINT_API WriteJourneyRequest(Aws::Utils::Json::JsonView jsonValue)
bool StateHasBeenSet() const
void SetRefreshOnSegmentUpdate(bool value)
void SetOpenHours(OpenHoursT &&value)
bool NameHasBeenSet() const
bool GetLocalTime() const
const Aws::String & GetStartActivity() const
const Aws::Map< Aws::String, Activity > & GetActivities() const
const ClosedDays & GetClosedDays() const
WriteJourneyRequest & WithOpenHours(OpenHoursT &&value)
bool QuietTimeHasBeenSet() const
WriteJourneyRequest & WithLocalTime(bool value)
const OpenHours & GetOpenHours() const
bool LastModifiedDateHasBeenSet() const
bool ClosedDaysHasBeenSet() const
bool CreationDateHasBeenSet() const
AWS_PINPOINT_API WriteJourneyRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetJourneyChannelSettings(JourneyChannelSettingsT &&value)
bool GetRefreshOnSegmentUpdate() const
void SetWaitForQuietTime(bool value)
bool LocalTimeHasBeenSet() const
void SetSchedule(ScheduleT &&value)
const Aws::String & GetName() const
WriteJourneyRequest & WithActivities(ActivitiesT &&value)
void SetState(State value)
void SetStartActivity(StartActivityT &&value)
WriteJourneyRequest & WithRefreshFrequency(RefreshFrequencyT &&value)
bool ActivitiesHasBeenSet() const
WriteJourneyRequest & WithStartCondition(StartConditionT &&value)
const JourneySchedule & GetSchedule() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
bool StartConditionHasBeenSet() const
void SetCreationDate(CreationDateT &&value)
bool RefreshFrequencyHasBeenSet() const
WriteJourneyRequest & WithName(NameT &&value)
WriteJourneyRequest & WithWaitForQuietTime(bool value)
void SetActivities(ActivitiesT &&value)
bool TimezoneEstimationMethodsHasBeenSet() const
AWS_PINPOINT_API WriteJourneyRequest()=default
const JourneyChannelSettings & GetJourneyChannelSettings() const
WriteJourneyRequest & WithStartActivity(StartActivityT &&value)
WriteJourneyRequest & WithLastModifiedDate(LastModifiedDateT &&value)
WriteJourneyRequest & WithSchedule(ScheduleT &&value)
void SetLocalTime(bool value)
WriteJourneyRequest & WithLimits(LimitsT &&value)
const StartCondition & GetStartCondition() const
bool StartActivityHasBeenSet() const
bool WaitForQuietTimeHasBeenSet() const
void SetLastModifiedDate(LastModifiedDateT &&value)
bool SendingScheduleHasBeenSet() const
void SetRefreshFrequency(RefreshFrequencyT &&value)
void SetStartCondition(StartConditionT &&value)
WriteJourneyRequest & AddActivities(ActivitiesKeyT &&key, ActivitiesValueT &&value)
void SetTimezoneEstimationMethods(TimezoneEstimationMethodsT &&value)
const Aws::String & GetRefreshFrequency() const
void SetSendingSchedule(bool value)
const Aws::String & GetCreationDate() const
__TimezoneEstimationMethodsElement
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue