AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetContentArn(const Aws::String& value) { m_contentArnHasBeenSet = true; m_contentArn = value; }
47 inline void SetContentArn(Aws::String&& value) { m_contentArnHasBeenSet = true; m_contentArn = std::move(value); }
48 inline void SetContentArn(const char* value) { m_contentArnHasBeenSet = true; m_contentArn.assign(value); }
49 inline ContentReference& WithContentArn(const Aws::String& value) { SetContentArn(value); return *this;}
50 inline ContentReference& WithContentArn(Aws::String&& value) { SetContentArn(std::move(value)); return *this;}
51 inline ContentReference& WithContentArn(const char* value) { SetContentArn(value); return *this;}
53
55
58 inline const Aws::String& GetContentId() const{ return m_contentId; }
59 inline bool ContentIdHasBeenSet() const { return m_contentIdHasBeenSet; }
60 inline void SetContentId(const Aws::String& value) { m_contentIdHasBeenSet = true; m_contentId = value; }
61 inline void SetContentId(Aws::String&& value) { m_contentIdHasBeenSet = true; m_contentId = std::move(value); }
62 inline void SetContentId(const char* value) { m_contentIdHasBeenSet = true; m_contentId.assign(value); }
63 inline ContentReference& WithContentId(const Aws::String& value) { SetContentId(value); return *this;}
64 inline ContentReference& WithContentId(Aws::String&& value) { SetContentId(std::move(value)); return *this;}
65 inline ContentReference& WithContentId(const char* value) { SetContentId(value); return *this;}
67
69
72 inline const Aws::String& GetKnowledgeBaseArn() const{ return m_knowledgeBaseArn; }
73 inline bool KnowledgeBaseArnHasBeenSet() const { return m_knowledgeBaseArnHasBeenSet; }
74 inline void SetKnowledgeBaseArn(const Aws::String& value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn = value; }
75 inline void SetKnowledgeBaseArn(Aws::String&& value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn = std::move(value); }
76 inline void SetKnowledgeBaseArn(const char* value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn.assign(value); }
77 inline ContentReference& WithKnowledgeBaseArn(const Aws::String& value) { SetKnowledgeBaseArn(value); return *this;}
78 inline ContentReference& WithKnowledgeBaseArn(Aws::String&& value) { SetKnowledgeBaseArn(std::move(value)); return *this;}
79 inline ContentReference& WithKnowledgeBaseArn(const char* value) { SetKnowledgeBaseArn(value); return *this;}
81
83
87 inline const Aws::String& GetKnowledgeBaseId() const{ return m_knowledgeBaseId; }
88 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
89 inline void SetKnowledgeBaseId(const Aws::String& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = value; }
90 inline void SetKnowledgeBaseId(Aws::String&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::move(value); }
91 inline void SetKnowledgeBaseId(const char* value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId.assign(value); }
92 inline ContentReference& WithKnowledgeBaseId(const Aws::String& value) { SetKnowledgeBaseId(value); return *this;}
93 inline ContentReference& WithKnowledgeBaseId(Aws::String&& value) { SetKnowledgeBaseId(std::move(value)); return *this;}
94 inline ContentReference& WithKnowledgeBaseId(const char* value) { SetKnowledgeBaseId(value); return *this;}
96 private:
97
98 Aws::String m_contentArn;
99 bool m_contentArnHasBeenSet = false;
100
101 Aws::String m_contentId;
102 bool m_contentIdHasBeenSet = false;
103
104 Aws::String m_knowledgeBaseArn;
105 bool m_knowledgeBaseArnHasBeenSet = false;
106
107 Aws::String m_knowledgeBaseId;
108 bool m_knowledgeBaseIdHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace ConnectWisdomService
113} // namespace Aws
ContentReference & WithKnowledgeBaseArn(Aws::String &&value)
ContentReference & WithKnowledgeBaseId(const char *value)
ContentReference & WithKnowledgeBaseArn(const char *value)
ContentReference & WithContentArn(Aws::String &&value)
ContentReference & WithKnowledgeBaseId(const Aws::String &value)
ContentReference & WithKnowledgeBaseArn(const Aws::String &value)
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ContentReference & WithContentArn(const char *value)
ContentReference & WithContentId(Aws::String &&value)
ContentReference & WithContentId(const char *value)
AWS_CONNECTWISDOMSERVICE_API ContentReference()
ContentReference & WithContentId(const Aws::String &value)
AWS_CONNECTWISDOMSERVICE_API ContentReference & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTWISDOMSERVICE_API ContentReference(Aws::Utils::Json::JsonView jsonValue)
ContentReference & WithContentArn(const Aws::String &value)
ContentReference & WithKnowledgeBaseId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue