7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/CustomDeliveryConfiguration.h>
9#include <aws/pinpoint/model/MessageConfiguration.h>
10#include <aws/pinpoint/model/Schedule.h>
11#include <aws/pinpoint/model/TemplateConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
79 inline void SetSchedule(
Schedule&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::move(value); }
91 inline void SetSizePercent(
int value) { m_sizePercentHasBeenSet =
true; m_sizePercent = value; }
115 inline void SetTreatmentDescription(
const char* value) { m_treatmentDescriptionHasBeenSet =
true; m_treatmentDescription.assign(value); }
129 inline void SetTreatmentName(
const char* value) { m_treatmentNameHasBeenSet =
true; m_treatmentName.assign(value); }
137 bool m_customDeliveryConfigurationHasBeenSet =
false;
140 bool m_messageConfigurationHasBeenSet =
false;
143 bool m_scheduleHasBeenSet =
false;
146 bool m_sizePercentHasBeenSet =
false;
149 bool m_templateConfigurationHasBeenSet =
false;
152 bool m_treatmentDescriptionHasBeenSet =
false;
155 bool m_treatmentNameHasBeenSet =
false;
int GetSizePercent() const
WriteTreatmentResource & WithTreatmentName(const Aws::String &value)
WriteTreatmentResource & WithSchedule(Schedule &&value)
WriteTreatmentResource & WithTreatmentDescription(const Aws::String &value)
void SetTreatmentName(const char *value)
void SetSchedule(Schedule &&value)
void SetCustomDeliveryConfiguration(const CustomDeliveryConfiguration &value)
bool SizePercentHasBeenSet() const
WriteTreatmentResource & WithSizePercent(int value)
WriteTreatmentResource & WithTreatmentName(const char *value)
WriteTreatmentResource & WithTemplateConfiguration(TemplateConfiguration &&value)
WriteTreatmentResource & WithTreatmentDescription(const char *value)
void SetTemplateConfiguration(TemplateConfiguration &&value)
AWS_PINPOINT_API WriteTreatmentResource()
AWS_PINPOINT_API WriteTreatmentResource(Aws::Utils::Json::JsonView jsonValue)
void SetTreatmentDescription(const Aws::String &value)
const Aws::String & GetTreatmentName() const
void SetTreatmentDescription(const char *value)
bool TreatmentDescriptionHasBeenSet() const
const MessageConfiguration & GetMessageConfiguration() const
void SetTreatmentDescription(Aws::String &&value)
const TemplateConfiguration & GetTemplateConfiguration() const
const CustomDeliveryConfiguration & GetCustomDeliveryConfiguration() const
void SetMessageConfiguration(MessageConfiguration &&value)
void SetMessageConfiguration(const MessageConfiguration &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSizePercent(int value)
WriteTreatmentResource & WithCustomDeliveryConfiguration(const CustomDeliveryConfiguration &value)
AWS_PINPOINT_API WriteTreatmentResource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTemplateConfiguration(const TemplateConfiguration &value)
const Schedule & GetSchedule() const
bool CustomDeliveryConfigurationHasBeenSet() const
WriteTreatmentResource & WithTreatmentName(Aws::String &&value)
WriteTreatmentResource & WithMessageConfiguration(MessageConfiguration &&value)
void SetSchedule(const Schedule &value)
WriteTreatmentResource & WithMessageConfiguration(const MessageConfiguration &value)
WriteTreatmentResource & WithTreatmentDescription(Aws::String &&value)
void SetCustomDeliveryConfiguration(CustomDeliveryConfiguration &&value)
WriteTreatmentResource & WithSchedule(const Schedule &value)
bool TemplateConfigurationHasBeenSet() const
const Aws::String & GetTreatmentDescription() const
void SetTreatmentName(const Aws::String &value)
bool TreatmentNameHasBeenSet() const
WriteTreatmentResource & WithCustomDeliveryConfiguration(CustomDeliveryConfiguration &&value)
void SetTreatmentName(Aws::String &&value)
bool ScheduleHasBeenSet() const
bool MessageConfigurationHasBeenSet() const
WriteTreatmentResource & WithTemplateConfiguration(const TemplateConfiguration &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue