AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ValueMapping.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/amplifyuibuilder/model/FormInputValueProperty.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
34 {
35 public:
36 AWS_AMPLIFYUIBUILDER_API ValueMapping();
37 AWS_AMPLIFYUIBUILDER_API ValueMapping(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AMPLIFYUIBUILDER_API ValueMapping& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const FormInputValueProperty& GetDisplayValue() const{ return m_displayValue; }
47 inline bool DisplayValueHasBeenSet() const { return m_displayValueHasBeenSet; }
48 inline void SetDisplayValue(const FormInputValueProperty& value) { m_displayValueHasBeenSet = true; m_displayValue = value; }
49 inline void SetDisplayValue(FormInputValueProperty&& value) { m_displayValueHasBeenSet = true; m_displayValue = std::move(value); }
50 inline ValueMapping& WithDisplayValue(const FormInputValueProperty& value) { SetDisplayValue(value); return *this;}
51 inline ValueMapping& WithDisplayValue(FormInputValueProperty&& value) { SetDisplayValue(std::move(value)); return *this;}
53
55
58 inline const FormInputValueProperty& GetValue() const{ return m_value; }
59 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
60 inline void SetValue(const FormInputValueProperty& value) { m_valueHasBeenSet = true; m_value = value; }
61 inline void SetValue(FormInputValueProperty&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
62 inline ValueMapping& WithValue(const FormInputValueProperty& value) { SetValue(value); return *this;}
63 inline ValueMapping& WithValue(FormInputValueProperty&& value) { SetValue(std::move(value)); return *this;}
65 private:
66
67 FormInputValueProperty m_displayValue;
68 bool m_displayValueHasBeenSet = false;
69
71 bool m_valueHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace AmplifyUIBuilder
76} // namespace Aws
ValueMapping & WithDisplayValue(FormInputValueProperty &&value)
ValueMapping & WithDisplayValue(const FormInputValueProperty &value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetValue(FormInputValueProperty &&value)
const FormInputValueProperty & GetValue() const
ValueMapping & WithValue(const FormInputValueProperty &value)
void SetDisplayValue(FormInputValueProperty &&value)
AWS_AMPLIFYUIBUILDER_API ValueMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API ValueMapping()
AWS_AMPLIFYUIBUILDER_API ValueMapping(Aws::Utils::Json::JsonView jsonValue)
ValueMapping & WithValue(FormInputValueProperty &&value)
const FormInputValueProperty & GetDisplayValue() const
void SetDisplayValue(const FormInputValueProperty &value)
void SetValue(const FormInputValueProperty &value)
Aws::Utils::Json::JsonValue JsonValue