AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetChildren(const Aws::String& value) { m_childrenHasBeenSet = true; m_children = value; }
59 inline void SetChildren(Aws::String&& value) { m_childrenHasBeenSet = true; m_children = std::move(value); }
60 inline void SetChildren(const char* value) { m_childrenHasBeenSet = true; m_children.assign(value); }
61 inline FormButton& WithChildren(const Aws::String& value) { SetChildren(value); return *this;}
62 inline FormButton& WithChildren(Aws::String&& value) { SetChildren(std::move(value)); return *this;}
63 inline FormButton& WithChildren(const char* value) { SetChildren(value); return *this;}
65
67
70 inline const FieldPosition& GetPosition() const{ return m_position; }
71 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
72 inline void SetPosition(const FieldPosition& value) { m_positionHasBeenSet = true; m_position = value; }
73 inline void SetPosition(FieldPosition&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
74 inline FormButton& WithPosition(const FieldPosition& value) { SetPosition(value); return *this;}
75 inline FormButton& WithPosition(FieldPosition&& value) { SetPosition(std::move(value)); return *this;}
77 private:
78
79 bool m_excluded;
80 bool m_excludedHasBeenSet = false;
81
82 Aws::String m_children;
83 bool m_childrenHasBeenSet = false;
84
85 FieldPosition m_position;
86 bool m_positionHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace AmplifyUIBuilder
91} // namespace Aws
FormButton & WithPosition(FieldPosition &&value)
Definition FormButton.h:75
FormButton & WithChildren(const Aws::String &value)
Definition FormButton.h:61
AWS_AMPLIFYUIBUILDER_API FormButton & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetChildren() const
Definition FormButton.h:56
FormButton & WithPosition(const FieldPosition &value)
Definition FormButton.h:74
FormButton & WithChildren(const char *value)
Definition FormButton.h:63
const FieldPosition & GetPosition() const
Definition FormButton.h:70
AWS_AMPLIFYUIBUILDER_API FormButton()
void SetChildren(const char *value)
Definition FormButton.h:60
void SetChildren(Aws::String &&value)
Definition FormButton.h:59
void SetPosition(FieldPosition &&value)
Definition FormButton.h:73
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
FormButton & WithChildren(Aws::String &&value)
Definition FormButton.h:62
FormButton & WithExcluded(bool value)
Definition FormButton.h:49
AWS_AMPLIFYUIBUILDER_API FormButton(Aws::Utils::Json::JsonView jsonValue)
void SetPosition(const FieldPosition &value)
Definition FormButton.h:72
void SetChildren(const Aws::String &value)
Definition FormButton.h:58
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue