AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ContentSource.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/RetrieverContentSource.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QBusiness
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_QBUSINESS_API ContentSource() = default;
37 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const RetrieverContentSource& GetRetriever() const { return m_retriever; }
45 inline bool RetrieverHasBeenSet() const { return m_retrieverHasBeenSet; }
46 template<typename RetrieverT = RetrieverContentSource>
47 void SetRetriever(RetrieverT&& value) { m_retrieverHasBeenSet = true; m_retriever = std::forward<RetrieverT>(value); }
48 template<typename RetrieverT = RetrieverContentSource>
49 ContentSource& WithRetriever(RetrieverT&& value) { SetRetriever(std::forward<RetrieverT>(value)); return *this;}
51 private:
52
53 RetrieverContentSource m_retriever;
54 bool m_retrieverHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace QBusiness
59} // namespace Aws
AWS_QBUSINESS_API ContentSource(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API ContentSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRetriever(RetrieverT &&value)
AWS_QBUSINESS_API ContentSource()=default
const RetrieverContentSource & GetRetriever() const
ContentSource & WithRetriever(RetrieverT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue