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>
53 inline void SetDisplayName(
const char* value) { m_displayNameHasBeenSet =
true; m_displayName.assign(value); }
65 inline void SetDisplayOrder(
int value) { m_displayOrderHasBeenSet =
true; m_displayOrder = value; }
80 inline void SetDisplayDescription(
const char* value) { m_displayDescriptionHasBeenSet =
true; m_displayDescription.assign(value); }
136 inline void SetAllowedFormat(
const char* value) { m_allowedFormatHasBeenSet =
true; m_allowedFormat.assign(value); }
161 inline void SetRequired(
bool value) { m_requiredHasBeenSet =
true; m_required = value; }
167 bool m_displayNameHasBeenSet =
false;
170 bool m_displayOrderHasBeenSet =
false;
173 bool m_displayDescriptionHasBeenSet =
false;
176 bool m_typeHasBeenSet =
false;
179 bool m_valueHasBeenSet =
false;
182 bool m_allowedValuesHasBeenSet =
false;
185 bool m_allowedFormatHasBeenSet =
false;
188 bool m_arrayItemJsonSchemaHasBeenSet =
false;
191 bool m_requiredHasBeenSet =
false;
ActionReviewPayloadField & WithArrayItemJsonSchema(const Aws::Utils::Document &value)
bool AllowedFormatHasBeenSet() const
bool RequiredHasBeenSet() const
void SetAllowedFormat(const Aws::String &value)
ActionReviewPayloadField & WithDisplayDescription(const char *value)
ActionReviewPayloadField & WithRequired(bool value)
bool DisplayOrderHasBeenSet() const
bool AllowedValuesHasBeenSet() const
ActionReviewPayloadField & WithDisplayName(const char *value)
ActionReviewPayloadField & WithAllowedValues(const Aws::Vector< ActionReviewPayloadFieldAllowedValue > &value)
void SetArrayItemJsonSchema(Aws::Utils::Document &&value)
const Aws::Vector< ActionReviewPayloadFieldAllowedValue > & GetAllowedValues() const
bool TypeHasBeenSet() const
bool DisplayNameHasBeenSet() const
ActionReviewPayloadField & WithArrayItemJsonSchema(Aws::Utils::Document &&value)
ActionReviewPayloadField & WithValue(Aws::Utils::Document &&value)
ActionReviewPayloadField & WithAllowedFormat(Aws::String &&value)
void SetAllowedValues(Aws::Vector< ActionReviewPayloadFieldAllowedValue > &&value)
ActionReviewPayloadField & WithDisplayDescription(const Aws::String &value)
ActionReviewPayloadField & AddAllowedValues(ActionReviewPayloadFieldAllowedValue &&value)
Aws::Utils::DocumentView GetArrayItemJsonSchema() const
void SetDisplayName(Aws::String &&value)
ActionReviewPayloadField & WithDisplayName(const Aws::String &value)
void SetValue(const Aws::Utils::Document &value)
void SetDisplayName(const char *value)
ActionReviewPayloadField & WithDisplayDescription(Aws::String &&value)
const Aws::String & GetAllowedFormat() const
ActionReviewPayloadField & WithDisplayOrder(int value)
ActionReviewPayloadField & WithAllowedValues(Aws::Vector< ActionReviewPayloadFieldAllowedValue > &&value)
const ActionPayloadFieldType & GetType() const
bool ArrayItemJsonSchemaHasBeenSet() const
void SetDisplayDescription(Aws::String &&value)
AWS_QBUSINESS_API ActionReviewPayloadField()
ActionReviewPayloadField & WithAllowedFormat(const char *value)
void SetType(const ActionPayloadFieldType &value)
ActionReviewPayloadField & WithDisplayName(Aws::String &&value)
void SetDisplayOrder(int value)
void SetAllowedFormat(const char *value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
ActionReviewPayloadField & WithType(const ActionPayloadFieldType &value)
void SetDisplayName(const Aws::String &value)
void SetType(ActionPayloadFieldType &&value)
void SetAllowedFormat(Aws::String &&value)
void SetValue(Aws::Utils::Document &&value)
bool DisplayDescriptionHasBeenSet() const
void SetDisplayDescription(const Aws::String &value)
bool ValueHasBeenSet() const
void SetAllowedValues(const Aws::Vector< ActionReviewPayloadFieldAllowedValue > &value)
const Aws::String & GetDisplayDescription() const
ActionReviewPayloadField & WithValue(const Aws::Utils::Document &value)
const Aws::String & GetDisplayName() const
void SetDisplayDescription(const char *value)
AWS_QBUSINESS_API ActionReviewPayloadField(Aws::Utils::Json::JsonView jsonValue)
void SetRequired(bool value)
Aws::Utils::DocumentView GetValue() const
ActionReviewPayloadField & WithAllowedFormat(const Aws::String &value)
int GetDisplayOrder() const
ActionReviewPayloadField & AddAllowedValues(const ActionReviewPayloadFieldAllowedValue &value)
ActionReviewPayloadField & WithType(ActionPayloadFieldType &&value)
AWS_QBUSINESS_API ActionReviewPayloadField & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArrayItemJsonSchema(const Aws::Utils::Document &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