/** * 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 { /** *

Object to store union of different versions of layout content.

See * Also:

AWS * API Reference

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

Content specific to BasicLayout type. It configures fields in * the top panel and More Info tab of Cases user interface.

*/ inline const BasicLayout& GetBasic() const{ return m_basic; } /** *

Content specific to BasicLayout type. It configures fields in * the top panel and More Info tab of Cases user interface.

*/ inline bool BasicHasBeenSet() const { return m_basicHasBeenSet; } /** *

Content specific to BasicLayout type. It configures fields in * the top panel and More Info tab of Cases user interface.

*/ inline void SetBasic(const BasicLayout& value) { m_basicHasBeenSet = true; m_basic = value; } /** *

Content specific to BasicLayout type. It configures fields in * the top panel and More Info tab of Cases user interface.

*/ inline void SetBasic(BasicLayout&& value) { m_basicHasBeenSet = true; m_basic = std::move(value); } /** *

Content specific to BasicLayout type. It configures fields in * the top panel and More Info tab of Cases user interface.

*/ inline LayoutContent& WithBasic(const BasicLayout& value) { SetBasic(value); return *this;} /** *

Content specific to BasicLayout type. It configures fields in * the top panel and More Info tab of Cases user interface.

*/ inline LayoutContent& WithBasic(BasicLayout&& value) { SetBasic(std::move(value)); return *this;} private: BasicLayout m_basic; bool m_basicHasBeenSet = false; }; } // namespace Model } // namespace ConnectCases } // namespace Aws