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>
54 template<
typename CustomDeliveryConfigurationT = CustomDeliveryConfiguration>
55 void SetCustomDeliveryConfiguration(CustomDeliveryConfigurationT&& value) { m_customDeliveryConfigurationHasBeenSet =
true; m_customDeliveryConfiguration = std::forward<CustomDeliveryConfigurationT>(value); }
56 template<
typename CustomDeliveryConfigurationT = CustomDeliveryConfiguration>
66 template<
typename MessageConfigurationT = MessageConfiguration>
67 void SetMessageConfiguration(MessageConfigurationT&& value) { m_messageConfigurationHasBeenSet =
true; m_messageConfiguration = std::forward<MessageConfigurationT>(value); }
68 template<
typename MessageConfigurationT = MessageConfiguration>
78 template<
typename ScheduleT = Schedule>
79 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
80 template<
typename ScheduleT = Schedule>
91 inline void SetSizePercent(
int value) { m_sizePercentHasBeenSet =
true; m_sizePercent = value; }
101 template<
typename TemplateConfigurationT = TemplateConfiguration>
102 void SetTemplateConfiguration(TemplateConfigurationT&& value) { m_templateConfigurationHasBeenSet =
true; m_templateConfiguration = std::forward<TemplateConfigurationT>(value); }
103 template<
typename TemplateConfigurationT = TemplateConfiguration>
113 template<
typename TreatmentDescriptionT = Aws::String>
114 void SetTreatmentDescription(TreatmentDescriptionT&& value) { m_treatmentDescriptionHasBeenSet =
true; m_treatmentDescription = std::forward<TreatmentDescriptionT>(value); }
115 template<
typename TreatmentDescriptionT = Aws::String>
125 template<
typename TreatmentNameT = Aws::String>
126 void SetTreatmentName(TreatmentNameT&& value) { m_treatmentNameHasBeenSet =
true; m_treatmentName = std::forward<TreatmentNameT>(value); }
127 template<
typename TreatmentNameT = Aws::String>
133 bool m_customDeliveryConfigurationHasBeenSet =
false;
136 bool m_messageConfigurationHasBeenSet =
false;
139 bool m_scheduleHasBeenSet =
false;
141 int m_sizePercent{0};
142 bool m_sizePercentHasBeenSet =
false;
144 TemplateConfiguration m_templateConfiguration;
145 bool m_templateConfigurationHasBeenSet =
false;
148 bool m_treatmentDescriptionHasBeenSet =
false;
151 bool m_treatmentNameHasBeenSet =
false;
int GetSizePercent() const
void SetTemplateConfiguration(TemplateConfigurationT &&value)
void SetMessageConfiguration(MessageConfigurationT &&value)
bool SizePercentHasBeenSet() const
WriteTreatmentResource & WithSizePercent(int value)
WriteTreatmentResource & WithCustomDeliveryConfiguration(CustomDeliveryConfigurationT &&value)
AWS_PINPOINT_API WriteTreatmentResource(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTreatmentName() const
bool TreatmentDescriptionHasBeenSet() const
const MessageConfiguration & GetMessageConfiguration() const
WriteTreatmentResource & WithTemplateConfiguration(TemplateConfigurationT &&value)
const TemplateConfiguration & GetTemplateConfiguration() const
const CustomDeliveryConfiguration & GetCustomDeliveryConfiguration() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTreatmentName(TreatmentNameT &&value)
void SetSizePercent(int value)
WriteTreatmentResource & WithMessageConfiguration(MessageConfigurationT &&value)
AWS_PINPOINT_API WriteTreatmentResource & operator=(Aws::Utils::Json::JsonView jsonValue)
const Schedule & GetSchedule() const
WriteTreatmentResource & WithTreatmentName(TreatmentNameT &&value)
bool CustomDeliveryConfigurationHasBeenSet() const
AWS_PINPOINT_API WriteTreatmentResource()=default
WriteTreatmentResource & WithTreatmentDescription(TreatmentDescriptionT &&value)
bool TemplateConfigurationHasBeenSet() const
const Aws::String & GetTreatmentDescription() const
bool TreatmentNameHasBeenSet() const
WriteTreatmentResource & WithSchedule(ScheduleT &&value)
bool ScheduleHasBeenSet() const
void SetCustomDeliveryConfiguration(CustomDeliveryConfigurationT &&value)
bool MessageConfigurationHasBeenSet() const
void SetSchedule(ScheduleT &&value)
void SetTreatmentDescription(TreatmentDescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue