7#include <aws/core/utils/Document.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qbusiness/QBusiness_EXPORTS.h>
11#include <aws/qbusiness/model/ActionPayloadFieldType.h>
12#include <aws/qbusiness/model/ActionReviewPayloadFieldAllowedValue.h>
45 template <
typename DisplayNameT = Aws::String>
47 m_displayNameHasBeenSet =
true;
48 m_displayName = std::forward<DisplayNameT>(value);
50 template <
typename DisplayNameT = Aws::String>
64 m_displayOrderHasBeenSet =
true;
65 m_displayOrder = value;
82 template <
typename DisplayDescriptionT = Aws::String>
84 m_displayDescriptionHasBeenSet =
true;
85 m_displayDescription = std::forward<DisplayDescriptionT>(value);
87 template <
typename DisplayDescriptionT = Aws::String>
101 m_typeHasBeenSet =
true;
116 template <
typename ValueT = Aws::Utils::Document>
118 m_valueHasBeenSet =
true;
119 m_value = std::forward<ValueT>(value);
121 template <
typename ValueT = Aws::Utils::Document>
123 SetValue(std::forward<ValueT>(value));
136 template <
typename AllowedValuesT = Aws::Vector<ActionReviewPayloadFieldAllowedValue>>
138 m_allowedValuesHasBeenSet =
true;
139 m_allowedValues = std::forward<AllowedValuesT>(value);
141 template <
typename AllowedValuesT = Aws::Vector<ActionReviewPayloadFieldAllowedValue>>
146 template <
typename AllowedValuesT = ActionReviewPayloadFieldAllowedValue>
148 m_allowedValuesHasBeenSet =
true;
149 m_allowedValues.emplace_back(std::forward<AllowedValuesT>(value));
162 template <
typename AllowedFormatT = Aws::String>
164 m_allowedFormatHasBeenSet =
true;
165 m_allowedFormat = std::forward<AllowedFormatT>(value);
167 template <
typename AllowedFormatT = Aws::String>
181 template <
typename ArrayItemJsonSchemaT = Aws::Utils::Document>
183 m_arrayItemJsonSchemaHasBeenSet =
true;
184 m_arrayItemJsonSchema = std::forward<ArrayItemJsonSchemaT>(value);
186 template <
typename ArrayItemJsonSchemaT = Aws::Utils::Document>
200 m_requiredHasBeenSet =
true;
211 int m_displayOrder{0};
225 bool m_required{
false};
226 bool m_displayNameHasBeenSet =
false;
227 bool m_displayOrderHasBeenSet =
false;
228 bool m_displayDescriptionHasBeenSet =
false;
229 bool m_typeHasBeenSet =
false;
230 bool m_valueHasBeenSet =
false;
231 bool m_allowedValuesHasBeenSet =
false;
232 bool m_allowedFormatHasBeenSet =
false;
233 bool m_arrayItemJsonSchemaHasBeenSet =
false;
234 bool m_requiredHasBeenSet =
false;
ActionReviewPayloadField & WithType(ActionPayloadFieldType value)
bool AllowedFormatHasBeenSet() const
bool RequiredHasBeenSet() const
ActionReviewPayloadField & WithRequired(bool value)
bool DisplayOrderHasBeenSet() const
bool AllowedValuesHasBeenSet() const
void SetDisplayName(DisplayNameT &&value)
const Aws::Vector< ActionReviewPayloadFieldAllowedValue > & GetAllowedValues() const
bool TypeHasBeenSet() const
bool DisplayNameHasBeenSet() const
Aws::Utils::DocumentView GetArrayItemJsonSchema() const
ActionReviewPayloadField & WithValue(ValueT &&value)
void SetAllowedFormat(AllowedFormatT &&value)
void SetAllowedValues(AllowedValuesT &&value)
const Aws::String & GetAllowedFormat() const
ActionReviewPayloadField & WithDisplayOrder(int value)
void SetValue(ValueT &&value)
bool ArrayItemJsonSchemaHasBeenSet() const
ActionReviewPayloadField & WithArrayItemJsonSchema(ArrayItemJsonSchemaT &&value)
void SetDisplayOrder(int value)
ActionReviewPayloadField & WithAllowedFormat(AllowedFormatT &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
ActionReviewPayloadField & AddAllowedValues(AllowedValuesT &&value)
bool DisplayDescriptionHasBeenSet() const
bool ValueHasBeenSet() const
ActionReviewPayloadField & WithDisplayName(DisplayNameT &&value)
const Aws::String & GetDisplayDescription() const
const Aws::String & GetDisplayName() const
AWS_QBUSINESS_API ActionReviewPayloadField()=default
AWS_QBUSINESS_API ActionReviewPayloadField(Aws::Utils::Json::JsonView jsonValue)
void SetDisplayDescription(DisplayDescriptionT &&value)
void SetRequired(bool value)
Aws::Utils::DocumentView GetValue() const
int GetDisplayOrder() const
ActionPayloadFieldType GetType() const
AWS_QBUSINESS_API ActionReviewPayloadField & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionReviewPayloadField & WithAllowedValues(AllowedValuesT &&value)
void SetArrayItemJsonSchema(ArrayItemJsonSchemaT &&value)
ActionReviewPayloadField & WithDisplayDescription(DisplayDescriptionT &&value)
void SetType(ActionPayloadFieldType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue