7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/model/InAppMessageBodyConfig.h>
10#include <aws/pinpoint/model/InAppMessageHeaderConfig.h>
11#include <aws/pinpoint/model/InAppMessageButton.h>
49 template<
typename BackgroundColorT = Aws::String>
50 void SetBackgroundColor(BackgroundColorT&& value) { m_backgroundColorHasBeenSet =
true; m_backgroundColor = std::forward<BackgroundColorT>(value); }
51 template<
typename BackgroundColorT = Aws::String>
61 template<
typename BodyConfigT = InAppMessageBodyConfig>
62 void SetBodyConfig(BodyConfigT&& value) { m_bodyConfigHasBeenSet =
true; m_bodyConfig = std::forward<BodyConfigT>(value); }
63 template<
typename BodyConfigT = InAppMessageBodyConfig>
73 template<
typename HeaderConfigT = InAppMessageHeaderConfig>
74 void SetHeaderConfig(HeaderConfigT&& value) { m_headerConfigHasBeenSet =
true; m_headerConfig = std::forward<HeaderConfigT>(value); }
75 template<
typename HeaderConfigT = InAppMessageHeaderConfig>
85 template<
typename ImageUrlT = Aws::String>
86 void SetImageUrl(ImageUrlT&& value) { m_imageUrlHasBeenSet =
true; m_imageUrl = std::forward<ImageUrlT>(value); }
87 template<
typename ImageUrlT = Aws::String>
97 template<
typename PrimaryBtnT = InAppMessageButton>
98 void SetPrimaryBtn(PrimaryBtnT&& value) { m_primaryBtnHasBeenSet =
true; m_primaryBtn = std::forward<PrimaryBtnT>(value); }
99 template<
typename PrimaryBtnT = InAppMessageButton>
109 template<
typename SecondaryBtnT = InAppMessageButton>
110 void SetSecondaryBtn(SecondaryBtnT&& value) { m_secondaryBtnHasBeenSet =
true; m_secondaryBtn = std::forward<SecondaryBtnT>(value); }
111 template<
typename SecondaryBtnT = InAppMessageButton>
117 bool m_backgroundColorHasBeenSet =
false;
120 bool m_bodyConfigHasBeenSet =
false;
123 bool m_headerConfigHasBeenSet =
false;
126 bool m_imageUrlHasBeenSet =
false;
129 bool m_primaryBtnHasBeenSet =
false;
132 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