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>
81 inline void SetApplicationId(
const char* value) { m_applicationIdHasBeenSet =
true; m_applicationId.assign(value); }
95 inline void SetCreationDate(
const char* value) { m_creationDateHasBeenSet =
true; m_creationDate.assign(value); }
109 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
123 inline void SetLastModifiedDate(
const char* value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate.assign(value); }
149 inline void SetLocalTime(
bool value) { m_localTimeHasBeenSet =
true; m_localTime = value; }
161 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
197 inline void SetRefreshFrequency(
const char* value) { m_refreshFrequencyHasBeenSet =
true; m_refreshFrequency.assign(value); }
223 inline void SetStartActivity(
const char* value) { m_startActivityHasBeenSet =
true; m_startActivity.assign(value); }
263 inline void SetState(
const State& value) { m_stateHasBeenSet =
true; m_state = value; }
264 inline void SetState(
State&& value) { m_stateHasBeenSet =
true; m_state = std::move(value); }
285 inline JourneyResponse&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
295 inline void SetWaitForQuietTime(
bool value) { m_waitForQuietTimeHasBeenSet =
true; m_waitForQuietTime = value; }
329 inline void SetSendingSchedule(
bool value) { m_sendingScheduleHasBeenSet =
true; m_sendingSchedule = value; }
385 bool m_activitiesHasBeenSet =
false;
388 bool m_applicationIdHasBeenSet =
false;
391 bool m_creationDateHasBeenSet =
false;
394 bool m_idHasBeenSet =
false;
397 bool m_lastModifiedDateHasBeenSet =
false;
400 bool m_limitsHasBeenSet =
false;
403 bool m_localTimeHasBeenSet =
false;
406 bool m_nameHasBeenSet =
false;
409 bool m_quietTimeHasBeenSet =
false;
412 bool m_refreshFrequencyHasBeenSet =
false;
415 bool m_scheduleHasBeenSet =
false;
418 bool m_startActivityHasBeenSet =
false;
421 bool m_startConditionHasBeenSet =
false;
424 bool m_stateHasBeenSet =
false;
427 bool m_tagsHasBeenSet =
false;
429 bool m_waitForQuietTime;
430 bool m_waitForQuietTimeHasBeenSet =
false;
432 bool m_refreshOnSegmentUpdate;
433 bool m_refreshOnSegmentUpdateHasBeenSet =
false;
436 bool m_journeyChannelSettingsHasBeenSet =
false;
438 bool m_sendingSchedule;
439 bool m_sendingScheduleHasBeenSet =
false;
442 bool m_openHoursHasBeenSet =
false;
445 bool m_closedDaysHasBeenSet =
false;
448 bool m_timezoneEstimationMethodsHasBeenSet =
false;
JourneyResponse & WithClosedDays(ClosedDays &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetLocalTime(bool value)
JourneyResponse & WithId(const char *value)
JourneyResponse & WithRefreshOnSegmentUpdate(bool value)
JourneyResponse & WithLastModifiedDate(Aws::String &&value)
bool ClosedDaysHasBeenSet() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetId(const Aws::String &value)
JourneyResponse & WithName(Aws::String &&value)
const StartCondition & GetStartCondition() const
JourneyResponse & WithRefreshFrequency(const Aws::String &value)
bool LimitsHasBeenSet() const
JourneyResponse & WithLastModifiedDate(const Aws::String &value)
bool TimezoneEstimationMethodsHasBeenSet() const
bool JourneyChannelSettingsHasBeenSet() const
JourneyResponse & WithStartCondition(const StartCondition &value)
void SetApplicationId(const Aws::String &value)
void SetWaitForQuietTime(bool value)
bool RefreshFrequencyHasBeenSet() const
void SetCreationDate(const char *value)
JourneyResponse & WithRefreshFrequency(const char *value)
AWS_PINPOINT_API JourneyResponse()
JourneyResponse & WithState(State &&value)
AWS_PINPOINT_API JourneyResponse(Aws::Utils::Json::JsonView jsonValue)
void SetOpenHours(const OpenHours &value)
JourneyResponse & AddTags(const char *key, Aws::String &&value)
bool ApplicationIdHasBeenSet() const
JourneyResponse & WithLimits(JourneyLimits &&value)
void SetTimezoneEstimationMethods(const Aws::Vector< __TimezoneEstimationMethodsElement > &value)
void SetId(const char *value)
bool SendingScheduleHasBeenSet() const
JourneyResponse & WithCreationDate(Aws::String &&value)
JourneyResponse & WithSendingSchedule(bool value)
void SetCreationDate(Aws::String &&value)
void SetStartActivity(Aws::String &&value)
void SetRefreshFrequency(const char *value)
void SetState(State &&value)
JourneyResponse & WithQuietTime(QuietTime &&value)
void SetTimezoneEstimationMethods(Aws::Vector< __TimezoneEstimationMethodsElement > &&value)
void SetLastModifiedDate(const char *value)
void SetSchedule(JourneySchedule &&value)
JourneyResponse & WithWaitForQuietTime(bool value)
JourneyResponse & WithTimezoneEstimationMethods(Aws::Vector< __TimezoneEstimationMethodsElement > &&value)
JourneyResponse & WithSchedule(const JourneySchedule &value)
bool StartActivityHasBeenSet() const
const JourneySchedule & GetSchedule() const
void SetStartCondition(StartCondition &&value)
void SetState(const State &value)
bool IdHasBeenSet() const
void SetLastModifiedDate(Aws::String &&value)
JourneyResponse & WithApplicationId(const char *value)
bool RefreshOnSegmentUpdateHasBeenSet() const
JourneyResponse & WithApplicationId(Aws::String &&value)
const State & GetState() const
JourneyResponse & WithState(const State &value)
void SetStartActivity(const Aws::String &value)
JourneyResponse & WithOpenHours(OpenHours &&value)
void SetName(Aws::String &&value)
void SetJourneyChannelSettings(const JourneyChannelSettings &value)
bool LocalTimeHasBeenSet() const
const Aws::Vector< __TimezoneEstimationMethodsElement > & GetTimezoneEstimationMethods() const
void SetClosedDays(const ClosedDays &value)
const Aws::String & GetStartActivity() const
JourneyResponse & WithName(const Aws::String &value)
JourneyResponse & WithRefreshFrequency(Aws::String &&value)
const Aws::Map< Aws::String, Activity > & GetActivities() const
JourneyResponse & WithCreationDate(const Aws::String &value)
AWS_PINPOINT_API JourneyResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
JourneyResponse & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
JourneyResponse & AddTags(const char *key, const char *value)
JourneyResponse & AddActivities(const char *key, const Activity &value)
JourneyResponse & WithSchedule(JourneySchedule &&value)
void SetStartActivity(const char *value)
JourneyResponse & WithName(const char *value)
JourneyResponse & AddTags(Aws::String &&key, Aws::String &&value)
JourneyResponse & WithApplicationId(const Aws::String &value)
JourneyResponse & WithTimezoneEstimationMethods(const Aws::Vector< __TimezoneEstimationMethodsElement > &value)
void SetLimits(JourneyLimits &&value)
void SetId(Aws::String &&value)
const Aws::String & GetCreationDate() const
void SetQuietTime(const QuietTime &value)
bool TagsHasBeenSet() const
const ClosedDays & GetClosedDays() const
JourneyResponse & WithId(const Aws::String &value)
bool StateHasBeenSet() const
const Aws::String & GetRefreshFrequency() const
void SetLimits(const JourneyLimits &value)
JourneyResponse & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::String & GetApplicationId() const
void SetOpenHours(OpenHours &&value)
JourneyResponse & WithStartActivity(const char *value)
void SetCreationDate(const Aws::String &value)
JourneyResponse & AddActivities(const Aws::String &key, const Activity &value)
JourneyResponse & AddActivities(const Aws::String &key, Activity &&value)
JourneyResponse & AddActivities(const char *key, Activity &&value)
JourneyResponse & WithJourneyChannelSettings(JourneyChannelSettings &&value)
JourneyResponse & WithId(Aws::String &&value)
JourneyResponse & WithOpenHours(const OpenHours &value)
const OpenHours & GetOpenHours() const
bool GetLocalTime() const
JourneyResponse & AddTimezoneEstimationMethods(const __TimezoneEstimationMethodsElement &value)
JourneyResponse & WithStartActivity(const Aws::String &value)
void SetSendingSchedule(bool value)
JourneyResponse & WithStartCondition(StartCondition &&value)
const JourneyLimits & GetLimits() const
bool QuietTimeHasBeenSet() const
bool OpenHoursHasBeenSet() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
JourneyResponse & AddActivities(Aws::String &&key, Activity &&value)
bool GetWaitForQuietTime() const
const Aws::String & GetLastModifiedDate() const
void SetRefreshFrequency(const Aws::String &value)
void SetActivities(const Aws::Map< Aws::String, Activity > &value)
const Aws::String & GetId() const
JourneyResponse & WithLocalTime(bool value)
JourneyResponse & WithCreationDate(const char *value)
void SetJourneyChannelSettings(JourneyChannelSettings &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const Aws::String &value)
JourneyResponse & WithClosedDays(const ClosedDays &value)
void SetRefreshFrequency(Aws::String &&value)
void SetActivities(Aws::Map< Aws::String, Activity > &&value)
bool GetSendingSchedule() const
JourneyResponse & AddTags(const Aws::String &key, Aws::String &&value)
void SetLastModifiedDate(const Aws::String &value)
JourneyResponse & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
JourneyResponse & WithQuietTime(const QuietTime &value)
JourneyResponse & WithActivities(Aws::Map< Aws::String, Activity > &&value)
void SetClosedDays(ClosedDays &&value)
bool ActivitiesHasBeenSet() const
bool NameHasBeenSet() const
JourneyResponse & WithStartActivity(Aws::String &&value)
bool WaitForQuietTimeHasBeenSet() const
bool CreationDateHasBeenSet() const
void SetApplicationId(const char *value)
JourneyResponse & WithJourneyChannelSettings(const JourneyChannelSettings &value)
JourneyResponse & AddTimezoneEstimationMethods(__TimezoneEstimationMethodsElement &&value)
void SetSchedule(const JourneySchedule &value)
bool LastModifiedDateHasBeenSet() const
const JourneyChannelSettings & GetJourneyChannelSettings() const
JourneyResponse & WithActivities(const Aws::Map< Aws::String, Activity > &value)
const Aws::String & GetName() const
void SetStartCondition(const StartCondition &value)
void SetQuietTime(QuietTime &&value)
bool GetRefreshOnSegmentUpdate() const
bool StartConditionHasBeenSet() const
JourneyResponse & WithLastModifiedDate(const char *value)
JourneyResponse & AddTags(Aws::String &&key, const Aws::String &value)
JourneyResponse & AddTags(Aws::String &&key, const char *value)
bool ScheduleHasBeenSet() const
void SetApplicationId(Aws::String &&value)
const QuietTime & GetQuietTime() const
JourneyResponse & AddActivities(Aws::String &&key, const Activity &value)
JourneyResponse & WithLimits(const JourneyLimits &value)
void SetRefreshOnSegmentUpdate(bool value)
void SetName(const char *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