AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
FormStyle.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/amplifyuibuilder/model/FormStyleConfig.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AmplifyUIBuilder
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_AMPLIFYUIBUILDER_API FormStyle() = default;
36 AWS_AMPLIFYUIBUILDER_API FormStyle(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AMPLIFYUIBUILDER_API FormStyle& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const FormStyleConfig& GetHorizontalGap() const { return m_horizontalGap; }
46 inline bool HorizontalGapHasBeenSet() const { return m_horizontalGapHasBeenSet; }
47 template<typename HorizontalGapT = FormStyleConfig>
48 void SetHorizontalGap(HorizontalGapT&& value) { m_horizontalGapHasBeenSet = true; m_horizontalGap = std::forward<HorizontalGapT>(value); }
49 template<typename HorizontalGapT = FormStyleConfig>
50 FormStyle& WithHorizontalGap(HorizontalGapT&& value) { SetHorizontalGap(std::forward<HorizontalGapT>(value)); return *this;}
52
54
57 inline const FormStyleConfig& GetVerticalGap() const { return m_verticalGap; }
58 inline bool VerticalGapHasBeenSet() const { return m_verticalGapHasBeenSet; }
59 template<typename VerticalGapT = FormStyleConfig>
60 void SetVerticalGap(VerticalGapT&& value) { m_verticalGapHasBeenSet = true; m_verticalGap = std::forward<VerticalGapT>(value); }
61 template<typename VerticalGapT = FormStyleConfig>
62 FormStyle& WithVerticalGap(VerticalGapT&& value) { SetVerticalGap(std::forward<VerticalGapT>(value)); return *this;}
64
66
69 inline const FormStyleConfig& GetOuterPadding() const { return m_outerPadding; }
70 inline bool OuterPaddingHasBeenSet() const { return m_outerPaddingHasBeenSet; }
71 template<typename OuterPaddingT = FormStyleConfig>
72 void SetOuterPadding(OuterPaddingT&& value) { m_outerPaddingHasBeenSet = true; m_outerPadding = std::forward<OuterPaddingT>(value); }
73 template<typename OuterPaddingT = FormStyleConfig>
74 FormStyle& WithOuterPadding(OuterPaddingT&& value) { SetOuterPadding(std::forward<OuterPaddingT>(value)); return *this;}
76 private:
77
78 FormStyleConfig m_horizontalGap;
79 bool m_horizontalGapHasBeenSet = false;
80
81 FormStyleConfig m_verticalGap;
82 bool m_verticalGapHasBeenSet = false;
83
84 FormStyleConfig m_outerPadding;
85 bool m_outerPaddingHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace AmplifyUIBuilder
90} // namespace Aws
AWS_AMPLIFYUIBUILDER_API FormStyle()=default
const FormStyleConfig & GetOuterPadding() const
Definition FormStyle.h:69
void SetOuterPadding(OuterPaddingT &&value)
Definition FormStyle.h:72
FormStyle & WithHorizontalGap(HorizontalGapT &&value)
Definition FormStyle.h:50
const FormStyleConfig & GetHorizontalGap() const
Definition FormStyle.h:45
const FormStyleConfig & GetVerticalGap() const
Definition FormStyle.h:57
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
FormStyle & WithOuterPadding(OuterPaddingT &&value)
Definition FormStyle.h:74
AWS_AMPLIFYUIBUILDER_API FormStyle & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetHorizontalGap(HorizontalGapT &&value)
Definition FormStyle.h:48
AWS_AMPLIFYUIBUILDER_API FormStyle(Aws::Utils::Json::JsonView jsonValue)
FormStyle & WithVerticalGap(VerticalGapT &&value)
Definition FormStyle.h:62
void SetVerticalGap(VerticalGapT &&value)
Definition FormStyle.h:60
Aws::Utils::Json::JsonValue JsonValue