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>
50 template<
typename BodyT = Aws::String>
51 void SetBody(BodyT&& value) { m_bodyHasBeenSet =
true; m_body = std::forward<BodyT>(value); }
52 template<
typename BodyT = Aws::String>
62 template<
typename ContentT = Aws::Vector<InAppMessageContent>>
63 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
64 template<
typename ContentT = Aws::Vector<InAppMessageContent>>
66 template<
typename ContentT = InAppMessageContent>
76 template<
typename CustomConfigT = Aws::Map<Aws::String, Aws::String>>
77 void SetCustomConfig(CustomConfigT&& value) { m_customConfigHasBeenSet =
true; m_customConfig = std::forward<CustomConfigT>(value); }
78 template<
typename CustomConfigT = Aws::Map<Aws::String, Aws::String>>
80 template<
typename CustomConfigKeyT = Aws::String,
typename CustomConfigValueT = Aws::String>
82 m_customConfigHasBeenSet =
true; m_customConfig.emplace(std::forward<CustomConfigKeyT>(key), std::forward<CustomConfigValueT>(value));
return *
this;
92 inline void SetLayout(
Layout value) { m_layoutHasBeenSet =
true; m_layout = value; }
98 bool m_bodyHasBeenSet =
false;
101 bool m_contentHasBeenSet =
false;
104 bool m_customConfigHasBeenSet =
false;
107 bool m_layoutHasBeenSet =
false;
CampaignInAppMessage & WithLayout(Layout value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
CampaignInAppMessage & WithCustomConfig(CustomConfigT &&value)
void SetCustomConfig(CustomConfigT &&value)
bool LayoutHasBeenSet() const
bool CustomConfigHasBeenSet() const
bool ContentHasBeenSet() const
void SetBody(BodyT &&value)
AWS_PINPOINT_API CampaignInAppMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBody() const
const Aws::Map< Aws::String, Aws::String > & GetCustomConfig() const
void SetContent(ContentT &&value)
const Aws::Vector< InAppMessageContent > & GetContent() const
AWS_PINPOINT_API CampaignInAppMessage(Aws::Utils::Json::JsonView jsonValue)
CampaignInAppMessage & AddCustomConfig(CustomConfigKeyT &&key, CustomConfigValueT &&value)
CampaignInAppMessage & AddContent(ContentT &&value)
CampaignInAppMessage & WithBody(BodyT &&value)
AWS_PINPOINT_API CampaignInAppMessage()=default
CampaignInAppMessage & WithContent(ContentT &&value)
void SetLayout(Layout 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