AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
DocumentContent.h
1
6#pragma once
7#include <aws/core/utils/Array.h>
8#include <aws/qbusiness/QBusiness_EXPORTS.h>
9#include <aws/qbusiness/model/S3.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QBusiness {
21namespace Model {
22
33 public:
34 AWS_QBUSINESS_API DocumentContent() = default;
37 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
47 inline const Aws::Utils::ByteBuffer& GetBlob() const { return m_blob; }
48 inline bool BlobHasBeenSet() const { return m_blobHasBeenSet; }
49 template <typename BlobT = Aws::Utils::ByteBuffer>
50 void SetBlob(BlobT&& value) {
51 m_blobHasBeenSet = true;
52 m_blob = std::forward<BlobT>(value);
53 }
54 template <typename BlobT = Aws::Utils::ByteBuffer>
56 SetBlob(std::forward<BlobT>(value));
57 return *this;
58 }
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) {
69 m_s3HasBeenSet = true;
70 m_s3 = std::forward<S3T>(value);
71 }
72 template <typename S3T = S3>
74 SetS3(std::forward<S3T>(value));
75 return *this;
76 }
78 private:
80
81 S3 m_s3;
82 bool m_blobHasBeenSet = false;
83 bool m_s3HasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace QBusiness
88} // 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