/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include In-App Template Response.See Also:
AWS
* API Reference
The resource arn of the template.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The resource arn of the template.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The resource arn of the template.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The resource arn of the template.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The resource arn of the template.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The resource arn of the template.
*/ inline InAppTemplateResponse& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The resource arn of the template.
*/ inline InAppTemplateResponse& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The resource arn of the template.
*/ inline InAppTemplateResponse& WithArn(const char* value) { SetArn(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 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 InAppTemplateResponse& 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 InAppTemplateResponse& 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 InAppTemplateResponse& 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 InAppTemplateResponse& AddContent(InAppMessageContent&& value) { m_contentHasBeenSet = true; m_content.push_back(std::move(value)); return *this; } /** *The creation date of the template.
*/ inline const Aws::String& GetCreationDate() const{ return m_creationDate; } /** *The creation date of the template.
*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *The creation date of the template.
*/ inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *The creation date of the template.
*/ inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *The creation date of the template.
*/ inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); } /** *The creation date of the template.
*/ inline InAppTemplateResponse& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;} /** *The creation date of the template.
*/ inline InAppTemplateResponse& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;} /** *The creation date of the template.
*/ inline InAppTemplateResponse& WithCreationDate(const char* value) { SetCreationDate(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 InAppTemplateResponse& WithCustomConfig(const Aws::MapCustom config to be sent to client.
*/ inline InAppTemplateResponse& WithCustomConfig(Aws::MapCustom config to be sent to client.
*/ inline InAppTemplateResponse& 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 InAppTemplateResponse& 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 InAppTemplateResponse& 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 InAppTemplateResponse& 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 InAppTemplateResponse& 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 InAppTemplateResponse& 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 InAppTemplateResponse& AddCustomConfig(const char* key, const char* value) { m_customConfigHasBeenSet = true; m_customConfig.emplace(key, value); return *this; } /** *The last modified date of the template.
*/ inline const Aws::String& GetLastModifiedDate() const{ return m_lastModifiedDate; } /** *The last modified date of the template.
*/ inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; } /** *The last modified date of the template.
*/ inline void SetLastModifiedDate(const Aws::String& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; } /** *The last modified date of the template.
*/ inline void SetLastModifiedDate(Aws::String&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); } /** *The last modified date of the template.
*/ inline void SetLastModifiedDate(const char* value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate.assign(value); } /** *The last modified date of the template.
*/ inline InAppTemplateResponse& WithLastModifiedDate(const Aws::String& value) { SetLastModifiedDate(value); return *this;} /** *The last modified date of the template.
*/ inline InAppTemplateResponse& WithLastModifiedDate(Aws::String&& value) { SetLastModifiedDate(std::move(value)); return *this;} /** *The last modified date of the template.
*/ inline InAppTemplateResponse& WithLastModifiedDate(const char* value) { SetLastModifiedDate(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 InAppTemplateResponse& WithLayout(const Layout& value) { SetLayout(value); return *this;} /** *The layout of the message.
*/ inline InAppTemplateResponse& WithLayout(Layout&& value) { SetLayout(std::move(value)); return *this;} /** *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::MapA 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; } /** *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::MapA 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::MapA 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 InAppTemplateResponse& WithTags(const Aws::MapA 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 InAppTemplateResponse& WithTags(Aws::MapA 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 InAppTemplateResponse& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *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 InAppTemplateResponse& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *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 InAppTemplateResponse& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *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 InAppTemplateResponse& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *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 InAppTemplateResponse& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *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 InAppTemplateResponse& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *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 InAppTemplateResponse& 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 InAppTemplateResponse& WithTemplateDescription(const Aws::String& value) { SetTemplateDescription(value); return *this;} /** *The description of the template.
*/ inline InAppTemplateResponse& WithTemplateDescription(Aws::String&& value) { SetTemplateDescription(std::move(value)); return *this;} /** *The description of the template.
*/ inline InAppTemplateResponse& WithTemplateDescription(const char* value) { SetTemplateDescription(value); return *this;} /** *The name of the template.
*/ inline const Aws::String& GetTemplateName() const{ return m_templateName; } /** *The name of the template.
*/ inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; } /** *The name of the template.
*/ inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; } /** *The name of the template.
*/ inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); } /** *The name of the template.
*/ inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); } /** *The name of the template.
*/ inline InAppTemplateResponse& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;} /** *The name of the template.
*/ inline InAppTemplateResponse& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;} /** *The name of the template.
*/ inline InAppTemplateResponse& WithTemplateName(const char* value) { SetTemplateName(value); return *this;} /** *The type of the template.
*/ inline const TemplateType& GetTemplateType() const{ return m_templateType; } /** *The type of the template.
*/ inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; } /** *The type of the template.
*/ inline void SetTemplateType(const TemplateType& value) { m_templateTypeHasBeenSet = true; m_templateType = value; } /** *The type of the template.
*/ inline void SetTemplateType(TemplateType&& value) { m_templateTypeHasBeenSet = true; m_templateType = std::move(value); } /** *The type of the template.
*/ inline InAppTemplateResponse& WithTemplateType(const TemplateType& value) { SetTemplateType(value); return *this;} /** *The type of the template.
*/ inline InAppTemplateResponse& WithTemplateType(TemplateType&& value) { SetTemplateType(std::move(value)); return *this;} /** *The version id of the template.
*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *The version id of the template.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The version id of the template.
*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *The version id of the template.
*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *The version id of the template.
*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *The version id of the template.
*/ inline InAppTemplateResponse& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *The version id of the template.
*/ inline InAppTemplateResponse& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *The version id of the template.
*/ inline InAppTemplateResponse& WithVersion(const char* value) { SetVersion(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Vector