7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/model/ChannelType.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
51 template<
typename BodyOverr
ideT = Aws::String>
52 void SetBodyOverride(BodyOverrideT&& value) { m_bodyOverrideHasBeenSet =
true; m_bodyOverride = std::forward<BodyOverrideT>(value); }
53 template<
typename BodyOverr
ideT = Aws::String>
77 template<
typename ContextT = Aws::Map<Aws::String, Aws::String>>
78 void SetContext(ContextT&& value) { m_contextHasBeenSet =
true; m_context = std::forward<ContextT>(value); }
79 template<
typename ContextT = Aws::Map<Aws::String, Aws::String>>
81 template<
typename ContextKeyT = Aws::String,
typename ContextValueT = Aws::String>
83 m_contextHasBeenSet =
true; m_context.emplace(std::forward<ContextKeyT>(key), std::forward<ContextValueT>(value));
return *
this;
94 template<
typename RawContentT = Aws::String>
95 void SetRawContent(RawContentT&& value) { m_rawContentHasBeenSet =
true; m_rawContent = std::forward<RawContentT>(value); }
96 template<
typename RawContentT = Aws::String>
108 template<
typename SubstitutionsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
109 void SetSubstitutions(SubstitutionsT&& value) { m_substitutionsHasBeenSet =
true; m_substitutions = std::forward<SubstitutionsT>(value); }
110 template<
typename SubstitutionsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
112 template<
typename SubstitutionsKeyT = Aws::String,
typename SubstitutionsValueT = Aws::Vector<Aws::String>>
114 m_substitutionsHasBeenSet =
true; m_substitutions.emplace(std::forward<SubstitutionsKeyT>(key), std::forward<SubstitutionsValueT>(value));
return *
this;
125 template<
typename TitleOverr
ideT = Aws::String>
126 void SetTitleOverride(TitleOverrideT&& value) { m_titleOverrideHasBeenSet =
true; m_titleOverride = std::forward<TitleOverrideT>(value); }
127 template<
typename TitleOverr
ideT = Aws::String>
133 bool m_bodyOverrideHasBeenSet =
false;
136 bool m_channelTypeHasBeenSet =
false;
139 bool m_contextHasBeenSet =
false;
142 bool m_rawContentHasBeenSet =
false;
145 bool m_substitutionsHasBeenSet =
false;
148 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