7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/amplifyuibuilder/model/FieldPosition.h>
22namespace AmplifyUIBuilder
50 template<
typename TypeT = Aws::String>
51 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
52 template<
typename TypeT = Aws::String>
63 template<
typename PositionT = FieldPosition>
64 void SetPosition(PositionT&& value) { m_positionHasBeenSet =
true; m_position = std::forward<PositionT>(value); }
65 template<
typename PositionT = FieldPosition>
75 template<
typename TextT = Aws::String>
76 void SetText(TextT&& value) { m_textHasBeenSet =
true; m_text = std::forward<TextT>(value); }
77 template<
typename TextT = Aws::String>
86 inline int GetLevel()
const {
return m_level; }
88 inline void SetLevel(
int value) { m_levelHasBeenSet =
true; m_level = value; }
99 template<
typename OrientationT = Aws::String>
100 void SetOrientation(OrientationT&& value) { m_orientationHasBeenSet =
true; m_orientation = std::forward<OrientationT>(value); }
101 template<
typename OrientationT = Aws::String>
112 inline void SetExcluded(
bool value) { m_excludedHasBeenSet =
true; m_excluded = value; }
118 bool m_typeHasBeenSet =
false;
121 bool m_positionHasBeenSet =
false;
124 bool m_textHasBeenSet =
false;
127 bool m_levelHasBeenSet =
false;
130 bool m_orientationHasBeenSet =
false;
132 bool m_excluded{
false};
133 bool m_excludedHasBeenSet =
false;
SectionalElement & WithLevel(int value)
bool OrientationHasBeenSet() const
void SetOrientation(OrientationT &&value)
void SetPosition(PositionT &&value)
const Aws::String & GetOrientation() const
void SetText(TextT &&value)
SectionalElement & WithPosition(PositionT &&value)
SectionalElement & WithExcluded(bool value)
SectionalElement & WithText(TextT &&value)
void SetExcluded(bool value)
bool ExcludedHasBeenSet() const
bool TypeHasBeenSet() const
SectionalElement & WithType(TypeT &&value)
AWS_AMPLIFYUIBUILDER_API SectionalElement()=default
bool PositionHasBeenSet() const
AWS_AMPLIFYUIBUILDER_API SectionalElement(Aws::Utils::Json::JsonView jsonValue)
bool TextHasBeenSet() const
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(TypeT &&value)
const Aws::String & GetType() const
SectionalElement & WithOrientation(OrientationT &&value)
const Aws::String & GetText() const
bool LevelHasBeenSet() const
AWS_AMPLIFYUIBUILDER_API SectionalElement & operator=(Aws::Utils::Json::JsonView jsonValue)
const FieldPosition & GetPosition() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue