7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/pinpoint/model/Layout.h>
11#include <aws/pinpoint/model/InAppMessageContent.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
75 inline InAppMessage&
AddCustomConfig(
const char* key,
const char* value) { m_customConfigHasBeenSet =
true; m_customConfig.emplace(key, value);
return *
this; }
84 inline void SetLayout(
const Layout& value) { m_layoutHasBeenSet =
true; m_layout = value; }
85 inline void SetLayout(
Layout&& value) { m_layoutHasBeenSet =
true; m_layout = std::move(value); }
92 bool m_contentHasBeenSet =
false;
95 bool m_customConfigHasBeenSet =
false;
98 bool m_layoutHasBeenSet =
false;
InAppMessage & AddContent(InAppMessageContent &&value)
AWS_PINPOINT_API InAppMessage(Aws::Utils::Json::JsonView jsonValue)
InAppMessage & WithLayout(const Layout &value)
InAppMessage & WithContent(Aws::Vector< InAppMessageContent > &&value)
InAppMessage & AddCustomConfig(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetCustomConfig() const
AWS_PINPOINT_API InAppMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
InAppMessage & AddCustomConfig(const Aws::String &key, const Aws::String &value)
void SetLayout(const Layout &value)
InAppMessage & WithLayout(Layout &&value)
InAppMessage & WithContent(const Aws::Vector< InAppMessageContent > &value)
void SetContent(Aws::Vector< InAppMessageContent > &&value)
bool CustomConfigHasBeenSet() const
void SetCustomConfig(Aws::Map< Aws::String, Aws::String > &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
InAppMessage & AddContent(const InAppMessageContent &value)
InAppMessage & AddCustomConfig(Aws::String &&key, const Aws::String &value)
InAppMessage & AddCustomConfig(Aws::String &&key, const char *value)
AWS_PINPOINT_API InAppMessage()
InAppMessage & AddCustomConfig(Aws::String &&key, Aws::String &&value)
void SetContent(const Aws::Vector< InAppMessageContent > &value)
bool ContentHasBeenSet() const
void SetCustomConfig(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Vector< InAppMessageContent > & GetContent() const
InAppMessage & WithCustomConfig(const Aws::Map< Aws::String, Aws::String > &value)
InAppMessage & AddCustomConfig(const char *key, Aws::String &&value)
const Layout & GetLayout() const
void SetLayout(Layout &&value)
InAppMessage & WithCustomConfig(Aws::Map< Aws::String, Aws::String > &&value)
InAppMessage & AddCustomConfig(const Aws::String &key, Aws::String &&value)
bool LayoutHasBeenSet() const
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue