7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sesv2/SESV2_EXPORTS.h>
10#include <aws/sesv2/model/AttachmentContentDisposition.h>
11#include <aws/sesv2/model/AttachmentContentTransferEncoding.h>
46 template <
typename RawContentT = Aws::Utils::ByteBuffer>
48 m_rawContentHasBeenSet =
true;
49 m_rawContent = std::forward<RawContentT>(value);
51 template <
typename RawContentT = Aws::Utils::ByteBuffer>
66 m_contentDispositionHasBeenSet =
true;
67 m_contentDisposition = value;
84 template <
typename FileNameT = Aws::String>
86 m_fileNameHasBeenSet =
true;
87 m_fileName = std::forward<FileNameT>(value);
89 template <
typename FileNameT = Aws::String>
102 template <
typename ContentDescriptionT = Aws::String>
104 m_contentDescriptionHasBeenSet =
true;
105 m_contentDescription = std::forward<ContentDescriptionT>(value);
107 template <
typename ContentDescriptionT = Aws::String>
121 template <
typename ContentIdT = Aws::String>
123 m_contentIdHasBeenSet =
true;
124 m_contentId = std::forward<ContentIdT>(value);
126 template <
typename ContentIdT = Aws::String>
141 m_contentTransferEncodingHasBeenSet =
true;
142 m_contentTransferEncoding = value;
157 template <
typename ContentTypeT = Aws::String>
159 m_contentTypeHasBeenSet =
true;
160 m_contentType = std::forward<ContentTypeT>(value);
162 template <
typename ContentTypeT = Aws::String>
182 bool m_rawContentHasBeenSet =
false;
183 bool m_contentDispositionHasBeenSet =
false;
184 bool m_fileNameHasBeenSet =
false;
185 bool m_contentDescriptionHasBeenSet =
false;
186 bool m_contentIdHasBeenSet =
false;
187 bool m_contentTransferEncodingHasBeenSet =
false;
188 bool m_contentTypeHasBeenSet =
false;
void SetContentDisposition(AttachmentContentDisposition value)
bool ContentIdHasBeenSet() const
Attachment & WithContentTransferEncoding(AttachmentContentTransferEncoding value)
void SetRawContent(RawContentT &&value)
const Aws::String & GetContentDescription() const
AWS_SESV2_API Attachment()=default
void SetContentId(ContentIdT &&value)
const Aws::String & GetFileName() const
AttachmentContentDisposition GetContentDisposition() const
bool FileNameHasBeenSet() const
bool ContentTransferEncodingHasBeenSet() const
const Aws::String & GetContentId() const
bool ContentDescriptionHasBeenSet() const
void SetFileName(FileNameT &&value)
const Aws::Utils::ByteBuffer & GetRawContent() const
bool RawContentHasBeenSet() const
AWS_SESV2_API Attachment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContentTransferEncoding(AttachmentContentTransferEncoding value)
const Aws::String & GetContentType() const
Attachment & WithContentDescription(ContentDescriptionT &&value)
Attachment & WithContentDisposition(AttachmentContentDisposition value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
Attachment & WithRawContent(RawContentT &&value)
AttachmentContentTransferEncoding GetContentTransferEncoding() const
Attachment & WithContentType(ContentTypeT &&value)
Attachment & WithFileName(FileNameT &&value)
Attachment & WithContentId(ContentIdT &&value)
bool ContentDispositionHasBeenSet() const
void SetContentType(ContentTypeT &&value)
bool ContentTypeHasBeenSet() const
void SetContentDescription(ContentDescriptionT &&value)
AWS_SESV2_API Attachment(Aws::Utils::Json::JsonView jsonValue)
AttachmentContentTransferEncoding
AttachmentContentDisposition
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue