7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint/Pinpoint_EXPORTS.h>
9#include <aws/pinpoint/model/InAppMessageBodyConfig.h>
10#include <aws/pinpoint/model/InAppMessageButton.h>
11#include <aws/pinpoint/model/InAppMessageHeaderConfig.h>
43 template <
typename BackgroundColorT = Aws::String>
45 m_backgroundColorHasBeenSet =
true;
46 m_backgroundColor = std::forward<BackgroundColorT>(value);
48 template <
typename BackgroundColorT = Aws::String>
61 template <
typename BodyConfigT = InAppMessageBodyConfig>
63 m_bodyConfigHasBeenSet =
true;
64 m_bodyConfig = std::forward<BodyConfigT>(value);
66 template <
typename BodyConfigT = InAppMessageBodyConfig>
79 template <
typename HeaderConfigT = InAppMessageHeaderConfig>
81 m_headerConfigHasBeenSet =
true;
82 m_headerConfig = std::forward<HeaderConfigT>(value);
84 template <
typename HeaderConfigT = InAppMessageHeaderConfig>
97 template <
typename ImageUrlT = Aws::String>
99 m_imageUrlHasBeenSet =
true;
100 m_imageUrl = std::forward<ImageUrlT>(value);
102 template <
typename ImageUrlT = Aws::String>
115 template <
typename PrimaryBtnT = InAppMessageButton>
117 m_primaryBtnHasBeenSet =
true;
118 m_primaryBtn = std::forward<PrimaryBtnT>(value);
120 template <
typename PrimaryBtnT = InAppMessageButton>
133 template <
typename SecondaryBtnT = InAppMessageButton>
135 m_secondaryBtnHasBeenSet =
true;
136 m_secondaryBtn = std::forward<SecondaryBtnT>(value);
138 template <
typename SecondaryBtnT = InAppMessageButton>
156 bool m_backgroundColorHasBeenSet =
false;
157 bool m_bodyConfigHasBeenSet =
false;
158 bool m_headerConfigHasBeenSet =
false;
159 bool m_imageUrlHasBeenSet =
false;
160 bool m_primaryBtnHasBeenSet =
false;
161 bool m_secondaryBtnHasBeenSet =
false;
bool BodyConfigHasBeenSet() const
const Aws::String & GetImageUrl() const
const Aws::String & GetBackgroundColor() const
void SetSecondaryBtn(SecondaryBtnT &&value)
const InAppMessageHeaderConfig & GetHeaderConfig() const
AWS_PINPOINT_API InAppMessageContent & operator=(Aws::Utils::Json::JsonView jsonValue)
bool HeaderConfigHasBeenSet() const
void SetBackgroundColor(BackgroundColorT &&value)
InAppMessageContent & WithPrimaryBtn(PrimaryBtnT &&value)
InAppMessageContent & WithBodyConfig(BodyConfigT &&value)
InAppMessageContent & WithImageUrl(ImageUrlT &&value)
InAppMessageContent & WithBackgroundColor(BackgroundColorT &&value)
void SetBodyConfig(BodyConfigT &&value)
bool ImageUrlHasBeenSet() const
AWS_PINPOINT_API InAppMessageContent(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetHeaderConfig(HeaderConfigT &&value)
const InAppMessageButton & GetPrimaryBtn() const
InAppMessageContent & WithSecondaryBtn(SecondaryBtnT &&value)
bool SecondaryBtnHasBeenSet() const
void SetPrimaryBtn(PrimaryBtnT &&value)
const InAppMessageButton & GetSecondaryBtn() const
AWS_PINPOINT_API InAppMessageContent()=default
const InAppMessageBodyConfig & GetBodyConfig() const
bool BackgroundColorHasBeenSet() const
bool PrimaryBtnHasBeenSet() const
InAppMessageContent & WithHeaderConfig(HeaderConfigT &&value)
void SetImageUrl(ImageUrlT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue