AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FormButton.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
34 {
35 public:
36 AWS_AMPLIFYUIBUILDER_API FormButton() = default;
37 AWS_AMPLIFYUIBUILDER_API FormButton(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AMPLIFYUIBUILDER_API FormButton& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline bool GetExcluded() const { return m_excluded; }
47 inline bool ExcludedHasBeenSet() const { return m_excludedHasBeenSet; }
48 inline void SetExcluded(bool value) { m_excludedHasBeenSet = true; m_excluded = value; }
49 inline FormButton& WithExcluded(bool value) { SetExcluded(value); return *this;}
51
53
56 inline const Aws::String& GetChildren() const { return m_children; }
57 inline bool ChildrenHasBeenSet() const { return m_childrenHasBeenSet; }
58 template<typename ChildrenT = Aws::String>
59 void SetChildren(ChildrenT&& value) { m_childrenHasBeenSet = true; m_children = std::forward<ChildrenT>(value); }
60 template<typename ChildrenT = Aws::String>
61 FormButton& WithChildren(ChildrenT&& value) { SetChildren(std::forward<ChildrenT>(value)); return *this;}
63
65
68 inline const FieldPosition& GetPosition() const { return m_position; }
69 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
70 template<typename PositionT = FieldPosition>
71 void SetPosition(PositionT&& value) { m_positionHasBeenSet = true; m_position = std::forward<PositionT>(value); }
72 template<typename PositionT = FieldPosition>
73 FormButton& WithPosition(PositionT&& value) { SetPosition(std::forward<PositionT>(value)); return *this;}
75 private:
76
77 bool m_excluded{false};
78 bool m_excludedHasBeenSet = false;
79
80 Aws::String m_children;
81 bool m_childrenHasBeenSet = false;
82
83 FieldPosition m_position;
84 bool m_positionHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace AmplifyUIBuilder
89} // namespace Aws
void SetPosition(PositionT &&value)
Definition FormButton.h:71
AWS_AMPLIFYUIBUILDER_API FormButton & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetChildren() const
Definition FormButton.h:56
AWS_AMPLIFYUIBUILDER_API FormButton()=default
FormButton & WithPosition(PositionT &&value)
Definition FormButton.h:73
const FieldPosition & GetPosition() const
Definition FormButton.h:68
FormButton & WithChildren(ChildrenT &&value)
Definition FormButton.h:61
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetChildren(ChildrenT &&value)
Definition FormButton.h:59
FormButton & WithExcluded(bool value)
Definition FormButton.h:49
AWS_AMPLIFYUIBUILDER_API FormButton(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue