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>
83 inline void SetCreationDate(
const char* value) { m_creationDateHasBeenSet =
true; m_creationDate.assign(value); }
97 inline void SetLastModifiedDate(
const char* value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate.assign(value); }
123 inline void SetLocalTime(
bool value) { m_localTimeHasBeenSet =
true; m_localTime = value; }
137 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
173 inline void SetRefreshFrequency(
const char* value) { m_refreshFrequencyHasBeenSet =
true; m_refreshFrequency.assign(value); }
201 inline void SetStartActivity(
const char* value) { m_startActivityHasBeenSet =
true; m_startActivity.assign(value); }
233 inline void SetState(
const State& value) { m_stateHasBeenSet =
true; m_state = value; }
234 inline void SetState(
State&& value) { m_stateHasBeenSet =
true; m_state = std::move(value); }
246 inline void SetWaitForQuietTime(
bool value) { m_waitForQuietTimeHasBeenSet =
true; m_waitForQuietTime = value; }
280 inline void SetSendingSchedule(
bool value) { m_sendingScheduleHasBeenSet =
true; m_sendingSchedule = value; }
336 bool m_activitiesHasBeenSet =
false;
339 bool m_creationDateHasBeenSet =
false;
342 bool m_lastModifiedDateHasBeenSet =
false;
345 bool m_limitsHasBeenSet =
false;
348 bool m_localTimeHasBeenSet =
false;
351 bool m_nameHasBeenSet =
false;
354 bool m_quietTimeHasBeenSet =
false;
357 bool m_refreshFrequencyHasBeenSet =
false;
360 bool m_scheduleHasBeenSet =
false;
363 bool m_startActivityHasBeenSet =
false;
366 bool m_startConditionHasBeenSet =
false;
369 bool m_stateHasBeenSet =
false;
371 bool m_waitForQuietTime;
372 bool m_waitForQuietTimeHasBeenSet =
false;
374 bool m_refreshOnSegmentUpdate;
375 bool m_refreshOnSegmentUpdateHasBeenSet =
false;
378 bool m_journeyChannelSettingsHasBeenSet =
false;
380 bool m_sendingSchedule;
381 bool m_sendingScheduleHasBeenSet =
false;
384 bool m_openHoursHasBeenSet =
false;
387 bool m_closedDaysHasBeenSet =
false;
390 bool m_timezoneEstimationMethodsHasBeenSet =
false;
void SetRefreshFrequency(Aws::String &&value)
const QuietTime & GetQuietTime() const
bool OpenHoursHasBeenSet() const
WriteJourneyRequest & WithStartCondition(StartCondition &&value)
WriteJourneyRequest & WithCreationDate(const Aws::String &value)
const JourneyLimits & GetLimits() const
void SetQuietTime(QuietTime &&value)
WriteJourneyRequest & WithSendingSchedule(bool value)
void SetLastModifiedDate(const Aws::String &value)
void SetLastModifiedDate(Aws::String &&value)
void SetRefreshFrequency(const char *value)
void SetSchedule(const JourneySchedule &value)
WriteJourneyRequest & WithLimits(const JourneyLimits &value)
void SetJourneyChannelSettings(JourneyChannelSettings &&value)
bool GetSendingSchedule() const
WriteJourneyRequest & WithLastModifiedDate(const char *value)
WriteJourneyRequest & WithRefreshFrequency(Aws::String &&value)
void SetLimits(const JourneyLimits &value)
WriteJourneyRequest & WithLastModifiedDate(Aws::String &&value)
bool LimitsHasBeenSet() const
const Aws::Vector< __TimezoneEstimationMethodsElement > & GetTimezoneEstimationMethods() const
bool GetWaitForQuietTime() const
bool RefreshOnSegmentUpdateHasBeenSet() const
WriteJourneyRequest & WithOpenHours(OpenHours &&value)
WriteJourneyRequest & WithName(const char *value)
WriteJourneyRequest & WithName(Aws::String &&value)
bool JourneyChannelSettingsHasBeenSet() const
WriteJourneyRequest & WithRefreshOnSegmentUpdate(bool value)
void SetStartActivity(Aws::String &&value)
bool ScheduleHasBeenSet() const
const Aws::String & GetLastModifiedDate() const
void SetSchedule(JourneySchedule &&value)
void SetCreationDate(const Aws::String &value)
WriteJourneyRequest & WithTimezoneEstimationMethods(const Aws::Vector< __TimezoneEstimationMethodsElement > &value)
void SetClosedDays(const ClosedDays &value)
WriteJourneyRequest & WithStartCondition(const StartCondition &value)
void SetCreationDate(const char *value)
WriteJourneyRequest & WithOpenHours(const OpenHours &value)
void SetJourneyChannelSettings(const JourneyChannelSettings &value)
AWS_PINPOINT_API WriteJourneyRequest(Aws::Utils::Json::JsonView jsonValue)
bool StateHasBeenSet() const
WriteJourneyRequest & WithSchedule(JourneySchedule &&value)
void SetRefreshOnSegmentUpdate(bool value)
WriteJourneyRequest & WithActivities(Aws::Map< Aws::String, Activity > &&value)
AWS_PINPOINT_API WriteJourneyRequest()
WriteJourneyRequest & WithStartActivity(Aws::String &&value)
WriteJourneyRequest & WithSchedule(const JourneySchedule &value)
WriteJourneyRequest & WithStartActivity(const char *value)
void SetName(const char *value)
WriteJourneyRequest & WithTimezoneEstimationMethods(Aws::Vector< __TimezoneEstimationMethodsElement > &&value)
bool NameHasBeenSet() const
bool GetLocalTime() const
const Aws::String & GetStartActivity() const
const Aws::Map< Aws::String, Activity > & GetActivities() const
const ClosedDays & GetClosedDays() const
bool QuietTimeHasBeenSet() const
WriteJourneyRequest & WithLocalTime(bool value)
WriteJourneyRequest & WithClosedDays(ClosedDays &&value)
const OpenHours & GetOpenHours() const
WriteJourneyRequest & WithCreationDate(const char *value)
WriteJourneyRequest & WithRefreshFrequency(const Aws::String &value)
WriteJourneyRequest & AddActivities(const Aws::String &key, const Activity &value)
WriteJourneyRequest & WithQuietTime(QuietTime &&value)
bool LastModifiedDateHasBeenSet() const
bool ClosedDaysHasBeenSet() const
bool CreationDateHasBeenSet() const
AWS_PINPOINT_API WriteJourneyRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTimezoneEstimationMethods(Aws::Vector< __TimezoneEstimationMethodsElement > &&value)
bool GetRefreshOnSegmentUpdate() const
WriteJourneyRequest & AddActivities(const Aws::String &key, Activity &&value)
void SetWaitForQuietTime(bool value)
bool LocalTimeHasBeenSet() const
void SetClosedDays(ClosedDays &&value)
const Aws::String & GetName() const
void SetState(const State &value)
WriteJourneyRequest & AddActivities(const char *key, const Activity &value)
WriteJourneyRequest & AddActivities(const char *key, Activity &&value)
WriteJourneyRequest & WithJourneyChannelSettings(JourneyChannelSettings &&value)
WriteJourneyRequest & WithState(const State &value)
void SetOpenHours(OpenHours &&value)
bool ActivitiesHasBeenSet() const
WriteJourneyRequest & WithState(State &&value)
void SetName(const Aws::String &value)
const JourneySchedule & GetSchedule() const
WriteJourneyRequest & AddActivities(Aws::String &&key, const Activity &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetActivities(const Aws::Map< Aws::String, Activity > &value)
WriteJourneyRequest & WithLastModifiedDate(const Aws::String &value)
WriteJourneyRequest & WithLimits(JourneyLimits &&value)
bool StartConditionHasBeenSet() const
void SetOpenHours(const OpenHours &value)
void SetStartActivity(const char *value)
WriteJourneyRequest & AddTimezoneEstimationMethods(__TimezoneEstimationMethodsElement &&value)
void SetActivities(Aws::Map< Aws::String, Activity > &&value)
void SetTimezoneEstimationMethods(const Aws::Vector< __TimezoneEstimationMethodsElement > &value)
bool RefreshFrequencyHasBeenSet() const
WriteJourneyRequest & WithJourneyChannelSettings(const JourneyChannelSettings &value)
WriteJourneyRequest & WithActivities(const Aws::Map< Aws::String, Activity > &value)
WriteJourneyRequest & AddTimezoneEstimationMethods(const __TimezoneEstimationMethodsElement &value)
WriteJourneyRequest & WithWaitForQuietTime(bool value)
WriteJourneyRequest & WithStartActivity(const Aws::String &value)
bool TimezoneEstimationMethodsHasBeenSet() const
const State & GetState() const
const JourneyChannelSettings & GetJourneyChannelSettings() const
void SetName(Aws::String &&value)
void SetStartCondition(StartCondition &&value)
void SetLocalTime(bool value)
void SetStartActivity(const Aws::String &value)
const StartCondition & GetStartCondition() const
void SetRefreshFrequency(const Aws::String &value)
bool StartActivityHasBeenSet() const
bool WaitForQuietTimeHasBeenSet() const
WriteJourneyRequest & WithRefreshFrequency(const char *value)
WriteJourneyRequest & WithQuietTime(const QuietTime &value)
WriteJourneyRequest & WithClosedDays(const ClosedDays &value)
bool SendingScheduleHasBeenSet() const
WriteJourneyRequest & WithCreationDate(Aws::String &&value)
void SetStartCondition(const StartCondition &value)
WriteJourneyRequest & WithName(const Aws::String &value)
void SetCreationDate(Aws::String &&value)
void SetLastModifiedDate(const char *value)
void SetState(State &&value)
const Aws::String & GetRefreshFrequency() const
void SetSendingSchedule(bool value)
WriteJourneyRequest & AddActivities(Aws::String &&key, Activity &&value)
void SetLimits(JourneyLimits &&value)
const Aws::String & GetCreationDate() const
void SetQuietTime(const QuietTime &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