7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint/Pinpoint_EXPORTS.h>
9#include <aws/pinpoint/model/CampaignState.h>
10#include <aws/pinpoint/model/CustomDeliveryConfiguration.h>
11#include <aws/pinpoint/model/MessageConfiguration.h>
12#include <aws/pinpoint/model/Schedule.h>
13#include <aws/pinpoint/model/TemplateConfiguration.h>
49 template <
typename CustomDeliveryConfigurationT = CustomDeliveryConfiguration>
51 m_customDeliveryConfigurationHasBeenSet =
true;
52 m_customDeliveryConfiguration = std::forward<CustomDeliveryConfigurationT>(value);
54 template <
typename CustomDeliveryConfigurationT = CustomDeliveryConfiguration>
67 template <
typename IdT = Aws::String>
69 m_idHasBeenSet =
true;
70 m_id = std::forward<IdT>(value);
72 template <
typename IdT = Aws::String>
74 SetId(std::forward<IdT>(value));
85 template <
typename MessageConfigurationT = MessageConfiguration>
87 m_messageConfigurationHasBeenSet =
true;
88 m_messageConfiguration = std::forward<MessageConfigurationT>(value);
90 template <
typename MessageConfigurationT = MessageConfiguration>
103 template <
typename ScheduleT = Schedule>
105 m_scheduleHasBeenSet =
true;
106 m_schedule = std::forward<ScheduleT>(value);
108 template <
typename ScheduleT = Schedule>
123 m_sizePercentHasBeenSet =
true;
124 m_sizePercent = value;
138 template <
typename StateT = CampaignState>
140 m_stateHasBeenSet =
true;
141 m_state = std::forward<StateT>(value);
143 template <
typename StateT = CampaignState>
145 SetState(std::forward<StateT>(value));
156 template <
typename TemplateConfigurationT = TemplateConfiguration>
158 m_templateConfigurationHasBeenSet =
true;
159 m_templateConfiguration = std::forward<TemplateConfigurationT>(value);
161 template <
typename TemplateConfigurationT = TemplateConfiguration>
174 template <
typename TreatmentDescriptionT = Aws::String>
176 m_treatmentDescriptionHasBeenSet =
true;
177 m_treatmentDescription = std::forward<TreatmentDescriptionT>(value);
179 template <
typename TreatmentDescriptionT = Aws::String>
192 template <
typename TreatmentNameT = Aws::String>
194 m_treatmentNameHasBeenSet =
true;
195 m_treatmentName = std::forward<TreatmentNameT>(value);
197 template <
typename TreatmentNameT = Aws::String>
205 bool m_customDeliveryConfigurationHasBeenSet =
false;
208 bool m_idHasBeenSet =
false;
211 bool m_messageConfigurationHasBeenSet =
false;
214 bool m_scheduleHasBeenSet =
false;
216 int m_sizePercent{0};
217 bool m_sizePercentHasBeenSet =
false;
219 CampaignState m_state;
220 bool m_stateHasBeenSet =
false;
222 TemplateConfiguration m_templateConfiguration;
223 bool m_templateConfigurationHasBeenSet =
false;
226 bool m_treatmentDescriptionHasBeenSet =
false;
229 bool m_treatmentNameHasBeenSet =
false;
TreatmentResource & WithTemplateConfiguration(TemplateConfigurationT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTreatmentDescription(TreatmentDescriptionT &&value)
AWS_PINPOINT_API TreatmentResource & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CustomDeliveryConfigurationHasBeenSet() const
const CampaignState & GetState() const
void SetCustomDeliveryConfiguration(CustomDeliveryConfigurationT &&value)
const TemplateConfiguration & GetTemplateConfiguration() const
void SetState(StateT &&value)
const MessageConfiguration & GetMessageConfiguration() const
TreatmentResource & WithTreatmentDescription(TreatmentDescriptionT &&value)
const CustomDeliveryConfiguration & GetCustomDeliveryConfiguration() const
bool SizePercentHasBeenSet() const
void SetTreatmentName(TreatmentNameT &&value)
const Aws::String & GetTreatmentName() const
TreatmentResource & WithTreatmentName(TreatmentNameT &&value)
TreatmentResource & WithMessageConfiguration(MessageConfigurationT &&value)
bool TreatmentDescriptionHasBeenSet() const
void SetMessageConfiguration(MessageConfigurationT &&value)
bool StateHasBeenSet() const
TreatmentResource & WithState(StateT &&value)
bool TemplateConfigurationHasBeenSet() const
bool TreatmentNameHasBeenSet() const
TreatmentResource & WithSchedule(ScheduleT &&value)
int GetSizePercent() const
bool IdHasBeenSet() const
void SetSizePercent(int value)
void SetTemplateConfiguration(TemplateConfigurationT &&value)
bool ScheduleHasBeenSet() const
AWS_PINPOINT_API TreatmentResource()=default
AWS_PINPOINT_API TreatmentResource(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
TreatmentResource & WithSizePercent(int value)
TreatmentResource & WithId(IdT &&value)
const Schedule & GetSchedule() const
bool MessageConfigurationHasBeenSet() const
TreatmentResource & WithCustomDeliveryConfiguration(CustomDeliveryConfigurationT &&value)
const Aws::String & GetTreatmentDescription() const
void SetSchedule(ScheduleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue