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>
48 template<
typename BodyT = Aws::String>
49 void SetBody(BodyT&& value) { m_bodyHasBeenSet =
true; m_body = std::forward<BodyT>(value); }
50 template<
typename BodyT = Aws::String>
61 template<
typename SubstitutionsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
62 void SetSubstitutions(SubstitutionsT&& value) { m_substitutionsHasBeenSet =
true; m_substitutions = std::forward<SubstitutionsT>(value); }
63 template<
typename SubstitutionsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
65 template<
typename SubstitutionsKeyT = Aws::String,
typename SubstitutionsValueT = Aws::Vector<Aws::String>>
67 m_substitutionsHasBeenSet =
true; m_substitutions.emplace(std::forward<SubstitutionsKeyT>(key), std::forward<SubstitutionsValueT>(value));
return *
this;
73 bool m_bodyHasBeenSet =
false;
76 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