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>
55 template <
typename ActivitiesT = Aws::Map<Aws::String, Activity>>
57 m_activitiesHasBeenSet =
true;
58 m_activities = std::forward<ActivitiesT>(value);
60 template <
typename ActivitiesT = Aws::Map<Aws::String, Activity>>
65 template <
typename ActivitiesKeyT = Aws::String,
typename ActivitiesValueT = Activity>
67 m_activitiesHasBeenSet =
true;
68 m_activities.emplace(std::forward<ActivitiesKeyT>(key), std::forward<ActivitiesValueT>(value));
79 template <
typename ApplicationIdT = Aws::String>
81 m_applicationIdHasBeenSet =
true;
82 m_applicationId = std::forward<ApplicationIdT>(value);
84 template <
typename ApplicationIdT = Aws::String>
97 template <
typename CreationDateT = Aws::String>
99 m_creationDateHasBeenSet =
true;
100 m_creationDate = std::forward<CreationDateT>(value);
102 template <
typename CreationDateT = Aws::String>
115 template <
typename IdT = Aws::String>
117 m_idHasBeenSet =
true;
118 m_id = std::forward<IdT>(value);
120 template <
typename IdT = Aws::String>
122 SetId(std::forward<IdT>(value));
133 template <
typename LastModifiedDateT = Aws::String>
135 m_lastModifiedDateHasBeenSet =
true;
136 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
138 template <
typename LastModifiedDateT = Aws::String>
151 template <
typename LimitsT = JourneyLimits>
153 m_limitsHasBeenSet =
true;
154 m_limits = std::forward<LimitsT>(value);
156 template <
typename LimitsT = JourneyLimits>
172 m_localTimeHasBeenSet =
true;
187 template <
typename NameT = Aws::String>
189 m_nameHasBeenSet =
true;
190 m_name = std::forward<NameT>(value);
192 template <
typename NameT = Aws::String>
194 SetName(std::forward<NameT>(value));
214 template <
typename QuietTimeT = QuietTime>
216 m_quietTimeHasBeenSet =
true;
217 m_quietTime = std::forward<QuietTimeT>(value);
219 template <
typename QuietTimeT = QuietTime>
233 template <
typename RefreshFrequencyT = Aws::String>
235 m_refreshFrequencyHasBeenSet =
true;
236 m_refreshFrequency = std::forward<RefreshFrequencyT>(value);
238 template <
typename RefreshFrequencyT = Aws::String>
251 template <
typename ScheduleT = JourneySchedule>
253 m_scheduleHasBeenSet =
true;
254 m_schedule = std::forward<ScheduleT>(value);
256 template <
typename ScheduleT = JourneySchedule>
269 template <
typename StartActivityT = Aws::String>
271 m_startActivityHasBeenSet =
true;
272 m_startActivity = std::forward<StartActivityT>(value);
274 template <
typename StartActivityT = Aws::String>
287 template <
typename StartConditionT = StartCondition>
289 m_startConditionHasBeenSet =
true;
290 m_startCondition = std::forward<StartConditionT>(value);
292 template <
typename StartConditionT = StartCondition>
322 m_stateHasBeenSet =
true;
337 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
339 m_tagsHasBeenSet =
true;
340 m_tags = std::forward<TagsT>(value);
342 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
344 SetTags(std::forward<TagsT>(value));
347 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
349 m_tagsHasBeenSet =
true;
350 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
363 m_waitForQuietTimeHasBeenSet =
true;
364 m_waitForQuietTime = value;
380 m_refreshOnSegmentUpdateHasBeenSet =
true;
381 m_refreshOnSegmentUpdate = value;
395 template <
typename JourneyChannelSettingsT = JourneyChannelSettings>
397 m_journeyChannelSettingsHasBeenSet =
true;
398 m_journeyChannelSettings = std::forward<JourneyChannelSettingsT>(value);
400 template <
typename JourneyChannelSettingsT = JourneyChannelSettings>
415 m_sendingScheduleHasBeenSet =
true;
416 m_sendingSchedule = value;
431 template <
typename OpenHoursT = OpenHours>
433 m_openHoursHasBeenSet =
true;
434 m_openHours = std::forward<OpenHoursT>(value);
436 template <
typename OpenHoursT = OpenHours>
450 template <
typename ClosedDaysT = ClosedDays>
452 m_closedDaysHasBeenSet =
true;
453 m_closedDays = std::forward<ClosedDaysT>(value);
455 template <
typename ClosedDaysT = ClosedDays>
478 template <
typename TimezoneEstimationMethodsT = Aws::Vector<__TimezoneEstimationMethodsElement>>
480 m_timezoneEstimationMethodsHasBeenSet =
true;
481 m_timezoneEstimationMethods = std::forward<TimezoneEstimationMethodsT>(value);
483 template <
typename TimezoneEstimationMethodsT = Aws::Vector<__TimezoneEstimationMethodsElement>>
489 m_timezoneEstimationMethodsHasBeenSet =
true;
490 m_timezoneEstimationMethods.push_back(value);
496 bool m_activitiesHasBeenSet =
false;
499 bool m_applicationIdHasBeenSet =
false;
502 bool m_creationDateHasBeenSet =
false;
505 bool m_idHasBeenSet =
false;
508 bool m_lastModifiedDateHasBeenSet =
false;
511 bool m_limitsHasBeenSet =
false;
513 bool m_localTime{
false};
514 bool m_localTimeHasBeenSet =
false;
517 bool m_nameHasBeenSet =
false;
519 QuietTime m_quietTime;
520 bool m_quietTimeHasBeenSet =
false;
523 bool m_refreshFrequencyHasBeenSet =
false;
525 JourneySchedule m_schedule;
526 bool m_scheduleHasBeenSet =
false;
529 bool m_startActivityHasBeenSet =
false;
531 StartCondition m_startCondition;
532 bool m_startConditionHasBeenSet =
false;
535 bool m_stateHasBeenSet =
false;
538 bool m_tagsHasBeenSet =
false;
540 bool m_waitForQuietTime{
false};
541 bool m_waitForQuietTimeHasBeenSet =
false;
543 bool m_refreshOnSegmentUpdate{
false};
544 bool m_refreshOnSegmentUpdateHasBeenSet =
false;
546 JourneyChannelSettings m_journeyChannelSettings;
547 bool m_journeyChannelSettingsHasBeenSet =
false;
549 bool m_sendingSchedule{
false};
550 bool m_sendingScheduleHasBeenSet =
false;
552 OpenHours m_openHours;
553 bool m_openHoursHasBeenSet =
false;
555 ClosedDays m_closedDays;
556 bool m_closedDaysHasBeenSet =
false;
559 bool m_timezoneEstimationMethodsHasBeenSet =
false;
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetLocalTime(bool value)
JourneyResponse & WithRefreshOnSegmentUpdate(bool value)
bool ClosedDaysHasBeenSet() const
const StartCondition & GetStartCondition() const
bool LimitsHasBeenSet() const
bool TimezoneEstimationMethodsHasBeenSet() const
bool JourneyChannelSettingsHasBeenSet() const
void SetWaitForQuietTime(bool value)
bool RefreshFrequencyHasBeenSet() const
void SetActivities(ActivitiesT &&value)
void SetCreationDate(CreationDateT &&value)
AWS_PINPOINT_API JourneyResponse(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
AWS_PINPOINT_API JourneyResponse()=default
bool ApplicationIdHasBeenSet() const
void SetTags(TagsT &&value)
bool SendingScheduleHasBeenSet() const
JourneyResponse & WithSendingSchedule(bool value)
JourneyResponse & WithJourneyChannelSettings(JourneyChannelSettingsT &&value)
JourneyResponse & WithWaitForQuietTime(bool value)
void SetState(State value)
bool StartActivityHasBeenSet() const
const JourneySchedule & GetSchedule() const
bool IdHasBeenSet() const
JourneyResponse & AddTimezoneEstimationMethods(__TimezoneEstimationMethodsElement value)
void SetApplicationId(ApplicationIdT &&value)
bool RefreshOnSegmentUpdateHasBeenSet() const
void SetOpenHours(OpenHoursT &&value)
bool LocalTimeHasBeenSet() const
void SetLastModifiedDate(LastModifiedDateT &&value)
JourneyResponse & WithRefreshFrequency(RefreshFrequencyT &&value)
const Aws::Vector< __TimezoneEstimationMethodsElement > & GetTimezoneEstimationMethods() const
const Aws::String & GetStartActivity() const
JourneyResponse & WithStartCondition(StartConditionT &&value)
const Aws::Map< Aws::String, Activity > & GetActivities() const
JourneyResponse & WithApplicationId(ApplicationIdT &&value)
JourneyResponse & WithTags(TagsT &&value)
AWS_PINPOINT_API JourneyResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
JourneyResponse & WithState(State value)
JourneyResponse & WithLimits(LimitsT &&value)
void SetTimezoneEstimationMethods(TimezoneEstimationMethodsT &&value)
JourneyResponse & AddActivities(ActivitiesKeyT &&key, ActivitiesValueT &&value)
const Aws::String & GetCreationDate() const
bool TagsHasBeenSet() const
void SetStartCondition(StartConditionT &&value)
const ClosedDays & GetClosedDays() const
bool StateHasBeenSet() const
const Aws::String & GetRefreshFrequency() const
void SetLimits(LimitsT &&value)
const Aws::String & GetApplicationId() const
void SetSchedule(ScheduleT &&value)
JourneyResponse & WithSchedule(ScheduleT &&value)
void SetRefreshFrequency(RefreshFrequencyT &&value)
JourneyResponse & WithName(NameT &&value)
const OpenHours & GetOpenHours() const
JourneyResponse & WithClosedDays(ClosedDaysT &&value)
bool GetLocalTime() const
void SetSendingSchedule(bool value)
const JourneyLimits & GetLimits() const
void SetJourneyChannelSettings(JourneyChannelSettingsT &&value)
bool QuietTimeHasBeenSet() const
bool OpenHoursHasBeenSet() const
JourneyResponse & WithTimezoneEstimationMethods(TimezoneEstimationMethodsT &&value)
bool GetWaitForQuietTime() const
const Aws::String & GetLastModifiedDate() const
JourneyResponse & WithActivities(ActivitiesT &&value)
const Aws::String & GetId() const
JourneyResponse & WithLocalTime(bool value)
void SetClosedDays(ClosedDaysT &&value)
JourneyResponse & WithId(IdT &&value)
JourneyResponse & WithOpenHours(OpenHoursT &&value)
JourneyResponse & WithCreationDate(CreationDateT &&value)
JourneyResponse & WithQuietTime(QuietTimeT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
bool GetSendingSchedule() const
bool ActivitiesHasBeenSet() const
bool NameHasBeenSet() const
bool WaitForQuietTimeHasBeenSet() const
bool CreationDateHasBeenSet() const
JourneyResponse & AddTags(TagsKeyT &&key, TagsValueT &&value)
JourneyResponse & WithLastModifiedDate(LastModifiedDateT &&value)
void SetQuietTime(QuietTimeT &&value)
bool LastModifiedDateHasBeenSet() const
const JourneyChannelSettings & GetJourneyChannelSettings() const
const Aws::String & GetName() const
bool GetRefreshOnSegmentUpdate() const
bool StartConditionHasBeenSet() const
void SetStartActivity(StartActivityT &&value)
JourneyResponse & WithStartActivity(StartActivityT &&value)
bool ScheduleHasBeenSet() const
const QuietTime & GetQuietTime() const
void SetRefreshOnSegmentUpdate(bool value)
__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