7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/connectcampaignsv2/ConnectCampaignsV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connectcampaignsv2/model/ChannelSubtypeConfig.h>
11#include <aws/connectcampaignsv2/model/Source.h>
12#include <aws/connectcampaignsv2/model/Schedule.h>
13#include <aws/connectcampaignsv2/model/CommunicationTimeConfig.h>
14#include <aws/connectcampaignsv2/model/CommunicationLimitsConfig.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
20namespace ConnectCampaignsV2
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
58 template<
typename ConnectInstanceIdT = Aws::String>
59 void SetConnectInstanceId(ConnectInstanceIdT&& value) { m_connectInstanceIdHasBeenSet =
true; m_connectInstanceId = std::forward<ConnectInstanceIdT>(value); }
60 template<
typename ConnectInstanceIdT = Aws::String>
68 template<
typename ChannelSubtypeConfigT = ChannelSubtypeConfig>
69 void SetChannelSubtypeConfig(ChannelSubtypeConfigT&& value) { m_channelSubtypeConfigHasBeenSet =
true; m_channelSubtypeConfig = std::forward<ChannelSubtypeConfigT>(value); }
70 template<
typename ChannelSubtypeConfigT = ChannelSubtypeConfig>
78 template<
typename SourceT = Source>
79 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
80 template<
typename SourceT = Source>
88 template<
typename ConnectCampaignFlowArnT = Aws::String>
89 void SetConnectCampaignFlowArn(ConnectCampaignFlowArnT&& value) { m_connectCampaignFlowArnHasBeenSet =
true; m_connectCampaignFlowArn = std::forward<ConnectCampaignFlowArnT>(value); }
90 template<
typename ConnectCampaignFlowArnT = Aws::String>
98 template<
typename ScheduleT = Schedule>
99 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
100 template<
typename ScheduleT = Schedule>
108 template<
typename CommunicationTimeConfigT = CommunicationTimeConfig>
109 void SetCommunicationTimeConfig(CommunicationTimeConfigT&& value) { m_communicationTimeConfigHasBeenSet =
true; m_communicationTimeConfig = std::forward<CommunicationTimeConfigT>(value); }
110 template<
typename CommunicationTimeConfigT = CommunicationTimeConfig>
118 template<
typename CommunicationLimitsOverr
ideT = CommunicationLimitsConfig>
119 void SetCommunicationLimitsOverride(CommunicationLimitsOverrideT&& value) { m_communicationLimitsOverrideHasBeenSet =
true; m_communicationLimitsOverride = std::forward<CommunicationLimitsOverrideT>(value); }
120 template<
typename CommunicationLimitsOverr
ideT = CommunicationLimitsConfig>
128 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
129 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
130 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
132 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
134 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
140 bool m_nameHasBeenSet =
false;
143 bool m_connectInstanceIdHasBeenSet =
false;
146 bool m_channelSubtypeConfigHasBeenSet =
false;
149 bool m_sourceHasBeenSet =
false;
152 bool m_connectCampaignFlowArnHasBeenSet =
false;
155 bool m_scheduleHasBeenSet =
false;
158 bool m_communicationTimeConfigHasBeenSet =
false;
161 bool m_communicationLimitsOverrideHasBeenSet =
false;
164 bool m_tagsHasBeenSet =
false;
CreateCampaignRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetConnectInstanceId(ConnectInstanceIdT &&value)
void SetTags(TagsT &&value)
AWS_CONNECTCAMPAIGNSV2_API CreateCampaignRequest()=default
void SetConnectCampaignFlowArn(ConnectCampaignFlowArnT &&value)
bool ChannelSubtypeConfigHasBeenSet() const
void SetSource(SourceT &&value)
CreateCampaignRequest & WithCommunicationLimitsOverride(CommunicationLimitsOverrideT &&value)
void SetCommunicationTimeConfig(CommunicationTimeConfigT &&value)
CreateCampaignRequest & WithTags(TagsT &&value)
CreateCampaignRequest & WithSchedule(ScheduleT &&value)
void SetCommunicationLimitsOverride(CommunicationLimitsOverrideT &&value)
bool ConnectInstanceIdHasBeenSet() const
const Aws::String & GetConnectCampaignFlowArn() const
virtual const char * GetServiceRequestName() const override
CreateCampaignRequest & WithConnectCampaignFlowArn(ConnectCampaignFlowArnT &&value)
bool ScheduleHasBeenSet() const
const Source & GetSource() const
const ChannelSubtypeConfig & GetChannelSubtypeConfig() const
const Schedule & GetSchedule() const
void SetName(NameT &&value)
bool CommunicationLimitsOverrideHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool TagsHasBeenSet() const
const CommunicationLimitsConfig & GetCommunicationLimitsOverride() const
const Aws::String & GetConnectInstanceId() const
bool CommunicationTimeConfigHasBeenSet() const
void SetSchedule(ScheduleT &&value)
AWS_CONNECTCAMPAIGNSV2_API Aws::String SerializePayload() const override
CreateCampaignRequest & WithCommunicationTimeConfig(CommunicationTimeConfigT &&value)
const Aws::String & GetName() const
const CommunicationTimeConfig & GetCommunicationTimeConfig() const
CreateCampaignRequest & WithSource(SourceT &&value)
bool SourceHasBeenSet() const
bool ConnectCampaignFlowArnHasBeenSet() const
void SetChannelSubtypeConfig(ChannelSubtypeConfigT &&value)
bool NameHasBeenSet() const
CreateCampaignRequest & WithConnectInstanceId(ConnectInstanceIdT &&value)
CreateCampaignRequest & WithName(NameT &&value)
CreateCampaignRequest & WithChannelSubtypeConfig(ChannelSubtypeConfigT &&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