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>
49 template<
typename BodyT = Aws::String>
50 void SetBody(BodyT&& value) { m_bodyHasBeenSet =
true; m_body = std::forward<BodyT>(value); }
51 template<
typename BodyT = Aws::String>
64 template<
typename LanguageCodeT = Aws::String>
65 void SetLanguageCode(LanguageCodeT&& value) { m_languageCodeHasBeenSet =
true; m_languageCode = std::forward<LanguageCodeT>(value); }
66 template<
typename LanguageCodeT = Aws::String>
79 template<
typename OriginationNumberT = Aws::String>
80 void SetOriginationNumber(OriginationNumberT&& value) { m_originationNumberHasBeenSet =
true; m_originationNumber = std::forward<OriginationNumberT>(value); }
81 template<
typename OriginationNumberT = Aws::String>
92 template<
typename SubstitutionsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
93 void SetSubstitutions(SubstitutionsT&& value) { m_substitutionsHasBeenSet =
true; m_substitutions = std::forward<SubstitutionsT>(value); }
94 template<
typename SubstitutionsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
96 template<
typename SubstitutionsKeyT = Aws::String,
typename SubstitutionsValueT = Aws::Vector<Aws::String>>
98 m_substitutionsHasBeenSet =
true; m_substitutions.emplace(std::forward<SubstitutionsKeyT>(key), std::forward<SubstitutionsValueT>(value));
return *
this;
111 template<
typename VoiceIdT = Aws::String>
112 void SetVoiceId(VoiceIdT&& value) { m_voiceIdHasBeenSet =
true; m_voiceId = std::forward<VoiceIdT>(value); }
113 template<
typename VoiceIdT = Aws::String>
119 bool m_bodyHasBeenSet =
false;
122 bool m_languageCodeHasBeenSet =
false;
125 bool m_originationNumberHasBeenSet =
false;
128 bool m_substitutionsHasBeenSet =
false;
131 bool m_voiceIdHasBeenSet =
false;
void SetOriginationNumber(OriginationNumberT &&value)
const Aws::String & GetVoiceId() const
bool BodyHasBeenSet() const
bool LanguageCodeHasBeenSet() const
void SetSubstitutions(SubstitutionsT &&value)
void SetBody(BodyT &&value)
void SetVoiceId(VoiceIdT &&value)
AWS_PINPOINT_API VoiceMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
VoiceMessage & WithVoiceId(VoiceIdT &&value)
const Aws::String & GetLanguageCode() const
const Aws::String & GetBody() const
VoiceMessage & WithLanguageCode(LanguageCodeT &&value)
AWS_PINPOINT_API VoiceMessage(Aws::Utils::Json::JsonView jsonValue)
void SetLanguageCode(LanguageCodeT &&value)
const Aws::String & GetOriginationNumber() const
VoiceMessage & WithBody(BodyT &&value)
VoiceMessage & WithSubstitutions(SubstitutionsT &&value)
VoiceMessage & WithOriginationNumber(OriginationNumberT &&value)
VoiceMessage & AddSubstitutions(SubstitutionsKeyT &&key, SubstitutionsValueT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
bool OriginationNumberHasBeenSet() const
bool SubstitutionsHasBeenSet() const
AWS_PINPOINT_API VoiceMessage()=default
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetSubstitutions() const
bool VoiceIdHasBeenSet() 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