AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#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
33 {
34 public:
35 AWS_AMPLIFYUIBUILDER_API FieldPosition() = default;
36 AWS_AMPLIFYUIBUILDER_API FieldPosition(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AMPLIFYUIBUILDER_API FieldPosition& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline FixedPosition GetFixed() const { return m_fixed; }
47 inline bool FixedHasBeenSet() const { return m_fixedHasBeenSet; }
48 inline void SetFixed(FixedPosition value) { m_fixedHasBeenSet = true; m_fixed = value; }
49 inline FieldPosition& WithFixed(FixedPosition value) { SetFixed(value); return *this;}
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) { m_rightOfHasBeenSet = true; m_rightOf = std::forward<RightOfT>(value); }
60 template<typename RightOfT = Aws::String>
61 FieldPosition& WithRightOf(RightOfT&& value) { SetRightOf(std::forward<RightOfT>(value)); return *this;}
63
65
68 inline const Aws::String& GetBelow() const { return m_below; }
69 inline bool BelowHasBeenSet() const { return m_belowHasBeenSet; }
70 template<typename BelowT = Aws::String>
71 void SetBelow(BelowT&& value) { m_belowHasBeenSet = true; m_below = std::forward<BelowT>(value); }
72 template<typename BelowT = Aws::String>
73 FieldPosition& WithBelow(BelowT&& value) { SetBelow(std::forward<BelowT>(value)); return *this;}
75 private:
76
78 bool m_fixedHasBeenSet = false;
79
80 Aws::String m_rightOf;
81 bool m_rightOfHasBeenSet = false;
82
83 Aws::String m_below;
84 bool m_belowHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace AmplifyUIBuilder
89} // 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