7#include <aws/connectcampaigns/ConnectCampaigns_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
23namespace ConnectCampaigns
48 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
60 inline void SetPhoneNumber(
const char* value) { m_phoneNumberHasBeenSet =
true; m_phoneNumber.assign(value); }
90 inline DialRequest&
AddAttributes(
const char* key,
const char* value) { m_attributesHasBeenSet =
true; m_attributes.emplace(key, value);
return *
this; }
95 bool m_clientTokenHasBeenSet =
false;
98 bool m_phoneNumberHasBeenSet =
false;
101 bool m_expirationTimeHasBeenSet =
false;
104 bool m_attributesHasBeenSet =
false;
DialRequest & AddAttributes(const Aws::String &key, Aws::String &&value)
AWS_CONNECTCAMPAIGNS_API DialRequest()
bool AttributesHasBeenSet() const
DialRequest & WithPhoneNumber(const Aws::String &value)
DialRequest & AddAttributes(const Aws::String &key, const Aws::String &value)
void SetClientToken(const Aws::String &value)
DialRequest & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
void SetPhoneNumber(const char *value)
DialRequest & WithPhoneNumber(const char *value)
DialRequest & AddAttributes(Aws::String &&key, Aws::String &&value)
void SetClientToken(const char *value)
DialRequest & WithClientToken(const Aws::String &value)
const Aws::String & GetPhoneNumber() const
bool ClientTokenHasBeenSet() const
DialRequest & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
bool ExpirationTimeHasBeenSet() const
const Aws::String & GetClientToken() const
AWS_CONNECTCAMPAIGNS_API DialRequest(Aws::Utils::Json::JsonView jsonValue)
DialRequest & WithPhoneNumber(Aws::String &&value)
void SetPhoneNumber(const Aws::String &value)
AWS_CONNECTCAMPAIGNS_API Aws::Utils::Json::JsonValue Jsonize() const
DialRequest & AddAttributes(Aws::String &&key, const char *value)
void SetPhoneNumber(Aws::String &&value)
DialRequest & WithClientToken(const char *value)
const Aws::Utils::DateTime & GetExpirationTime() const
DialRequest & AddAttributes(Aws::String &&key, const Aws::String &value)
void SetExpirationTime(Aws::Utils::DateTime &&value)
DialRequest & WithClientToken(Aws::String &&value)
DialRequest & WithExpirationTime(Aws::Utils::DateTime &&value)
AWS_CONNECTCAMPAIGNS_API DialRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetClientToken(Aws::String &&value)
void SetExpirationTime(const Aws::Utils::DateTime &value)
DialRequest & WithExpirationTime(const Aws::Utils::DateTime &value)
bool PhoneNumberHasBeenSet() const
DialRequest & AddAttributes(const char *key, Aws::String &&value)
DialRequest & AddAttributes(const char *key, const char *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