7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/model/InAppMessage.h>
10#include <aws/pinpoint/model/InAppCampaignSchedule.h>
50 inline void SetCampaignId(
const char* value) { m_campaignIdHasBeenSet =
true; m_campaignId.assign(value); }
63 inline void SetDailyCap(
int value) { m_dailyCapHasBeenSet =
true; m_dailyCap = value; }
86 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
109 inline void SetSessionCap(
int value) { m_sessionCapHasBeenSet =
true; m_sessionCap = value; }
120 inline void SetTotalCap(
int value) { m_totalCapHasBeenSet =
true; m_totalCap = value; }
132 inline void SetTreatmentId(
const char* value) { m_treatmentIdHasBeenSet =
true; m_treatmentId.assign(value); }
140 bool m_campaignIdHasBeenSet =
false;
143 bool m_dailyCapHasBeenSet =
false;
146 bool m_inAppMessageHasBeenSet =
false;
149 bool m_priorityHasBeenSet =
false;
152 bool m_scheduleHasBeenSet =
false;
155 bool m_sessionCapHasBeenSet =
false;
158 bool m_totalCapHasBeenSet =
false;
161 bool m_treatmentIdHasBeenSet =
false;
InAppMessageCampaign & WithCampaignId(const char *value)
bool TreatmentIdHasBeenSet() const
InAppMessageCampaign & WithTreatmentId(const Aws::String &value)
void SetInAppMessage(const InAppMessage &value)
void SetSessionCap(int value)
InAppMessageCampaign & WithTreatmentId(Aws::String &&value)
int GetSessionCap() const
void SetCampaignId(const char *value)
void SetInAppMessage(InAppMessage &&value)
void SetTreatmentId(Aws::String &&value)
InAppMessageCampaign & WithSchedule(const InAppCampaignSchedule &value)
const Aws::String & GetTreatmentId() const
bool PriorityHasBeenSet() const
AWS_PINPOINT_API InAppMessageCampaign()
bool CampaignIdHasBeenSet() const
InAppMessageCampaign & WithPriority(int value)
InAppMessageCampaign & WithSchedule(InAppCampaignSchedule &&value)
InAppMessageCampaign & WithCampaignId(const Aws::String &value)
void SetPriority(int value)
const InAppMessage & GetInAppMessage() const
const Aws::String & GetCampaignId() const
InAppMessageCampaign & WithCampaignId(Aws::String &&value)
InAppMessageCampaign & WithDailyCap(int value)
InAppMessageCampaign & WithSessionCap(int value)
void SetCampaignId(const Aws::String &value)
bool DailyCapHasBeenSet() const
void SetTreatmentId(const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
InAppMessageCampaign & WithInAppMessage(InAppMessage &&value)
void SetCampaignId(Aws::String &&value)
bool InAppMessageHasBeenSet() const
void SetTreatmentId(const char *value)
InAppMessageCampaign & WithTotalCap(int value)
void SetSchedule(InAppCampaignSchedule &&value)
bool SessionCapHasBeenSet() const
AWS_PINPOINT_API InAppMessageCampaign(Aws::Utils::Json::JsonView jsonValue)
bool ScheduleHasBeenSet() const
bool TotalCapHasBeenSet() const
InAppMessageCampaign & WithInAppMessage(const InAppMessage &value)
InAppMessageCampaign & WithTreatmentId(const char *value)
void SetSchedule(const InAppCampaignSchedule &value)
void SetTotalCap(int value)
void SetDailyCap(int value)
AWS_PINPOINT_API InAppMessageCampaign & operator=(Aws::Utils::Json::JsonView jsonValue)
const InAppCampaignSchedule & GetSchedule() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue