AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DocumentContent.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <aws/qbusiness/model/S3.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QBusiness
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QBUSINESS_API DocumentContent();
36 AWS_QBUSINESS_API DocumentContent(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
49 inline const Aws::Utils::ByteBuffer& GetBlob() const{ return m_blob; }
50 inline bool BlobHasBeenSet() const { return m_blobHasBeenSet; }
51 inline void SetBlob(const Aws::Utils::ByteBuffer& value) { m_blobHasBeenSet = true; m_blob = value; }
52 inline void SetBlob(Aws::Utils::ByteBuffer&& value) { m_blobHasBeenSet = true; m_blob = std::move(value); }
53 inline DocumentContent& WithBlob(const Aws::Utils::ByteBuffer& value) { SetBlob(value); return *this;}
54 inline DocumentContent& WithBlob(Aws::Utils::ByteBuffer&& value) { SetBlob(std::move(value)); return *this;}
56
58
61 inline const S3& GetS3() const{ return m_s3; }
62 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
63 inline void SetS3(const S3& value) { m_s3HasBeenSet = true; m_s3 = value; }
64 inline void SetS3(S3&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); }
65 inline DocumentContent& WithS3(const S3& value) { SetS3(value); return *this;}
66 inline DocumentContent& WithS3(S3&& value) { SetS3(std::move(value)); return *this;}
68 private:
69
71 bool m_blobHasBeenSet = false;
72
73 S3 m_s3;
74 bool m_s3HasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace QBusiness
79} // namespace Aws
void SetBlob(const Aws::Utils::ByteBuffer &value)
DocumentContent & WithBlob(const Aws::Utils::ByteBuffer &value)
AWS_QBUSINESS_API DocumentContent & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentContent & WithS3(const S3 &value)
const Aws::Utils::ByteBuffer & GetBlob() const
DocumentContent & WithBlob(Aws::Utils::ByteBuffer &&value)
void SetBlob(Aws::Utils::ByteBuffer &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QBUSINESS_API DocumentContent(Aws::Utils::Json::JsonView jsonValue)
DocumentContent & WithS3(S3 &&value)
Aws::Utils::Json::JsonValue JsonValue