7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/pinpoint/model/Layout.h>
12#include <aws/pinpoint/model/InAppMessageContent.h>
52 inline void SetBody(
const char* value) { m_bodyHasBeenSet =
true; m_body.assign(value); }
97 inline void SetLayout(
const Layout& value) { m_layoutHasBeenSet =
true; m_layout = value; }
98 inline void SetLayout(
Layout&& value) { m_layoutHasBeenSet =
true; m_layout = std::move(value); }
105 bool m_bodyHasBeenSet =
false;
108 bool m_contentHasBeenSet =
false;
111 bool m_customConfigHasBeenSet =
false;
114 bool m_layoutHasBeenSet =
false;
CampaignInAppMessage & WithLayout(Layout &&value)
CampaignInAppMessage & WithLayout(const Layout &value)
void SetBody(const char *value)
CampaignInAppMessage & WithBody(const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
CampaignInAppMessage & WithCustomConfig(Aws::Map< Aws::String, Aws::String > &&value)
AWS_PINPOINT_API CampaignInAppMessage()
void SetCustomConfig(const Aws::Map< Aws::String, Aws::String > &value)
void SetLayout(const Layout &value)
bool LayoutHasBeenSet() const
bool CustomConfigHasBeenSet() const
bool ContentHasBeenSet() const
void SetBody(Aws::String &&value)
CampaignInAppMessage & AddCustomConfig(Aws::String &&key, const char *value)
AWS_PINPOINT_API CampaignInAppMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
CampaignInAppMessage & WithContent(const Aws::Vector< InAppMessageContent > &value)
const Aws::String & GetBody() const
const Aws::Map< Aws::String, Aws::String > & GetCustomConfig() const
CampaignInAppMessage & AddCustomConfig(Aws::String &&key, Aws::String &&value)
const Layout & GetLayout() const
CampaignInAppMessage & AddCustomConfig(const Aws::String &key, Aws::String &&value)
CampaignInAppMessage & AddCustomConfig(const Aws::String &key, const Aws::String &value)
CampaignInAppMessage & WithBody(Aws::String &&value)
void SetBody(const Aws::String &value)
const Aws::Vector< InAppMessageContent > & GetContent() const
AWS_PINPOINT_API CampaignInAppMessage(Aws::Utils::Json::JsonView jsonValue)
CampaignInAppMessage & AddCustomConfig(const char *key, Aws::String &&value)
void SetContent(const Aws::Vector< InAppMessageContent > &value)
void SetCustomConfig(Aws::Map< Aws::String, Aws::String > &&value)
CampaignInAppMessage & AddContent(InAppMessageContent &&value)
CampaignInAppMessage & WithBody(const char *value)
void SetContent(Aws::Vector< InAppMessageContent > &&value)
void SetLayout(Layout &&value)
CampaignInAppMessage & AddCustomConfig(const char *key, const char *value)
CampaignInAppMessage & AddCustomConfig(Aws::String &&key, const Aws::String &value)
CampaignInAppMessage & WithCustomConfig(const Aws::Map< Aws::String, Aws::String > &value)
CampaignInAppMessage & WithContent(Aws::Vector< InAppMessageContent > &&value)
CampaignInAppMessage & AddContent(const InAppMessageContent &value)
bool BodyHasBeenSet() 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