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>
44 template <
typename BodyT = Aws::String>
46 m_bodyHasBeenSet =
true;
47 m_body = std::forward<BodyT>(value);
49 template <
typename BodyT = Aws::String>
51 SetBody(std::forward<BodyT>(value));
62 template <
typename ContentT = Aws::Vector<InAppMessageContent>>
64 m_contentHasBeenSet =
true;
65 m_content = std::forward<ContentT>(value);
67 template <
typename ContentT = Aws::Vector<InAppMessageContent>>
72 template <
typename ContentT = InAppMessageContent>
74 m_contentHasBeenSet =
true;
75 m_content.emplace_back(std::forward<ContentT>(value));
86 template <
typename CustomConfigT = Aws::Map<Aws::String, Aws::String>>
88 m_customConfigHasBeenSet =
true;
89 m_customConfig = std::forward<CustomConfigT>(value);
91 template <
typename CustomConfigT = Aws::Map<Aws::String, Aws::String>>
96 template <
typename CustomConfigKeyT = Aws::String,
typename CustomConfigValueT = Aws::String>
98 m_customConfigHasBeenSet =
true;
99 m_customConfig.emplace(std::forward<CustomConfigKeyT>(key), std::forward<CustomConfigValueT>(value));
111 m_layoutHasBeenSet =
true;
127 bool m_bodyHasBeenSet =
false;
128 bool m_contentHasBeenSet =
false;
129 bool m_customConfigHasBeenSet =
false;
130 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