AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WebCrawlerConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/WebCrawlerLimits.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/bedrock-agent/model/WebScopeType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace BedrockAgent
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_BEDROCKAGENT_API WebCrawlerConfiguration();
39 AWS_BEDROCKAGENT_API WebCrawlerConfiguration(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const WebCrawlerLimits& GetCrawlerLimits() const{ return m_crawlerLimits; }
49 inline bool CrawlerLimitsHasBeenSet() const { return m_crawlerLimitsHasBeenSet; }
50 inline void SetCrawlerLimits(const WebCrawlerLimits& value) { m_crawlerLimitsHasBeenSet = true; m_crawlerLimits = value; }
51 inline void SetCrawlerLimits(WebCrawlerLimits&& value) { m_crawlerLimitsHasBeenSet = true; m_crawlerLimits = std::move(value); }
52 inline WebCrawlerConfiguration& WithCrawlerLimits(const WebCrawlerLimits& value) { SetCrawlerLimits(value); return *this;}
53 inline WebCrawlerConfiguration& WithCrawlerLimits(WebCrawlerLimits&& value) { SetCrawlerLimits(std::move(value)); return *this;}
55
57
63 inline const Aws::Vector<Aws::String>& GetExclusionFilters() const{ return m_exclusionFilters; }
64 inline bool ExclusionFiltersHasBeenSet() const { return m_exclusionFiltersHasBeenSet; }
65 inline void SetExclusionFilters(const Aws::Vector<Aws::String>& value) { m_exclusionFiltersHasBeenSet = true; m_exclusionFilters = value; }
66 inline void SetExclusionFilters(Aws::Vector<Aws::String>&& value) { m_exclusionFiltersHasBeenSet = true; m_exclusionFilters = std::move(value); }
69 inline WebCrawlerConfiguration& AddExclusionFilters(const Aws::String& value) { m_exclusionFiltersHasBeenSet = true; m_exclusionFilters.push_back(value); return *this; }
70 inline WebCrawlerConfiguration& AddExclusionFilters(Aws::String&& value) { m_exclusionFiltersHasBeenSet = true; m_exclusionFilters.push_back(std::move(value)); return *this; }
71 inline WebCrawlerConfiguration& AddExclusionFilters(const char* value) { m_exclusionFiltersHasBeenSet = true; m_exclusionFilters.push_back(value); return *this; }
73
75
81 inline const Aws::Vector<Aws::String>& GetInclusionFilters() const{ return m_inclusionFilters; }
82 inline bool InclusionFiltersHasBeenSet() const { return m_inclusionFiltersHasBeenSet; }
83 inline void SetInclusionFilters(const Aws::Vector<Aws::String>& value) { m_inclusionFiltersHasBeenSet = true; m_inclusionFilters = value; }
84 inline void SetInclusionFilters(Aws::Vector<Aws::String>&& value) { m_inclusionFiltersHasBeenSet = true; m_inclusionFilters = std::move(value); }
87 inline WebCrawlerConfiguration& AddInclusionFilters(const Aws::String& value) { m_inclusionFiltersHasBeenSet = true; m_inclusionFilters.push_back(value); return *this; }
88 inline WebCrawlerConfiguration& AddInclusionFilters(Aws::String&& value) { m_inclusionFiltersHasBeenSet = true; m_inclusionFilters.push_back(std::move(value)); return *this; }
89 inline WebCrawlerConfiguration& AddInclusionFilters(const char* value) { m_inclusionFiltersHasBeenSet = true; m_inclusionFilters.push_back(value); return *this; }
91
93
102 inline const WebScopeType& GetScope() const{ return m_scope; }
103 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
104 inline void SetScope(const WebScopeType& value) { m_scopeHasBeenSet = true; m_scope = value; }
105 inline void SetScope(WebScopeType&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
106 inline WebCrawlerConfiguration& WithScope(const WebScopeType& value) { SetScope(value); return *this;}
107 inline WebCrawlerConfiguration& WithScope(WebScopeType&& value) { SetScope(std::move(value)); return *this;}
109 private:
110
111 WebCrawlerLimits m_crawlerLimits;
112 bool m_crawlerLimitsHasBeenSet = false;
113
114 Aws::Vector<Aws::String> m_exclusionFilters;
115 bool m_exclusionFiltersHasBeenSet = false;
116
117 Aws::Vector<Aws::String> m_inclusionFilters;
118 bool m_inclusionFiltersHasBeenSet = false;
119
120 WebScopeType m_scope;
121 bool m_scopeHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace BedrockAgent
126} // namespace Aws
WebCrawlerConfiguration & WithCrawlerLimits(WebCrawlerLimits &&value)
WebCrawlerConfiguration & WithExclusionFilters(const Aws::Vector< Aws::String > &value)
WebCrawlerConfiguration & WithScope(const WebScopeType &value)
WebCrawlerConfiguration & WithScope(WebScopeType &&value)
WebCrawlerConfiguration & WithExclusionFilters(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetExclusionFilters() const
void SetInclusionFilters(const Aws::Vector< Aws::String > &value)
WebCrawlerConfiguration & WithInclusionFilters(Aws::Vector< Aws::String > &&value)
WebCrawlerConfiguration & AddInclusionFilters(Aws::String &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
WebCrawlerConfiguration & WithCrawlerLimits(const WebCrawlerLimits &value)
const Aws::Vector< Aws::String > & GetInclusionFilters() const
WebCrawlerConfiguration & AddInclusionFilters(const char *value)
WebCrawlerConfiguration & AddInclusionFilters(const Aws::String &value)
void SetInclusionFilters(Aws::Vector< Aws::String > &&value)
void SetExclusionFilters(const Aws::Vector< Aws::String > &value)
WebCrawlerConfiguration & WithInclusionFilters(const Aws::Vector< Aws::String > &value)
void SetExclusionFilters(Aws::Vector< Aws::String > &&value)
AWS_BEDROCKAGENT_API WebCrawlerConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API WebCrawlerConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
WebCrawlerConfiguration & AddExclusionFilters(const char *value)
WebCrawlerConfiguration & AddExclusionFilters(Aws::String &&value)
WebCrawlerConfiguration & AddExclusionFilters(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue