AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
FieldPosition.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/amplifyuibuilder/model/FixedPosition.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace AmplifyUIBuilder {
21namespace Model {
22
29 public:
30 AWS_AMPLIFYUIBUILDER_API FieldPosition() = default;
31 AWS_AMPLIFYUIBUILDER_API FieldPosition(Aws::Utils::Json::JsonView jsonValue);
32 AWS_AMPLIFYUIBUILDER_API FieldPosition& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline FixedPosition GetFixed() const { return m_fixed; }
41 inline bool FixedHasBeenSet() const { return m_fixedHasBeenSet; }
42 inline void SetFixed(FixedPosition value) {
43 m_fixedHasBeenSet = true;
44 m_fixed = value;
45 }
47 SetFixed(value);
48 return *this;
49 }
51
53
56 inline const Aws::String& GetRightOf() const { return m_rightOf; }
57 inline bool RightOfHasBeenSet() const { return m_rightOfHasBeenSet; }
58 template <typename RightOfT = Aws::String>
59 void SetRightOf(RightOfT&& value) {
60 m_rightOfHasBeenSet = true;
61 m_rightOf = std::forward<RightOfT>(value);
62 }
63 template <typename RightOfT = Aws::String>
64 FieldPosition& WithRightOf(RightOfT&& value) {
65 SetRightOf(std::forward<RightOfT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetBelow() const { return m_below; }
75 inline bool BelowHasBeenSet() const { return m_belowHasBeenSet; }
76 template <typename BelowT = Aws::String>
77 void SetBelow(BelowT&& value) {
78 m_belowHasBeenSet = true;
79 m_below = std::forward<BelowT>(value);
80 }
81 template <typename BelowT = Aws::String>
82 FieldPosition& WithBelow(BelowT&& value) {
83 SetBelow(std::forward<BelowT>(value));
84 return *this;
85 }
87 private:
89
90 Aws::String m_rightOf;
91
92 Aws::String m_below;
93 bool m_fixedHasBeenSet = false;
94 bool m_rightOfHasBeenSet = false;
95 bool m_belowHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace AmplifyUIBuilder
100} // namespace Aws
AWS_AMPLIFYUIBUILDER_API FieldPosition()=default
FieldPosition & WithBelow(BelowT &&value)
AWS_AMPLIFYUIBUILDER_API FieldPosition(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API FieldPosition & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRightOf() const
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
FieldPosition & WithRightOf(RightOfT &&value)
FieldPosition & WithFixed(FixedPosition value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue