7#include <aws/support/Support_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Array.h>
50 template<
typename FileNameT = Aws::String>
51 void SetFileName(FileNameT&& value) { m_fileNameHasBeenSet =
true; m_fileName = std::forward<FileNameT>(value); }
52 template<
typename FileNameT = Aws::String>
62 template<
typename DataT = Aws::Utils::ByteBuffer>
63 void SetData(DataT&& value) { m_dataHasBeenSet =
true; m_data = std::forward<DataT>(value); }
64 template<
typename DataT = Aws::Utils::ByteBuffer>
70 bool m_fileNameHasBeenSet =
false;
73 bool m_dataHasBeenSet =
false;
AWS_SUPPORT_API Attachment(Aws::Utils::Json::JsonView jsonValue)
void SetData(DataT &&value)
AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const
Attachment & WithData(DataT &&value)
Attachment & WithFileName(FileNameT &&value)
bool FileNameHasBeenSet() const
const Aws::String & GetFileName() const
AWS_SUPPORT_API Attachment()=default
void SetFileName(FileNameT &&value)
AWS_SUPPORT_API Attachment & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::ByteBuffer & GetData() const
bool DataHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue