7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
51 inline void SetBody(
const char* value) { m_bodyHasBeenSet =
true; m_body.assign(value); }
68 inline void SetLanguageCode(
const char* value) { m_languageCodeHasBeenSet =
true; m_languageCode.assign(value); }
85 inline void SetOriginationNumber(
const char* value) { m_originationNumberHasBeenSet =
true; m_originationNumber.assign(value); }
121 inline void SetVoiceId(
const char* value) { m_voiceIdHasBeenSet =
true; m_voiceId.assign(value); }
129 bool m_bodyHasBeenSet =
false;
132 bool m_languageCodeHasBeenSet =
false;
135 bool m_originationNumberHasBeenSet =
false;
138 bool m_substitutionsHasBeenSet =
false;
141 bool m_voiceIdHasBeenSet =
false;
const Aws::String & GetVoiceId() const
void SetBody(Aws::String &&value)
void SetOriginationNumber(Aws::String &&value)
VoiceMessage & WithBody(const char *value)
VoiceMessage & AddSubstitutions(const Aws::String &key, Aws::Vector< Aws::String > &&value)
VoiceMessage & WithOriginationNumber(Aws::String &&value)
VoiceMessage & AddSubstitutions(const Aws::String &key, const Aws::Vector< Aws::String > &value)
VoiceMessage & AddSubstitutions(Aws::String &&key, Aws::Vector< Aws::String > &&value)
VoiceMessage & AddSubstitutions(const char *key, const Aws::Vector< Aws::String > &value)
VoiceMessage & WithLanguageCode(const char *value)
void SetOriginationNumber(const char *value)
void SetSubstitutions(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
VoiceMessage & WithOriginationNumber(const char *value)
bool BodyHasBeenSet() const
void SetVoiceId(const char *value)
bool LanguageCodeHasBeenSet() const
void SetLanguageCode(const Aws::String &value)
AWS_PINPOINT_API VoiceMessage()
VoiceMessage & WithVoiceId(const Aws::String &value)
VoiceMessage & WithLanguageCode(const Aws::String &value)
AWS_PINPOINT_API VoiceMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVoiceId(const Aws::String &value)
void SetBody(const Aws::String &value)
const Aws::String & GetLanguageCode() const
void SetOriginationNumber(const Aws::String &value)
void SetSubstitutions(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
VoiceMessage & AddSubstitutions(const char *key, Aws::Vector< Aws::String > &&value)
const Aws::String & GetBody() const
AWS_PINPOINT_API VoiceMessage(Aws::Utils::Json::JsonView jsonValue)
void SetVoiceId(Aws::String &&value)
const Aws::String & GetOriginationNumber() const
VoiceMessage & WithVoiceId(const char *value)
void SetLanguageCode(const char *value)
VoiceMessage & WithBody(const Aws::String &value)
VoiceMessage & WithBody(Aws::String &&value)
VoiceMessage & WithSubstitutions(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
VoiceMessage & WithSubstitutions(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetBody(const char *value)
VoiceMessage & WithOriginationNumber(const Aws::String &value)
VoiceMessage & AddSubstitutions(Aws::String &&key, const Aws::Vector< Aws::String > &value)
VoiceMessage & WithVoiceId(Aws::String &&value)
void SetLanguageCode(Aws::String &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
bool OriginationNumberHasBeenSet() const
bool SubstitutionsHasBeenSet() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetSubstitutions() const
bool VoiceIdHasBeenSet() const
VoiceMessage & WithLanguageCode(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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue