AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SectionalElement.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/amplifyuibuilder/model/FieldPosition.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AmplifyUIBuilder
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_AMPLIFYUIBUILDER_API SectionalElement();
38 AWS_AMPLIFYUIBUILDER_API SectionalElement(Aws::Utils::Json::JsonView jsonValue);
39 AWS_AMPLIFYUIBUILDER_API SectionalElement& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetType() const{ return m_type; }
49 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
50 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
51 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
52 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
53 inline SectionalElement& WithType(const Aws::String& value) { SetType(value); return *this;}
54 inline SectionalElement& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
55 inline SectionalElement& WithType(const char* value) { SetType(value); return *this;}
57
59
63 inline const FieldPosition& GetPosition() const{ return m_position; }
64 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
65 inline void SetPosition(const FieldPosition& value) { m_positionHasBeenSet = true; m_position = value; }
66 inline void SetPosition(FieldPosition&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
67 inline SectionalElement& WithPosition(const FieldPosition& value) { SetPosition(value); return *this;}
68 inline SectionalElement& WithPosition(FieldPosition&& value) { SetPosition(std::move(value)); return *this;}
70
72
75 inline const Aws::String& GetText() const{ return m_text; }
76 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
77 inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; }
78 inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); }
79 inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); }
80 inline SectionalElement& WithText(const Aws::String& value) { SetText(value); return *this;}
81 inline SectionalElement& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;}
82 inline SectionalElement& WithText(const char* value) { SetText(value); return *this;}
84
86
90 inline int GetLevel() const{ return m_level; }
91 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
92 inline void SetLevel(int value) { m_levelHasBeenSet = true; m_level = value; }
93 inline SectionalElement& WithLevel(int value) { SetLevel(value); return *this;}
95
97
101 inline const Aws::String& GetOrientation() const{ return m_orientation; }
102 inline bool OrientationHasBeenSet() const { return m_orientationHasBeenSet; }
103 inline void SetOrientation(const Aws::String& value) { m_orientationHasBeenSet = true; m_orientation = value; }
104 inline void SetOrientation(Aws::String&& value) { m_orientationHasBeenSet = true; m_orientation = std::move(value); }
105 inline void SetOrientation(const char* value) { m_orientationHasBeenSet = true; m_orientation.assign(value); }
106 inline SectionalElement& WithOrientation(const Aws::String& value) { SetOrientation(value); return *this;}
107 inline SectionalElement& WithOrientation(Aws::String&& value) { SetOrientation(std::move(value)); return *this;}
108 inline SectionalElement& WithOrientation(const char* value) { SetOrientation(value); return *this;}
110
112
116 inline bool GetExcluded() const{ return m_excluded; }
117 inline bool ExcludedHasBeenSet() const { return m_excludedHasBeenSet; }
118 inline void SetExcluded(bool value) { m_excludedHasBeenSet = true; m_excluded = value; }
119 inline SectionalElement& WithExcluded(bool value) { SetExcluded(value); return *this;}
121 private:
122
123 Aws::String m_type;
124 bool m_typeHasBeenSet = false;
125
126 FieldPosition m_position;
127 bool m_positionHasBeenSet = false;
128
129 Aws::String m_text;
130 bool m_textHasBeenSet = false;
131
132 int m_level;
133 bool m_levelHasBeenSet = false;
134
135 Aws::String m_orientation;
136 bool m_orientationHasBeenSet = false;
137
138 bool m_excluded;
139 bool m_excludedHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace AmplifyUIBuilder
144} // namespace Aws
SectionalElement & WithText(const Aws::String &value)
SectionalElement & WithPosition(FieldPosition &&value)
SectionalElement & WithOrientation(const Aws::String &value)
SectionalElement & WithType(Aws::String &&value)
SectionalElement & WithPosition(const FieldPosition &value)
SectionalElement & WithText(const char *value)
SectionalElement & WithOrientation(const char *value)
AWS_AMPLIFYUIBUILDER_API SectionalElement(Aws::Utils::Json::JsonView jsonValue)
SectionalElement & WithOrientation(Aws::String &&value)
SectionalElement & WithText(Aws::String &&value)
void SetOrientation(const Aws::String &value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
SectionalElement & WithType(const char *value)
AWS_AMPLIFYUIBUILDER_API SectionalElement()
SectionalElement & WithType(const Aws::String &value)
void SetPosition(const FieldPosition &value)
AWS_AMPLIFYUIBUILDER_API SectionalElement & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue