7#include <aws/connectcampaigns/ConnectCampaigns_EXPORTS.h>
8#include <aws/connectcampaigns/model/DialerConfig.h>
9#include <aws/connectcampaigns/model/OutboundCallConfig.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ConnectCampaigns {
41 template <
typename IdT = Aws::String>
43 m_idHasBeenSet =
true;
44 m_id = std::forward<IdT>(value);
46 template <
typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
57 template <
typename ArnT = Aws::String>
59 m_arnHasBeenSet =
true;
60 m_arn = std::forward<ArnT>(value);
62 template <
typename ArnT = Aws::String>
64 SetArn(std::forward<ArnT>(value));
73 template <
typename NameT = Aws::String>
75 m_nameHasBeenSet =
true;
76 m_name = std::forward<NameT>(value);
78 template <
typename NameT = Aws::String>
80 SetName(std::forward<NameT>(value));
89 template <
typename ConnectInstanceIdT = Aws::String>
91 m_connectInstanceIdHasBeenSet =
true;
92 m_connectInstanceId = std::forward<ConnectInstanceIdT>(value);
94 template <
typename ConnectInstanceIdT = Aws::String>
105 template <
typename DialerConfigT = DialerConfig>
107 m_dialerConfigHasBeenSet =
true;
108 m_dialerConfig = std::forward<DialerConfigT>(value);
110 template <
typename DialerConfigT = DialerConfig>
121 template <
typename OutboundCallConfigT = OutboundCallConfig>
123 m_outboundCallConfigHasBeenSet =
true;
124 m_outboundCallConfig = std::forward<OutboundCallConfigT>(value);
126 template <
typename OutboundCallConfigT = OutboundCallConfig>
137 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
139 m_tagsHasBeenSet =
true;
140 m_tags = std::forward<TagsT>(value);
142 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
144 SetTags(std::forward<TagsT>(value));
147 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
149 m_tagsHasBeenSet =
true;
150 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
168 bool m_idHasBeenSet =
false;
169 bool m_arnHasBeenSet =
false;
170 bool m_nameHasBeenSet =
false;
171 bool m_connectInstanceIdHasBeenSet =
false;
172 bool m_dialerConfigHasBeenSet =
false;
173 bool m_outboundCallConfigHasBeenSet =
false;
174 bool m_tagsHasBeenSet =
false;
bool TagsHasBeenSet() const
const Aws::String & GetConnectInstanceId() const
bool OutboundCallConfigHasBeenSet() const
Campaign & WithDialerConfig(DialerConfigT &&value)
Campaign & WithId(IdT &&value)
bool NameHasBeenSet() const
AWS_CONNECTCAMPAIGNS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
void SetTags(TagsT &&value)
AWS_CONNECTCAMPAIGNS_API Campaign & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
void SetArn(ArnT &&value)
Campaign & WithOutboundCallConfig(OutboundCallConfigT &&value)
AWS_CONNECTCAMPAIGNS_API Campaign(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
bool ConnectInstanceIdHasBeenSet() const
void SetOutboundCallConfig(OutboundCallConfigT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_CONNECTCAMPAIGNS_API Campaign()=default
bool DialerConfigHasBeenSet() const
Campaign & WithArn(ArnT &&value)
Campaign & AddTags(TagsKeyT &&key, TagsValueT &&value)
const OutboundCallConfig & GetOutboundCallConfig() const
Campaign & WithConnectInstanceId(ConnectInstanceIdT &&value)
bool IdHasBeenSet() const
Campaign & WithName(NameT &&value)
bool ArnHasBeenSet() const
void SetDialerConfig(DialerConfigT &&value)
void SetConnectInstanceId(ConnectInstanceIdT &&value)
const Aws::String & GetName() const
Campaign & WithTags(TagsT &&value)
const DialerConfig & GetDialerConfig() const
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
Aws::Utils::Json::JsonValue JsonValue