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>
51 inline void SetBackgroundColor(
const char* value) { m_backgroundColorHasBeenSet =
true; m_backgroundColor.assign(value); }
89 inline void SetImageUrl(
const char* value) { m_imageUrlHasBeenSet =
true; m_imageUrl.assign(value); }
121 bool m_backgroundColorHasBeenSet =
false;
124 bool m_bodyConfigHasBeenSet =
false;
127 bool m_headerConfigHasBeenSet =
false;
130 bool m_imageUrlHasBeenSet =
false;
133 bool m_primaryBtnHasBeenSet =
false;
136 bool m_secondaryBtnHasBeenSet =
false;
bool BodyConfigHasBeenSet() const
void SetBodyConfig(InAppMessageBodyConfig &&value)
void SetSecondaryBtn(InAppMessageButton &&value)
void SetBackgroundColor(const char *value)
const Aws::String & GetImageUrl() const
const Aws::String & GetBackgroundColor() const
void SetBackgroundColor(Aws::String &&value)
InAppMessageContent & WithImageUrl(const char *value)
const InAppMessageHeaderConfig & GetHeaderConfig() const
InAppMessageContent & WithBodyConfig(InAppMessageBodyConfig &&value)
AWS_PINPOINT_API InAppMessageContent & operator=(Aws::Utils::Json::JsonView jsonValue)
InAppMessageContent & WithBodyConfig(const InAppMessageBodyConfig &value)
void SetHeaderConfig(const InAppMessageHeaderConfig &value)
bool HeaderConfigHasBeenSet() const
InAppMessageContent & WithSecondaryBtn(const InAppMessageButton &value)
void SetSecondaryBtn(const InAppMessageButton &value)
InAppMessageContent & WithSecondaryBtn(InAppMessageButton &&value)
InAppMessageContent & WithImageUrl(Aws::String &&value)
InAppMessageContent & WithHeaderConfig(InAppMessageHeaderConfig &&value)
AWS_PINPOINT_API InAppMessageContent()
void SetPrimaryBtn(const InAppMessageButton &value)
InAppMessageContent & WithPrimaryBtn(InAppMessageButton &&value)
InAppMessageContent & WithPrimaryBtn(const InAppMessageButton &value)
InAppMessageContent & WithBackgroundColor(const char *value)
InAppMessageContent & WithBackgroundColor(Aws::String &&value)
void SetHeaderConfig(InAppMessageHeaderConfig &&value)
bool ImageUrlHasBeenSet() const
AWS_PINPOINT_API InAppMessageContent(Aws::Utils::Json::JsonView jsonValue)
InAppMessageContent & WithBackgroundColor(const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const InAppMessageButton & GetPrimaryBtn() const
bool SecondaryBtnHasBeenSet() const
void SetBodyConfig(const InAppMessageBodyConfig &value)
const InAppMessageButton & GetSecondaryBtn() const
void SetBackgroundColor(const Aws::String &value)
const InAppMessageBodyConfig & GetBodyConfig() const
void SetImageUrl(Aws::String &&value)
InAppMessageContent & WithHeaderConfig(const InAppMessageHeaderConfig &value)
bool BackgroundColorHasBeenSet() const
void SetImageUrl(const Aws::String &value)
InAppMessageContent & WithImageUrl(const Aws::String &value)
bool PrimaryBtnHasBeenSet() const
void SetImageUrl(const char *value)
void SetPrimaryBtn(InAppMessageButton &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue