7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/model/ActionPayloadFieldType.h>
10#include <aws/core/utils/Document.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/qbusiness/model/ActionReviewPayloadFieldAllowedValue.h>
51 template<
typename DisplayNameT = Aws::String>
52 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
53 template<
typename DisplayNameT = Aws::String>
63 inline void SetDisplayOrder(
int value) { m_displayOrderHasBeenSet =
true; m_displayOrder = value; }
76 template<
typename DisplayDescriptionT = Aws::String>
77 void SetDisplayDescription(DisplayDescriptionT&& value) { m_displayDescriptionHasBeenSet =
true; m_displayDescription = std::forward<DisplayDescriptionT>(value); }
78 template<
typename DisplayDescriptionT = Aws::String>
98 template<
typename ValueT = Aws::Utils::Document>
99 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
100 template<
typename ValueT = Aws::Utils::Document>
112 template<
typename AllowedValuesT = Aws::Vector<ActionReviewPayloadFieldAllowedValue>>
113 void SetAllowedValues(AllowedValuesT&& value) { m_allowedValuesHasBeenSet =
true; m_allowedValues = std::forward<AllowedValuesT>(value); }
114 template<
typename AllowedValuesT = Aws::Vector<ActionReviewPayloadFieldAllowedValue>>
116 template<
typename AllowedValuesT = ActionReviewPayloadFieldAllowedValue>
128 template<
typename AllowedFormatT = Aws::String>
129 void SetAllowedFormat(AllowedFormatT&& value) { m_allowedFormatHasBeenSet =
true; m_allowedFormat = std::forward<AllowedFormatT>(value); }
130 template<
typename AllowedFormatT = Aws::String>
141 template<
typename ArrayItemJsonSchemaT = Aws::Utils::Document>
142 void SetArrayItemJsonSchema(ArrayItemJsonSchemaT&& value) { m_arrayItemJsonSchemaHasBeenSet =
true; m_arrayItemJsonSchema = std::forward<ArrayItemJsonSchemaT>(value); }
143 template<
typename ArrayItemJsonSchemaT = Aws::Utils::Document>
153 inline void SetRequired(
bool value) { m_requiredHasBeenSet =
true; m_required = value; }
159 bool m_displayNameHasBeenSet =
false;
161 int m_displayOrder{0};
162 bool m_displayOrderHasBeenSet =
false;
165 bool m_displayDescriptionHasBeenSet =
false;
168 bool m_typeHasBeenSet =
false;
171 bool m_valueHasBeenSet =
false;
174 bool m_allowedValuesHasBeenSet =
false;
177 bool m_allowedFormatHasBeenSet =
false;
180 bool m_arrayItemJsonSchemaHasBeenSet =
false;
182 bool m_required{
false};
183 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