AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename BlobT = Aws::Utils::ByteBuffer>
52 void SetBlob(BlobT&& value) { m_blobHasBeenSet = true; m_blob = std::forward<BlobT>(value); }
53 template<typename BlobT = Aws::Utils::ByteBuffer>
54 DocumentContent& WithBlob(BlobT&& value) { SetBlob(std::forward<BlobT>(value)); return *this;}
56
58
61 inline const S3& GetS3() const { return m_s3; }
62 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
63 template<typename S3T = S3>
64 void SetS3(S3T&& value) { m_s3HasBeenSet = true; m_s3 = std::forward<S3T>(value); }
65 template<typename S3T = S3>
66 DocumentContent& WithS3(S3T&& value) { SetS3(std::forward<S3T>(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
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