/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include InApp Template Request.See Also:
AWS
* API Reference
The content of the message, can include up to 5 modals. Each modal must * contain a message, a header, and background color. ImageUrl and buttons are * optional.
*/ inline const Aws::VectorThe content of the message, can include up to 5 modals. Each modal must * contain a message, a header, and background color. ImageUrl and buttons are * optional.
*/ inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } /** *The content of the message, can include up to 5 modals. Each modal must * contain a message, a header, and background color. ImageUrl and buttons are * optional.
*/ inline void SetContent(const Aws::VectorThe content of the message, can include up to 5 modals. Each modal must * contain a message, a header, and background color. ImageUrl and buttons are * optional.
*/ inline void SetContent(Aws::VectorThe content of the message, can include up to 5 modals. Each modal must * contain a message, a header, and background color. ImageUrl and buttons are * optional.
*/ inline InAppTemplateRequest& WithContent(const Aws::VectorThe content of the message, can include up to 5 modals. Each modal must * contain a message, a header, and background color. ImageUrl and buttons are * optional.
*/ inline InAppTemplateRequest& WithContent(Aws::VectorThe content of the message, can include up to 5 modals. Each modal must * contain a message, a header, and background color. ImageUrl and buttons are * optional.
*/ inline InAppTemplateRequest& AddContent(const InAppMessageContent& value) { m_contentHasBeenSet = true; m_content.push_back(value); return *this; } /** *The content of the message, can include up to 5 modals. Each modal must * contain a message, a header, and background color. ImageUrl and buttons are * optional.
*/ inline InAppTemplateRequest& AddContent(InAppMessageContent&& value) { m_contentHasBeenSet = true; m_content.push_back(std::move(value)); return *this; } /** *Custom config to be sent to client.
*/ inline const Aws::MapCustom config to be sent to client.
*/ inline bool CustomConfigHasBeenSet() const { return m_customConfigHasBeenSet; } /** *Custom config to be sent to client.
*/ inline void SetCustomConfig(const Aws::MapCustom config to be sent to client.
*/ inline void SetCustomConfig(Aws::MapCustom config to be sent to client.
*/ inline InAppTemplateRequest& WithCustomConfig(const Aws::MapCustom config to be sent to client.
*/ inline InAppTemplateRequest& WithCustomConfig(Aws::MapCustom config to be sent to client.
*/ inline InAppTemplateRequest& AddCustomConfig(const Aws::String& key, const Aws::String& value) { m_customConfigHasBeenSet = true; m_customConfig.emplace(key, value); return *this; } /** *Custom config to be sent to client.
*/ inline InAppTemplateRequest& AddCustomConfig(Aws::String&& key, const Aws::String& value) { m_customConfigHasBeenSet = true; m_customConfig.emplace(std::move(key), value); return *this; } /** *Custom config to be sent to client.
*/ inline InAppTemplateRequest& AddCustomConfig(const Aws::String& key, Aws::String&& value) { m_customConfigHasBeenSet = true; m_customConfig.emplace(key, std::move(value)); return *this; } /** *Custom config to be sent to client.
*/ inline InAppTemplateRequest& AddCustomConfig(Aws::String&& key, Aws::String&& value) { m_customConfigHasBeenSet = true; m_customConfig.emplace(std::move(key), std::move(value)); return *this; } /** *Custom config to be sent to client.
*/ inline InAppTemplateRequest& AddCustomConfig(const char* key, Aws::String&& value) { m_customConfigHasBeenSet = true; m_customConfig.emplace(key, std::move(value)); return *this; } /** *Custom config to be sent to client.
*/ inline InAppTemplateRequest& AddCustomConfig(Aws::String&& key, const char* value) { m_customConfigHasBeenSet = true; m_customConfig.emplace(std::move(key), value); return *this; } /** *Custom config to be sent to client.
*/ inline InAppTemplateRequest& AddCustomConfig(const char* key, const char* value) { m_customConfigHasBeenSet = true; m_customConfig.emplace(key, value); return *this; } /** *The layout of the message.
*/ inline const Layout& GetLayout() const{ return m_layout; } /** *The layout of the message.
*/ inline bool LayoutHasBeenSet() const { return m_layoutHasBeenSet; } /** *The layout of the message.
*/ inline void SetLayout(const Layout& value) { m_layoutHasBeenSet = true; m_layout = value; } /** *The layout of the message.
*/ inline void SetLayout(Layout&& value) { m_layoutHasBeenSet = true; m_layout = std::move(value); } /** *The layout of the message.
*/ inline InAppTemplateRequest& WithLayout(const Layout& value) { SetLayout(value); return *this;} /** *The layout of the message.
*/ inline InAppTemplateRequest& WithLayout(Layout&& value) { SetLayout(std::move(value)); return *this;} /** *As of 22-05-2023 tags has been deprecated for update operations. * After this date any value in tags is not processed and an error code is not * returned. To manage tags we recommend using either Tags * in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi * commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi * in the AWS SDK.
(Deprecated) A string-to-string map of * key-value pairs that defines the tags to associate with the message template. * Each tag consists of a required tag key and an associated tag value.
*/ inline const Aws::MapAs of 22-05-2023 tags has been deprecated for update operations. * After this date any value in tags is not processed and an error code is not * returned. To manage tags we recommend using either Tags * in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi * commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi * in the AWS SDK.
(Deprecated) A string-to-string map of * key-value pairs that defines the tags to associate with the message template. * Each tag consists of a required tag key and an associated tag value.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *As of 22-05-2023 tags has been deprecated for update operations. * After this date any value in tags is not processed and an error code is not * returned. To manage tags we recommend using either Tags * in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi * commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi * in the AWS SDK.
(Deprecated) A string-to-string map of * key-value pairs that defines the tags to associate with the message template. * Each tag consists of a required tag key and an associated tag value.
*/ inline void SetTags(const Aws::MapAs of 22-05-2023 tags has been deprecated for update operations. * After this date any value in tags is not processed and an error code is not * returned. To manage tags we recommend using either Tags * in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi * commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi * in the AWS SDK.
(Deprecated) A string-to-string map of * key-value pairs that defines the tags to associate with the message template. * Each tag consists of a required tag key and an associated tag value.
*/ inline void SetTags(Aws::MapAs of 22-05-2023 tags has been deprecated for update operations. * After this date any value in tags is not processed and an error code is not * returned. To manage tags we recommend using either Tags * in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi * commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi * in the AWS SDK.
(Deprecated) A string-to-string map of * key-value pairs that defines the tags to associate with the message template. * Each tag consists of a required tag key and an associated tag value.
*/ inline InAppTemplateRequest& WithTags(const Aws::MapAs of 22-05-2023 tags has been deprecated for update operations. * After this date any value in tags is not processed and an error code is not * returned. To manage tags we recommend using either Tags * in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi * commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi * in the AWS SDK.
(Deprecated) A string-to-string map of * key-value pairs that defines the tags to associate with the message template. * Each tag consists of a required tag key and an associated tag value.
*/ inline InAppTemplateRequest& WithTags(Aws::MapAs of 22-05-2023 tags has been deprecated for update operations. * After this date any value in tags is not processed and an error code is not * returned. To manage tags we recommend using either Tags * in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi * commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi * in the AWS SDK.
(Deprecated) A string-to-string map of * key-value pairs that defines the tags to associate with the message template. * Each tag consists of a required tag key and an associated tag value.
*/ inline InAppTemplateRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *As of 22-05-2023 tags has been deprecated for update operations. * After this date any value in tags is not processed and an error code is not * returned. To manage tags we recommend using either Tags * in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi * commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi * in the AWS SDK.
(Deprecated) A string-to-string map of * key-value pairs that defines the tags to associate with the message template. * Each tag consists of a required tag key and an associated tag value.
*/ inline InAppTemplateRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *As of 22-05-2023 tags has been deprecated for update operations. * After this date any value in tags is not processed and an error code is not * returned. To manage tags we recommend using either Tags * in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi * commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi * in the AWS SDK.
(Deprecated) A string-to-string map of * key-value pairs that defines the tags to associate with the message template. * Each tag consists of a required tag key and an associated tag value.
*/ inline InAppTemplateRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *As of 22-05-2023 tags has been deprecated for update operations. * After this date any value in tags is not processed and an error code is not * returned. To manage tags we recommend using either Tags * in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi * commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi * in the AWS SDK.
(Deprecated) A string-to-string map of * key-value pairs that defines the tags to associate with the message template. * Each tag consists of a required tag key and an associated tag value.
*/ inline InAppTemplateRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *As of 22-05-2023 tags has been deprecated for update operations. * After this date any value in tags is not processed and an error code is not * returned. To manage tags we recommend using either Tags * in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi * commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi * in the AWS SDK.
(Deprecated) A string-to-string map of * key-value pairs that defines the tags to associate with the message template. * Each tag consists of a required tag key and an associated tag value.
*/ inline InAppTemplateRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *As of 22-05-2023 tags has been deprecated for update operations. * After this date any value in tags is not processed and an error code is not * returned. To manage tags we recommend using either Tags * in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi * commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi * in the AWS SDK.
(Deprecated) A string-to-string map of * key-value pairs that defines the tags to associate with the message template. * Each tag consists of a required tag key and an associated tag value.
*/ inline InAppTemplateRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *As of 22-05-2023 tags has been deprecated for update operations. * After this date any value in tags is not processed and an error code is not * returned. To manage tags we recommend using either Tags * in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi * commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi * in the AWS SDK.
(Deprecated) A string-to-string map of * key-value pairs that defines the tags to associate with the message template. * Each tag consists of a required tag key and an associated tag value.
*/ inline InAppTemplateRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The description of the template.
*/ inline const Aws::String& GetTemplateDescription() const{ return m_templateDescription; } /** *The description of the template.
*/ inline bool TemplateDescriptionHasBeenSet() const { return m_templateDescriptionHasBeenSet; } /** *The description of the template.
*/ inline void SetTemplateDescription(const Aws::String& value) { m_templateDescriptionHasBeenSet = true; m_templateDescription = value; } /** *The description of the template.
*/ inline void SetTemplateDescription(Aws::String&& value) { m_templateDescriptionHasBeenSet = true; m_templateDescription = std::move(value); } /** *The description of the template.
*/ inline void SetTemplateDescription(const char* value) { m_templateDescriptionHasBeenSet = true; m_templateDescription.assign(value); } /** *The description of the template.
*/ inline InAppTemplateRequest& WithTemplateDescription(const Aws::String& value) { SetTemplateDescription(value); return *this;} /** *The description of the template.
*/ inline InAppTemplateRequest& WithTemplateDescription(Aws::String&& value) { SetTemplateDescription(std::move(value)); return *this;} /** *The description of the template.
*/ inline InAppTemplateRequest& WithTemplateDescription(const char* value) { SetTemplateDescription(value); return *this;} private: Aws::Vector