AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActionReviewPayloadFieldAllowedValue.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/Document.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 QBusiness
22{
23namespace Model
24{
25
34 {
35 public:
39 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline Aws::Utils::DocumentView GetValue() const{ return m_value; }
47 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
48 inline void SetValue(const Aws::Utils::Document& value) { m_valueHasBeenSet = true; m_value = value; }
49 inline void SetValue(Aws::Utils::Document&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
50 inline ActionReviewPayloadFieldAllowedValue& WithValue(const Aws::Utils::Document& value) { SetValue(value); return *this;}
51 inline ActionReviewPayloadFieldAllowedValue& WithValue(Aws::Utils::Document&& value) { SetValue(std::move(value)); return *this;}
53
55
58 inline Aws::Utils::DocumentView GetDisplayValue() const{ return m_displayValue; }
59 inline bool DisplayValueHasBeenSet() const { return m_displayValueHasBeenSet; }
60 inline void SetDisplayValue(const Aws::Utils::Document& value) { m_displayValueHasBeenSet = true; m_displayValue = value; }
61 inline void SetDisplayValue(Aws::Utils::Document&& value) { m_displayValueHasBeenSet = true; m_displayValue = std::move(value); }
65 private:
66
68 bool m_valueHasBeenSet = false;
69
70 Aws::Utils::Document m_displayValue;
71 bool m_displayValueHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace QBusiness
76} // namespace Aws
ActionReviewPayloadFieldAllowedValue & WithValue(Aws::Utils::Document &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QBUSINESS_API ActionReviewPayloadFieldAllowedValue & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionReviewPayloadFieldAllowedValue & WithValue(const Aws::Utils::Document &value)
ActionReviewPayloadFieldAllowedValue & WithDisplayValue(const Aws::Utils::Document &value)
ActionReviewPayloadFieldAllowedValue & WithDisplayValue(Aws::Utils::Document &&value)
AWS_QBUSINESS_API ActionReviewPayloadFieldAllowedValue(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue