AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
WebCrawlerLimits.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace QConnect {
17namespace Model {
18
26 public:
27 AWS_QCONNECT_API WebCrawlerLimits() = default;
30 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline int GetRateLimit() const { return m_rateLimit; }
37 inline bool RateLimitHasBeenSet() const { return m_rateLimitHasBeenSet; }
38 inline void SetRateLimit(int value) {
39 m_rateLimitHasBeenSet = true;
40 m_rateLimit = value;
41 }
42 inline WebCrawlerLimits& WithRateLimit(int value) {
43 SetRateLimit(value);
44 return *this;
45 }
47 private:
48 int m_rateLimit{0};
49 bool m_rateLimitHasBeenSet = false;
50};
51
52} // namespace Model
53} // namespace QConnect
54} // namespace Aws
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QCONNECT_API WebCrawlerLimits & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API WebCrawlerLimits()=default
WebCrawlerLimits & WithRateLimit(int value)
AWS_QCONNECT_API WebCrawlerLimits(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue