7#include <aws/opensearchmemory/OpenSearchMemory_EXPORTS.h>
8#include <aws/opensearchmemory/model/BlobContentType.h>
9#include <aws/opensearchmemory/model/BlobSource.h>
20namespace OpenSearchMemory {
44 m_contentTypeHasBeenSet =
true;
45 m_contentType = value;
59 template <
typename SourceT = BlobSource>
61 m_sourceHasBeenSet =
true;
62 m_source = std::forward<SourceT>(value);
64 template <
typename SourceT = BlobSource>
74 bool m_contentTypeHasBeenSet =
false;
75 bool m_sourceHasBeenSet =
false;
BlobContentType GetContentType() const
BlobPayload & WithContentType(BlobContentType value)
const BlobSource & GetSource() const
AWS_OPENSEARCHMEMORY_API BlobPayload & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SourceHasBeenSet() const
AWS_OPENSEARCHMEMORY_API Aws::Utils::Json::JsonValue Jsonize() const
BlobPayload & WithSource(SourceT &&value)
void SetSource(SourceT &&value)
bool ContentTypeHasBeenSet() const
AWS_OPENSEARCHMEMORY_API BlobPayload()=default
AWS_OPENSEARCHMEMORY_API BlobPayload(Aws::Utils::Json::JsonView jsonValue)
void SetContentType(BlobContentType value)
Aws::Utils::Json::JsonValue JsonValue