/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides all fields required for building an in-app message.See
* Also:
AWS
* API Reference
In-app message content.
*/ inline const Aws::VectorIn-app message content.
*/ inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } /** *In-app message content.
*/ inline void SetContent(const Aws::VectorIn-app message content.
*/ inline void SetContent(Aws::VectorIn-app message content.
*/ inline InAppMessage& WithContent(const Aws::VectorIn-app message content.
*/ inline InAppMessage& WithContent(Aws::VectorIn-app message content.
*/ inline InAppMessage& AddContent(const InAppMessageContent& value) { m_contentHasBeenSet = true; m_content.push_back(value); return *this; } /** *In-app message content.
*/ inline InAppMessage& AddContent(InAppMessageContent&& value) { m_contentHasBeenSet = true; m_content.push_back(std::move(value)); return *this; } /** *Custom config to be sent to SDK.
*/ inline const Aws::MapCustom config to be sent to SDK.
*/ inline bool CustomConfigHasBeenSet() const { return m_customConfigHasBeenSet; } /** *Custom config to be sent to SDK.
*/ inline void SetCustomConfig(const Aws::MapCustom config to be sent to SDK.
*/ inline void SetCustomConfig(Aws::MapCustom config to be sent to SDK.
*/ inline InAppMessage& WithCustomConfig(const Aws::MapCustom config to be sent to SDK.
*/ inline InAppMessage& WithCustomConfig(Aws::MapCustom config to be sent to SDK.
*/ inline InAppMessage& 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 SDK.
*/ inline InAppMessage& 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 SDK.
*/ inline InAppMessage& 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 SDK.
*/ inline InAppMessage& 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 SDK.
*/ inline InAppMessage& 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 SDK.
*/ inline InAppMessage& 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 SDK.
*/ inline InAppMessage& 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 InAppMessage& WithLayout(const Layout& value) { SetLayout(value); return *this;} /** *The layout of the message.
*/ inline InAppMessage& WithLayout(Layout&& value) { SetLayout(std::move(value)); return *this;} private: Aws::Vector