7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/pinpoint/Pinpoint_EXPORTS.h>
11#include <aws/pinpoint/model/Activity.h>
12#include <aws/pinpoint/model/ClosedDays.h>
13#include <aws/pinpoint/model/JourneyChannelSettings.h>
14#include <aws/pinpoint/model/JourneyLimits.h>
15#include <aws/pinpoint/model/JourneySchedule.h>
16#include <aws/pinpoint/model/OpenHours.h>
17#include <aws/pinpoint/model/QuietTime.h>
18#include <aws/pinpoint/model/StartCondition.h>
19#include <aws/pinpoint/model/State.h>
20#include <aws/pinpoint/model/__TimezoneEstimationMethodsElement.h>
57 template <
typename ActivitiesT = Aws::Map<Aws::String, Activity>>
59 m_activitiesHasBeenSet =
true;
60 m_activities = std::forward<ActivitiesT>(value);
62 template <
typename ActivitiesT = Aws::Map<Aws::String, Activity>>
67 template <
typename ActivitiesKeyT = Aws::String,
typename ActivitiesValueT = Activity>
69 m_activitiesHasBeenSet =
true;
70 m_activities.emplace(std::forward<ActivitiesKeyT>(key), std::forward<ActivitiesValueT>(value));
81 template <
typename CreationDateT = Aws::String>
83 m_creationDateHasBeenSet =
true;
84 m_creationDate = std::forward<CreationDateT>(value);
86 template <
typename CreationDateT = Aws::String>
99 template <
typename LastModifiedDateT = Aws::String>
101 m_lastModifiedDateHasBeenSet =
true;
102 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
104 template <
typename LastModifiedDateT = Aws::String>
117 template <
typename LimitsT = JourneyLimits>
119 m_limitsHasBeenSet =
true;
120 m_limits = std::forward<LimitsT>(value);
122 template <
typename LimitsT = JourneyLimits>
138 m_localTimeHasBeenSet =
true;
155 template <
typename NameT = Aws::String>
157 m_nameHasBeenSet =
true;
158 m_name = std::forward<NameT>(value);
160 template <
typename NameT = Aws::String>
162 SetName(std::forward<NameT>(value));
182 template <
typename QuietTimeT = QuietTime>
184 m_quietTimeHasBeenSet =
true;
185 m_quietTime = std::forward<QuietTimeT>(value);
187 template <
typename QuietTimeT = QuietTime>
201 template <
typename RefreshFrequencyT = Aws::String>
203 m_refreshFrequencyHasBeenSet =
true;
204 m_refreshFrequency = std::forward<RefreshFrequencyT>(value);
206 template <
typename RefreshFrequencyT = Aws::String>
219 template <
typename ScheduleT = JourneySchedule>
221 m_scheduleHasBeenSet =
true;
222 m_schedule = std::forward<ScheduleT>(value);
224 template <
typename ScheduleT = JourneySchedule>
239 template <
typename StartActivityT = Aws::String>
241 m_startActivityHasBeenSet =
true;
242 m_startActivity = std::forward<StartActivityT>(value);
244 template <
typename StartActivityT = Aws::String>
257 template <
typename StartConditionT = StartCondition>
259 m_startConditionHasBeenSet =
true;
260 m_startCondition = std::forward<StartConditionT>(value);
262 template <
typename StartConditionT = StartCondition>
284 m_stateHasBeenSet =
true;
301 m_waitForQuietTimeHasBeenSet =
true;
302 m_waitForQuietTime = value;
318 m_refreshOnSegmentUpdateHasBeenSet =
true;
319 m_refreshOnSegmentUpdate = value;
333 template <
typename JourneyChannelSettingsT = JourneyChannelSettings>
335 m_journeyChannelSettingsHasBeenSet =
true;
336 m_journeyChannelSettings = std::forward<JourneyChannelSettingsT>(value);
338 template <
typename JourneyChannelSettingsT = JourneyChannelSettings>
353 m_sendingScheduleHasBeenSet =
true;
354 m_sendingSchedule = value;
369 template <
typename OpenHoursT = OpenHours>
371 m_openHoursHasBeenSet =
true;
372 m_openHours = std::forward<OpenHoursT>(value);
374 template <
typename OpenHoursT = OpenHours>
388 template <
typename ClosedDaysT = ClosedDays>
390 m_closedDaysHasBeenSet =
true;
391 m_closedDays = std::forward<ClosedDaysT>(value);
393 template <
typename ClosedDaysT = ClosedDays>
416 template <
typename TimezoneEstimationMethodsT = Aws::Vector<__TimezoneEstimationMethodsElement>>
418 m_timezoneEstimationMethodsHasBeenSet =
true;
419 m_timezoneEstimationMethods = std::forward<TimezoneEstimationMethodsT>(value);
421 template <
typename TimezoneEstimationMethodsT = Aws::Vector<__TimezoneEstimationMethodsElement>>
427 m_timezoneEstimationMethodsHasBeenSet =
true;
428 m_timezoneEstimationMethods.push_back(value);
441 bool m_localTime{
false};
445 QuietTime m_quietTime;
449 JourneySchedule m_schedule;
453 StartCondition m_startCondition;
457 bool m_waitForQuietTime{
false};
459 bool m_refreshOnSegmentUpdate{
false};
461 JourneyChannelSettings m_journeyChannelSettings;
463 bool m_sendingSchedule{
false};
465 OpenHours m_openHours;
467 ClosedDays m_closedDays;
470 bool m_activitiesHasBeenSet =
false;
471 bool m_creationDateHasBeenSet =
false;
472 bool m_lastModifiedDateHasBeenSet =
false;
473 bool m_limitsHasBeenSet =
false;
474 bool m_localTimeHasBeenSet =
false;
475 bool m_nameHasBeenSet =
false;
476 bool m_quietTimeHasBeenSet =
false;
477 bool m_refreshFrequencyHasBeenSet =
false;
478 bool m_scheduleHasBeenSet =
false;
479 bool m_startActivityHasBeenSet =
false;
480 bool m_startConditionHasBeenSet =
false;
481 bool m_stateHasBeenSet =
false;
482 bool m_waitForQuietTimeHasBeenSet =
false;
483 bool m_refreshOnSegmentUpdateHasBeenSet =
false;
484 bool m_journeyChannelSettingsHasBeenSet =
false;
485 bool m_sendingScheduleHasBeenSet =
false;
486 bool m_openHoursHasBeenSet =
false;
487 bool m_closedDaysHasBeenSet =
false;
488 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