AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CampaignResponse.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pinpoint/model/CustomDeliveryConfiguration.h>
11#include <aws/pinpoint/model/CampaignState.h>
12#include <aws/pinpoint/model/CampaignHook.h>
13#include <aws/pinpoint/model/CampaignLimits.h>
14#include <aws/pinpoint/model/MessageConfiguration.h>
15#include <aws/pinpoint/model/Schedule.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/pinpoint/model/TemplateConfiguration.h>
18#include <aws/pinpoint/model/TreatmentResource.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28 class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace Pinpoint
32{
33namespace Model
34{
35
43 {
44 public:
45 AWS_PINPOINT_API CampaignResponse();
46 AWS_PINPOINT_API CampaignResponse(Aws::Utils::Json::JsonView jsonValue);
48 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
56 inline const Aws::Vector<TreatmentResource>& GetAdditionalTreatments() const{ return m_additionalTreatments; }
57 inline bool AdditionalTreatmentsHasBeenSet() const { return m_additionalTreatmentsHasBeenSet; }
58 inline void SetAdditionalTreatments(const Aws::Vector<TreatmentResource>& value) { m_additionalTreatmentsHasBeenSet = true; m_additionalTreatments = value; }
59 inline void SetAdditionalTreatments(Aws::Vector<TreatmentResource>&& value) { m_additionalTreatmentsHasBeenSet = true; m_additionalTreatments = std::move(value); }
62 inline CampaignResponse& AddAdditionalTreatments(const TreatmentResource& value) { m_additionalTreatmentsHasBeenSet = true; m_additionalTreatments.push_back(value); return *this; }
63 inline CampaignResponse& AddAdditionalTreatments(TreatmentResource&& value) { m_additionalTreatmentsHasBeenSet = true; m_additionalTreatments.push_back(std::move(value)); return *this; }
65
67
70 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
71 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
72 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
73 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
74 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
75 inline CampaignResponse& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
76 inline CampaignResponse& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
77 inline CampaignResponse& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
79
81
84 inline const Aws::String& GetArn() const{ return m_arn; }
85 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
86 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
87 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
88 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
89 inline CampaignResponse& WithArn(const Aws::String& value) { SetArn(value); return *this;}
90 inline CampaignResponse& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
91 inline CampaignResponse& WithArn(const char* value) { SetArn(value); return *this;}
93
95
98 inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
99 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
100 inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
101 inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
102 inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); }
103 inline CampaignResponse& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
104 inline CampaignResponse& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
105 inline CampaignResponse& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
107
109
113 inline const CustomDeliveryConfiguration& GetCustomDeliveryConfiguration() const{ return m_customDeliveryConfiguration; }
114 inline bool CustomDeliveryConfigurationHasBeenSet() const { return m_customDeliveryConfigurationHasBeenSet; }
115 inline void SetCustomDeliveryConfiguration(const CustomDeliveryConfiguration& value) { m_customDeliveryConfigurationHasBeenSet = true; m_customDeliveryConfiguration = value; }
116 inline void SetCustomDeliveryConfiguration(CustomDeliveryConfiguration&& value) { m_customDeliveryConfigurationHasBeenSet = true; m_customDeliveryConfiguration = std::move(value); }
120
122
126 inline const CampaignState& GetDefaultState() const{ return m_defaultState; }
127 inline bool DefaultStateHasBeenSet() const { return m_defaultStateHasBeenSet; }
128 inline void SetDefaultState(const CampaignState& value) { m_defaultStateHasBeenSet = true; m_defaultState = value; }
129 inline void SetDefaultState(CampaignState&& value) { m_defaultStateHasBeenSet = true; m_defaultState = std::move(value); }
130 inline CampaignResponse& WithDefaultState(const CampaignState& value) { SetDefaultState(value); return *this;}
131 inline CampaignResponse& WithDefaultState(CampaignState&& value) { SetDefaultState(std::move(value)); return *this;}
133
135
138 inline const Aws::String& GetDescription() const{ return m_description; }
139 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
140 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
141 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
142 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
143 inline CampaignResponse& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
144 inline CampaignResponse& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
145 inline CampaignResponse& WithDescription(const char* value) { SetDescription(value); return *this;}
147
149
153 inline int GetHoldoutPercent() const{ return m_holdoutPercent; }
154 inline bool HoldoutPercentHasBeenSet() const { return m_holdoutPercentHasBeenSet; }
155 inline void SetHoldoutPercent(int value) { m_holdoutPercentHasBeenSet = true; m_holdoutPercent = value; }
156 inline CampaignResponse& WithHoldoutPercent(int value) { SetHoldoutPercent(value); return *this;}
158
160
165 inline const CampaignHook& GetHook() const{ return m_hook; }
166 inline bool HookHasBeenSet() const { return m_hookHasBeenSet; }
167 inline void SetHook(const CampaignHook& value) { m_hookHasBeenSet = true; m_hook = value; }
168 inline void SetHook(CampaignHook&& value) { m_hookHasBeenSet = true; m_hook = std::move(value); }
169 inline CampaignResponse& WithHook(const CampaignHook& value) { SetHook(value); return *this;}
170 inline CampaignResponse& WithHook(CampaignHook&& value) { SetHook(std::move(value)); return *this;}
172
174
177 inline const Aws::String& GetId() const{ return m_id; }
178 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
179 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
180 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
181 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
182 inline CampaignResponse& WithId(const Aws::String& value) { SetId(value); return *this;}
183 inline CampaignResponse& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
184 inline CampaignResponse& WithId(const char* value) { SetId(value); return *this;}
186
188
192 inline bool GetIsPaused() const{ return m_isPaused; }
193 inline bool IsPausedHasBeenSet() const { return m_isPausedHasBeenSet; }
194 inline void SetIsPaused(bool value) { m_isPausedHasBeenSet = true; m_isPaused = value; }
195 inline CampaignResponse& WithIsPaused(bool value) { SetIsPaused(value); return *this;}
197
199
202 inline const Aws::String& GetLastModifiedDate() const{ return m_lastModifiedDate; }
203 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
204 inline void SetLastModifiedDate(const Aws::String& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
205 inline void SetLastModifiedDate(Aws::String&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
206 inline void SetLastModifiedDate(const char* value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate.assign(value); }
207 inline CampaignResponse& WithLastModifiedDate(const Aws::String& value) { SetLastModifiedDate(value); return *this;}
208 inline CampaignResponse& WithLastModifiedDate(Aws::String&& value) { SetLastModifiedDate(std::move(value)); return *this;}
209 inline CampaignResponse& WithLastModifiedDate(const char* value) { SetLastModifiedDate(value); return *this;}
211
213
216 inline const CampaignLimits& GetLimits() const{ return m_limits; }
217 inline bool LimitsHasBeenSet() const { return m_limitsHasBeenSet; }
218 inline void SetLimits(const CampaignLimits& value) { m_limitsHasBeenSet = true; m_limits = value; }
219 inline void SetLimits(CampaignLimits&& value) { m_limitsHasBeenSet = true; m_limits = std::move(value); }
220 inline CampaignResponse& WithLimits(const CampaignLimits& value) { SetLimits(value); return *this;}
221 inline CampaignResponse& WithLimits(CampaignLimits&& value) { SetLimits(std::move(value)); return *this;}
223
225
228 inline const MessageConfiguration& GetMessageConfiguration() const{ return m_messageConfiguration; }
229 inline bool MessageConfigurationHasBeenSet() const { return m_messageConfigurationHasBeenSet; }
230 inline void SetMessageConfiguration(const MessageConfiguration& value) { m_messageConfigurationHasBeenSet = true; m_messageConfiguration = value; }
231 inline void SetMessageConfiguration(MessageConfiguration&& value) { m_messageConfigurationHasBeenSet = true; m_messageConfiguration = std::move(value); }
235
237
240 inline const Aws::String& GetName() const{ return m_name; }
241 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
242 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
243 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
244 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
245 inline CampaignResponse& WithName(const Aws::String& value) { SetName(value); return *this;}
246 inline CampaignResponse& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
247 inline CampaignResponse& WithName(const char* value) { SetName(value); return *this;}
249
251
254 inline const Schedule& GetSchedule() const{ return m_schedule; }
255 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
256 inline void SetSchedule(const Schedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; }
257 inline void SetSchedule(Schedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); }
258 inline CampaignResponse& WithSchedule(const Schedule& value) { SetSchedule(value); return *this;}
259 inline CampaignResponse& WithSchedule(Schedule&& value) { SetSchedule(std::move(value)); return *this;}
261
263
267 inline const Aws::String& GetSegmentId() const{ return m_segmentId; }
268 inline bool SegmentIdHasBeenSet() const { return m_segmentIdHasBeenSet; }
269 inline void SetSegmentId(const Aws::String& value) { m_segmentIdHasBeenSet = true; m_segmentId = value; }
270 inline void SetSegmentId(Aws::String&& value) { m_segmentIdHasBeenSet = true; m_segmentId = std::move(value); }
271 inline void SetSegmentId(const char* value) { m_segmentIdHasBeenSet = true; m_segmentId.assign(value); }
272 inline CampaignResponse& WithSegmentId(const Aws::String& value) { SetSegmentId(value); return *this;}
273 inline CampaignResponse& WithSegmentId(Aws::String&& value) { SetSegmentId(std::move(value)); return *this;}
274 inline CampaignResponse& WithSegmentId(const char* value) { SetSegmentId(value); return *this;}
276
278
281 inline int GetSegmentVersion() const{ return m_segmentVersion; }
282 inline bool SegmentVersionHasBeenSet() const { return m_segmentVersionHasBeenSet; }
283 inline void SetSegmentVersion(int value) { m_segmentVersionHasBeenSet = true; m_segmentVersion = value; }
284 inline CampaignResponse& WithSegmentVersion(int value) { SetSegmentVersion(value); return *this;}
286
288
291 inline const CampaignState& GetState() const{ return m_state; }
292 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
293 inline void SetState(const CampaignState& value) { m_stateHasBeenSet = true; m_state = value; }
294 inline void SetState(CampaignState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
295 inline CampaignResponse& WithState(const CampaignState& value) { SetState(value); return *this;}
296 inline CampaignResponse& WithState(CampaignState&& value) { SetState(std::move(value)); return *this;}
298
300
305 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
306 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
307 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
308 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
309 inline CampaignResponse& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
310 inline CampaignResponse& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
311 inline CampaignResponse& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
312 inline CampaignResponse& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
313 inline CampaignResponse& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
314 inline CampaignResponse& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
315 inline CampaignResponse& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
316 inline CampaignResponse& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
317 inline CampaignResponse& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
319
321
324 inline const TemplateConfiguration& GetTemplateConfiguration() const{ return m_templateConfiguration; }
325 inline bool TemplateConfigurationHasBeenSet() const { return m_templateConfigurationHasBeenSet; }
326 inline void SetTemplateConfiguration(const TemplateConfiguration& value) { m_templateConfigurationHasBeenSet = true; m_templateConfiguration = value; }
327 inline void SetTemplateConfiguration(TemplateConfiguration&& value) { m_templateConfigurationHasBeenSet = true; m_templateConfiguration = std::move(value); }
331
333
336 inline const Aws::String& GetTreatmentDescription() const{ return m_treatmentDescription; }
337 inline bool TreatmentDescriptionHasBeenSet() const { return m_treatmentDescriptionHasBeenSet; }
338 inline void SetTreatmentDescription(const Aws::String& value) { m_treatmentDescriptionHasBeenSet = true; m_treatmentDescription = value; }
339 inline void SetTreatmentDescription(Aws::String&& value) { m_treatmentDescriptionHasBeenSet = true; m_treatmentDescription = std::move(value); }
340 inline void SetTreatmentDescription(const char* value) { m_treatmentDescriptionHasBeenSet = true; m_treatmentDescription.assign(value); }
342 inline CampaignResponse& WithTreatmentDescription(Aws::String&& value) { SetTreatmentDescription(std::move(value)); return *this;}
343 inline CampaignResponse& WithTreatmentDescription(const char* value) { SetTreatmentDescription(value); return *this;}
345
347
352 inline const Aws::String& GetTreatmentName() const{ return m_treatmentName; }
353 inline bool TreatmentNameHasBeenSet() const { return m_treatmentNameHasBeenSet; }
354 inline void SetTreatmentName(const Aws::String& value) { m_treatmentNameHasBeenSet = true; m_treatmentName = value; }
355 inline void SetTreatmentName(Aws::String&& value) { m_treatmentNameHasBeenSet = true; m_treatmentName = std::move(value); }
356 inline void SetTreatmentName(const char* value) { m_treatmentNameHasBeenSet = true; m_treatmentName.assign(value); }
357 inline CampaignResponse& WithTreatmentName(const Aws::String& value) { SetTreatmentName(value); return *this;}
358 inline CampaignResponse& WithTreatmentName(Aws::String&& value) { SetTreatmentName(std::move(value)); return *this;}
359 inline CampaignResponse& WithTreatmentName(const char* value) { SetTreatmentName(value); return *this;}
361
363
366 inline int GetVersion() const{ return m_version; }
367 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
368 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
369 inline CampaignResponse& WithVersion(int value) { SetVersion(value); return *this;}
371
373
378 inline int GetPriority() const{ return m_priority; }
379 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
380 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
381 inline CampaignResponse& WithPriority(int value) { SetPriority(value); return *this;}
383 private:
384
385 Aws::Vector<TreatmentResource> m_additionalTreatments;
386 bool m_additionalTreatmentsHasBeenSet = false;
387
388 Aws::String m_applicationId;
389 bool m_applicationIdHasBeenSet = false;
390
391 Aws::String m_arn;
392 bool m_arnHasBeenSet = false;
393
394 Aws::String m_creationDate;
395 bool m_creationDateHasBeenSet = false;
396
397 CustomDeliveryConfiguration m_customDeliveryConfiguration;
398 bool m_customDeliveryConfigurationHasBeenSet = false;
399
400 CampaignState m_defaultState;
401 bool m_defaultStateHasBeenSet = false;
402
403 Aws::String m_description;
404 bool m_descriptionHasBeenSet = false;
405
406 int m_holdoutPercent;
407 bool m_holdoutPercentHasBeenSet = false;
408
409 CampaignHook m_hook;
410 bool m_hookHasBeenSet = false;
411
412 Aws::String m_id;
413 bool m_idHasBeenSet = false;
414
415 bool m_isPaused;
416 bool m_isPausedHasBeenSet = false;
417
418 Aws::String m_lastModifiedDate;
419 bool m_lastModifiedDateHasBeenSet = false;
420
421 CampaignLimits m_limits;
422 bool m_limitsHasBeenSet = false;
423
424 MessageConfiguration m_messageConfiguration;
425 bool m_messageConfigurationHasBeenSet = false;
426
427 Aws::String m_name;
428 bool m_nameHasBeenSet = false;
429
430 Schedule m_schedule;
431 bool m_scheduleHasBeenSet = false;
432
433 Aws::String m_segmentId;
434 bool m_segmentIdHasBeenSet = false;
435
436 int m_segmentVersion;
437 bool m_segmentVersionHasBeenSet = false;
438
439 CampaignState m_state;
440 bool m_stateHasBeenSet = false;
441
443 bool m_tagsHasBeenSet = false;
444
445 TemplateConfiguration m_templateConfiguration;
446 bool m_templateConfigurationHasBeenSet = false;
447
448 Aws::String m_treatmentDescription;
449 bool m_treatmentDescriptionHasBeenSet = false;
450
451 Aws::String m_treatmentName;
452 bool m_treatmentNameHasBeenSet = false;
453
454 int m_version;
455 bool m_versionHasBeenSet = false;
456
457 int m_priority;
458 bool m_priorityHasBeenSet = false;
459 };
460
461} // namespace Model
462} // namespace Pinpoint
463} // namespace Aws
const CampaignState & GetState() const
CampaignResponse & AddAdditionalTreatments(TreatmentResource &&value)
void SetHook(const CampaignHook &value)
CampaignResponse & WithCreationDate(const Aws::String &value)
CampaignResponse & WithApplicationId(const char *value)
CampaignResponse & WithCustomDeliveryConfiguration(const CustomDeliveryConfiguration &value)
CampaignResponse & AddAdditionalTreatments(const TreatmentResource &value)
CampaignResponse & WithDefaultState(const CampaignState &value)
CampaignResponse & WithApplicationId(const Aws::String &value)
void SetId(const Aws::String &value)
CampaignResponse & AddTags(Aws::String &&key, const char *value)
CampaignResponse & AddTags(const char *key, const char *value)
CampaignResponse & WithDefaultState(CampaignState &&value)
CampaignResponse & WithMessageConfiguration(const MessageConfiguration &value)
void SetArn(const Aws::String &value)
void SetCustomDeliveryConfiguration(const CustomDeliveryConfiguration &value)
const Aws::String & GetTreatmentDescription() const
CampaignResponse & WithCreationDate(Aws::String &&value)
CampaignResponse & WithTreatmentDescription(const Aws::String &value)
const Aws::Vector< TreatmentResource > & GetAdditionalTreatments() const
const CustomDeliveryConfiguration & GetCustomDeliveryConfiguration() const
AWS_PINPOINT_API CampaignResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
CampaignResponse & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const MessageConfiguration & GetMessageConfiguration() const
void SetTreatmentDescription(const char *value)
void SetMessageConfiguration(const MessageConfiguration &value)
CampaignResponse & AddTags(const Aws::String &key, Aws::String &&value)
CampaignResponse & WithSchedule(Schedule &&value)
CampaignResponse & WithLastModifiedDate(const Aws::String &value)
CampaignResponse & WithAdditionalTreatments(Aws::Vector< TreatmentResource > &&value)
CampaignResponse & WithId(const char *value)
void SetDefaultState(CampaignState &&value)
const Aws::String & GetSegmentId() const
void SetSchedule(const Schedule &value)
void SetCustomDeliveryConfiguration(CustomDeliveryConfiguration &&value)
CampaignResponse & WithTemplateConfiguration(const TemplateConfiguration &value)
void SetDefaultState(const CampaignState &value)
CampaignResponse & WithId(Aws::String &&value)
const Aws::String & GetLastModifiedDate() const
CampaignResponse & WithSegmentId(const Aws::String &value)
CampaignResponse & WithApplicationId(Aws::String &&value)
void SetTemplateConfiguration(const TemplateConfiguration &value)
void SetMessageConfiguration(MessageConfiguration &&value)
void SetLimits(const CampaignLimits &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CampaignResponse & WithSegmentId(const char *value)
void SetDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
CampaignResponse & WithArn(const Aws::String &value)
void SetCreationDate(const Aws::String &value)
CampaignResponse & WithSegmentVersion(int value)
CampaignResponse & WithLimits(CampaignLimits &&value)
CampaignResponse & WithLimits(const CampaignLimits &value)
CampaignResponse & WithPriority(int value)
void SetTemplateConfiguration(TemplateConfiguration &&value)
CampaignResponse & WithHook(const CampaignHook &value)
void SetApplicationId(Aws::String &&value)
const CampaignHook & GetHook() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetAdditionalTreatments(Aws::Vector< TreatmentResource > &&value)
const Aws::String & GetApplicationId() const
CampaignResponse & WithTreatmentDescription(Aws::String &&value)
const Aws::String & GetName() const
void SetApplicationId(const Aws::String &value)
void SetCreationDate(Aws::String &&value)
void SetAdditionalTreatments(const Aws::Vector< TreatmentResource > &value)
void SetState(CampaignState &&value)
CampaignResponse & WithArn(const char *value)
void SetTreatmentName(const Aws::String &value)
void SetState(const CampaignState &value)
CampaignResponse & WithState(const CampaignState &value)
CampaignResponse & WithTreatmentName(Aws::String &&value)
CampaignResponse & WithTreatmentName(const Aws::String &value)
CampaignResponse & WithState(CampaignState &&value)
CampaignResponse & WithName(const Aws::String &value)
CampaignResponse & WithTreatmentDescription(const char *value)
CampaignResponse & WithVersion(int value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const CampaignState & GetDefaultState() const
const Aws::String & GetArn() const
void SetLimits(CampaignLimits &&value)
void SetName(const Aws::String &value)
CampaignResponse & WithHoldoutPercent(int value)
CampaignResponse & WithSchedule(const Schedule &value)
const TemplateConfiguration & GetTemplateConfiguration() const
CampaignResponse & WithArn(Aws::String &&value)
void SetLastModifiedDate(Aws::String &&value)
CampaignResponse & WithMessageConfiguration(MessageConfiguration &&value)
void SetSegmentId(const Aws::String &value)
CampaignResponse & WithLastModifiedDate(const char *value)
void SetTreatmentName(Aws::String &&value)
CampaignResponse & WithDescription(const Aws::String &value)
void SetTreatmentDescription(Aws::String &&value)
CampaignResponse & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::String & GetDescription() const
CampaignResponse & WithDescription(const char *value)
void SetLastModifiedDate(const char *value)
void SetTreatmentDescription(const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
CampaignResponse & WithCustomDeliveryConfiguration(CustomDeliveryConfiguration &&value)
CampaignResponse & WithTemplateConfiguration(TemplateConfiguration &&value)
const Aws::String & GetTreatmentName() const
CampaignResponse & AddTags(const Aws::String &key, const Aws::String &value)
void SetLastModifiedDate(const Aws::String &value)
CampaignResponse & WithCreationDate(const char *value)
CampaignResponse & WithName(Aws::String &&value)
const Aws::String & GetCreationDate() const
CampaignResponse & WithName(const char *value)
CampaignResponse & WithSegmentId(Aws::String &&value)
CampaignResponse & AddTags(Aws::String &&key, const Aws::String &value)
CampaignResponse & WithDescription(Aws::String &&value)
CampaignResponse & WithId(const Aws::String &value)
CampaignResponse & WithHook(CampaignHook &&value)
const CampaignLimits & GetLimits() const
CampaignResponse & WithIsPaused(bool value)
CampaignResponse & WithLastModifiedDate(Aws::String &&value)
CampaignResponse & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CampaignResponse & AddTags(const char *key, Aws::String &&value)
CampaignResponse & WithTreatmentName(const char *value)
AWS_PINPOINT_API CampaignResponse(Aws::Utils::Json::JsonView jsonValue)
CampaignResponse & WithAdditionalTreatments(const Aws::Vector< TreatmentResource > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue