/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Default button configuration.See Also:
AWS
* API Reference
The background color of the button.
*/ inline const Aws::String& GetBackgroundColor() const{ return m_backgroundColor; } /** *The background color of the button.
*/ inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; } /** *The background color of the button.
*/ inline void SetBackgroundColor(const Aws::String& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = value; } /** *The background color of the button.
*/ inline void SetBackgroundColor(Aws::String&& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = std::move(value); } /** *The background color of the button.
*/ inline void SetBackgroundColor(const char* value) { m_backgroundColorHasBeenSet = true; m_backgroundColor.assign(value); } /** *The background color of the button.
*/ inline DefaultButtonConfiguration& WithBackgroundColor(const Aws::String& value) { SetBackgroundColor(value); return *this;} /** *The background color of the button.
*/ inline DefaultButtonConfiguration& WithBackgroundColor(Aws::String&& value) { SetBackgroundColor(std::move(value)); return *this;} /** *The background color of the button.
*/ inline DefaultButtonConfiguration& WithBackgroundColor(const char* value) { SetBackgroundColor(value); return *this;} /** *The border radius of the button.
*/ inline int GetBorderRadius() const{ return m_borderRadius; } /** *The border radius of the button.
*/ inline bool BorderRadiusHasBeenSet() const { return m_borderRadiusHasBeenSet; } /** *The border radius of the button.
*/ inline void SetBorderRadius(int value) { m_borderRadiusHasBeenSet = true; m_borderRadius = value; } /** *The border radius of the button.
*/ inline DefaultButtonConfiguration& WithBorderRadius(int value) { SetBorderRadius(value); return *this;} /** *Action triggered by the button.
*/ inline const ButtonAction& GetButtonAction() const{ return m_buttonAction; } /** *Action triggered by the button.
*/ inline bool ButtonActionHasBeenSet() const { return m_buttonActionHasBeenSet; } /** *Action triggered by the button.
*/ inline void SetButtonAction(const ButtonAction& value) { m_buttonActionHasBeenSet = true; m_buttonAction = value; } /** *Action triggered by the button.
*/ inline void SetButtonAction(ButtonAction&& value) { m_buttonActionHasBeenSet = true; m_buttonAction = std::move(value); } /** *Action triggered by the button.
*/ inline DefaultButtonConfiguration& WithButtonAction(const ButtonAction& value) { SetButtonAction(value); return *this;} /** *Action triggered by the button.
*/ inline DefaultButtonConfiguration& WithButtonAction(ButtonAction&& value) { SetButtonAction(std::move(value)); return *this;} /** *Button destination.
*/ inline const Aws::String& GetLink() const{ return m_link; } /** *Button destination.
*/ inline bool LinkHasBeenSet() const { return m_linkHasBeenSet; } /** *Button destination.
*/ inline void SetLink(const Aws::String& value) { m_linkHasBeenSet = true; m_link = value; } /** *Button destination.
*/ inline void SetLink(Aws::String&& value) { m_linkHasBeenSet = true; m_link = std::move(value); } /** *Button destination.
*/ inline void SetLink(const char* value) { m_linkHasBeenSet = true; m_link.assign(value); } /** *Button destination.
*/ inline DefaultButtonConfiguration& WithLink(const Aws::String& value) { SetLink(value); return *this;} /** *Button destination.
*/ inline DefaultButtonConfiguration& WithLink(Aws::String&& value) { SetLink(std::move(value)); return *this;} /** *Button destination.
*/ inline DefaultButtonConfiguration& WithLink(const char* value) { SetLink(value); return *this;} /** *Button text.
*/ inline const Aws::String& GetText() const{ return m_text; } /** *Button text.
*/ inline bool TextHasBeenSet() const { return m_textHasBeenSet; } /** *Button text.
*/ inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; } /** *Button text.
*/ inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); } /** *Button text.
*/ inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); } /** *Button text.
*/ inline DefaultButtonConfiguration& WithText(const Aws::String& value) { SetText(value); return *this;} /** *Button text.
*/ inline DefaultButtonConfiguration& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;} /** *Button text.
*/ inline DefaultButtonConfiguration& WithText(const char* value) { SetText(value); return *this;} /** *The text color of the button.
*/ inline const Aws::String& GetTextColor() const{ return m_textColor; } /** *The text color of the button.
*/ inline bool TextColorHasBeenSet() const { return m_textColorHasBeenSet; } /** *The text color of the button.
*/ inline void SetTextColor(const Aws::String& value) { m_textColorHasBeenSet = true; m_textColor = value; } /** *The text color of the button.
*/ inline void SetTextColor(Aws::String&& value) { m_textColorHasBeenSet = true; m_textColor = std::move(value); } /** *The text color of the button.
*/ inline void SetTextColor(const char* value) { m_textColorHasBeenSet = true; m_textColor.assign(value); } /** *The text color of the button.
*/ inline DefaultButtonConfiguration& WithTextColor(const Aws::String& value) { SetTextColor(value); return *this;} /** *The text color of the button.
*/ inline DefaultButtonConfiguration& WithTextColor(Aws::String&& value) { SetTextColor(std::move(value)); return *this;} /** *The text color of the button.
*/ inline DefaultButtonConfiguration& WithTextColor(const char* value) { SetTextColor(value); return *this;} private: Aws::String m_backgroundColor; bool m_backgroundColorHasBeenSet = false; int m_borderRadius; bool m_borderRadiusHasBeenSet = false; ButtonAction m_buttonAction; bool m_buttonActionHasBeenSet = false; Aws::String m_link; bool m_linkHasBeenSet = false; Aws::String m_text; bool m_textHasBeenSet = false; Aws::String m_textColor; bool m_textColorHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws