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/InAppMessageContent.h>
12#include <aws/pinpoint/model/Layout.h>
45 template <
typename ContentT = Aws::Vector<InAppMessageContent>>
47 m_contentHasBeenSet =
true;
48 m_content = std::forward<ContentT>(value);
50 template <
typename ContentT = Aws::Vector<InAppMessageContent>>
55 template <
typename ContentT = InAppMessageContent>
57 m_contentHasBeenSet =
true;
58 m_content.emplace_back(std::forward<ContentT>(value));
69 template <
typename CustomConfigT = Aws::Map<Aws::String, Aws::String>>
71 m_customConfigHasBeenSet =
true;
72 m_customConfig = std::forward<CustomConfigT>(value);
74 template <
typename CustomConfigT = Aws::Map<Aws::String, Aws::String>>
79 template <
typename CustomConfigKeyT = Aws::String,
typename CustomConfigValueT = Aws::String>
81 m_customConfigHasBeenSet =
true;
82 m_customConfig.emplace(std::forward<CustomConfigKeyT>(key), std::forward<CustomConfigValueT>(value));
94 m_layoutHasBeenSet =
true;
108 bool m_contentHasBeenSet =
false;
109 bool m_customConfigHasBeenSet =
false;
110 bool m_layoutHasBeenSet =
false;
AWS_PINPOINT_API InAppMessage(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetCustomConfig() const
AWS_PINPOINT_API InAppMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API InAppMessage()=default
InAppMessage & WithLayout(Layout value)
void SetLayout(Layout value)
void SetContent(ContentT &&value)
InAppMessage & AddCustomConfig(CustomConfigKeyT &&key, CustomConfigValueT &&value)
bool CustomConfigHasBeenSet() const
InAppMessage & AddContent(ContentT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
InAppMessage & WithCustomConfig(CustomConfigT &&value)
bool ContentHasBeenSet() const
const Aws::Vector< InAppMessageContent > & GetContent() const
InAppMessage & WithContent(ContentT &&value)
void SetCustomConfig(CustomConfigT &&value)
bool LayoutHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue