1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 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 21 namespace Aws 22 { 23 namespace Utils 24 { 25 namespace Json 26 { 27 class JsonValue; 28 class JsonView; 29 } // namespace Json 30 } // namespace Utils 31 namespace Pinpoint 32 { 33 namespace Model 34 { 35 36 /** 37 * <p>Provides information about the status, configuration, and other settings for 38 * a campaign.</p><p><h3>See Also:</h3> <a 39 * href="http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignResponse">AWS 40 * API Reference</a></p> 41 */ 42 class AWS_PINPOINT_API CampaignResponse 43 { 44 public: 45 CampaignResponse(); 46 CampaignResponse(Aws::Utils::Json::JsonView jsonValue); 47 CampaignResponse& operator=(Aws::Utils::Json::JsonView jsonValue); 48 Aws::Utils::Json::JsonValue Jsonize() const; 49 50 51 /** 52 * <p>An array of responses, one for each treatment that you defined for the 53 * campaign, in addition to the default treatment.</p> 54 */ GetAdditionalTreatments()55 inline const Aws::Vector<TreatmentResource>& GetAdditionalTreatments() const{ return m_additionalTreatments; } 56 57 /** 58 * <p>An array of responses, one for each treatment that you defined for the 59 * campaign, in addition to the default treatment.</p> 60 */ AdditionalTreatmentsHasBeenSet()61 inline bool AdditionalTreatmentsHasBeenSet() const { return m_additionalTreatmentsHasBeenSet; } 62 63 /** 64 * <p>An array of responses, one for each treatment that you defined for the 65 * campaign, in addition to the default treatment.</p> 66 */ SetAdditionalTreatments(const Aws::Vector<TreatmentResource> & value)67 inline void SetAdditionalTreatments(const Aws::Vector<TreatmentResource>& value) { m_additionalTreatmentsHasBeenSet = true; m_additionalTreatments = value; } 68 69 /** 70 * <p>An array of responses, one for each treatment that you defined for the 71 * campaign, in addition to the default treatment.</p> 72 */ SetAdditionalTreatments(Aws::Vector<TreatmentResource> && value)73 inline void SetAdditionalTreatments(Aws::Vector<TreatmentResource>&& value) { m_additionalTreatmentsHasBeenSet = true; m_additionalTreatments = std::move(value); } 74 75 /** 76 * <p>An array of responses, one for each treatment that you defined for the 77 * campaign, in addition to the default treatment.</p> 78 */ WithAdditionalTreatments(const Aws::Vector<TreatmentResource> & value)79 inline CampaignResponse& WithAdditionalTreatments(const Aws::Vector<TreatmentResource>& value) { SetAdditionalTreatments(value); return *this;} 80 81 /** 82 * <p>An array of responses, one for each treatment that you defined for the 83 * campaign, in addition to the default treatment.</p> 84 */ WithAdditionalTreatments(Aws::Vector<TreatmentResource> && value)85 inline CampaignResponse& WithAdditionalTreatments(Aws::Vector<TreatmentResource>&& value) { SetAdditionalTreatments(std::move(value)); return *this;} 86 87 /** 88 * <p>An array of responses, one for each treatment that you defined for the 89 * campaign, in addition to the default treatment.</p> 90 */ AddAdditionalTreatments(const TreatmentResource & value)91 inline CampaignResponse& AddAdditionalTreatments(const TreatmentResource& value) { m_additionalTreatmentsHasBeenSet = true; m_additionalTreatments.push_back(value); return *this; } 92 93 /** 94 * <p>An array of responses, one for each treatment that you defined for the 95 * campaign, in addition to the default treatment.</p> 96 */ AddAdditionalTreatments(TreatmentResource && value)97 inline CampaignResponse& AddAdditionalTreatments(TreatmentResource&& value) { m_additionalTreatmentsHasBeenSet = true; m_additionalTreatments.push_back(std::move(value)); return *this; } 98 99 100 /** 101 * <p>The unique identifier for the application that the campaign applies to.</p> 102 */ GetApplicationId()103 inline const Aws::String& GetApplicationId() const{ return m_applicationId; } 104 105 /** 106 * <p>The unique identifier for the application that the campaign applies to.</p> 107 */ ApplicationIdHasBeenSet()108 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } 109 110 /** 111 * <p>The unique identifier for the application that the campaign applies to.</p> 112 */ SetApplicationId(const Aws::String & value)113 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } 114 115 /** 116 * <p>The unique identifier for the application that the campaign applies to.</p> 117 */ SetApplicationId(Aws::String && value)118 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } 119 120 /** 121 * <p>The unique identifier for the application that the campaign applies to.</p> 122 */ SetApplicationId(const char * value)123 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } 124 125 /** 126 * <p>The unique identifier for the application that the campaign applies to.</p> 127 */ WithApplicationId(const Aws::String & value)128 inline CampaignResponse& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} 129 130 /** 131 * <p>The unique identifier for the application that the campaign applies to.</p> 132 */ WithApplicationId(Aws::String && value)133 inline CampaignResponse& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} 134 135 /** 136 * <p>The unique identifier for the application that the campaign applies to.</p> 137 */ WithApplicationId(const char * value)138 inline CampaignResponse& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} 139 140 141 /** 142 * <p>The Amazon Resource Name (ARN) of the campaign.</p> 143 */ GetArn()144 inline const Aws::String& GetArn() const{ return m_arn; } 145 146 /** 147 * <p>The Amazon Resource Name (ARN) of the campaign.</p> 148 */ ArnHasBeenSet()149 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } 150 151 /** 152 * <p>The Amazon Resource Name (ARN) of the campaign.</p> 153 */ SetArn(const Aws::String & value)154 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } 155 156 /** 157 * <p>The Amazon Resource Name (ARN) of the campaign.</p> 158 */ SetArn(Aws::String && value)159 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } 160 161 /** 162 * <p>The Amazon Resource Name (ARN) of the campaign.</p> 163 */ SetArn(const char * value)164 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } 165 166 /** 167 * <p>The Amazon Resource Name (ARN) of the campaign.</p> 168 */ WithArn(const Aws::String & value)169 inline CampaignResponse& WithArn(const Aws::String& value) { SetArn(value); return *this;} 170 171 /** 172 * <p>The Amazon Resource Name (ARN) of the campaign.</p> 173 */ WithArn(Aws::String && value)174 inline CampaignResponse& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} 175 176 /** 177 * <p>The Amazon Resource Name (ARN) of the campaign.</p> 178 */ WithArn(const char * value)179 inline CampaignResponse& WithArn(const char* value) { SetArn(value); return *this;} 180 181 182 /** 183 * <p>The date, in ISO 8601 format, when the campaign was created.</p> 184 */ GetCreationDate()185 inline const Aws::String& GetCreationDate() const{ return m_creationDate; } 186 187 /** 188 * <p>The date, in ISO 8601 format, when the campaign was created.</p> 189 */ CreationDateHasBeenSet()190 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } 191 192 /** 193 * <p>The date, in ISO 8601 format, when the campaign was created.</p> 194 */ SetCreationDate(const Aws::String & value)195 inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } 196 197 /** 198 * <p>The date, in ISO 8601 format, when the campaign was created.</p> 199 */ SetCreationDate(Aws::String && value)200 inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } 201 202 /** 203 * <p>The date, in ISO 8601 format, when the campaign was created.</p> 204 */ SetCreationDate(const char * value)205 inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); } 206 207 /** 208 * <p>The date, in ISO 8601 format, when the campaign was created.</p> 209 */ WithCreationDate(const Aws::String & value)210 inline CampaignResponse& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;} 211 212 /** 213 * <p>The date, in ISO 8601 format, when the campaign was created.</p> 214 */ WithCreationDate(Aws::String && value)215 inline CampaignResponse& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;} 216 217 /** 218 * <p>The date, in ISO 8601 format, when the campaign was created.</p> 219 */ WithCreationDate(const char * value)220 inline CampaignResponse& WithCreationDate(const char* value) { SetCreationDate(value); return *this;} 221 222 223 /** 224 * <p>The delivery configuration settings for sending the campaign through a custom 225 * channel.</p> 226 */ GetCustomDeliveryConfiguration()227 inline const CustomDeliveryConfiguration& GetCustomDeliveryConfiguration() const{ return m_customDeliveryConfiguration; } 228 229 /** 230 * <p>The delivery configuration settings for sending the campaign through a custom 231 * channel.</p> 232 */ CustomDeliveryConfigurationHasBeenSet()233 inline bool CustomDeliveryConfigurationHasBeenSet() const { return m_customDeliveryConfigurationHasBeenSet; } 234 235 /** 236 * <p>The delivery configuration settings for sending the campaign through a custom 237 * channel.</p> 238 */ SetCustomDeliveryConfiguration(const CustomDeliveryConfiguration & value)239 inline void SetCustomDeliveryConfiguration(const CustomDeliveryConfiguration& value) { m_customDeliveryConfigurationHasBeenSet = true; m_customDeliveryConfiguration = value; } 240 241 /** 242 * <p>The delivery configuration settings for sending the campaign through a custom 243 * channel.</p> 244 */ SetCustomDeliveryConfiguration(CustomDeliveryConfiguration && value)245 inline void SetCustomDeliveryConfiguration(CustomDeliveryConfiguration&& value) { m_customDeliveryConfigurationHasBeenSet = true; m_customDeliveryConfiguration = std::move(value); } 246 247 /** 248 * <p>The delivery configuration settings for sending the campaign through a custom 249 * channel.</p> 250 */ WithCustomDeliveryConfiguration(const CustomDeliveryConfiguration & value)251 inline CampaignResponse& WithCustomDeliveryConfiguration(const CustomDeliveryConfiguration& value) { SetCustomDeliveryConfiguration(value); return *this;} 252 253 /** 254 * <p>The delivery configuration settings for sending the campaign through a custom 255 * channel.</p> 256 */ WithCustomDeliveryConfiguration(CustomDeliveryConfiguration && value)257 inline CampaignResponse& WithCustomDeliveryConfiguration(CustomDeliveryConfiguration&& value) { SetCustomDeliveryConfiguration(std::move(value)); return *this;} 258 259 260 /** 261 * <p>The current status of the campaign's default treatment. This value exists 262 * only for campaigns that have more than one treatment.</p> 263 */ GetDefaultState()264 inline const CampaignState& GetDefaultState() const{ return m_defaultState; } 265 266 /** 267 * <p>The current status of the campaign's default treatment. This value exists 268 * only for campaigns that have more than one treatment.</p> 269 */ DefaultStateHasBeenSet()270 inline bool DefaultStateHasBeenSet() const { return m_defaultStateHasBeenSet; } 271 272 /** 273 * <p>The current status of the campaign's default treatment. This value exists 274 * only for campaigns that have more than one treatment.</p> 275 */ SetDefaultState(const CampaignState & value)276 inline void SetDefaultState(const CampaignState& value) { m_defaultStateHasBeenSet = true; m_defaultState = value; } 277 278 /** 279 * <p>The current status of the campaign's default treatment. This value exists 280 * only for campaigns that have more than one treatment.</p> 281 */ SetDefaultState(CampaignState && value)282 inline void SetDefaultState(CampaignState&& value) { m_defaultStateHasBeenSet = true; m_defaultState = std::move(value); } 283 284 /** 285 * <p>The current status of the campaign's default treatment. This value exists 286 * only for campaigns that have more than one treatment.</p> 287 */ WithDefaultState(const CampaignState & value)288 inline CampaignResponse& WithDefaultState(const CampaignState& value) { SetDefaultState(value); return *this;} 289 290 /** 291 * <p>The current status of the campaign's default treatment. This value exists 292 * only for campaigns that have more than one treatment.</p> 293 */ WithDefaultState(CampaignState && value)294 inline CampaignResponse& WithDefaultState(CampaignState&& value) { SetDefaultState(std::move(value)); return *this;} 295 296 297 /** 298 * <p>The custom description of the campaign.</p> 299 */ GetDescription()300 inline const Aws::String& GetDescription() const{ return m_description; } 301 302 /** 303 * <p>The custom description of the campaign.</p> 304 */ DescriptionHasBeenSet()305 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } 306 307 /** 308 * <p>The custom description of the campaign.</p> 309 */ SetDescription(const Aws::String & value)310 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } 311 312 /** 313 * <p>The custom description of the campaign.</p> 314 */ SetDescription(Aws::String && value)315 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } 316 317 /** 318 * <p>The custom description of the campaign.</p> 319 */ SetDescription(const char * value)320 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } 321 322 /** 323 * <p>The custom description of the campaign.</p> 324 */ WithDescription(const Aws::String & value)325 inline CampaignResponse& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} 326 327 /** 328 * <p>The custom description of the campaign.</p> 329 */ WithDescription(Aws::String && value)330 inline CampaignResponse& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} 331 332 /** 333 * <p>The custom description of the campaign.</p> 334 */ WithDescription(const char * value)335 inline CampaignResponse& WithDescription(const char* value) { SetDescription(value); return *this;} 336 337 338 /** 339 * <p>The allocated percentage of users (segment members) who shouldn't receive 340 * messages from the campaign.</p> 341 */ GetHoldoutPercent()342 inline int GetHoldoutPercent() const{ return m_holdoutPercent; } 343 344 /** 345 * <p>The allocated percentage of users (segment members) who shouldn't receive 346 * messages from the campaign.</p> 347 */ HoldoutPercentHasBeenSet()348 inline bool HoldoutPercentHasBeenSet() const { return m_holdoutPercentHasBeenSet; } 349 350 /** 351 * <p>The allocated percentage of users (segment members) who shouldn't receive 352 * messages from the campaign.</p> 353 */ SetHoldoutPercent(int value)354 inline void SetHoldoutPercent(int value) { m_holdoutPercentHasBeenSet = true; m_holdoutPercent = value; } 355 356 /** 357 * <p>The allocated percentage of users (segment members) who shouldn't receive 358 * messages from the campaign.</p> 359 */ WithHoldoutPercent(int value)360 inline CampaignResponse& WithHoldoutPercent(int value) { SetHoldoutPercent(value); return *this;} 361 362 363 /** 364 * <p>The settings for the AWS Lambda function to use as a code hook for the 365 * campaign. You can use this hook to customize the segment that's used by the 366 * campaign.</p> 367 */ GetHook()368 inline const CampaignHook& GetHook() const{ return m_hook; } 369 370 /** 371 * <p>The settings for the AWS Lambda function to use as a code hook for the 372 * campaign. You can use this hook to customize the segment that's used by the 373 * campaign.</p> 374 */ HookHasBeenSet()375 inline bool HookHasBeenSet() const { return m_hookHasBeenSet; } 376 377 /** 378 * <p>The settings for the AWS Lambda function to use as a code hook for the 379 * campaign. You can use this hook to customize the segment that's used by the 380 * campaign.</p> 381 */ SetHook(const CampaignHook & value)382 inline void SetHook(const CampaignHook& value) { m_hookHasBeenSet = true; m_hook = value; } 383 384 /** 385 * <p>The settings for the AWS Lambda function to use as a code hook for the 386 * campaign. You can use this hook to customize the segment that's used by the 387 * campaign.</p> 388 */ SetHook(CampaignHook && value)389 inline void SetHook(CampaignHook&& value) { m_hookHasBeenSet = true; m_hook = std::move(value); } 390 391 /** 392 * <p>The settings for the AWS Lambda function to use as a code hook for the 393 * campaign. You can use this hook to customize the segment that's used by the 394 * campaign.</p> 395 */ WithHook(const CampaignHook & value)396 inline CampaignResponse& WithHook(const CampaignHook& value) { SetHook(value); return *this;} 397 398 /** 399 * <p>The settings for the AWS Lambda function to use as a code hook for the 400 * campaign. You can use this hook to customize the segment that's used by the 401 * campaign.</p> 402 */ WithHook(CampaignHook && value)403 inline CampaignResponse& WithHook(CampaignHook&& value) { SetHook(std::move(value)); return *this;} 404 405 406 /** 407 * <p>The unique identifier for the campaign.</p> 408 */ GetId()409 inline const Aws::String& GetId() const{ return m_id; } 410 411 /** 412 * <p>The unique identifier for the campaign.</p> 413 */ IdHasBeenSet()414 inline bool IdHasBeenSet() const { return m_idHasBeenSet; } 415 416 /** 417 * <p>The unique identifier for the campaign.</p> 418 */ SetId(const Aws::String & value)419 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } 420 421 /** 422 * <p>The unique identifier for the campaign.</p> 423 */ SetId(Aws::String && value)424 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } 425 426 /** 427 * <p>The unique identifier for the campaign.</p> 428 */ SetId(const char * value)429 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } 430 431 /** 432 * <p>The unique identifier for the campaign.</p> 433 */ WithId(const Aws::String & value)434 inline CampaignResponse& WithId(const Aws::String& value) { SetId(value); return *this;} 435 436 /** 437 * <p>The unique identifier for the campaign.</p> 438 */ WithId(Aws::String && value)439 inline CampaignResponse& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} 440 441 /** 442 * <p>The unique identifier for the campaign.</p> 443 */ WithId(const char * value)444 inline CampaignResponse& WithId(const char* value) { SetId(value); return *this;} 445 446 447 /** 448 * <p>Specifies whether the campaign is paused. A paused campaign doesn't run 449 * unless you resume it by changing this value to false.</p> 450 */ GetIsPaused()451 inline bool GetIsPaused() const{ return m_isPaused; } 452 453 /** 454 * <p>Specifies whether the campaign is paused. A paused campaign doesn't run 455 * unless you resume it by changing this value to false.</p> 456 */ IsPausedHasBeenSet()457 inline bool IsPausedHasBeenSet() const { return m_isPausedHasBeenSet; } 458 459 /** 460 * <p>Specifies whether the campaign is paused. A paused campaign doesn't run 461 * unless you resume it by changing this value to false.</p> 462 */ SetIsPaused(bool value)463 inline void SetIsPaused(bool value) { m_isPausedHasBeenSet = true; m_isPaused = value; } 464 465 /** 466 * <p>Specifies whether the campaign is paused. A paused campaign doesn't run 467 * unless you resume it by changing this value to false.</p> 468 */ WithIsPaused(bool value)469 inline CampaignResponse& WithIsPaused(bool value) { SetIsPaused(value); return *this;} 470 471 472 /** 473 * <p>The date, in ISO 8601 format, when the campaign was last modified.</p> 474 */ GetLastModifiedDate()475 inline const Aws::String& GetLastModifiedDate() const{ return m_lastModifiedDate; } 476 477 /** 478 * <p>The date, in ISO 8601 format, when the campaign was last modified.</p> 479 */ LastModifiedDateHasBeenSet()480 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; } 481 482 /** 483 * <p>The date, in ISO 8601 format, when the campaign was last modified.</p> 484 */ SetLastModifiedDate(const Aws::String & value)485 inline void SetLastModifiedDate(const Aws::String& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; } 486 487 /** 488 * <p>The date, in ISO 8601 format, when the campaign was last modified.</p> 489 */ SetLastModifiedDate(Aws::String && value)490 inline void SetLastModifiedDate(Aws::String&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); } 491 492 /** 493 * <p>The date, in ISO 8601 format, when the campaign was last modified.</p> 494 */ SetLastModifiedDate(const char * value)495 inline void SetLastModifiedDate(const char* value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate.assign(value); } 496 497 /** 498 * <p>The date, in ISO 8601 format, when the campaign was last modified.</p> 499 */ WithLastModifiedDate(const Aws::String & value)500 inline CampaignResponse& WithLastModifiedDate(const Aws::String& value) { SetLastModifiedDate(value); return *this;} 501 502 /** 503 * <p>The date, in ISO 8601 format, when the campaign was last modified.</p> 504 */ WithLastModifiedDate(Aws::String && value)505 inline CampaignResponse& WithLastModifiedDate(Aws::String&& value) { SetLastModifiedDate(std::move(value)); return *this;} 506 507 /** 508 * <p>The date, in ISO 8601 format, when the campaign was last modified.</p> 509 */ WithLastModifiedDate(const char * value)510 inline CampaignResponse& WithLastModifiedDate(const char* value) { SetLastModifiedDate(value); return *this;} 511 512 513 /** 514 * <p>The messaging limits for the campaign.</p> 515 */ GetLimits()516 inline const CampaignLimits& GetLimits() const{ return m_limits; } 517 518 /** 519 * <p>The messaging limits for the campaign.</p> 520 */ LimitsHasBeenSet()521 inline bool LimitsHasBeenSet() const { return m_limitsHasBeenSet; } 522 523 /** 524 * <p>The messaging limits for the campaign.</p> 525 */ SetLimits(const CampaignLimits & value)526 inline void SetLimits(const CampaignLimits& value) { m_limitsHasBeenSet = true; m_limits = value; } 527 528 /** 529 * <p>The messaging limits for the campaign.</p> 530 */ SetLimits(CampaignLimits && value)531 inline void SetLimits(CampaignLimits&& value) { m_limitsHasBeenSet = true; m_limits = std::move(value); } 532 533 /** 534 * <p>The messaging limits for the campaign.</p> 535 */ WithLimits(const CampaignLimits & value)536 inline CampaignResponse& WithLimits(const CampaignLimits& value) { SetLimits(value); return *this;} 537 538 /** 539 * <p>The messaging limits for the campaign.</p> 540 */ WithLimits(CampaignLimits && value)541 inline CampaignResponse& WithLimits(CampaignLimits&& value) { SetLimits(std::move(value)); return *this;} 542 543 544 /** 545 * <p>The message configuration settings for the campaign.</p> 546 */ GetMessageConfiguration()547 inline const MessageConfiguration& GetMessageConfiguration() const{ return m_messageConfiguration; } 548 549 /** 550 * <p>The message configuration settings for the campaign.</p> 551 */ MessageConfigurationHasBeenSet()552 inline bool MessageConfigurationHasBeenSet() const { return m_messageConfigurationHasBeenSet; } 553 554 /** 555 * <p>The message configuration settings for the campaign.</p> 556 */ SetMessageConfiguration(const MessageConfiguration & value)557 inline void SetMessageConfiguration(const MessageConfiguration& value) { m_messageConfigurationHasBeenSet = true; m_messageConfiguration = value; } 558 559 /** 560 * <p>The message configuration settings for the campaign.</p> 561 */ SetMessageConfiguration(MessageConfiguration && value)562 inline void SetMessageConfiguration(MessageConfiguration&& value) { m_messageConfigurationHasBeenSet = true; m_messageConfiguration = std::move(value); } 563 564 /** 565 * <p>The message configuration settings for the campaign.</p> 566 */ WithMessageConfiguration(const MessageConfiguration & value)567 inline CampaignResponse& WithMessageConfiguration(const MessageConfiguration& value) { SetMessageConfiguration(value); return *this;} 568 569 /** 570 * <p>The message configuration settings for the campaign.</p> 571 */ WithMessageConfiguration(MessageConfiguration && value)572 inline CampaignResponse& WithMessageConfiguration(MessageConfiguration&& value) { SetMessageConfiguration(std::move(value)); return *this;} 573 574 575 /** 576 * <p>The name of the campaign.</p> 577 */ GetName()578 inline const Aws::String& GetName() const{ return m_name; } 579 580 /** 581 * <p>The name of the campaign.</p> 582 */ NameHasBeenSet()583 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } 584 585 /** 586 * <p>The name of the campaign.</p> 587 */ SetName(const Aws::String & value)588 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } 589 590 /** 591 * <p>The name of the campaign.</p> 592 */ SetName(Aws::String && value)593 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } 594 595 /** 596 * <p>The name of the campaign.</p> 597 */ SetName(const char * value)598 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } 599 600 /** 601 * <p>The name of the campaign.</p> 602 */ WithName(const Aws::String & value)603 inline CampaignResponse& WithName(const Aws::String& value) { SetName(value); return *this;} 604 605 /** 606 * <p>The name of the campaign.</p> 607 */ WithName(Aws::String && value)608 inline CampaignResponse& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} 609 610 /** 611 * <p>The name of the campaign.</p> 612 */ WithName(const char * value)613 inline CampaignResponse& WithName(const char* value) { SetName(value); return *this;} 614 615 616 /** 617 * <p>The schedule settings for the campaign.</p> 618 */ GetSchedule()619 inline const Schedule& GetSchedule() const{ return m_schedule; } 620 621 /** 622 * <p>The schedule settings for the campaign.</p> 623 */ ScheduleHasBeenSet()624 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; } 625 626 /** 627 * <p>The schedule settings for the campaign.</p> 628 */ SetSchedule(const Schedule & value)629 inline void SetSchedule(const Schedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; } 630 631 /** 632 * <p>The schedule settings for the campaign.</p> 633 */ SetSchedule(Schedule && value)634 inline void SetSchedule(Schedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); } 635 636 /** 637 * <p>The schedule settings for the campaign.</p> 638 */ WithSchedule(const Schedule & value)639 inline CampaignResponse& WithSchedule(const Schedule& value) { SetSchedule(value); return *this;} 640 641 /** 642 * <p>The schedule settings for the campaign.</p> 643 */ WithSchedule(Schedule && value)644 inline CampaignResponse& WithSchedule(Schedule&& value) { SetSchedule(std::move(value)); return *this;} 645 646 647 /** 648 * <p>The unique identifier for the segment that's associated with the 649 * campaign.</p> 650 */ GetSegmentId()651 inline const Aws::String& GetSegmentId() const{ return m_segmentId; } 652 653 /** 654 * <p>The unique identifier for the segment that's associated with the 655 * campaign.</p> 656 */ SegmentIdHasBeenSet()657 inline bool SegmentIdHasBeenSet() const { return m_segmentIdHasBeenSet; } 658 659 /** 660 * <p>The unique identifier for the segment that's associated with the 661 * campaign.</p> 662 */ SetSegmentId(const Aws::String & value)663 inline void SetSegmentId(const Aws::String& value) { m_segmentIdHasBeenSet = true; m_segmentId = value; } 664 665 /** 666 * <p>The unique identifier for the segment that's associated with the 667 * campaign.</p> 668 */ SetSegmentId(Aws::String && value)669 inline void SetSegmentId(Aws::String&& value) { m_segmentIdHasBeenSet = true; m_segmentId = std::move(value); } 670 671 /** 672 * <p>The unique identifier for the segment that's associated with the 673 * campaign.</p> 674 */ SetSegmentId(const char * value)675 inline void SetSegmentId(const char* value) { m_segmentIdHasBeenSet = true; m_segmentId.assign(value); } 676 677 /** 678 * <p>The unique identifier for the segment that's associated with the 679 * campaign.</p> 680 */ WithSegmentId(const Aws::String & value)681 inline CampaignResponse& WithSegmentId(const Aws::String& value) { SetSegmentId(value); return *this;} 682 683 /** 684 * <p>The unique identifier for the segment that's associated with the 685 * campaign.</p> 686 */ WithSegmentId(Aws::String && value)687 inline CampaignResponse& WithSegmentId(Aws::String&& value) { SetSegmentId(std::move(value)); return *this;} 688 689 /** 690 * <p>The unique identifier for the segment that's associated with the 691 * campaign.</p> 692 */ WithSegmentId(const char * value)693 inline CampaignResponse& WithSegmentId(const char* value) { SetSegmentId(value); return *this;} 694 695 696 /** 697 * <p>The version number of the segment that's associated with the campaign.</p> 698 */ GetSegmentVersion()699 inline int GetSegmentVersion() const{ return m_segmentVersion; } 700 701 /** 702 * <p>The version number of the segment that's associated with the campaign.</p> 703 */ SegmentVersionHasBeenSet()704 inline bool SegmentVersionHasBeenSet() const { return m_segmentVersionHasBeenSet; } 705 706 /** 707 * <p>The version number of the segment that's associated with the campaign.</p> 708 */ SetSegmentVersion(int value)709 inline void SetSegmentVersion(int value) { m_segmentVersionHasBeenSet = true; m_segmentVersion = value; } 710 711 /** 712 * <p>The version number of the segment that's associated with the campaign.</p> 713 */ WithSegmentVersion(int value)714 inline CampaignResponse& WithSegmentVersion(int value) { SetSegmentVersion(value); return *this;} 715 716 717 /** 718 * <p>The current status of the campaign.</p> 719 */ GetState()720 inline const CampaignState& GetState() const{ return m_state; } 721 722 /** 723 * <p>The current status of the campaign.</p> 724 */ StateHasBeenSet()725 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } 726 727 /** 728 * <p>The current status of the campaign.</p> 729 */ SetState(const CampaignState & value)730 inline void SetState(const CampaignState& value) { m_stateHasBeenSet = true; m_state = value; } 731 732 /** 733 * <p>The current status of the campaign.</p> 734 */ SetState(CampaignState && value)735 inline void SetState(CampaignState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } 736 737 /** 738 * <p>The current status of the campaign.</p> 739 */ WithState(const CampaignState & value)740 inline CampaignResponse& WithState(const CampaignState& value) { SetState(value); return *this;} 741 742 /** 743 * <p>The current status of the campaign.</p> 744 */ WithState(CampaignState && value)745 inline CampaignResponse& WithState(CampaignState&& value) { SetState(std::move(value)); return *this;} 746 747 748 /** 749 * <p>A string-to-string map of key-value pairs that identifies the tags that are 750 * associated with the campaign. Each tag consists of a required tag key and an 751 * associated tag value.</p> 752 */ GetTags()753 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; } 754 755 /** 756 * <p>A string-to-string map of key-value pairs that identifies the tags that are 757 * associated with the campaign. Each tag consists of a required tag key and an 758 * associated tag value.</p> 759 */ TagsHasBeenSet()760 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } 761 762 /** 763 * <p>A string-to-string map of key-value pairs that identifies the tags that are 764 * associated with the campaign. Each tag consists of a required tag key and an 765 * associated tag value.</p> 766 */ SetTags(const Aws::Map<Aws::String,Aws::String> & value)767 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; } 768 769 /** 770 * <p>A string-to-string map of key-value pairs that identifies the tags that are 771 * associated with the campaign. Each tag consists of a required tag key and an 772 * associated tag value.</p> 773 */ SetTags(Aws::Map<Aws::String,Aws::String> && value)774 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } 775 776 /** 777 * <p>A string-to-string map of key-value pairs that identifies the tags that are 778 * associated with the campaign. Each tag consists of a required tag key and an 779 * associated tag value.</p> 780 */ WithTags(const Aws::Map<Aws::String,Aws::String> & value)781 inline CampaignResponse& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;} 782 783 /** 784 * <p>A string-to-string map of key-value pairs that identifies the tags that are 785 * associated with the campaign. Each tag consists of a required tag key and an 786 * associated tag value.</p> 787 */ WithTags(Aws::Map<Aws::String,Aws::String> && value)788 inline CampaignResponse& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;} 789 790 /** 791 * <p>A string-to-string map of key-value pairs that identifies the tags that are 792 * associated with the campaign. Each tag consists of a required tag key and an 793 * associated tag value.</p> 794 */ AddTags(const Aws::String & key,const Aws::String & value)795 inline CampaignResponse& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } 796 797 /** 798 * <p>A string-to-string map of key-value pairs that identifies the tags that are 799 * associated with the campaign. Each tag consists of a required tag key and an 800 * associated tag value.</p> 801 */ AddTags(Aws::String && key,const Aws::String & value)802 inline CampaignResponse& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } 803 804 /** 805 * <p>A string-to-string map of key-value pairs that identifies the tags that are 806 * associated with the campaign. Each tag consists of a required tag key and an 807 * associated tag value.</p> 808 */ AddTags(const Aws::String & key,Aws::String && value)809 inline CampaignResponse& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } 810 811 /** 812 * <p>A string-to-string map of key-value pairs that identifies the tags that are 813 * associated with the campaign. Each tag consists of a required tag key and an 814 * associated tag value.</p> 815 */ AddTags(Aws::String && key,Aws::String && value)816 inline CampaignResponse& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } 817 818 /** 819 * <p>A string-to-string map of key-value pairs that identifies the tags that are 820 * associated with the campaign. Each tag consists of a required tag key and an 821 * associated tag value.</p> 822 */ AddTags(const char * key,Aws::String && value)823 inline CampaignResponse& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } 824 825 /** 826 * <p>A string-to-string map of key-value pairs that identifies the tags that are 827 * associated with the campaign. Each tag consists of a required tag key and an 828 * associated tag value.</p> 829 */ AddTags(Aws::String && key,const char * value)830 inline CampaignResponse& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } 831 832 /** 833 * <p>A string-to-string map of key-value pairs that identifies the tags that are 834 * associated with the campaign. Each tag consists of a required tag key and an 835 * associated tag value.</p> 836 */ AddTags(const char * key,const char * value)837 inline CampaignResponse& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } 838 839 840 /** 841 * <p>The message template that’s used for the campaign.</p> 842 */ GetTemplateConfiguration()843 inline const TemplateConfiguration& GetTemplateConfiguration() const{ return m_templateConfiguration; } 844 845 /** 846 * <p>The message template that’s used for the campaign.</p> 847 */ TemplateConfigurationHasBeenSet()848 inline bool TemplateConfigurationHasBeenSet() const { return m_templateConfigurationHasBeenSet; } 849 850 /** 851 * <p>The message template that’s used for the campaign.</p> 852 */ SetTemplateConfiguration(const TemplateConfiguration & value)853 inline void SetTemplateConfiguration(const TemplateConfiguration& value) { m_templateConfigurationHasBeenSet = true; m_templateConfiguration = value; } 854 855 /** 856 * <p>The message template that’s used for the campaign.</p> 857 */ SetTemplateConfiguration(TemplateConfiguration && value)858 inline void SetTemplateConfiguration(TemplateConfiguration&& value) { m_templateConfigurationHasBeenSet = true; m_templateConfiguration = std::move(value); } 859 860 /** 861 * <p>The message template that’s used for the campaign.</p> 862 */ WithTemplateConfiguration(const TemplateConfiguration & value)863 inline CampaignResponse& WithTemplateConfiguration(const TemplateConfiguration& value) { SetTemplateConfiguration(value); return *this;} 864 865 /** 866 * <p>The message template that’s used for the campaign.</p> 867 */ WithTemplateConfiguration(TemplateConfiguration && value)868 inline CampaignResponse& WithTemplateConfiguration(TemplateConfiguration&& value) { SetTemplateConfiguration(std::move(value)); return *this;} 869 870 871 /** 872 * <p>The custom description of the default treatment for the campaign.</p> 873 */ GetTreatmentDescription()874 inline const Aws::String& GetTreatmentDescription() const{ return m_treatmentDescription; } 875 876 /** 877 * <p>The custom description of the default treatment for the campaign.</p> 878 */ TreatmentDescriptionHasBeenSet()879 inline bool TreatmentDescriptionHasBeenSet() const { return m_treatmentDescriptionHasBeenSet; } 880 881 /** 882 * <p>The custom description of the default treatment for the campaign.</p> 883 */ SetTreatmentDescription(const Aws::String & value)884 inline void SetTreatmentDescription(const Aws::String& value) { m_treatmentDescriptionHasBeenSet = true; m_treatmentDescription = value; } 885 886 /** 887 * <p>The custom description of the default treatment for the campaign.</p> 888 */ SetTreatmentDescription(Aws::String && value)889 inline void SetTreatmentDescription(Aws::String&& value) { m_treatmentDescriptionHasBeenSet = true; m_treatmentDescription = std::move(value); } 890 891 /** 892 * <p>The custom description of the default treatment for the campaign.</p> 893 */ SetTreatmentDescription(const char * value)894 inline void SetTreatmentDescription(const char* value) { m_treatmentDescriptionHasBeenSet = true; m_treatmentDescription.assign(value); } 895 896 /** 897 * <p>The custom description of the default treatment for the campaign.</p> 898 */ WithTreatmentDescription(const Aws::String & value)899 inline CampaignResponse& WithTreatmentDescription(const Aws::String& value) { SetTreatmentDescription(value); return *this;} 900 901 /** 902 * <p>The custom description of the default treatment for the campaign.</p> 903 */ WithTreatmentDescription(Aws::String && value)904 inline CampaignResponse& WithTreatmentDescription(Aws::String&& value) { SetTreatmentDescription(std::move(value)); return *this;} 905 906 /** 907 * <p>The custom description of the default treatment for the campaign.</p> 908 */ WithTreatmentDescription(const char * value)909 inline CampaignResponse& WithTreatmentDescription(const char* value) { SetTreatmentDescription(value); return *this;} 910 911 912 /** 913 * <p>The custom name of the default treatment for the campaign, if the campaign 914 * has multiple treatments. A <i>treatment</i> is a variation of a campaign that's 915 * used for A/B testing.</p> 916 */ GetTreatmentName()917 inline const Aws::String& GetTreatmentName() const{ return m_treatmentName; } 918 919 /** 920 * <p>The custom name of the default treatment for the campaign, if the campaign 921 * has multiple treatments. A <i>treatment</i> is a variation of a campaign that's 922 * used for A/B testing.</p> 923 */ TreatmentNameHasBeenSet()924 inline bool TreatmentNameHasBeenSet() const { return m_treatmentNameHasBeenSet; } 925 926 /** 927 * <p>The custom name of the default treatment for the campaign, if the campaign 928 * has multiple treatments. A <i>treatment</i> is a variation of a campaign that's 929 * used for A/B testing.</p> 930 */ SetTreatmentName(const Aws::String & value)931 inline void SetTreatmentName(const Aws::String& value) { m_treatmentNameHasBeenSet = true; m_treatmentName = value; } 932 933 /** 934 * <p>The custom name of the default treatment for the campaign, if the campaign 935 * has multiple treatments. A <i>treatment</i> is a variation of a campaign that's 936 * used for A/B testing.</p> 937 */ SetTreatmentName(Aws::String && value)938 inline void SetTreatmentName(Aws::String&& value) { m_treatmentNameHasBeenSet = true; m_treatmentName = std::move(value); } 939 940 /** 941 * <p>The custom name of the default treatment for the campaign, if the campaign 942 * has multiple treatments. A <i>treatment</i> is a variation of a campaign that's 943 * used for A/B testing.</p> 944 */ SetTreatmentName(const char * value)945 inline void SetTreatmentName(const char* value) { m_treatmentNameHasBeenSet = true; m_treatmentName.assign(value); } 946 947 /** 948 * <p>The custom name of the default treatment for the campaign, if the campaign 949 * has multiple treatments. A <i>treatment</i> is a variation of a campaign that's 950 * used for A/B testing.</p> 951 */ WithTreatmentName(const Aws::String & value)952 inline CampaignResponse& WithTreatmentName(const Aws::String& value) { SetTreatmentName(value); return *this;} 953 954 /** 955 * <p>The custom name of the default treatment for the campaign, if the campaign 956 * has multiple treatments. A <i>treatment</i> is a variation of a campaign that's 957 * used for A/B testing.</p> 958 */ WithTreatmentName(Aws::String && value)959 inline CampaignResponse& WithTreatmentName(Aws::String&& value) { SetTreatmentName(std::move(value)); return *this;} 960 961 /** 962 * <p>The custom name of the default treatment for the campaign, if the campaign 963 * has multiple treatments. A <i>treatment</i> is a variation of a campaign that's 964 * used for A/B testing.</p> 965 */ WithTreatmentName(const char * value)966 inline CampaignResponse& WithTreatmentName(const char* value) { SetTreatmentName(value); return *this;} 967 968 969 /** 970 * <p>The version number of the campaign.</p> 971 */ GetVersion()972 inline int GetVersion() const{ return m_version; } 973 974 /** 975 * <p>The version number of the campaign.</p> 976 */ VersionHasBeenSet()977 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } 978 979 /** 980 * <p>The version number of the campaign.</p> 981 */ SetVersion(int value)982 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; } 983 984 /** 985 * <p>The version number of the campaign.</p> 986 */ WithVersion(int value)987 inline CampaignResponse& WithVersion(int value) { SetVersion(value); return *this;} 988 989 990 /** 991 * <p>Defines the priority of the campaign, used to decide the order of messages 992 * displayed to user if there are multiple messages scheduled to be displayed at 993 * the same moment.</p> 994 */ GetPriority()995 inline int GetPriority() const{ return m_priority; } 996 997 /** 998 * <p>Defines the priority of the campaign, used to decide the order of messages 999 * displayed to user if there are multiple messages scheduled to be displayed at 1000 * the same moment.</p> 1001 */ PriorityHasBeenSet()1002 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } 1003 1004 /** 1005 * <p>Defines the priority of the campaign, used to decide the order of messages 1006 * displayed to user if there are multiple messages scheduled to be displayed at 1007 * the same moment.</p> 1008 */ SetPriority(int value)1009 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } 1010 1011 /** 1012 * <p>Defines the priority of the campaign, used to decide the order of messages 1013 * displayed to user if there are multiple messages scheduled to be displayed at 1014 * the same moment.</p> 1015 */ WithPriority(int value)1016 inline CampaignResponse& WithPriority(int value) { SetPriority(value); return *this;} 1017 1018 private: 1019 1020 Aws::Vector<TreatmentResource> m_additionalTreatments; 1021 bool m_additionalTreatmentsHasBeenSet; 1022 1023 Aws::String m_applicationId; 1024 bool m_applicationIdHasBeenSet; 1025 1026 Aws::String m_arn; 1027 bool m_arnHasBeenSet; 1028 1029 Aws::String m_creationDate; 1030 bool m_creationDateHasBeenSet; 1031 1032 CustomDeliveryConfiguration m_customDeliveryConfiguration; 1033 bool m_customDeliveryConfigurationHasBeenSet; 1034 1035 CampaignState m_defaultState; 1036 bool m_defaultStateHasBeenSet; 1037 1038 Aws::String m_description; 1039 bool m_descriptionHasBeenSet; 1040 1041 int m_holdoutPercent; 1042 bool m_holdoutPercentHasBeenSet; 1043 1044 CampaignHook m_hook; 1045 bool m_hookHasBeenSet; 1046 1047 Aws::String m_id; 1048 bool m_idHasBeenSet; 1049 1050 bool m_isPaused; 1051 bool m_isPausedHasBeenSet; 1052 1053 Aws::String m_lastModifiedDate; 1054 bool m_lastModifiedDateHasBeenSet; 1055 1056 CampaignLimits m_limits; 1057 bool m_limitsHasBeenSet; 1058 1059 MessageConfiguration m_messageConfiguration; 1060 bool m_messageConfigurationHasBeenSet; 1061 1062 Aws::String m_name; 1063 bool m_nameHasBeenSet; 1064 1065 Schedule m_schedule; 1066 bool m_scheduleHasBeenSet; 1067 1068 Aws::String m_segmentId; 1069 bool m_segmentIdHasBeenSet; 1070 1071 int m_segmentVersion; 1072 bool m_segmentVersionHasBeenSet; 1073 1074 CampaignState m_state; 1075 bool m_stateHasBeenSet; 1076 1077 Aws::Map<Aws::String, Aws::String> m_tags; 1078 bool m_tagsHasBeenSet; 1079 1080 TemplateConfiguration m_templateConfiguration; 1081 bool m_templateConfigurationHasBeenSet; 1082 1083 Aws::String m_treatmentDescription; 1084 bool m_treatmentDescriptionHasBeenSet; 1085 1086 Aws::String m_treatmentName; 1087 bool m_treatmentNameHasBeenSet; 1088 1089 int m_version; 1090 bool m_versionHasBeenSet; 1091 1092 int m_priority; 1093 bool m_priorityHasBeenSet; 1094 }; 1095 1096 } // namespace Model 1097 } // namespace Pinpoint 1098 } // namespace Aws 1099