/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the configuration and other settings for a journey.See
* Also:
AWS
* API Reference
A map that contains a set of Activity objects, one object for each activity * in the journey. For each Activity object, the key is the unique identifier * (string) for an activity and the value is the settings for the activity. An * activity identifier can contain a maximum of 100 characters. The characters must * be alphanumeric characters.
*/ inline const Aws::MapA map that contains a set of Activity objects, one object for each activity * in the journey. For each Activity object, the key is the unique identifier * (string) for an activity and the value is the settings for the activity. An * activity identifier can contain a maximum of 100 characters. The characters must * be alphanumeric characters.
*/ inline bool ActivitiesHasBeenSet() const { return m_activitiesHasBeenSet; } /** *A map that contains a set of Activity objects, one object for each activity * in the journey. For each Activity object, the key is the unique identifier * (string) for an activity and the value is the settings for the activity. An * activity identifier can contain a maximum of 100 characters. The characters must * be alphanumeric characters.
*/ inline void SetActivities(const Aws::MapA map that contains a set of Activity objects, one object for each activity * in the journey. For each Activity object, the key is the unique identifier * (string) for an activity and the value is the settings for the activity. An * activity identifier can contain a maximum of 100 characters. The characters must * be alphanumeric characters.
*/ inline void SetActivities(Aws::MapA map that contains a set of Activity objects, one object for each activity * in the journey. For each Activity object, the key is the unique identifier * (string) for an activity and the value is the settings for the activity. An * activity identifier can contain a maximum of 100 characters. The characters must * be alphanumeric characters.
*/ inline WriteJourneyRequest& WithActivities(const Aws::MapA map that contains a set of Activity objects, one object for each activity * in the journey. For each Activity object, the key is the unique identifier * (string) for an activity and the value is the settings for the activity. An * activity identifier can contain a maximum of 100 characters. The characters must * be alphanumeric characters.
*/ inline WriteJourneyRequest& WithActivities(Aws::MapA map that contains a set of Activity objects, one object for each activity * in the journey. For each Activity object, the key is the unique identifier * (string) for an activity and the value is the settings for the activity. An * activity identifier can contain a maximum of 100 characters. The characters must * be alphanumeric characters.
*/ inline WriteJourneyRequest& AddActivities(const Aws::String& key, const Activity& value) { m_activitiesHasBeenSet = true; m_activities.emplace(key, value); return *this; } /** *A map that contains a set of Activity objects, one object for each activity * in the journey. For each Activity object, the key is the unique identifier * (string) for an activity and the value is the settings for the activity. An * activity identifier can contain a maximum of 100 characters. The characters must * be alphanumeric characters.
*/ inline WriteJourneyRequest& AddActivities(Aws::String&& key, const Activity& value) { m_activitiesHasBeenSet = true; m_activities.emplace(std::move(key), value); return *this; } /** *A map that contains a set of Activity objects, one object for each activity * in the journey. For each Activity object, the key is the unique identifier * (string) for an activity and the value is the settings for the activity. An * activity identifier can contain a maximum of 100 characters. The characters must * be alphanumeric characters.
*/ inline WriteJourneyRequest& AddActivities(const Aws::String& key, Activity&& value) { m_activitiesHasBeenSet = true; m_activities.emplace(key, std::move(value)); return *this; } /** *A map that contains a set of Activity objects, one object for each activity * in the journey. For each Activity object, the key is the unique identifier * (string) for an activity and the value is the settings for the activity. An * activity identifier can contain a maximum of 100 characters. The characters must * be alphanumeric characters.
*/ inline WriteJourneyRequest& AddActivities(Aws::String&& key, Activity&& value) { m_activitiesHasBeenSet = true; m_activities.emplace(std::move(key), std::move(value)); return *this; } /** *A map that contains a set of Activity objects, one object for each activity * in the journey. For each Activity object, the key is the unique identifier * (string) for an activity and the value is the settings for the activity. An * activity identifier can contain a maximum of 100 characters. The characters must * be alphanumeric characters.
*/ inline WriteJourneyRequest& AddActivities(const char* key, Activity&& value) { m_activitiesHasBeenSet = true; m_activities.emplace(key, std::move(value)); return *this; } /** *A map that contains a set of Activity objects, one object for each activity * in the journey. For each Activity object, the key is the unique identifier * (string) for an activity and the value is the settings for the activity. An * activity identifier can contain a maximum of 100 characters. The characters must * be alphanumeric characters.
*/ inline WriteJourneyRequest& AddActivities(const char* key, const Activity& value) { m_activitiesHasBeenSet = true; m_activities.emplace(key, value); return *this; } /** *The date, in ISO 8601 format, when the journey was created.
*/ inline const Aws::String& GetCreationDate() const{ return m_creationDate; } /** *The date, in ISO 8601 format, when the journey was created.
*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *The date, in ISO 8601 format, when the journey was created.
*/ inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *The date, in ISO 8601 format, when the journey was created.
*/ inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *The date, in ISO 8601 format, when the journey was created.
*/ inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); } /** *The date, in ISO 8601 format, when the journey was created.
*/ inline WriteJourneyRequest& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;} /** *The date, in ISO 8601 format, when the journey was created.
*/ inline WriteJourneyRequest& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;} /** *The date, in ISO 8601 format, when the journey was created.
*/ inline WriteJourneyRequest& WithCreationDate(const char* value) { SetCreationDate(value); return *this;} /** *The date, in ISO 8601 format, when the journey was last modified.
*/ inline const Aws::String& GetLastModifiedDate() const{ return m_lastModifiedDate; } /** *The date, in ISO 8601 format, when the journey was last modified.
*/ inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; } /** *The date, in ISO 8601 format, when the journey was last modified.
*/ inline void SetLastModifiedDate(const Aws::String& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; } /** *The date, in ISO 8601 format, when the journey was last modified.
*/ inline void SetLastModifiedDate(Aws::String&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); } /** *The date, in ISO 8601 format, when the journey was last modified.
*/ inline void SetLastModifiedDate(const char* value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate.assign(value); } /** *The date, in ISO 8601 format, when the journey was last modified.
*/ inline WriteJourneyRequest& WithLastModifiedDate(const Aws::String& value) { SetLastModifiedDate(value); return *this;} /** *The date, in ISO 8601 format, when the journey was last modified.
*/ inline WriteJourneyRequest& WithLastModifiedDate(Aws::String&& value) { SetLastModifiedDate(std::move(value)); return *this;} /** *The date, in ISO 8601 format, when the journey was last modified.
*/ inline WriteJourneyRequest& WithLastModifiedDate(const char* value) { SetLastModifiedDate(value); return *this;} /** *The messaging and entry limits for the journey.
*/ inline const JourneyLimits& GetLimits() const{ return m_limits; } /** *The messaging and entry limits for the journey.
*/ inline bool LimitsHasBeenSet() const { return m_limitsHasBeenSet; } /** *The messaging and entry limits for the journey.
*/ inline void SetLimits(const JourneyLimits& value) { m_limitsHasBeenSet = true; m_limits = value; } /** *The messaging and entry limits for the journey.
*/ inline void SetLimits(JourneyLimits&& value) { m_limitsHasBeenSet = true; m_limits = std::move(value); } /** *The messaging and entry limits for the journey.
*/ inline WriteJourneyRequest& WithLimits(const JourneyLimits& value) { SetLimits(value); return *this;} /** *The messaging and entry limits for the journey.
*/ inline WriteJourneyRequest& WithLimits(JourneyLimits&& value) { SetLimits(std::move(value)); return *this;} /** *Specifies whether the journey's scheduled start and end times use each * participant's local time. To base the schedule on each participant's local time, * set this value to true.
*/ inline bool GetLocalTime() const{ return m_localTime; } /** *Specifies whether the journey's scheduled start and end times use each * participant's local time. To base the schedule on each participant's local time, * set this value to true.
*/ inline bool LocalTimeHasBeenSet() const { return m_localTimeHasBeenSet; } /** *Specifies whether the journey's scheduled start and end times use each * participant's local time. To base the schedule on each participant's local time, * set this value to true.
*/ inline void SetLocalTime(bool value) { m_localTimeHasBeenSet = true; m_localTime = value; } /** *Specifies whether the journey's scheduled start and end times use each * participant's local time. To base the schedule on each participant's local time, * set this value to true.
*/ inline WriteJourneyRequest& WithLocalTime(bool value) { SetLocalTime(value); return *this;} /** *The name of the journey. A journey name can contain a maximum of 150 * characters. The characters can be alphanumeric characters or symbols, such as * underscores (_) or hyphens (-). A journey name can't contain any spaces.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the journey. A journey name can contain a maximum of 150 * characters. The characters can be alphanumeric characters or symbols, such as * underscores (_) or hyphens (-). A journey name can't contain any spaces.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the journey. A journey name can contain a maximum of 150 * characters. The characters can be alphanumeric characters or symbols, such as * underscores (_) or hyphens (-). A journey name can't contain any spaces.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the journey. A journey name can contain a maximum of 150 * characters. The characters can be alphanumeric characters or symbols, such as * underscores (_) or hyphens (-). A journey name can't contain any spaces.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the journey. A journey name can contain a maximum of 150 * characters. The characters can be alphanumeric characters or symbols, such as * underscores (_) or hyphens (-). A journey name can't contain any spaces.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the journey. A journey name can contain a maximum of 150 * characters. The characters can be alphanumeric characters or symbols, such as * underscores (_) or hyphens (-). A journey name can't contain any spaces.
*/ inline WriteJourneyRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the journey. A journey name can contain a maximum of 150 * characters. The characters can be alphanumeric characters or symbols, such as * underscores (_) or hyphens (-). A journey name can't contain any spaces.
*/ inline WriteJourneyRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the journey. A journey name can contain a maximum of 150 * characters. The characters can be alphanumeric characters or symbols, such as * underscores (_) or hyphens (-). A journey name can't contain any spaces.
*/ inline WriteJourneyRequest& WithName(const char* value) { SetName(value); return *this;} /** *The quiet time settings for the journey. Quiet time is a specific time range * when a journey doesn't send messages to participants, if all the following * conditions are met:
The EndpointDemographic.Timezone property of * the endpoint for the participant is set to a valid value.
The * current time in the participant's time zone is later than or equal to the time * specified by the QuietTime.Start property for the journey.
The * current time in the participant's time zone is earlier than or equal to the time * specified by the QuietTime.End property for the journey.
If any * of the preceding conditions isn't met, the participant will receive messages * from the journey, even if quiet time is enabled.
*/ inline const QuietTime& GetQuietTime() const{ return m_quietTime; } /** *The quiet time settings for the journey. Quiet time is a specific time range * when a journey doesn't send messages to participants, if all the following * conditions are met:
The EndpointDemographic.Timezone property of * the endpoint for the participant is set to a valid value.
The * current time in the participant's time zone is later than or equal to the time * specified by the QuietTime.Start property for the journey.
The * current time in the participant's time zone is earlier than or equal to the time * specified by the QuietTime.End property for the journey.
If any * of the preceding conditions isn't met, the participant will receive messages * from the journey, even if quiet time is enabled.
*/ inline bool QuietTimeHasBeenSet() const { return m_quietTimeHasBeenSet; } /** *The quiet time settings for the journey. Quiet time is a specific time range * when a journey doesn't send messages to participants, if all the following * conditions are met:
The EndpointDemographic.Timezone property of * the endpoint for the participant is set to a valid value.
The * current time in the participant's time zone is later than or equal to the time * specified by the QuietTime.Start property for the journey.
The * current time in the participant's time zone is earlier than or equal to the time * specified by the QuietTime.End property for the journey.
If any * of the preceding conditions isn't met, the participant will receive messages * from the journey, even if quiet time is enabled.
*/ inline void SetQuietTime(const QuietTime& value) { m_quietTimeHasBeenSet = true; m_quietTime = value; } /** *The quiet time settings for the journey. Quiet time is a specific time range * when a journey doesn't send messages to participants, if all the following * conditions are met:
The EndpointDemographic.Timezone property of * the endpoint for the participant is set to a valid value.
The * current time in the participant's time zone is later than or equal to the time * specified by the QuietTime.Start property for the journey.
The * current time in the participant's time zone is earlier than or equal to the time * specified by the QuietTime.End property for the journey.
If any * of the preceding conditions isn't met, the participant will receive messages * from the journey, even if quiet time is enabled.
*/ inline void SetQuietTime(QuietTime&& value) { m_quietTimeHasBeenSet = true; m_quietTime = std::move(value); } /** *The quiet time settings for the journey. Quiet time is a specific time range * when a journey doesn't send messages to participants, if all the following * conditions are met:
The EndpointDemographic.Timezone property of * the endpoint for the participant is set to a valid value.
The * current time in the participant's time zone is later than or equal to the time * specified by the QuietTime.Start property for the journey.
The * current time in the participant's time zone is earlier than or equal to the time * specified by the QuietTime.End property for the journey.
If any * of the preceding conditions isn't met, the participant will receive messages * from the journey, even if quiet time is enabled.
*/ inline WriteJourneyRequest& WithQuietTime(const QuietTime& value) { SetQuietTime(value); return *this;} /** *The quiet time settings for the journey. Quiet time is a specific time range * when a journey doesn't send messages to participants, if all the following * conditions are met:
The EndpointDemographic.Timezone property of * the endpoint for the participant is set to a valid value.
The * current time in the participant's time zone is later than or equal to the time * specified by the QuietTime.Start property for the journey.
The * current time in the participant's time zone is earlier than or equal to the time * specified by the QuietTime.End property for the journey.
If any * of the preceding conditions isn't met, the participant will receive messages * from the journey, even if quiet time is enabled.
*/ inline WriteJourneyRequest& WithQuietTime(QuietTime&& value) { SetQuietTime(std::move(value)); return *this;} /** *The frequency with which Amazon Pinpoint evaluates segment and event data for * the journey, as a duration in ISO 8601 format.
*/ inline const Aws::String& GetRefreshFrequency() const{ return m_refreshFrequency; } /** *The frequency with which Amazon Pinpoint evaluates segment and event data for * the journey, as a duration in ISO 8601 format.
*/ inline bool RefreshFrequencyHasBeenSet() const { return m_refreshFrequencyHasBeenSet; } /** *The frequency with which Amazon Pinpoint evaluates segment and event data for * the journey, as a duration in ISO 8601 format.
*/ inline void SetRefreshFrequency(const Aws::String& value) { m_refreshFrequencyHasBeenSet = true; m_refreshFrequency = value; } /** *The frequency with which Amazon Pinpoint evaluates segment and event data for * the journey, as a duration in ISO 8601 format.
*/ inline void SetRefreshFrequency(Aws::String&& value) { m_refreshFrequencyHasBeenSet = true; m_refreshFrequency = std::move(value); } /** *The frequency with which Amazon Pinpoint evaluates segment and event data for * the journey, as a duration in ISO 8601 format.
*/ inline void SetRefreshFrequency(const char* value) { m_refreshFrequencyHasBeenSet = true; m_refreshFrequency.assign(value); } /** *The frequency with which Amazon Pinpoint evaluates segment and event data for * the journey, as a duration in ISO 8601 format.
*/ inline WriteJourneyRequest& WithRefreshFrequency(const Aws::String& value) { SetRefreshFrequency(value); return *this;} /** *The frequency with which Amazon Pinpoint evaluates segment and event data for * the journey, as a duration in ISO 8601 format.
*/ inline WriteJourneyRequest& WithRefreshFrequency(Aws::String&& value) { SetRefreshFrequency(std::move(value)); return *this;} /** *The frequency with which Amazon Pinpoint evaluates segment and event data for * the journey, as a duration in ISO 8601 format.
*/ inline WriteJourneyRequest& WithRefreshFrequency(const char* value) { SetRefreshFrequency(value); return *this;} /** *The schedule settings for the journey.
*/ inline const JourneySchedule& GetSchedule() const{ return m_schedule; } /** *The schedule settings for the journey.
*/ inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; } /** *The schedule settings for the journey.
*/ inline void SetSchedule(const JourneySchedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; } /** *The schedule settings for the journey.
*/ inline void SetSchedule(JourneySchedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); } /** *The schedule settings for the journey.
*/ inline WriteJourneyRequest& WithSchedule(const JourneySchedule& value) { SetSchedule(value); return *this;} /** *The schedule settings for the journey.
*/ inline WriteJourneyRequest& WithSchedule(JourneySchedule&& value) { SetSchedule(std::move(value)); return *this;} /** *The unique identifier for the first activity in the journey. The identifier * for this activity can contain a maximum of 128 characters. The characters must * be alphanumeric characters.
*/ inline const Aws::String& GetStartActivity() const{ return m_startActivity; } /** *The unique identifier for the first activity in the journey. The identifier * for this activity can contain a maximum of 128 characters. The characters must * be alphanumeric characters.
*/ inline bool StartActivityHasBeenSet() const { return m_startActivityHasBeenSet; } /** *The unique identifier for the first activity in the journey. The identifier * for this activity can contain a maximum of 128 characters. The characters must * be alphanumeric characters.
*/ inline void SetStartActivity(const Aws::String& value) { m_startActivityHasBeenSet = true; m_startActivity = value; } /** *The unique identifier for the first activity in the journey. The identifier * for this activity can contain a maximum of 128 characters. The characters must * be alphanumeric characters.
*/ inline void SetStartActivity(Aws::String&& value) { m_startActivityHasBeenSet = true; m_startActivity = std::move(value); } /** *The unique identifier for the first activity in the journey. The identifier * for this activity can contain a maximum of 128 characters. The characters must * be alphanumeric characters.
*/ inline void SetStartActivity(const char* value) { m_startActivityHasBeenSet = true; m_startActivity.assign(value); } /** *The unique identifier for the first activity in the journey. The identifier * for this activity can contain a maximum of 128 characters. The characters must * be alphanumeric characters.
*/ inline WriteJourneyRequest& WithStartActivity(const Aws::String& value) { SetStartActivity(value); return *this;} /** *The unique identifier for the first activity in the journey. The identifier * for this activity can contain a maximum of 128 characters. The characters must * be alphanumeric characters.
*/ inline WriteJourneyRequest& WithStartActivity(Aws::String&& value) { SetStartActivity(std::move(value)); return *this;} /** *The unique identifier for the first activity in the journey. The identifier * for this activity can contain a maximum of 128 characters. The characters must * be alphanumeric characters.
*/ inline WriteJourneyRequest& WithStartActivity(const char* value) { SetStartActivity(value); return *this;} /** *The segment that defines which users are participants in the journey.
*/ inline const StartCondition& GetStartCondition() const{ return m_startCondition; } /** *The segment that defines which users are participants in the journey.
*/ inline bool StartConditionHasBeenSet() const { return m_startConditionHasBeenSet; } /** *The segment that defines which users are participants in the journey.
*/ inline void SetStartCondition(const StartCondition& value) { m_startConditionHasBeenSet = true; m_startCondition = value; } /** *The segment that defines which users are participants in the journey.
*/ inline void SetStartCondition(StartCondition&& value) { m_startConditionHasBeenSet = true; m_startCondition = std::move(value); } /** *The segment that defines which users are participants in the journey.
*/ inline WriteJourneyRequest& WithStartCondition(const StartCondition& value) { SetStartCondition(value); return *this;} /** *The segment that defines which users are participants in the journey.
*/ inline WriteJourneyRequest& WithStartCondition(StartCondition&& value) { SetStartCondition(std::move(value)); return *this;} /** *The status of the journey. Valid values are:
DRAFT - Saves the * journey and doesn't publish it.
ACTIVE - Saves and publishes the * journey. Depending on the journey's schedule, the journey starts running * immediately or at the scheduled start time. If a journey's status is ACTIVE, you * can't add, change, or remove activities from it.
PAUSED, * CANCELLED, COMPLETED, and CLOSED states are not supported in requests to create * or update a journey. To cancel, pause, or resume a journey, use the Journey State * resource.
*/ inline const State& GetState() const{ return m_state; } /** *The status of the journey. Valid values are:
DRAFT - Saves the * journey and doesn't publish it.
ACTIVE - Saves and publishes the * journey. Depending on the journey's schedule, the journey starts running * immediately or at the scheduled start time. If a journey's status is ACTIVE, you * can't add, change, or remove activities from it.
PAUSED, * CANCELLED, COMPLETED, and CLOSED states are not supported in requests to create * or update a journey. To cancel, pause, or resume a journey, use the Journey State * resource.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The status of the journey. Valid values are:
DRAFT - Saves the * journey and doesn't publish it.
ACTIVE - Saves and publishes the * journey. Depending on the journey's schedule, the journey starts running * immediately or at the scheduled start time. If a journey's status is ACTIVE, you * can't add, change, or remove activities from it.
PAUSED, * CANCELLED, COMPLETED, and CLOSED states are not supported in requests to create * or update a journey. To cancel, pause, or resume a journey, use the Journey State * resource.
*/ inline void SetState(const State& value) { m_stateHasBeenSet = true; m_state = value; } /** *The status of the journey. Valid values are:
DRAFT - Saves the * journey and doesn't publish it.
ACTIVE - Saves and publishes the * journey. Depending on the journey's schedule, the journey starts running * immediately or at the scheduled start time. If a journey's status is ACTIVE, you * can't add, change, or remove activities from it.
PAUSED, * CANCELLED, COMPLETED, and CLOSED states are not supported in requests to create * or update a journey. To cancel, pause, or resume a journey, use the Journey State * resource.
*/ inline void SetState(State&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The status of the journey. Valid values are:
DRAFT - Saves the * journey and doesn't publish it.
ACTIVE - Saves and publishes the * journey. Depending on the journey's schedule, the journey starts running * immediately or at the scheduled start time. If a journey's status is ACTIVE, you * can't add, change, or remove activities from it.
PAUSED, * CANCELLED, COMPLETED, and CLOSED states are not supported in requests to create * or update a journey. To cancel, pause, or resume a journey, use the Journey State * resource.
*/ inline WriteJourneyRequest& WithState(const State& value) { SetState(value); return *this;} /** *The status of the journey. Valid values are:
DRAFT - Saves the * journey and doesn't publish it.
ACTIVE - Saves and publishes the * journey. Depending on the journey's schedule, the journey starts running * immediately or at the scheduled start time. If a journey's status is ACTIVE, you * can't add, change, or remove activities from it.
PAUSED, * CANCELLED, COMPLETED, and CLOSED states are not supported in requests to create * or update a journey. To cancel, pause, or resume a journey, use the Journey State * resource.
*/ inline WriteJourneyRequest& WithState(State&& value) { SetState(std::move(value)); return *this;} /** *Specifies whether endpoints in quiet hours should enter a wait till the end * of their quiet hours.
*/ inline bool GetWaitForQuietTime() const{ return m_waitForQuietTime; } /** *Specifies whether endpoints in quiet hours should enter a wait till the end * of their quiet hours.
*/ inline bool WaitForQuietTimeHasBeenSet() const { return m_waitForQuietTimeHasBeenSet; } /** *Specifies whether endpoints in quiet hours should enter a wait till the end * of their quiet hours.
*/ inline void SetWaitForQuietTime(bool value) { m_waitForQuietTimeHasBeenSet = true; m_waitForQuietTime = value; } /** *Specifies whether endpoints in quiet hours should enter a wait till the end * of their quiet hours.
*/ inline WriteJourneyRequest& WithWaitForQuietTime(bool value) { SetWaitForQuietTime(value); return *this;} /** *Indicates whether the journey participants should be refreshed when a segment * is updated.
*/ inline bool GetRefreshOnSegmentUpdate() const{ return m_refreshOnSegmentUpdate; } /** *Indicates whether the journey participants should be refreshed when a segment * is updated.
*/ inline bool RefreshOnSegmentUpdateHasBeenSet() const { return m_refreshOnSegmentUpdateHasBeenSet; } /** *Indicates whether the journey participants should be refreshed when a segment * is updated.
*/ inline void SetRefreshOnSegmentUpdate(bool value) { m_refreshOnSegmentUpdateHasBeenSet = true; m_refreshOnSegmentUpdate = value; } /** *Indicates whether the journey participants should be refreshed when a segment * is updated.
*/ inline WriteJourneyRequest& WithRefreshOnSegmentUpdate(bool value) { SetRefreshOnSegmentUpdate(value); return *this;} /** *The channel-specific configurations for the journey.
*/ inline const JourneyChannelSettings& GetJourneyChannelSettings() const{ return m_journeyChannelSettings; } /** *The channel-specific configurations for the journey.
*/ inline bool JourneyChannelSettingsHasBeenSet() const { return m_journeyChannelSettingsHasBeenSet; } /** *The channel-specific configurations for the journey.
*/ inline void SetJourneyChannelSettings(const JourneyChannelSettings& value) { m_journeyChannelSettingsHasBeenSet = true; m_journeyChannelSettings = value; } /** *The channel-specific configurations for the journey.
*/ inline void SetJourneyChannelSettings(JourneyChannelSettings&& value) { m_journeyChannelSettingsHasBeenSet = true; m_journeyChannelSettings = std::move(value); } /** *The channel-specific configurations for the journey.
*/ inline WriteJourneyRequest& WithJourneyChannelSettings(const JourneyChannelSettings& value) { SetJourneyChannelSettings(value); return *this;} /** *The channel-specific configurations for the journey.
*/ inline WriteJourneyRequest& WithJourneyChannelSettings(JourneyChannelSettings&& value) { SetJourneyChannelSettings(std::move(value)); return *this;} /** *Indicates if journey has Advance Quiet Time enabled. This flag should be set * to true in order to allow using OpenHours and ClosedDays.
*/ inline bool GetSendingSchedule() const{ return m_sendingSchedule; } /** *Indicates if journey has Advance Quiet Time enabled. This flag should be set * to true in order to allow using OpenHours and ClosedDays.
*/ inline bool SendingScheduleHasBeenSet() const { return m_sendingScheduleHasBeenSet; } /** *Indicates if journey has Advance Quiet Time enabled. This flag should be set * to true in order to allow using OpenHours and ClosedDays.
*/ inline void SetSendingSchedule(bool value) { m_sendingScheduleHasBeenSet = true; m_sendingSchedule = value; } /** *Indicates if journey has Advance Quiet Time enabled. This flag should be set * to true in order to allow using OpenHours and ClosedDays.
*/ inline WriteJourneyRequest& WithSendingSchedule(bool value) { SetSendingSchedule(value); return *this;} /** *The time when journey allow to send messages. QuietTime should be configured * first and SendingSchedule should be set to true.
*/ inline const OpenHours& GetOpenHours() const{ return m_openHours; } /** *The time when journey allow to send messages. QuietTime should be configured * first and SendingSchedule should be set to true.
*/ inline bool OpenHoursHasBeenSet() const { return m_openHoursHasBeenSet; } /** *The time when journey allow to send messages. QuietTime should be configured * first and SendingSchedule should be set to true.
*/ inline void SetOpenHours(const OpenHours& value) { m_openHoursHasBeenSet = true; m_openHours = value; } /** *The time when journey allow to send messages. QuietTime should be configured * first and SendingSchedule should be set to true.
*/ inline void SetOpenHours(OpenHours&& value) { m_openHoursHasBeenSet = true; m_openHours = std::move(value); } /** *The time when journey allow to send messages. QuietTime should be configured * first and SendingSchedule should be set to true.
*/ inline WriteJourneyRequest& WithOpenHours(const OpenHours& value) { SetOpenHours(value); return *this;} /** *The time when journey allow to send messages. QuietTime should be configured * first and SendingSchedule should be set to true.
*/ inline WriteJourneyRequest& WithOpenHours(OpenHours&& value) { SetOpenHours(std::move(value)); return *this;} /** *The time when journey will stop sending messages. QuietTime should be * configured first and SendingSchedule should be set to true.
*/ inline const ClosedDays& GetClosedDays() const{ return m_closedDays; } /** *The time when journey will stop sending messages. QuietTime should be * configured first and SendingSchedule should be set to true.
*/ inline bool ClosedDaysHasBeenSet() const { return m_closedDaysHasBeenSet; } /** *The time when journey will stop sending messages. QuietTime should be * configured first and SendingSchedule should be set to true.
*/ inline void SetClosedDays(const ClosedDays& value) { m_closedDaysHasBeenSet = true; m_closedDays = value; } /** *The time when journey will stop sending messages. QuietTime should be * configured first and SendingSchedule should be set to true.
*/ inline void SetClosedDays(ClosedDays&& value) { m_closedDaysHasBeenSet = true; m_closedDays = std::move(value); } /** *The time when journey will stop sending messages. QuietTime should be * configured first and SendingSchedule should be set to true.
*/ inline WriteJourneyRequest& WithClosedDays(const ClosedDays& value) { SetClosedDays(value); return *this;} /** *The time when journey will stop sending messages. QuietTime should be * configured first and SendingSchedule should be set to true.
*/ inline WriteJourneyRequest& WithClosedDays(ClosedDays&& value) { SetClosedDays(std::move(value)); return *this;} /** *An array of time zone estimation methods, if any, to use for determining an * Endpoints * time zone if the Endpoint does not have a value for the Demographic.Timezone * attribute.
PHONE_NUMBER - A time zone is determined based on the * Endpoint.Address and Endpoint.Location.Country.
POSTAL_CODE - A * time zone is determined based on the Endpoint.Location.PostalCode and * Endpoint.Location.Country.
POSTAL_CODE detection is only supported * in the United States, United Kingdom, Australia, New Zealand, Canada, France, * Italy, Spain, Germany and in regions where Amazon Pinpoint is * available.
An array of time zone estimation methods, if any, to use for determining an * Endpoints * time zone if the Endpoint does not have a value for the Demographic.Timezone * attribute.
PHONE_NUMBER - A time zone is determined based on the * Endpoint.Address and Endpoint.Location.Country.
POSTAL_CODE - A * time zone is determined based on the Endpoint.Location.PostalCode and * Endpoint.Location.Country.
POSTAL_CODE detection is only supported * in the United States, United Kingdom, Australia, New Zealand, Canada, France, * Italy, Spain, Germany and in regions where Amazon Pinpoint is * available.
An array of time zone estimation methods, if any, to use for determining an * Endpoints * time zone if the Endpoint does not have a value for the Demographic.Timezone * attribute.
PHONE_NUMBER - A time zone is determined based on the * Endpoint.Address and Endpoint.Location.Country.
POSTAL_CODE - A * time zone is determined based on the Endpoint.Location.PostalCode and * Endpoint.Location.Country.
POSTAL_CODE detection is only supported * in the United States, United Kingdom, Australia, New Zealand, Canada, France, * Italy, Spain, Germany and in regions where Amazon Pinpoint is * available.
An array of time zone estimation methods, if any, to use for determining an * Endpoints * time zone if the Endpoint does not have a value for the Demographic.Timezone * attribute.
PHONE_NUMBER - A time zone is determined based on the * Endpoint.Address and Endpoint.Location.Country.
POSTAL_CODE - A * time zone is determined based on the Endpoint.Location.PostalCode and * Endpoint.Location.Country.
POSTAL_CODE detection is only supported * in the United States, United Kingdom, Australia, New Zealand, Canada, France, * Italy, Spain, Germany and in regions where Amazon Pinpoint is * available.
An array of time zone estimation methods, if any, to use for determining an * Endpoints * time zone if the Endpoint does not have a value for the Demographic.Timezone * attribute.
PHONE_NUMBER - A time zone is determined based on the * Endpoint.Address and Endpoint.Location.Country.
POSTAL_CODE - A * time zone is determined based on the Endpoint.Location.PostalCode and * Endpoint.Location.Country.
POSTAL_CODE detection is only supported * in the United States, United Kingdom, Australia, New Zealand, Canada, France, * Italy, Spain, Germany and in regions where Amazon Pinpoint is * available.
An array of time zone estimation methods, if any, to use for determining an * Endpoints * time zone if the Endpoint does not have a value for the Demographic.Timezone * attribute.
PHONE_NUMBER - A time zone is determined based on the * Endpoint.Address and Endpoint.Location.Country.
POSTAL_CODE - A * time zone is determined based on the Endpoint.Location.PostalCode and * Endpoint.Location.Country.
POSTAL_CODE detection is only supported * in the United States, United Kingdom, Australia, New Zealand, Canada, France, * Italy, Spain, Germany and in regions where Amazon Pinpoint is * available.
An array of time zone estimation methods, if any, to use for determining an * Endpoints * time zone if the Endpoint does not have a value for the Demographic.Timezone * attribute.
PHONE_NUMBER - A time zone is determined based on the * Endpoint.Address and Endpoint.Location.Country.
POSTAL_CODE - A * time zone is determined based on the Endpoint.Location.PostalCode and * Endpoint.Location.Country.
POSTAL_CODE detection is only supported * in the United States, United Kingdom, Australia, New Zealand, Canada, France, * Italy, Spain, Germany and in regions where Amazon Pinpoint is * available.
An array of time zone estimation methods, if any, to use for determining an * Endpoints * time zone if the Endpoint does not have a value for the Demographic.Timezone * attribute.
PHONE_NUMBER - A time zone is determined based on the * Endpoint.Address and Endpoint.Location.Country.
POSTAL_CODE - A * time zone is determined based on the Endpoint.Location.PostalCode and * Endpoint.Location.Country.
POSTAL_CODE detection is only supported * in the United States, United Kingdom, Australia, New Zealand, Canada, France, * Italy, Spain, Germany and in regions where Amazon Pinpoint is * available.