AWS SDK for C++

AWS SDK for C++ Version 1.11.636

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
37 {
38 public:
39 AWS_QBUSINESS_API DocumentContent() = default;
42 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
53 inline const Aws::Utils::ByteBuffer& GetBlob() const { return m_blob; }
54 inline bool BlobHasBeenSet() const { return m_blobHasBeenSet; }
55 template<typename BlobT = Aws::Utils::ByteBuffer>
56 void SetBlob(BlobT&& value) { m_blobHasBeenSet = true; m_blob = std::forward<BlobT>(value); }
57 template<typename BlobT = Aws::Utils::ByteBuffer>
58 DocumentContent& WithBlob(BlobT&& value) { SetBlob(std::forward<BlobT>(value)); return *this;}
60
62
65 inline const S3& GetS3() const { return m_s3; }
66 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
67 template<typename S3T = S3>
68 void SetS3(S3T&& value) { m_s3HasBeenSet = true; m_s3 = std::forward<S3T>(value); }
69 template<typename S3T = S3>
70 DocumentContent& WithS3(S3T&& value) { SetS3(std::forward<S3T>(value)); return *this;}
72 private:
73
75 bool m_blobHasBeenSet = false;
76
77 S3 m_s3;
78 bool m_s3HasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace QBusiness
83} // namespace Aws
AWS_QBUSINESS_API DocumentContent & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentContent & WithBlob(BlobT &&value)
DocumentContent & WithS3(S3T &&value)
const Aws::Utils::ByteBuffer & GetBlob() const
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QBUSINESS_API DocumentContent(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API DocumentContent()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue