7#include <aws/connectcampaignsv2/ConnectCampaignsV2Request.h>
8#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
9#include <aws/connectcampaignsv2/model/ChannelSubtypeConfig.h>
10#include <aws/connectcampaignsv2/model/CommunicationLimitsConfig.h>
11#include <aws/connectcampaignsv2/model/CommunicationTimeConfig.h>
12#include <aws/connectcampaignsv2/model/ExternalCampaignType.h>
13#include <aws/connectcampaignsv2/model/Schedule.h>
14#include <aws/connectcampaignsv2/model/Source.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ConnectCampaignsV2 {
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
61 template <
typename ConnectInstanceIdT = Aws::String>
63 m_connectInstanceIdHasBeenSet =
true;
64 m_connectInstanceId = std::forward<ConnectInstanceIdT>(value);
66 template <
typename ConnectInstanceIdT = Aws::String>
77 template <
typename ChannelSubtypeConfigT = ChannelSubtypeConfig>
79 m_channelSubtypeConfigHasBeenSet =
true;
80 m_channelSubtypeConfig = std::forward<ChannelSubtypeConfigT>(value);
82 template <
typename ChannelSubtypeConfigT = ChannelSubtypeConfig>
94 m_typeHasBeenSet =
true;
107 template <
typename SourceT = Source>
109 m_sourceHasBeenSet =
true;
110 m_source = std::forward<SourceT>(value);
112 template <
typename SourceT = Source>
123 template <
typename ConnectCampaignFlowArnT = Aws::String>
125 m_connectCampaignFlowArnHasBeenSet =
true;
126 m_connectCampaignFlowArn = std::forward<ConnectCampaignFlowArnT>(value);
128 template <
typename ConnectCampaignFlowArnT = Aws::String>
139 template <
typename ScheduleT = Schedule>
141 m_scheduleHasBeenSet =
true;
142 m_schedule = std::forward<ScheduleT>(value);
144 template <
typename ScheduleT = Schedule>
155 template <
typename CommunicationTimeConfigT = CommunicationTimeConfig>
157 m_communicationTimeConfigHasBeenSet =
true;
158 m_communicationTimeConfig = std::forward<CommunicationTimeConfigT>(value);
160 template <
typename CommunicationTimeConfigT = CommunicationTimeConfig>
171 template <
typename CommunicationLimitsOverr
ideT = CommunicationLimitsConfig>
173 m_communicationLimitsOverrideHasBeenSet =
true;
174 m_communicationLimitsOverride = std::forward<CommunicationLimitsOverrideT>(value);
176 template <
typename CommunicationLimitsOverr
ideT = CommunicationLimitsConfig>
187 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
189 m_tagsHasBeenSet =
true;
190 m_tags = std::forward<TagsT>(value);
192 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
194 SetTags(std::forward<TagsT>(value));
197 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
199 m_tagsHasBeenSet =
true;
200 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
219 CommunicationTimeConfig m_communicationTimeConfig;
221 CommunicationLimitsConfig m_communicationLimitsOverride;
224 bool m_nameHasBeenSet =
false;
225 bool m_connectInstanceIdHasBeenSet =
false;
226 bool m_channelSubtypeConfigHasBeenSet =
false;
227 bool m_typeHasBeenSet =
false;
228 bool m_sourceHasBeenSet =
false;
229 bool m_connectCampaignFlowArnHasBeenSet =
false;
230 bool m_scheduleHasBeenSet =
false;
231 bool m_communicationTimeConfigHasBeenSet =
false;
232 bool m_communicationLimitsOverrideHasBeenSet =
false;
233 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
bool TypeHasBeenSet() 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
CreateCampaignRequest & WithType(ExternalCampaignType value)
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
ExternalCampaignType GetType() const
void SetType(ExternalCampaignType value)
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