7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/CustomDeliveryConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pinpoint/model/MessageConfiguration.h>
11#include <aws/pinpoint/model/Schedule.h>
12#include <aws/pinpoint/model/CampaignState.h>
13#include <aws/pinpoint/model/TemplateConfiguration.h>
68 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
69 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
94 inline void SetSchedule(
Schedule&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::move(value); }
106 inline void SetSizePercent(
int value) { m_sizePercentHasBeenSet =
true; m_sizePercent = value; }
142 inline void SetTreatmentDescription(
const char* value) { m_treatmentDescriptionHasBeenSet =
true; m_treatmentDescription.assign(value); }
156 inline void SetTreatmentName(
const char* value) { m_treatmentNameHasBeenSet =
true; m_treatmentName.assign(value); }
164 bool m_customDeliveryConfigurationHasBeenSet =
false;
167 bool m_idHasBeenSet =
false;
170 bool m_messageConfigurationHasBeenSet =
false;
173 bool m_scheduleHasBeenSet =
false;
176 bool m_sizePercentHasBeenSet =
false;
179 bool m_stateHasBeenSet =
false;
182 bool m_templateConfigurationHasBeenSet =
false;
185 bool m_treatmentDescriptionHasBeenSet =
false;
188 bool m_treatmentNameHasBeenSet =
false;
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API TreatmentResource & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CustomDeliveryConfigurationHasBeenSet() const
TreatmentResource & WithTreatmentName(const char *value)
const CampaignState & GetState() const
void SetSchedule(const Schedule &value)
const TemplateConfiguration & GetTemplateConfiguration() const
void SetState(const CampaignState &value)
void SetTemplateConfiguration(TemplateConfiguration &&value)
const MessageConfiguration & GetMessageConfiguration() const
TreatmentResource & WithMessageConfiguration(MessageConfiguration &&value)
TreatmentResource & WithTreatmentName(Aws::String &&value)
const CustomDeliveryConfiguration & GetCustomDeliveryConfiguration() const
bool SizePercentHasBeenSet() const
const Aws::String & GetTreatmentName() const
TreatmentResource & WithState(const CampaignState &value)
void SetTreatmentName(const Aws::String &value)
AWS_PINPOINT_API TreatmentResource()
void SetTreatmentName(Aws::String &&value)
void SetTreatmentName(const char *value)
TreatmentResource & WithTreatmentName(const Aws::String &value)
bool TreatmentDescriptionHasBeenSet() const
TreatmentResource & WithId(const char *value)
void SetCustomDeliveryConfiguration(const CustomDeliveryConfiguration &value)
TreatmentResource & WithTemplateConfiguration(TemplateConfiguration &&value)
void SetTreatmentDescription(Aws::String &&value)
bool StateHasBeenSet() const
TreatmentResource & WithId(Aws::String &&value)
bool TemplateConfigurationHasBeenSet() const
TreatmentResource & WithSchedule(const Schedule &value)
TreatmentResource & WithMessageConfiguration(const MessageConfiguration &value)
TreatmentResource & WithCustomDeliveryConfiguration(const CustomDeliveryConfiguration &value)
bool TreatmentNameHasBeenSet() const
TreatmentResource & WithId(const Aws::String &value)
void SetCustomDeliveryConfiguration(CustomDeliveryConfiguration &&value)
int GetSizePercent() const
TreatmentResource & WithSchedule(Schedule &&value)
TreatmentResource & WithTreatmentDescription(const char *value)
bool IdHasBeenSet() const
void SetSizePercent(int value)
TreatmentResource & WithTreatmentDescription(const Aws::String &value)
TreatmentResource & WithState(CampaignState &&value)
bool ScheduleHasBeenSet() const
void SetTemplateConfiguration(const TemplateConfiguration &value)
void SetTreatmentDescription(const Aws::String &value)
TreatmentResource & WithCustomDeliveryConfiguration(CustomDeliveryConfiguration &&value)
void SetState(CampaignState &&value)
AWS_PINPOINT_API TreatmentResource(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
void SetMessageConfiguration(const MessageConfiguration &value)
TreatmentResource & WithSizePercent(int value)
void SetId(const Aws::String &value)
TreatmentResource & WithTreatmentDescription(Aws::String &&value)
void SetId(const char *value)
const Schedule & GetSchedule() const
bool MessageConfigurationHasBeenSet() const
void SetTreatmentDescription(const char *value)
void SetSchedule(Schedule &&value)
void SetMessageConfiguration(MessageConfiguration &&value)
TreatmentResource & WithTemplateConfiguration(const TemplateConfiguration &value)
const Aws::String & GetTreatmentDescription() const
void SetId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue