7#include <aws/connectcampaigns/ConnectCampaigns_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connectcampaigns/model/DialerConfig.h>
10#include <aws/connectcampaigns/model/OutboundCallConfig.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
24namespace ConnectCampaigns
48 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
49 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
60 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
61 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
73 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
85 inline void SetConnectInstanceId(
const char* value) { m_connectInstanceIdHasBeenSet =
true; m_connectInstanceId.assign(value); }
123 inline Campaign&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
124 inline Campaign&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
125 inline Campaign&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
130 bool m_idHasBeenSet =
false;
133 bool m_arnHasBeenSet =
false;
136 bool m_nameHasBeenSet =
false;
139 bool m_connectInstanceIdHasBeenSet =
false;
142 bool m_dialerConfigHasBeenSet =
false;
145 bool m_outboundCallConfigHasBeenSet =
false;
148 bool m_tagsHasBeenSet =
false;
Campaign & WithId(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetConnectInstanceId(const char *value)
Campaign & WithName(Aws::String &&value)
Campaign & WithConnectInstanceId(Aws::String &&value)
bool TagsHasBeenSet() const
void SetName(Aws::String &&value)
Campaign & WithId(Aws::String &&value)
void SetConnectInstanceId(const Aws::String &value)
const Aws::String & GetConnectInstanceId() const
Campaign & WithOutboundCallConfig(const OutboundCallConfig &value)
bool OutboundCallConfigHasBeenSet() const
void SetId(const char *value)
Campaign & WithConnectInstanceId(const char *value)
bool NameHasBeenSet() const
Campaign & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_CONNECTCAMPAIGNS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConnectInstanceId(Aws::String &&value)
Campaign & WithArn(Aws::String &&value)
AWS_CONNECTCAMPAIGNS_API Campaign & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
Campaign & AddTags(const char *key, const char *value)
AWS_CONNECTCAMPAIGNS_API Campaign(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
Campaign & WithId(const Aws::String &value)
Campaign & AddTags(const char *key, Aws::String &&value)
void SetName(const char *value)
bool ConnectInstanceIdHasBeenSet() const
Campaign & WithName(const char *value)
Campaign & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetOutboundCallConfig(const OutboundCallConfig &value)
bool DialerConfigHasBeenSet() const
void SetArn(Aws::String &&value)
void SetDialerConfig(const DialerConfig &value)
void SetArn(const char *value)
Campaign & AddTags(Aws::String &&key, const char *value)
Campaign & WithOutboundCallConfig(OutboundCallConfig &&value)
const OutboundCallConfig & GetOutboundCallConfig() const
Campaign & AddTags(const Aws::String &key, Aws::String &&value)
AWS_CONNECTCAMPAIGNS_API Campaign()
void SetOutboundCallConfig(OutboundCallConfig &&value)
void SetId(Aws::String &&value)
Campaign & WithConnectInstanceId(const Aws::String &value)
Campaign & AddTags(Aws::String &&key, const Aws::String &value)
Campaign & WithDialerConfig(const DialerConfig &value)
void SetDialerConfig(DialerConfig &&value)
Campaign & WithDialerConfig(DialerConfig &&value)
void SetId(const Aws::String &value)
Campaign & WithName(const Aws::String &value)
bool IdHasBeenSet() const
Campaign & WithArn(const char *value)
Campaign & AddTags(const Aws::String &key, const Aws::String &value)
bool ArnHasBeenSet() const
Campaign & WithArn(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Campaign & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::String & GetName() const
const DialerConfig & GetDialerConfig() const
void SetArn(const Aws::String &value)
void SetName(const Aws::String &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
Aws::Utils::Json::JsonValue JsonValue