7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/amplifyuibuilder/model/StorageAccessLevel.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
23namespace AmplifyUIBuilder
86 inline void SetShowThumbnails(
bool value) { m_showThumbnailsHasBeenSet =
true; m_showThumbnails = value; }
100 inline void SetIsResumable(
bool value) { m_isResumableHasBeenSet =
true; m_isResumable = value; }
111 inline void SetMaxFileCount(
int value) { m_maxFileCountHasBeenSet =
true; m_maxFileCount = value; }
122 inline void SetMaxSize(
int value) { m_maxSizeHasBeenSet =
true; m_maxSize = value; }
128 bool m_accessLevelHasBeenSet =
false;
131 bool m_acceptedFileTypesHasBeenSet =
false;
133 bool m_showThumbnails;
134 bool m_showThumbnailsHasBeenSet =
false;
137 bool m_isResumableHasBeenSet =
false;
140 bool m_maxFileCountHasBeenSet =
false;
143 bool m_maxSizeHasBeenSet =
false;
void SetShowThumbnails(bool value)
int GetMaxFileCount() const
FileUploaderFieldConfig & WithIsResumable(bool value)
bool AccessLevelHasBeenSet() const
void SetAcceptedFileTypes(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetAcceptedFileTypes() const
FileUploaderFieldConfig & AddAcceptedFileTypes(const Aws::String &value)
bool MaxSizeHasBeenSet() const
FileUploaderFieldConfig & WithMaxFileCount(int value)
FileUploaderFieldConfig & WithMaxSize(int value)
bool ShowThumbnailsHasBeenSet() const
bool GetShowThumbnails() const
void SetAccessLevel(const StorageAccessLevel &value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFYUIBUILDER_API FileUploaderFieldConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMaxFileCount(int value)
void SetAccessLevel(StorageAccessLevel &&value)
void SetMaxSize(int value)
FileUploaderFieldConfig & WithAcceptedFileTypes(Aws::Vector< Aws::String > &&value)
bool GetIsResumable() const
FileUploaderFieldConfig & AddAcceptedFileTypes(Aws::String &&value)
FileUploaderFieldConfig & WithAccessLevel(const StorageAccessLevel &value)
bool MaxFileCountHasBeenSet() const
void SetIsResumable(bool value)
bool AcceptedFileTypesHasBeenSet() const
FileUploaderFieldConfig & AddAcceptedFileTypes(const char *value)
FileUploaderFieldConfig & WithAcceptedFileTypes(const Aws::Vector< Aws::String > &value)
void SetAcceptedFileTypes(const Aws::Vector< Aws::String > &value)
const StorageAccessLevel & GetAccessLevel() const
FileUploaderFieldConfig & WithAccessLevel(StorageAccessLevel &&value)
AWS_AMPLIFYUIBUILDER_API FileUploaderFieldConfig()
bool IsResumableHasBeenSet() const
FileUploaderFieldConfig & WithShowThumbnails(bool value)
AWS_AMPLIFYUIBUILDER_API FileUploaderFieldConfig(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue