AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
BasicLayout.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/connectcases/model/LayoutSections.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ConnectCases {
20namespace Model {
21
30 public:
31 AWS_CONNECTCASES_API BasicLayout() = default;
32 AWS_CONNECTCASES_API BasicLayout(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECTCASES_API BasicLayout& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const LayoutSections& GetTopPanel() const { return m_topPanel; }
41 inline bool TopPanelHasBeenSet() const { return m_topPanelHasBeenSet; }
42 template <typename TopPanelT = LayoutSections>
43 void SetTopPanel(TopPanelT&& value) {
44 m_topPanelHasBeenSet = true;
45 m_topPanel = std::forward<TopPanelT>(value);
46 }
47 template <typename TopPanelT = LayoutSections>
48 BasicLayout& WithTopPanel(TopPanelT&& value) {
49 SetTopPanel(std::forward<TopPanelT>(value));
50 return *this;
51 }
53
55
58 inline const LayoutSections& GetMoreInfo() const { return m_moreInfo; }
59 inline bool MoreInfoHasBeenSet() const { return m_moreInfoHasBeenSet; }
60 template <typename MoreInfoT = LayoutSections>
61 void SetMoreInfo(MoreInfoT&& value) {
62 m_moreInfoHasBeenSet = true;
63 m_moreInfo = std::forward<MoreInfoT>(value);
64 }
65 template <typename MoreInfoT = LayoutSections>
66 BasicLayout& WithMoreInfo(MoreInfoT&& value) {
67 SetMoreInfo(std::forward<MoreInfoT>(value));
68 return *this;
69 }
71 private:
72 LayoutSections m_topPanel;
73
74 LayoutSections m_moreInfo;
75 bool m_topPanelHasBeenSet = false;
76 bool m_moreInfoHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace ConnectCases
81} // namespace Aws
AWS_CONNECTCASES_API BasicLayout & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMoreInfo(MoreInfoT &&value)
Definition BasicLayout.h:61
AWS_CONNECTCASES_API BasicLayout(Aws::Utils::Json::JsonView jsonValue)
void SetTopPanel(TopPanelT &&value)
Definition BasicLayout.h:43
AWS_CONNECTCASES_API BasicLayout()=default
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const
const LayoutSections & GetMoreInfo() const
Definition BasicLayout.h:58
BasicLayout & WithTopPanel(TopPanelT &&value)
Definition BasicLayout.h:48
BasicLayout & WithMoreInfo(MoreInfoT &&value)
Definition BasicLayout.h:66
const LayoutSections & GetTopPanel() const
Definition BasicLayout.h:40
Aws::Utils::Json::JsonValue JsonValue