AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
WebCrawlerLimits.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_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 BedrockAgent
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_BEDROCKAGENT_API WebCrawlerLimits() = default;
34 AWS_BEDROCKAGENT_API WebCrawlerLimits(Aws::Utils::Json::JsonView jsonValue);
35 AWS_BEDROCKAGENT_API WebCrawlerLimits& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
45 inline int GetMaxPages() const { return m_maxPages; }
46 inline bool MaxPagesHasBeenSet() const { return m_maxPagesHasBeenSet; }
47 inline void SetMaxPages(int value) { m_maxPagesHasBeenSet = true; m_maxPages = value; }
48 inline WebCrawlerLimits& WithMaxPages(int value) { SetMaxPages(value); return *this;}
50
52
55 inline int GetRateLimit() const { return m_rateLimit; }
56 inline bool RateLimitHasBeenSet() const { return m_rateLimitHasBeenSet; }
57 inline void SetRateLimit(int value) { m_rateLimitHasBeenSet = true; m_rateLimit = value; }
58 inline WebCrawlerLimits& WithRateLimit(int value) { SetRateLimit(value); return *this;}
60 private:
61
62 int m_maxPages{0};
63 bool m_maxPagesHasBeenSet = false;
64
65 int m_rateLimit{0};
66 bool m_rateLimitHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace BedrockAgent
71} // namespace Aws
WebCrawlerLimits & WithMaxPages(int value)
AWS_BEDROCKAGENT_API WebCrawlerLimits(Aws::Utils::Json::JsonView jsonValue)
WebCrawlerLimits & WithRateLimit(int value)
AWS_BEDROCKAGENT_API WebCrawlerLimits()=default
AWS_BEDROCKAGENT_API WebCrawlerLimits & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue