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>
61 template<
typename ActivitiesT = Aws::Map<Aws::String, Activity>>
62 void SetActivities(ActivitiesT&& value) { m_activitiesHasBeenSet =
true; m_activities = std::forward<ActivitiesT>(value); }
63 template<
typename ActivitiesT = Aws::Map<Aws::String, Activity>>
65 template<
typename ActivitiesKeyT = Aws::String,
typename ActivitiesValueT = Activity>
67 m_activitiesHasBeenSet =
true; m_activities.emplace(std::forward<ActivitiesKeyT>(key), std::forward<ActivitiesValueT>(value));
return *
this;
77 template<
typename ApplicationIdT = Aws::String>
78 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet =
true; m_applicationId = std::forward<ApplicationIdT>(value); }
79 template<
typename ApplicationIdT = Aws::String>
89 template<
typename CreationDateT = Aws::String>
90 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
91 template<
typename CreationDateT = Aws::String>
101 template<
typename IdT = Aws::String>
102 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
103 template<
typename IdT = Aws::String>
113 template<
typename LastModifiedDateT = Aws::String>
114 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
115 template<
typename LastModifiedDateT = Aws::String>
125 template<
typename LimitsT = JourneyLimits>
126 void SetLimits(LimitsT&& value) { m_limitsHasBeenSet =
true; m_limits = std::forward<LimitsT>(value); }
127 template<
typename LimitsT = JourneyLimits>
139 inline void SetLocalTime(
bool value) { m_localTimeHasBeenSet =
true; m_localTime = value; }
149 template<
typename NameT = Aws::String>
150 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
151 template<
typename NameT = Aws::String>
170 template<
typename QuietTimeT = QuietTime>
171 void SetQuietTime(QuietTimeT&& value) { m_quietTimeHasBeenSet =
true; m_quietTime = std::forward<QuietTimeT>(value); }
172 template<
typename QuietTimeT = QuietTime>
183 template<
typename RefreshFrequencyT = Aws::String>
184 void SetRefreshFrequency(RefreshFrequencyT&& value) { m_refreshFrequencyHasBeenSet =
true; m_refreshFrequency = std::forward<RefreshFrequencyT>(value); }
185 template<
typename RefreshFrequencyT = Aws::String>
195 template<
typename ScheduleT = JourneySchedule>
196 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
197 template<
typename ScheduleT = JourneySchedule>
207 template<
typename StartActivityT = Aws::String>
208 void SetStartActivity(StartActivityT&& value) { m_startActivityHasBeenSet =
true; m_startActivity = std::forward<StartActivityT>(value); }
209 template<
typename StartActivityT = Aws::String>
219 template<
typename StartConditionT = StartCondition>
220 void SetStartCondition(StartConditionT&& value) { m_startConditionHasBeenSet =
true; m_startCondition = std::forward<StartConditionT>(value); }
221 template<
typename StartConditionT = StartCondition>
247 inline void SetState(
State value) { m_stateHasBeenSet =
true; m_state = value; }
257 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
258 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
259 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
261 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
263 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
274 inline void SetWaitForQuietTime(
bool value) { m_waitForQuietTimeHasBeenSet =
true; m_waitForQuietTime = value; }
295 template<
typename JourneyChannelSettingsT = JourneyChannelSettings>
296 void SetJourneyChannelSettings(JourneyChannelSettingsT&& value) { m_journeyChannelSettingsHasBeenSet =
true; m_journeyChannelSettings = std::forward<JourneyChannelSettingsT>(value); }
297 template<
typename JourneyChannelSettingsT = JourneyChannelSettings>
308 inline void SetSendingSchedule(
bool value) { m_sendingScheduleHasBeenSet =
true; m_sendingSchedule = value; }
319 template<
typename OpenHoursT = OpenHours>
320 void SetOpenHours(OpenHoursT&& value) { m_openHoursHasBeenSet =
true; m_openHours = std::forward<OpenHoursT>(value); }
321 template<
typename OpenHoursT = OpenHours>
332 template<
typename ClosedDaysT = ClosedDays>
333 void SetClosedDays(ClosedDaysT&& value) { m_closedDaysHasBeenSet =
true; m_closedDays = std::forward<ClosedDaysT>(value); }
334 template<
typename ClosedDaysT = ClosedDays>
354 template<
typename TimezoneEstimationMethodsT = Aws::Vector<__TimezoneEstimationMethodsElement>>
355 void SetTimezoneEstimationMethods(TimezoneEstimationMethodsT&& value) { m_timezoneEstimationMethodsHasBeenSet =
true; m_timezoneEstimationMethods = std::forward<TimezoneEstimationMethodsT>(value); }
356 template<
typename TimezoneEstimationMethodsT = Aws::Vector<__TimezoneEstimationMethodsElement>>
363 bool m_activitiesHasBeenSet =
false;
366 bool m_applicationIdHasBeenSet =
false;
369 bool m_creationDateHasBeenSet =
false;
372 bool m_idHasBeenSet =
false;
375 bool m_lastModifiedDateHasBeenSet =
false;
378 bool m_limitsHasBeenSet =
false;
380 bool m_localTime{
false};
381 bool m_localTimeHasBeenSet =
false;
384 bool m_nameHasBeenSet =
false;
386 QuietTime m_quietTime;
387 bool m_quietTimeHasBeenSet =
false;
390 bool m_refreshFrequencyHasBeenSet =
false;
392 JourneySchedule m_schedule;
393 bool m_scheduleHasBeenSet =
false;
396 bool m_startActivityHasBeenSet =
false;
398 StartCondition m_startCondition;
399 bool m_startConditionHasBeenSet =
false;
402 bool m_stateHasBeenSet =
false;
405 bool m_tagsHasBeenSet =
false;
407 bool m_waitForQuietTime{
false};
408 bool m_waitForQuietTimeHasBeenSet =
false;
410 bool m_refreshOnSegmentUpdate{
false};
411 bool m_refreshOnSegmentUpdateHasBeenSet =
false;
413 JourneyChannelSettings m_journeyChannelSettings;
414 bool m_journeyChannelSettingsHasBeenSet =
false;
416 bool m_sendingSchedule{
false};
417 bool m_sendingScheduleHasBeenSet =
false;
419 OpenHours m_openHours;
420 bool m_openHoursHasBeenSet =
false;
422 ClosedDays m_closedDays;
423 bool m_closedDaysHasBeenSet =
false;
426 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