/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ConnectCases { namespace Model { /** *

Content specific to BasicLayout type. It configures fields in * the top panel and More Info tab of agent application.

See Also:

* AWS * API Reference

*/ class BasicLayout { public: AWS_CONNECTCASES_API BasicLayout(); AWS_CONNECTCASES_API BasicLayout(Aws::Utils::Json::JsonView jsonValue); AWS_CONNECTCASES_API BasicLayout& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

This represents sections in a tab of the page layout.

*/ inline const LayoutSections& GetMoreInfo() const{ return m_moreInfo; } /** *

This represents sections in a tab of the page layout.

*/ inline bool MoreInfoHasBeenSet() const { return m_moreInfoHasBeenSet; } /** *

This represents sections in a tab of the page layout.

*/ inline void SetMoreInfo(const LayoutSections& value) { m_moreInfoHasBeenSet = true; m_moreInfo = value; } /** *

This represents sections in a tab of the page layout.

*/ inline void SetMoreInfo(LayoutSections&& value) { m_moreInfoHasBeenSet = true; m_moreInfo = std::move(value); } /** *

This represents sections in a tab of the page layout.

*/ inline BasicLayout& WithMoreInfo(const LayoutSections& value) { SetMoreInfo(value); return *this;} /** *

This represents sections in a tab of the page layout.

*/ inline BasicLayout& WithMoreInfo(LayoutSections&& value) { SetMoreInfo(std::move(value)); return *this;} /** *

This represents sections in a panel of the page layout.

*/ inline const LayoutSections& GetTopPanel() const{ return m_topPanel; } /** *

This represents sections in a panel of the page layout.

*/ inline bool TopPanelHasBeenSet() const { return m_topPanelHasBeenSet; } /** *

This represents sections in a panel of the page layout.

*/ inline void SetTopPanel(const LayoutSections& value) { m_topPanelHasBeenSet = true; m_topPanel = value; } /** *

This represents sections in a panel of the page layout.

*/ inline void SetTopPanel(LayoutSections&& value) { m_topPanelHasBeenSet = true; m_topPanel = std::move(value); } /** *

This represents sections in a panel of the page layout.

*/ inline BasicLayout& WithTopPanel(const LayoutSections& value) { SetTopPanel(value); return *this;} /** *

This represents sections in a panel of the page layout.

*/ inline BasicLayout& WithTopPanel(LayoutSections&& value) { SetTopPanel(std::move(value)); return *this;} private: LayoutSections m_moreInfo; bool m_moreInfoHasBeenSet = false; LayoutSections m_topPanel; bool m_topPanelHasBeenSet = false; }; } // namespace Model } // namespace ConnectCases } // namespace Aws