/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The configuration for the message content.See Also:
AWS
* API Reference
The background color for the message.
*/ inline const Aws::String& GetBackgroundColor() const{ return m_backgroundColor; } /** *The background color for the message.
*/ inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; } /** *The background color for the message.
*/ inline void SetBackgroundColor(const Aws::String& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = value; } /** *The background color for the message.
*/ inline void SetBackgroundColor(Aws::String&& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = std::move(value); } /** *The background color for the message.
*/ inline void SetBackgroundColor(const char* value) { m_backgroundColorHasBeenSet = true; m_backgroundColor.assign(value); } /** *The background color for the message.
*/ inline InAppMessageContent& WithBackgroundColor(const Aws::String& value) { SetBackgroundColor(value); return *this;} /** *The background color for the message.
*/ inline InAppMessageContent& WithBackgroundColor(Aws::String&& value) { SetBackgroundColor(std::move(value)); return *this;} /** *The background color for the message.
*/ inline InAppMessageContent& WithBackgroundColor(const char* value) { SetBackgroundColor(value); return *this;} /** *The configuration for the message body.
*/ inline const InAppMessageBodyConfig& GetBodyConfig() const{ return m_bodyConfig; } /** *The configuration for the message body.
*/ inline bool BodyConfigHasBeenSet() const { return m_bodyConfigHasBeenSet; } /** *The configuration for the message body.
*/ inline void SetBodyConfig(const InAppMessageBodyConfig& value) { m_bodyConfigHasBeenSet = true; m_bodyConfig = value; } /** *The configuration for the message body.
*/ inline void SetBodyConfig(InAppMessageBodyConfig&& value) { m_bodyConfigHasBeenSet = true; m_bodyConfig = std::move(value); } /** *The configuration for the message body.
*/ inline InAppMessageContent& WithBodyConfig(const InAppMessageBodyConfig& value) { SetBodyConfig(value); return *this;} /** *The configuration for the message body.
*/ inline InAppMessageContent& WithBodyConfig(InAppMessageBodyConfig&& value) { SetBodyConfig(std::move(value)); return *this;} /** *The configuration for the message header.
*/ inline const InAppMessageHeaderConfig& GetHeaderConfig() const{ return m_headerConfig; } /** *The configuration for the message header.
*/ inline bool HeaderConfigHasBeenSet() const { return m_headerConfigHasBeenSet; } /** *The configuration for the message header.
*/ inline void SetHeaderConfig(const InAppMessageHeaderConfig& value) { m_headerConfigHasBeenSet = true; m_headerConfig = value; } /** *The configuration for the message header.
*/ inline void SetHeaderConfig(InAppMessageHeaderConfig&& value) { m_headerConfigHasBeenSet = true; m_headerConfig = std::move(value); } /** *The configuration for the message header.
*/ inline InAppMessageContent& WithHeaderConfig(const InAppMessageHeaderConfig& value) { SetHeaderConfig(value); return *this;} /** *The configuration for the message header.
*/ inline InAppMessageContent& WithHeaderConfig(InAppMessageHeaderConfig&& value) { SetHeaderConfig(std::move(value)); return *this;} /** *The image url for the background of message.
*/ inline const Aws::String& GetImageUrl() const{ return m_imageUrl; } /** *The image url for the background of message.
*/ inline bool ImageUrlHasBeenSet() const { return m_imageUrlHasBeenSet; } /** *The image url for the background of message.
*/ inline void SetImageUrl(const Aws::String& value) { m_imageUrlHasBeenSet = true; m_imageUrl = value; } /** *The image url for the background of message.
*/ inline void SetImageUrl(Aws::String&& value) { m_imageUrlHasBeenSet = true; m_imageUrl = std::move(value); } /** *The image url for the background of message.
*/ inline void SetImageUrl(const char* value) { m_imageUrlHasBeenSet = true; m_imageUrl.assign(value); } /** *The image url for the background of message.
*/ inline InAppMessageContent& WithImageUrl(const Aws::String& value) { SetImageUrl(value); return *this;} /** *The image url for the background of message.
*/ inline InAppMessageContent& WithImageUrl(Aws::String&& value) { SetImageUrl(std::move(value)); return *this;} /** *The image url for the background of message.
*/ inline InAppMessageContent& WithImageUrl(const char* value) { SetImageUrl(value); return *this;} /** *The first button inside the message.
*/ inline const InAppMessageButton& GetPrimaryBtn() const{ return m_primaryBtn; } /** *The first button inside the message.
*/ inline bool PrimaryBtnHasBeenSet() const { return m_primaryBtnHasBeenSet; } /** *The first button inside the message.
*/ inline void SetPrimaryBtn(const InAppMessageButton& value) { m_primaryBtnHasBeenSet = true; m_primaryBtn = value; } /** *The first button inside the message.
*/ inline void SetPrimaryBtn(InAppMessageButton&& value) { m_primaryBtnHasBeenSet = true; m_primaryBtn = std::move(value); } /** *The first button inside the message.
*/ inline InAppMessageContent& WithPrimaryBtn(const InAppMessageButton& value) { SetPrimaryBtn(value); return *this;} /** *The first button inside the message.
*/ inline InAppMessageContent& WithPrimaryBtn(InAppMessageButton&& value) { SetPrimaryBtn(std::move(value)); return *this;} /** *The second button inside message.
*/ inline const InAppMessageButton& GetSecondaryBtn() const{ return m_secondaryBtn; } /** *The second button inside message.
*/ inline bool SecondaryBtnHasBeenSet() const { return m_secondaryBtnHasBeenSet; } /** *The second button inside message.
*/ inline void SetSecondaryBtn(const InAppMessageButton& value) { m_secondaryBtnHasBeenSet = true; m_secondaryBtn = value; } /** *The second button inside message.
*/ inline void SetSecondaryBtn(InAppMessageButton&& value) { m_secondaryBtnHasBeenSet = true; m_secondaryBtn = std::move(value); } /** *The second button inside message.
*/ inline InAppMessageContent& WithSecondaryBtn(const InAppMessageButton& value) { SetSecondaryBtn(value); return *this;} /** *The second button inside message.
*/ inline InAppMessageContent& WithSecondaryBtn(InAppMessageButton&& value) { SetSecondaryBtn(std::move(value)); return *this;} private: Aws::String m_backgroundColor; bool m_backgroundColorHasBeenSet = false; InAppMessageBodyConfig m_bodyConfig; bool m_bodyConfigHasBeenSet = false; InAppMessageHeaderConfig m_headerConfig; bool m_headerConfigHasBeenSet = false; Aws::String m_imageUrl; bool m_imageUrlHasBeenSet = false; InAppMessageButton m_primaryBtn; bool m_primaryBtnHasBeenSet = false; InAppMessageButton m_secondaryBtn; bool m_secondaryBtnHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws