AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ContentReference.h
1
6#pragma once
7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 ConnectWisdomService
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CONNECTWISDOMSERVICE_API ContentReference() = default;
35 AWS_CONNECTWISDOMSERVICE_API ContentReference(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CONNECTWISDOMSERVICE_API ContentReference& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetContentArn() const { return m_contentArn; }
45 inline bool ContentArnHasBeenSet() const { return m_contentArnHasBeenSet; }
46 template<typename ContentArnT = Aws::String>
47 void SetContentArn(ContentArnT&& value) { m_contentArnHasBeenSet = true; m_contentArn = std::forward<ContentArnT>(value); }
48 template<typename ContentArnT = Aws::String>
49 ContentReference& WithContentArn(ContentArnT&& value) { SetContentArn(std::forward<ContentArnT>(value)); return *this;}
51
53
56 inline const Aws::String& GetContentId() const { return m_contentId; }
57 inline bool ContentIdHasBeenSet() const { return m_contentIdHasBeenSet; }
58 template<typename ContentIdT = Aws::String>
59 void SetContentId(ContentIdT&& value) { m_contentIdHasBeenSet = true; m_contentId = std::forward<ContentIdT>(value); }
60 template<typename ContentIdT = Aws::String>
61 ContentReference& WithContentId(ContentIdT&& value) { SetContentId(std::forward<ContentIdT>(value)); return *this;}
63
65
68 inline const Aws::String& GetKnowledgeBaseArn() const { return m_knowledgeBaseArn; }
69 inline bool KnowledgeBaseArnHasBeenSet() const { return m_knowledgeBaseArnHasBeenSet; }
70 template<typename KnowledgeBaseArnT = Aws::String>
71 void SetKnowledgeBaseArn(KnowledgeBaseArnT&& value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value); }
72 template<typename KnowledgeBaseArnT = Aws::String>
73 ContentReference& WithKnowledgeBaseArn(KnowledgeBaseArnT&& value) { SetKnowledgeBaseArn(std::forward<KnowledgeBaseArnT>(value)); return *this;}
75
77
81 inline const Aws::String& GetKnowledgeBaseId() const { return m_knowledgeBaseId; }
82 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
83 template<typename KnowledgeBaseIdT = Aws::String>
84 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value); }
85 template<typename KnowledgeBaseIdT = Aws::String>
86 ContentReference& WithKnowledgeBaseId(KnowledgeBaseIdT&& value) { SetKnowledgeBaseId(std::forward<KnowledgeBaseIdT>(value)); return *this;}
88 private:
89
90 Aws::String m_contentArn;
91 bool m_contentArnHasBeenSet = false;
92
93 Aws::String m_contentId;
94 bool m_contentIdHasBeenSet = false;
95
96 Aws::String m_knowledgeBaseArn;
97 bool m_knowledgeBaseArnHasBeenSet = false;
98
99 Aws::String m_knowledgeBaseId;
100 bool m_knowledgeBaseIdHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace ConnectWisdomService
105} // namespace Aws
ContentReference & WithContentArn(ContentArnT &&value)
ContentReference & WithContentId(ContentIdT &&value)
void SetKnowledgeBaseArn(KnowledgeBaseArnT &&value)
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ContentReference & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
AWS_CONNECTWISDOMSERVICE_API ContentReference & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTWISDOMSERVICE_API ContentReference(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTWISDOMSERVICE_API ContentReference()=default
ContentReference & WithKnowledgeBaseArn(KnowledgeBaseArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue