AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataReference.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/ContentReference.h>
9#include <aws/qconnect/model/GenerativeReference.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 QConnect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QCONNECT_API DataReference();
36 AWS_QCONNECT_API DataReference(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const ContentReference& GetContentReference() const{ return m_contentReference; }
44 inline bool ContentReferenceHasBeenSet() const { return m_contentReferenceHasBeenSet; }
45 inline void SetContentReference(const ContentReference& value) { m_contentReferenceHasBeenSet = true; m_contentReference = value; }
46 inline void SetContentReference(ContentReference&& value) { m_contentReferenceHasBeenSet = true; m_contentReference = std::move(value); }
47 inline DataReference& WithContentReference(const ContentReference& value) { SetContentReference(value); return *this;}
48 inline DataReference& WithContentReference(ContentReference&& value) { SetContentReference(std::move(value)); return *this;}
50
52
55 inline const GenerativeReference& GetGenerativeReference() const{ return m_generativeReference; }
56 inline bool GenerativeReferenceHasBeenSet() const { return m_generativeReferenceHasBeenSet; }
57 inline void SetGenerativeReference(const GenerativeReference& value) { m_generativeReferenceHasBeenSet = true; m_generativeReference = value; }
58 inline void SetGenerativeReference(GenerativeReference&& value) { m_generativeReferenceHasBeenSet = true; m_generativeReference = std::move(value); }
60 inline DataReference& WithGenerativeReference(GenerativeReference&& value) { SetGenerativeReference(std::move(value)); return *this;}
62 private:
63
64 ContentReference m_contentReference;
65 bool m_contentReferenceHasBeenSet = false;
66
67 GenerativeReference m_generativeReference;
68 bool m_generativeReferenceHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace QConnect
73} // namespace Aws
DataReference & WithContentReference(const ContentReference &value)
const ContentReference & GetContentReference() const
AWS_QCONNECT_API DataReference(Aws::Utils::Json::JsonView jsonValue)
void SetContentReference(const ContentReference &value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const GenerativeReference & GetGenerativeReference() const
void SetContentReference(ContentReference &&value)
DataReference & WithGenerativeReference(const GenerativeReference &value)
void SetGenerativeReference(GenerativeReference &&value)
DataReference & WithContentReference(ContentReference &&value)
DataReference & WithGenerativeReference(GenerativeReference &&value)
AWS_QCONNECT_API DataReference & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetGenerativeReference(const GenerativeReference &value)
Aws::Utils::Json::JsonValue JsonValue