AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetHorizontalGap(const FormStyleConfig& value) { m_horizontalGapHasBeenSet = true; m_horizontalGap = value; }
48 inline void SetHorizontalGap(FormStyleConfig&& value) { m_horizontalGapHasBeenSet = true; m_horizontalGap = std::move(value); }
49 inline FormStyle& WithHorizontalGap(const FormStyleConfig& value) { SetHorizontalGap(value); return *this;}
50 inline FormStyle& WithHorizontalGap(FormStyleConfig&& value) { SetHorizontalGap(std::move(value)); return *this;}
52
54
57 inline const FormStyleConfig& GetVerticalGap() const{ return m_verticalGap; }
58 inline bool VerticalGapHasBeenSet() const { return m_verticalGapHasBeenSet; }
59 inline void SetVerticalGap(const FormStyleConfig& value) { m_verticalGapHasBeenSet = true; m_verticalGap = value; }
60 inline void SetVerticalGap(FormStyleConfig&& value) { m_verticalGapHasBeenSet = true; m_verticalGap = std::move(value); }
61 inline FormStyle& WithVerticalGap(const FormStyleConfig& value) { SetVerticalGap(value); return *this;}
62 inline FormStyle& WithVerticalGap(FormStyleConfig&& value) { SetVerticalGap(std::move(value)); return *this;}
64
66
69 inline const FormStyleConfig& GetOuterPadding() const{ return m_outerPadding; }
70 inline bool OuterPaddingHasBeenSet() const { return m_outerPaddingHasBeenSet; }
71 inline void SetOuterPadding(const FormStyleConfig& value) { m_outerPaddingHasBeenSet = true; m_outerPadding = value; }
72 inline void SetOuterPadding(FormStyleConfig&& value) { m_outerPaddingHasBeenSet = true; m_outerPadding = std::move(value); }
73 inline FormStyle& WithOuterPadding(const FormStyleConfig& value) { SetOuterPadding(value); return *this;}
74 inline FormStyle& WithOuterPadding(FormStyleConfig&& value) { SetOuterPadding(std::move(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
FormStyle & WithHorizontalGap(FormStyleConfig &&value)
Definition FormStyle.h:50
void SetHorizontalGap(const FormStyleConfig &value)
Definition FormStyle.h:47
const FormStyleConfig & GetOuterPadding() const
Definition FormStyle.h:69
const FormStyleConfig & GetHorizontalGap() const
Definition FormStyle.h:45
const FormStyleConfig & GetVerticalGap() const
Definition FormStyle.h:57
void SetVerticalGap(FormStyleConfig &&value)
Definition FormStyle.h:60
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOuterPadding(FormStyleConfig &&value)
Definition FormStyle.h:72
void SetHorizontalGap(FormStyleConfig &&value)
Definition FormStyle.h:48
void SetOuterPadding(const FormStyleConfig &value)
Definition FormStyle.h:71
AWS_AMPLIFYUIBUILDER_API FormStyle & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API FormStyle()
FormStyle & WithHorizontalGap(const FormStyleConfig &value)
Definition FormStyle.h:49
FormStyle & WithVerticalGap(const FormStyleConfig &value)
Definition FormStyle.h:61
AWS_AMPLIFYUIBUILDER_API FormStyle(Aws::Utils::Json::JsonView jsonValue)
FormStyle & WithOuterPadding(const FormStyleConfig &value)
Definition FormStyle.h:73
FormStyle & WithOuterPadding(FormStyleConfig &&value)
Definition FormStyle.h:74
void SetVerticalGap(const FormStyleConfig &value)
Definition FormStyle.h:59
FormStyle & WithVerticalGap(FormStyleConfig &&value)
Definition FormStyle.h:62
Aws::Utils::Json::JsonValue JsonValue