AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GitHubDocumentCrawlProperties.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace kendra
20{
21namespace Model
22{
23
33 {
34 public:
35 AWS_KENDRA_API GitHubDocumentCrawlProperties() = default;
38 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline bool GetCrawlRepositoryDocuments() const { return m_crawlRepositoryDocuments; }
46 inline bool CrawlRepositoryDocumentsHasBeenSet() const { return m_crawlRepositoryDocumentsHasBeenSet; }
47 inline void SetCrawlRepositoryDocuments(bool value) { m_crawlRepositoryDocumentsHasBeenSet = true; m_crawlRepositoryDocuments = value; }
50
52
55 inline bool GetCrawlIssue() const { return m_crawlIssue; }
56 inline bool CrawlIssueHasBeenSet() const { return m_crawlIssueHasBeenSet; }
57 inline void SetCrawlIssue(bool value) { m_crawlIssueHasBeenSet = true; m_crawlIssue = value; }
58 inline GitHubDocumentCrawlProperties& WithCrawlIssue(bool value) { SetCrawlIssue(value); return *this;}
60
62
65 inline bool GetCrawlIssueComment() const { return m_crawlIssueComment; }
66 inline bool CrawlIssueCommentHasBeenSet() const { return m_crawlIssueCommentHasBeenSet; }
67 inline void SetCrawlIssueComment(bool value) { m_crawlIssueCommentHasBeenSet = true; m_crawlIssueComment = value; }
70
72
75 inline bool GetCrawlIssueCommentAttachment() const { return m_crawlIssueCommentAttachment; }
76 inline bool CrawlIssueCommentAttachmentHasBeenSet() const { return m_crawlIssueCommentAttachmentHasBeenSet; }
77 inline void SetCrawlIssueCommentAttachment(bool value) { m_crawlIssueCommentAttachmentHasBeenSet = true; m_crawlIssueCommentAttachment = value; }
80
82
85 inline bool GetCrawlPullRequest() const { return m_crawlPullRequest; }
86 inline bool CrawlPullRequestHasBeenSet() const { return m_crawlPullRequestHasBeenSet; }
87 inline void SetCrawlPullRequest(bool value) { m_crawlPullRequestHasBeenSet = true; m_crawlPullRequest = value; }
88 inline GitHubDocumentCrawlProperties& WithCrawlPullRequest(bool value) { SetCrawlPullRequest(value); return *this;}
90
92
95 inline bool GetCrawlPullRequestComment() const { return m_crawlPullRequestComment; }
96 inline bool CrawlPullRequestCommentHasBeenSet() const { return m_crawlPullRequestCommentHasBeenSet; }
97 inline void SetCrawlPullRequestComment(bool value) { m_crawlPullRequestCommentHasBeenSet = true; m_crawlPullRequestComment = value; }
100
102
105 inline bool GetCrawlPullRequestCommentAttachment() const { return m_crawlPullRequestCommentAttachment; }
106 inline bool CrawlPullRequestCommentAttachmentHasBeenSet() const { return m_crawlPullRequestCommentAttachmentHasBeenSet; }
107 inline void SetCrawlPullRequestCommentAttachment(bool value) { m_crawlPullRequestCommentAttachmentHasBeenSet = true; m_crawlPullRequestCommentAttachment = value; }
110 private:
111
112 bool m_crawlRepositoryDocuments{false};
113 bool m_crawlRepositoryDocumentsHasBeenSet = false;
114
115 bool m_crawlIssue{false};
116 bool m_crawlIssueHasBeenSet = false;
117
118 bool m_crawlIssueComment{false};
119 bool m_crawlIssueCommentHasBeenSet = false;
120
121 bool m_crawlIssueCommentAttachment{false};
122 bool m_crawlIssueCommentAttachmentHasBeenSet = false;
123
124 bool m_crawlPullRequest{false};
125 bool m_crawlPullRequestHasBeenSet = false;
126
127 bool m_crawlPullRequestComment{false};
128 bool m_crawlPullRequestCommentHasBeenSet = false;
129
130 bool m_crawlPullRequestCommentAttachment{false};
131 bool m_crawlPullRequestCommentAttachmentHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace kendra
136} // namespace Aws
AWS_KENDRA_API GitHubDocumentCrawlProperties()=default
GitHubDocumentCrawlProperties & WithCrawlPullRequest(bool value)
GitHubDocumentCrawlProperties & WithCrawlIssueCommentAttachment(bool value)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
GitHubDocumentCrawlProperties & WithCrawlPullRequestComment(bool value)
GitHubDocumentCrawlProperties & WithCrawlPullRequestCommentAttachment(bool value)
GitHubDocumentCrawlProperties & WithCrawlIssueComment(bool value)
AWS_KENDRA_API GitHubDocumentCrawlProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
GitHubDocumentCrawlProperties & WithCrawlRepositoryDocuments(bool value)
GitHubDocumentCrawlProperties & WithCrawlIssue(bool value)
AWS_KENDRA_API GitHubDocumentCrawlProperties(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue