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>
11#include <aws/pinpoint/model/ChannelType.h>
45 template <
typename BodyOverr
ideT = Aws::String>
47 m_bodyOverrideHasBeenSet =
true;
48 m_bodyOverride = std::forward<BodyOverrideT>(value);
50 template <
typename BodyOverr
ideT = Aws::String>
64 m_channelTypeHasBeenSet =
true;
65 m_channelType = value;
83 template <
typename ContextT = Aws::Map<Aws::String, Aws::String>>
85 m_contextHasBeenSet =
true;
86 m_context = std::forward<ContextT>(value);
88 template <
typename ContextT = Aws::Map<Aws::String, Aws::String>>
93 template <
typename ContextKeyT = Aws::String,
typename ContextValueT = Aws::String>
95 m_contextHasBeenSet =
true;
96 m_context.emplace(std::forward<ContextKeyT>(key), std::forward<ContextValueT>(value));
108 template <
typename RawContentT = Aws::String>
110 m_rawContentHasBeenSet =
true;
111 m_rawContent = std::forward<RawContentT>(value);
113 template <
typename RawContentT = Aws::String>
128 template <
typename SubstitutionsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
130 m_substitutionsHasBeenSet =
true;
131 m_substitutions = std::forward<SubstitutionsT>(value);
133 template <
typename SubstitutionsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
138 template <
typename SubstitutionsKeyT = Aws::String,
typename SubstitutionsValueT = Aws::Vector<Aws::String>>
140 m_substitutionsHasBeenSet =
true;
141 m_substitutions.emplace(std::forward<SubstitutionsKeyT>(key), std::forward<SubstitutionsValueT>(value));
153 template <
typename TitleOverr
ideT = Aws::String>
155 m_titleOverrideHasBeenSet =
true;
156 m_titleOverride = std::forward<TitleOverrideT>(value);
158 template <
typename TitleOverr
ideT = Aws::String>
166 bool m_bodyOverrideHasBeenSet =
false;
169 bool m_channelTypeHasBeenSet =
false;
172 bool m_contextHasBeenSet =
false;
175 bool m_rawContentHasBeenSet =
false;
178 bool m_substitutionsHasBeenSet =
false;
181 bool m_titleOverrideHasBeenSet =
false;
void SetSubstitutions(SubstitutionsT &&value)
ChannelType GetChannelType() const
void SetContext(ContextT &&value)
void SetBodyOverride(BodyOverrideT &&value)
bool BodyOverrideHasBeenSet() const
const Aws::String & GetRawContent() const
AddressConfiguration & WithContext(ContextT &&value)
AddressConfiguration & WithSubstitutions(SubstitutionsT &&value)
AWS_PINPOINT_API AddressConfiguration()=default
void SetRawContent(RawContentT &&value)
bool SubstitutionsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetContext() const
AddressConfiguration & AddSubstitutions(SubstitutionsKeyT &&key, SubstitutionsValueT &&value)
bool ContextHasBeenSet() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetSubstitutions() const
AddressConfiguration & WithChannelType(ChannelType value)
AWS_PINPOINT_API AddressConfiguration(Aws::Utils::Json::JsonView jsonValue)
AddressConfiguration & WithTitleOverride(TitleOverrideT &&value)
bool ChannelTypeHasBeenSet() const
bool RawContentHasBeenSet() const
void SetTitleOverride(TitleOverrideT &&value)
AWS_PINPOINT_API AddressConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TitleOverrideHasBeenSet() const
AddressConfiguration & WithRawContent(RawContentT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTitleOverride() const
const Aws::String & GetBodyOverride() const
void SetChannelType(ChannelType value)
AddressConfiguration & WithBodyOverride(BodyOverrideT &&value)
AddressConfiguration & AddContext(ContextKeyT &&key, ContextValueT &&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