/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about the status, configuration, and other settings for
* a campaign.See Also:
AWS
* API Reference
An array of responses, one for each treatment that you defined for the * campaign, in addition to the default treatment.
*/ inline const Aws::VectorAn array of responses, one for each treatment that you defined for the * campaign, in addition to the default treatment.
*/ inline bool AdditionalTreatmentsHasBeenSet() const { return m_additionalTreatmentsHasBeenSet; } /** *An array of responses, one for each treatment that you defined for the * campaign, in addition to the default treatment.
*/ inline void SetAdditionalTreatments(const Aws::VectorAn array of responses, one for each treatment that you defined for the * campaign, in addition to the default treatment.
*/ inline void SetAdditionalTreatments(Aws::VectorAn array of responses, one for each treatment that you defined for the * campaign, in addition to the default treatment.
*/ inline CampaignResponse& WithAdditionalTreatments(const Aws::VectorAn array of responses, one for each treatment that you defined for the * campaign, in addition to the default treatment.
*/ inline CampaignResponse& WithAdditionalTreatments(Aws::VectorAn array of responses, one for each treatment that you defined for the * campaign, in addition to the default treatment.
*/ inline CampaignResponse& AddAdditionalTreatments(const TreatmentResource& value) { m_additionalTreatmentsHasBeenSet = true; m_additionalTreatments.push_back(value); return *this; } /** *An array of responses, one for each treatment that you defined for the * campaign, in addition to the default treatment.
*/ inline CampaignResponse& AddAdditionalTreatments(TreatmentResource&& value) { m_additionalTreatmentsHasBeenSet = true; m_additionalTreatments.push_back(std::move(value)); return *this; } /** *The unique identifier for the application that the campaign applies to.
*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *The unique identifier for the application that the campaign applies to.
*/ inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } /** *The unique identifier for the application that the campaign applies to.
*/ inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } /** *The unique identifier for the application that the campaign applies to.
*/ inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } /** *The unique identifier for the application that the campaign applies to.
*/ inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } /** *The unique identifier for the application that the campaign applies to.
*/ inline CampaignResponse& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *The unique identifier for the application that the campaign applies to.
*/ inline CampaignResponse& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *The unique identifier for the application that the campaign applies to.
*/ inline CampaignResponse& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *The Amazon Resource Name (ARN) of the campaign.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the campaign.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the campaign.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the campaign.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the campaign.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the campaign.
*/ inline CampaignResponse& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the campaign.
*/ inline CampaignResponse& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the campaign.
*/ inline CampaignResponse& WithArn(const char* value) { SetArn(value); return *this;} /** *The date, in ISO 8601 format, when the campaign was created.
*/ inline const Aws::String& GetCreationDate() const{ return m_creationDate; } /** *The date, in ISO 8601 format, when the campaign was created.
*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *The date, in ISO 8601 format, when the campaign was created.
*/ inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *The date, in ISO 8601 format, when the campaign was created.
*/ inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *The date, in ISO 8601 format, when the campaign was created.
*/ inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); } /** *The date, in ISO 8601 format, when the campaign was created.
*/ inline CampaignResponse& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;} /** *The date, in ISO 8601 format, when the campaign was created.
*/ inline CampaignResponse& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;} /** *The date, in ISO 8601 format, when the campaign was created.
*/ inline CampaignResponse& WithCreationDate(const char* value) { SetCreationDate(value); return *this;} /** *The delivery configuration settings for sending the campaign through a custom * channel.
*/ inline const CustomDeliveryConfiguration& GetCustomDeliveryConfiguration() const{ return m_customDeliveryConfiguration; } /** *The delivery configuration settings for sending the campaign through a custom * channel.
*/ inline bool CustomDeliveryConfigurationHasBeenSet() const { return m_customDeliveryConfigurationHasBeenSet; } /** *The delivery configuration settings for sending the campaign through a custom * channel.
*/ inline void SetCustomDeliveryConfiguration(const CustomDeliveryConfiguration& value) { m_customDeliveryConfigurationHasBeenSet = true; m_customDeliveryConfiguration = value; } /** *The delivery configuration settings for sending the campaign through a custom * channel.
*/ inline void SetCustomDeliveryConfiguration(CustomDeliveryConfiguration&& value) { m_customDeliveryConfigurationHasBeenSet = true; m_customDeliveryConfiguration = std::move(value); } /** *The delivery configuration settings for sending the campaign through a custom * channel.
*/ inline CampaignResponse& WithCustomDeliveryConfiguration(const CustomDeliveryConfiguration& value) { SetCustomDeliveryConfiguration(value); return *this;} /** *The delivery configuration settings for sending the campaign through a custom * channel.
*/ inline CampaignResponse& WithCustomDeliveryConfiguration(CustomDeliveryConfiguration&& value) { SetCustomDeliveryConfiguration(std::move(value)); return *this;} /** *The current status of the campaign's default treatment. This value exists * only for campaigns that have more than one treatment.
*/ inline const CampaignState& GetDefaultState() const{ return m_defaultState; } /** *The current status of the campaign's default treatment. This value exists * only for campaigns that have more than one treatment.
*/ inline bool DefaultStateHasBeenSet() const { return m_defaultStateHasBeenSet; } /** *The current status of the campaign's default treatment. This value exists * only for campaigns that have more than one treatment.
*/ inline void SetDefaultState(const CampaignState& value) { m_defaultStateHasBeenSet = true; m_defaultState = value; } /** *The current status of the campaign's default treatment. This value exists * only for campaigns that have more than one treatment.
*/ inline void SetDefaultState(CampaignState&& value) { m_defaultStateHasBeenSet = true; m_defaultState = std::move(value); } /** *The current status of the campaign's default treatment. This value exists * only for campaigns that have more than one treatment.
*/ inline CampaignResponse& WithDefaultState(const CampaignState& value) { SetDefaultState(value); return *this;} /** *The current status of the campaign's default treatment. This value exists * only for campaigns that have more than one treatment.
*/ inline CampaignResponse& WithDefaultState(CampaignState&& value) { SetDefaultState(std::move(value)); return *this;} /** *The custom description of the campaign.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The custom description of the campaign.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The custom description of the campaign.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The custom description of the campaign.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The custom description of the campaign.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The custom description of the campaign.
*/ inline CampaignResponse& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The custom description of the campaign.
*/ inline CampaignResponse& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The custom description of the campaign.
*/ inline CampaignResponse& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The allocated percentage of users (segment members) who shouldn't receive * messages from the campaign.
*/ inline int GetHoldoutPercent() const{ return m_holdoutPercent; } /** *The allocated percentage of users (segment members) who shouldn't receive * messages from the campaign.
*/ inline bool HoldoutPercentHasBeenSet() const { return m_holdoutPercentHasBeenSet; } /** *The allocated percentage of users (segment members) who shouldn't receive * messages from the campaign.
*/ inline void SetHoldoutPercent(int value) { m_holdoutPercentHasBeenSet = true; m_holdoutPercent = value; } /** *The allocated percentage of users (segment members) who shouldn't receive * messages from the campaign.
*/ inline CampaignResponse& WithHoldoutPercent(int value) { SetHoldoutPercent(value); return *this;} /** *The settings for the AWS Lambda function to use as a code hook for the * campaign. You can use this hook to customize the segment that's used by the * campaign.
*/ inline const CampaignHook& GetHook() const{ return m_hook; } /** *The settings for the AWS Lambda function to use as a code hook for the * campaign. You can use this hook to customize the segment that's used by the * campaign.
*/ inline bool HookHasBeenSet() const { return m_hookHasBeenSet; } /** *The settings for the AWS Lambda function to use as a code hook for the * campaign. You can use this hook to customize the segment that's used by the * campaign.
*/ inline void SetHook(const CampaignHook& value) { m_hookHasBeenSet = true; m_hook = value; } /** *The settings for the AWS Lambda function to use as a code hook for the * campaign. You can use this hook to customize the segment that's used by the * campaign.
*/ inline void SetHook(CampaignHook&& value) { m_hookHasBeenSet = true; m_hook = std::move(value); } /** *The settings for the AWS Lambda function to use as a code hook for the * campaign. You can use this hook to customize the segment that's used by the * campaign.
*/ inline CampaignResponse& WithHook(const CampaignHook& value) { SetHook(value); return *this;} /** *The settings for the AWS Lambda function to use as a code hook for the * campaign. You can use this hook to customize the segment that's used by the * campaign.
*/ inline CampaignResponse& WithHook(CampaignHook&& value) { SetHook(std::move(value)); return *this;} /** *The unique identifier for the campaign.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The unique identifier for the campaign.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The unique identifier for the campaign.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The unique identifier for the campaign.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The unique identifier for the campaign.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The unique identifier for the campaign.
*/ inline CampaignResponse& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The unique identifier for the campaign.
*/ inline CampaignResponse& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The unique identifier for the campaign.
*/ inline CampaignResponse& WithId(const char* value) { SetId(value); return *this;} /** *Specifies whether the campaign is paused. A paused campaign doesn't run * unless you resume it by changing this value to false.
*/ inline bool GetIsPaused() const{ return m_isPaused; } /** *Specifies whether the campaign is paused. A paused campaign doesn't run * unless you resume it by changing this value to false.
*/ inline bool IsPausedHasBeenSet() const { return m_isPausedHasBeenSet; } /** *Specifies whether the campaign is paused. A paused campaign doesn't run * unless you resume it by changing this value to false.
*/ inline void SetIsPaused(bool value) { m_isPausedHasBeenSet = true; m_isPaused = value; } /** *Specifies whether the campaign is paused. A paused campaign doesn't run * unless you resume it by changing this value to false.
*/ inline CampaignResponse& WithIsPaused(bool value) { SetIsPaused(value); return *this;} /** *The date, in ISO 8601 format, when the campaign was last modified.
*/ inline const Aws::String& GetLastModifiedDate() const{ return m_lastModifiedDate; } /** *The date, in ISO 8601 format, when the campaign was last modified.
*/ inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; } /** *The date, in ISO 8601 format, when the campaign was last modified.
*/ inline void SetLastModifiedDate(const Aws::String& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; } /** *The date, in ISO 8601 format, when the campaign was last modified.
*/ inline void SetLastModifiedDate(Aws::String&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); } /** *The date, in ISO 8601 format, when the campaign was last modified.
*/ inline void SetLastModifiedDate(const char* value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate.assign(value); } /** *The date, in ISO 8601 format, when the campaign was last modified.
*/ inline CampaignResponse& WithLastModifiedDate(const Aws::String& value) { SetLastModifiedDate(value); return *this;} /** *The date, in ISO 8601 format, when the campaign was last modified.
*/ inline CampaignResponse& WithLastModifiedDate(Aws::String&& value) { SetLastModifiedDate(std::move(value)); return *this;} /** *The date, in ISO 8601 format, when the campaign was last modified.
*/ inline CampaignResponse& WithLastModifiedDate(const char* value) { SetLastModifiedDate(value); return *this;} /** *The messaging limits for the campaign.
*/ inline const CampaignLimits& GetLimits() const{ return m_limits; } /** *The messaging limits for the campaign.
*/ inline bool LimitsHasBeenSet() const { return m_limitsHasBeenSet; } /** *The messaging limits for the campaign.
*/ inline void SetLimits(const CampaignLimits& value) { m_limitsHasBeenSet = true; m_limits = value; } /** *The messaging limits for the campaign.
*/ inline void SetLimits(CampaignLimits&& value) { m_limitsHasBeenSet = true; m_limits = std::move(value); } /** *The messaging limits for the campaign.
*/ inline CampaignResponse& WithLimits(const CampaignLimits& value) { SetLimits(value); return *this;} /** *The messaging limits for the campaign.
*/ inline CampaignResponse& WithLimits(CampaignLimits&& value) { SetLimits(std::move(value)); return *this;} /** *The message configuration settings for the campaign.
*/ inline const MessageConfiguration& GetMessageConfiguration() const{ return m_messageConfiguration; } /** *The message configuration settings for the campaign.
*/ inline bool MessageConfigurationHasBeenSet() const { return m_messageConfigurationHasBeenSet; } /** *The message configuration settings for the campaign.
*/ inline void SetMessageConfiguration(const MessageConfiguration& value) { m_messageConfigurationHasBeenSet = true; m_messageConfiguration = value; } /** *The message configuration settings for the campaign.
*/ inline void SetMessageConfiguration(MessageConfiguration&& value) { m_messageConfigurationHasBeenSet = true; m_messageConfiguration = std::move(value); } /** *The message configuration settings for the campaign.
*/ inline CampaignResponse& WithMessageConfiguration(const MessageConfiguration& value) { SetMessageConfiguration(value); return *this;} /** *The message configuration settings for the campaign.
*/ inline CampaignResponse& WithMessageConfiguration(MessageConfiguration&& value) { SetMessageConfiguration(std::move(value)); return *this;} /** *The name of the campaign.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the campaign.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the campaign.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the campaign.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the campaign.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the campaign.
*/ inline CampaignResponse& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the campaign.
*/ inline CampaignResponse& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the campaign.
*/ inline CampaignResponse& WithName(const char* value) { SetName(value); return *this;} /** *The schedule settings for the campaign.
*/ inline const Schedule& GetSchedule() const{ return m_schedule; } /** *The schedule settings for the campaign.
*/ inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; } /** *The schedule settings for the campaign.
*/ inline void SetSchedule(const Schedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; } /** *The schedule settings for the campaign.
*/ inline void SetSchedule(Schedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); } /** *The schedule settings for the campaign.
*/ inline CampaignResponse& WithSchedule(const Schedule& value) { SetSchedule(value); return *this;} /** *The schedule settings for the campaign.
*/ inline CampaignResponse& WithSchedule(Schedule&& value) { SetSchedule(std::move(value)); return *this;} /** *The unique identifier for the segment that's associated with the * campaign.
*/ inline const Aws::String& GetSegmentId() const{ return m_segmentId; } /** *The unique identifier for the segment that's associated with the * campaign.
*/ inline bool SegmentIdHasBeenSet() const { return m_segmentIdHasBeenSet; } /** *The unique identifier for the segment that's associated with the * campaign.
*/ inline void SetSegmentId(const Aws::String& value) { m_segmentIdHasBeenSet = true; m_segmentId = value; } /** *The unique identifier for the segment that's associated with the * campaign.
*/ inline void SetSegmentId(Aws::String&& value) { m_segmentIdHasBeenSet = true; m_segmentId = std::move(value); } /** *The unique identifier for the segment that's associated with the * campaign.
*/ inline void SetSegmentId(const char* value) { m_segmentIdHasBeenSet = true; m_segmentId.assign(value); } /** *The unique identifier for the segment that's associated with the * campaign.
*/ inline CampaignResponse& WithSegmentId(const Aws::String& value) { SetSegmentId(value); return *this;} /** *The unique identifier for the segment that's associated with the * campaign.
*/ inline CampaignResponse& WithSegmentId(Aws::String&& value) { SetSegmentId(std::move(value)); return *this;} /** *The unique identifier for the segment that's associated with the * campaign.
*/ inline CampaignResponse& WithSegmentId(const char* value) { SetSegmentId(value); return *this;} /** *The version number of the segment that's associated with the campaign.
*/ inline int GetSegmentVersion() const{ return m_segmentVersion; } /** *The version number of the segment that's associated with the campaign.
*/ inline bool SegmentVersionHasBeenSet() const { return m_segmentVersionHasBeenSet; } /** *The version number of the segment that's associated with the campaign.
*/ inline void SetSegmentVersion(int value) { m_segmentVersionHasBeenSet = true; m_segmentVersion = value; } /** *The version number of the segment that's associated with the campaign.
*/ inline CampaignResponse& WithSegmentVersion(int value) { SetSegmentVersion(value); return *this;} /** *The current status of the campaign.
*/ inline const CampaignState& GetState() const{ return m_state; } /** *The current status of the campaign.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The current status of the campaign.
*/ inline void SetState(const CampaignState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The current status of the campaign.
*/ inline void SetState(CampaignState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The current status of the campaign.
*/ inline CampaignResponse& WithState(const CampaignState& value) { SetState(value); return *this;} /** *The current status of the campaign.
*/ inline CampaignResponse& WithState(CampaignState&& value) { SetState(std::move(value)); return *this;} /** *A string-to-string map of key-value pairs that identifies the tags that are * associated with the campaign. Each tag consists of a required tag key and an * associated tag value.
*/ inline const Aws::MapA string-to-string map of key-value pairs that identifies the tags that are * associated with the campaign. Each tag consists of a required tag key and an * associated tag value.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *A string-to-string map of key-value pairs that identifies the tags that are * associated with the campaign. Each tag consists of a required tag key and an * associated tag value.
*/ inline void SetTags(const Aws::MapA string-to-string map of key-value pairs that identifies the tags that are * associated with the campaign. Each tag consists of a required tag key and an * associated tag value.
*/ inline void SetTags(Aws::MapA string-to-string map of key-value pairs that identifies the tags that are * associated with the campaign. Each tag consists of a required tag key and an * associated tag value.
*/ inline CampaignResponse& WithTags(const Aws::MapA string-to-string map of key-value pairs that identifies the tags that are * associated with the campaign. Each tag consists of a required tag key and an * associated tag value.
*/ inline CampaignResponse& WithTags(Aws::MapA string-to-string map of key-value pairs that identifies the tags that are * associated with the campaign. Each tag consists of a required tag key and an * associated tag value.
*/ inline CampaignResponse& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *A string-to-string map of key-value pairs that identifies the tags that are * associated with the campaign. Each tag consists of a required tag key and an * associated tag value.
*/ inline CampaignResponse& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *A string-to-string map of key-value pairs that identifies the tags that are * associated with the campaign. Each tag consists of a required tag key and an * associated tag value.
*/ inline CampaignResponse& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *A string-to-string map of key-value pairs that identifies the tags that are * associated with the campaign. Each tag consists of a required tag key and an * associated tag value.
*/ inline CampaignResponse& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *A string-to-string map of key-value pairs that identifies the tags that are * associated with the campaign. Each tag consists of a required tag key and an * associated tag value.
*/ inline CampaignResponse& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *A string-to-string map of key-value pairs that identifies the tags that are * associated with the campaign. Each tag consists of a required tag key and an * associated tag value.
*/ inline CampaignResponse& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *A string-to-string map of key-value pairs that identifies the tags that are * associated with the campaign. Each tag consists of a required tag key and an * associated tag value.
*/ inline CampaignResponse& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The message template that’s used for the campaign.
*/ inline const TemplateConfiguration& GetTemplateConfiguration() const{ return m_templateConfiguration; } /** *The message template that’s used for the campaign.
*/ inline bool TemplateConfigurationHasBeenSet() const { return m_templateConfigurationHasBeenSet; } /** *The message template that’s used for the campaign.
*/ inline void SetTemplateConfiguration(const TemplateConfiguration& value) { m_templateConfigurationHasBeenSet = true; m_templateConfiguration = value; } /** *The message template that’s used for the campaign.
*/ inline void SetTemplateConfiguration(TemplateConfiguration&& value) { m_templateConfigurationHasBeenSet = true; m_templateConfiguration = std::move(value); } /** *The message template that’s used for the campaign.
*/ inline CampaignResponse& WithTemplateConfiguration(const TemplateConfiguration& value) { SetTemplateConfiguration(value); return *this;} /** *The message template that’s used for the campaign.
*/ inline CampaignResponse& WithTemplateConfiguration(TemplateConfiguration&& value) { SetTemplateConfiguration(std::move(value)); return *this;} /** *The custom description of the default treatment for the campaign.
*/ inline const Aws::String& GetTreatmentDescription() const{ return m_treatmentDescription; } /** *The custom description of the default treatment for the campaign.
*/ inline bool TreatmentDescriptionHasBeenSet() const { return m_treatmentDescriptionHasBeenSet; } /** *The custom description of the default treatment for the campaign.
*/ inline void SetTreatmentDescription(const Aws::String& value) { m_treatmentDescriptionHasBeenSet = true; m_treatmentDescription = value; } /** *The custom description of the default treatment for the campaign.
*/ inline void SetTreatmentDescription(Aws::String&& value) { m_treatmentDescriptionHasBeenSet = true; m_treatmentDescription = std::move(value); } /** *The custom description of the default treatment for the campaign.
*/ inline void SetTreatmentDescription(const char* value) { m_treatmentDescriptionHasBeenSet = true; m_treatmentDescription.assign(value); } /** *The custom description of the default treatment for the campaign.
*/ inline CampaignResponse& WithTreatmentDescription(const Aws::String& value) { SetTreatmentDescription(value); return *this;} /** *The custom description of the default treatment for the campaign.
*/ inline CampaignResponse& WithTreatmentDescription(Aws::String&& value) { SetTreatmentDescription(std::move(value)); return *this;} /** *The custom description of the default treatment for the campaign.
*/ inline CampaignResponse& WithTreatmentDescription(const char* value) { SetTreatmentDescription(value); return *this;} /** *The custom name of the default treatment for the campaign, if the campaign * has multiple treatments. A treatment is a variation of a campaign that's * used for A/B testing.
*/ inline const Aws::String& GetTreatmentName() const{ return m_treatmentName; } /** *The custom name of the default treatment for the campaign, if the campaign * has multiple treatments. A treatment is a variation of a campaign that's * used for A/B testing.
*/ inline bool TreatmentNameHasBeenSet() const { return m_treatmentNameHasBeenSet; } /** *The custom name of the default treatment for the campaign, if the campaign * has multiple treatments. A treatment is a variation of a campaign that's * used for A/B testing.
*/ inline void SetTreatmentName(const Aws::String& value) { m_treatmentNameHasBeenSet = true; m_treatmentName = value; } /** *The custom name of the default treatment for the campaign, if the campaign * has multiple treatments. A treatment is a variation of a campaign that's * used for A/B testing.
*/ inline void SetTreatmentName(Aws::String&& value) { m_treatmentNameHasBeenSet = true; m_treatmentName = std::move(value); } /** *The custom name of the default treatment for the campaign, if the campaign * has multiple treatments. A treatment is a variation of a campaign that's * used for A/B testing.
*/ inline void SetTreatmentName(const char* value) { m_treatmentNameHasBeenSet = true; m_treatmentName.assign(value); } /** *The custom name of the default treatment for the campaign, if the campaign * has multiple treatments. A treatment is a variation of a campaign that's * used for A/B testing.
*/ inline CampaignResponse& WithTreatmentName(const Aws::String& value) { SetTreatmentName(value); return *this;} /** *The custom name of the default treatment for the campaign, if the campaign * has multiple treatments. A treatment is a variation of a campaign that's * used for A/B testing.
*/ inline CampaignResponse& WithTreatmentName(Aws::String&& value) { SetTreatmentName(std::move(value)); return *this;} /** *The custom name of the default treatment for the campaign, if the campaign * has multiple treatments. A treatment is a variation of a campaign that's * used for A/B testing.
*/ inline CampaignResponse& WithTreatmentName(const char* value) { SetTreatmentName(value); return *this;} /** *The version number of the campaign.
*/ inline int GetVersion() const{ return m_version; } /** *The version number of the campaign.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The version number of the campaign.
*/ inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; } /** *The version number of the campaign.
*/ inline CampaignResponse& WithVersion(int value) { SetVersion(value); return *this;} /** *Defines the priority of the campaign, used to decide the order of messages * displayed to user if there are multiple messages scheduled to be displayed at * the same moment.
*/ inline int GetPriority() const{ return m_priority; } /** *Defines the priority of the campaign, used to decide the order of messages * displayed to user if there are multiple messages scheduled to be displayed at * the same moment.
*/ inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } /** *Defines the priority of the campaign, used to decide the order of messages * displayed to user if there are multiple messages scheduled to be displayed at * the same moment.
*/ inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } /** *Defines the priority of the campaign, used to decide the order of messages * displayed to user if there are multiple messages scheduled to be displayed at * the same moment.
*/ inline CampaignResponse& WithPriority(int value) { SetPriority(value); return *this;} private: Aws::Vector