7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint/Pinpoint_EXPORTS.h>
9#include <aws/pinpoint/model/CustomDeliveryConfiguration.h>
10#include <aws/pinpoint/model/MessageConfiguration.h>
11#include <aws/pinpoint/model/Schedule.h>
12#include <aws/pinpoint/model/TemplateConfiguration.h>
48 template <
typename CustomDeliveryConfigurationT = CustomDeliveryConfiguration>
50 m_customDeliveryConfigurationHasBeenSet =
true;
51 m_customDeliveryConfiguration = std::forward<CustomDeliveryConfigurationT>(value);
53 template <
typename CustomDeliveryConfigurationT = CustomDeliveryConfiguration>
66 template <
typename MessageConfigurationT = MessageConfiguration>
68 m_messageConfigurationHasBeenSet =
true;
69 m_messageConfiguration = std::forward<MessageConfigurationT>(value);
71 template <
typename MessageConfigurationT = MessageConfiguration>
84 template <
typename ScheduleT = Schedule>
86 m_scheduleHasBeenSet =
true;
87 m_schedule = std::forward<ScheduleT>(value);
89 template <
typename ScheduleT = Schedule>
104 m_sizePercentHasBeenSet =
true;
105 m_sizePercent = value;
119 template <
typename TemplateConfigurationT = TemplateConfiguration>
121 m_templateConfigurationHasBeenSet =
true;
122 m_templateConfiguration = std::forward<TemplateConfigurationT>(value);
124 template <
typename TemplateConfigurationT = TemplateConfiguration>
137 template <
typename TreatmentDescriptionT = Aws::String>
139 m_treatmentDescriptionHasBeenSet =
true;
140 m_treatmentDescription = std::forward<TreatmentDescriptionT>(value);
142 template <
typename TreatmentDescriptionT = Aws::String>
155 template <
typename TreatmentNameT = Aws::String>
157 m_treatmentNameHasBeenSet =
true;
158 m_treatmentName = std::forward<TreatmentNameT>(value);
160 template <
typename TreatmentNameT = Aws::String>
168 bool m_customDeliveryConfigurationHasBeenSet =
false;
171 bool m_messageConfigurationHasBeenSet =
false;
174 bool m_scheduleHasBeenSet =
false;
176 int m_sizePercent{0};
177 bool m_sizePercentHasBeenSet =
false;
179 TemplateConfiguration m_templateConfiguration;
180 bool m_templateConfigurationHasBeenSet =
false;
183 bool m_treatmentDescriptionHasBeenSet =
false;
186 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