AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
Citation.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/model/Reference.h>
9#include <aws/iotsitewise/model/Content.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 IoTSiteWise
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_IOTSITEWISE_API Citation() = default;
38 AWS_IOTSITEWISE_API Citation(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTSITEWISE_API Citation& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Reference& GetReference() const { return m_reference; }
48 inline bool ReferenceHasBeenSet() const { return m_referenceHasBeenSet; }
49 template<typename ReferenceT = Reference>
50 void SetReference(ReferenceT&& value) { m_referenceHasBeenSet = true; m_reference = std::forward<ReferenceT>(value); }
51 template<typename ReferenceT = Reference>
52 Citation& WithReference(ReferenceT&& value) { SetReference(std::forward<ReferenceT>(value)); return *this;}
54
56
59 inline const Content& GetContent() const { return m_content; }
60 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
61 template<typename ContentT = Content>
62 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
63 template<typename ContentT = Content>
64 Citation& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
66 private:
67
68 Reference m_reference;
69 bool m_referenceHasBeenSet = false;
70
71 Content m_content;
72 bool m_contentHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace IoTSiteWise
77} // namespace Aws
Citation & WithReference(ReferenceT &&value)
Definition Citation.h:52
AWS_IOTSITEWISE_API Citation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContent(ContentT &&value)
Definition Citation.h:62
AWS_IOTSITEWISE_API Citation(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTSITEWISE_API Citation()=default
Citation & WithContent(ContentT &&value)
Definition Citation.h:64
const Content & GetContent() const
Definition Citation.h:59
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReference(ReferenceT &&value)
Definition Citation.h:50
const Reference & GetReference() const
Definition Citation.h:47
Aws::Utils::Json::JsonValue JsonValue