7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/pinpoint/Pinpoint_EXPORTS.h>
42 template <
typename BodyT = Aws::String>
44 m_bodyHasBeenSet =
true;
45 m_body = std::forward<BodyT>(value);
47 template <
typename BodyT = Aws::String>
49 SetBody(std::forward<BodyT>(value));
61 template <
typename SubstitutionsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
63 m_substitutionsHasBeenSet =
true;
64 m_substitutions = std::forward<SubstitutionsT>(value);
66 template <
typename SubstitutionsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
71 template <
typename SubstitutionsKeyT = Aws::String,
typename SubstitutionsValueT = Aws::Vector<Aws::String>>
73 m_substitutionsHasBeenSet =
true;
74 m_substitutions.emplace(std::forward<SubstitutionsKeyT>(key), std::forward<SubstitutionsValueT>(value));
80 bool m_bodyHasBeenSet =
false;
83 bool m_substitutionsHasBeenSet =
false;
AWS_PINPOINT_API DefaultMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBody(BodyT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
bool SubstitutionsHasBeenSet() const
DefaultMessage & AddSubstitutions(SubstitutionsKeyT &&key, SubstitutionsValueT &&value)
const Aws::String & GetBody() const
void SetSubstitutions(SubstitutionsT &&value)
DefaultMessage & WithSubstitutions(SubstitutionsT &&value)
AWS_PINPOINT_API DefaultMessage()=default
AWS_PINPOINT_API DefaultMessage(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetSubstitutions() const
bool BodyHasBeenSet() const
DefaultMessage & WithBody(BodyT &&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