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/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/WebCrawlerLimits.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qconnect/model/WebScopeType.h>
11#include <aws/qconnect/model/UrlConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace QConnect
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_QCONNECT_API WebCrawlerConfiguration();
42 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const WebCrawlerLimits& GetCrawlerLimits() const{ return m_crawlerLimits; }
50 inline bool CrawlerLimitsHasBeenSet() const { return m_crawlerLimitsHasBeenSet; }
51 inline void SetCrawlerLimits(const WebCrawlerLimits& value) { m_crawlerLimitsHasBeenSet = true; m_crawlerLimits = value; }
52 inline void SetCrawlerLimits(WebCrawlerLimits&& value) { m_crawlerLimitsHasBeenSet = true; m_crawlerLimits = std::move(value); }
53 inline WebCrawlerConfiguration& WithCrawlerLimits(const WebCrawlerLimits& value) { SetCrawlerLimits(value); return *this;}
54 inline WebCrawlerConfiguration& WithCrawlerLimits(WebCrawlerLimits&& value) { SetCrawlerLimits(std::move(value)); return *this;}
56
58
64 inline const Aws::Vector<Aws::String>& GetExclusionFilters() const{ return m_exclusionFilters; }
65 inline bool ExclusionFiltersHasBeenSet() const { return m_exclusionFiltersHasBeenSet; }
66 inline void SetExclusionFilters(const Aws::Vector<Aws::String>& value) { m_exclusionFiltersHasBeenSet = true; m_exclusionFilters = value; }
67 inline void SetExclusionFilters(Aws::Vector<Aws::String>&& value) { m_exclusionFiltersHasBeenSet = true; m_exclusionFilters = std::move(value); }
70 inline WebCrawlerConfiguration& AddExclusionFilters(const Aws::String& value) { m_exclusionFiltersHasBeenSet = true; m_exclusionFilters.push_back(value); return *this; }
71 inline WebCrawlerConfiguration& AddExclusionFilters(Aws::String&& value) { m_exclusionFiltersHasBeenSet = true; m_exclusionFilters.push_back(std::move(value)); return *this; }
72 inline WebCrawlerConfiguration& AddExclusionFilters(const char* value) { m_exclusionFiltersHasBeenSet = true; m_exclusionFilters.push_back(value); return *this; }
74
76
82 inline const Aws::Vector<Aws::String>& GetInclusionFilters() const{ return m_inclusionFilters; }
83 inline bool InclusionFiltersHasBeenSet() const { return m_inclusionFiltersHasBeenSet; }
84 inline void SetInclusionFilters(const Aws::Vector<Aws::String>& value) { m_inclusionFiltersHasBeenSet = true; m_inclusionFilters = value; }
85 inline void SetInclusionFilters(Aws::Vector<Aws::String>&& value) { m_inclusionFiltersHasBeenSet = true; m_inclusionFilters = std::move(value); }
88 inline WebCrawlerConfiguration& AddInclusionFilters(const Aws::String& value) { m_inclusionFiltersHasBeenSet = true; m_inclusionFilters.push_back(value); return *this; }
89 inline WebCrawlerConfiguration& AddInclusionFilters(Aws::String&& value) { m_inclusionFiltersHasBeenSet = true; m_inclusionFilters.push_back(std::move(value)); return *this; }
90 inline WebCrawlerConfiguration& AddInclusionFilters(const char* value) { m_inclusionFiltersHasBeenSet = true; m_inclusionFilters.push_back(value); return *this; }
92
94
103 inline const WebScopeType& GetScope() const{ return m_scope; }
104 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
105 inline void SetScope(const WebScopeType& value) { m_scopeHasBeenSet = true; m_scope = value; }
106 inline void SetScope(WebScopeType&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
107 inline WebCrawlerConfiguration& WithScope(const WebScopeType& value) { SetScope(value); return *this;}
108 inline WebCrawlerConfiguration& WithScope(WebScopeType&& value) { SetScope(std::move(value)); return *this;}
110
112
116 inline const UrlConfiguration& GetUrlConfiguration() const{ return m_urlConfiguration; }
117 inline bool UrlConfigurationHasBeenSet() const { return m_urlConfigurationHasBeenSet; }
118 inline void SetUrlConfiguration(const UrlConfiguration& value) { m_urlConfigurationHasBeenSet = true; m_urlConfiguration = value; }
119 inline void SetUrlConfiguration(UrlConfiguration&& value) { m_urlConfigurationHasBeenSet = true; m_urlConfiguration = std::move(value); }
121 inline WebCrawlerConfiguration& WithUrlConfiguration(UrlConfiguration&& value) { SetUrlConfiguration(std::move(value)); return *this;}
123 private:
124
125 WebCrawlerLimits m_crawlerLimits;
126 bool m_crawlerLimitsHasBeenSet = false;
127
128 Aws::Vector<Aws::String> m_exclusionFilters;
129 bool m_exclusionFiltersHasBeenSet = false;
130
131 Aws::Vector<Aws::String> m_inclusionFilters;
132 bool m_inclusionFiltersHasBeenSet = false;
133
134 WebScopeType m_scope;
135 bool m_scopeHasBeenSet = false;
136
137 UrlConfiguration m_urlConfiguration;
138 bool m_urlConfigurationHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace QConnect
143} // namespace Aws
WebCrawlerConfiguration & WithInclusionFilters(const Aws::Vector< Aws::String > &value)
WebCrawlerConfiguration & WithUrlConfiguration(const UrlConfiguration &value)
WebCrawlerConfiguration & AddInclusionFilters(const char *value)
void SetInclusionFilters(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetExclusionFilters() const
void SetExclusionFilters(Aws::Vector< Aws::String > &&value)
AWS_QCONNECT_API WebCrawlerConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
WebCrawlerConfiguration & AddInclusionFilters(Aws::String &&value)
WebCrawlerConfiguration & WithUrlConfiguration(UrlConfiguration &&value)
WebCrawlerConfiguration & WithInclusionFilters(Aws::Vector< Aws::String > &&value)
WebCrawlerConfiguration & AddExclusionFilters(const Aws::String &value)
void SetExclusionFilters(const Aws::Vector< Aws::String > &value)
AWS_QCONNECT_API WebCrawlerConfiguration(Aws::Utils::Json::JsonView jsonValue)
WebCrawlerConfiguration & AddInclusionFilters(const Aws::String &value)
WebCrawlerConfiguration & AddExclusionFilters(Aws::String &&value)
WebCrawlerConfiguration & WithExclusionFilters(Aws::Vector< Aws::String > &&value)
void SetUrlConfiguration(const UrlConfiguration &value)
const Aws::Vector< Aws::String > & GetInclusionFilters() const
WebCrawlerConfiguration & WithScope(WebScopeType &&value)
WebCrawlerConfiguration & WithExclusionFilters(const Aws::Vector< Aws::String > &value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
WebCrawlerConfiguration & WithCrawlerLimits(const WebCrawlerLimits &value)
WebCrawlerConfiguration & AddExclusionFilters(const char *value)
WebCrawlerConfiguration & WithScope(const WebScopeType &value)
void SetInclusionFilters(Aws::Vector< Aws::String > &&value)
void SetCrawlerLimits(const WebCrawlerLimits &value)
WebCrawlerConfiguration & WithCrawlerLimits(WebCrawlerLimits &&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