AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
ProvisionedPollerConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lambda/Lambda_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Lambda {
20namespace Model {
21
32 public:
33 AWS_LAMBDA_API ProvisionedPollerConfig() = default;
36 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
45 inline int GetMinimumPollers() const { return m_minimumPollers; }
46 inline bool MinimumPollersHasBeenSet() const { return m_minimumPollersHasBeenSet; }
47 inline void SetMinimumPollers(int value) {
48 m_minimumPollersHasBeenSet = true;
49 m_minimumPollers = value;
50 }
52 SetMinimumPollers(value);
53 return *this;
54 }
56
58
64 inline int GetMaximumPollers() const { return m_maximumPollers; }
65 inline bool MaximumPollersHasBeenSet() const { return m_maximumPollersHasBeenSet; }
66 inline void SetMaximumPollers(int value) {
67 m_maximumPollersHasBeenSet = true;
68 m_maximumPollers = value;
69 }
71 SetMaximumPollers(value);
72 return *this;
73 }
75
77
84 inline const Aws::String& GetPollerGroupName() const { return m_pollerGroupName; }
85 inline bool PollerGroupNameHasBeenSet() const { return m_pollerGroupNameHasBeenSet; }
86 template <typename PollerGroupNameT = Aws::String>
87 void SetPollerGroupName(PollerGroupNameT&& value) {
88 m_pollerGroupNameHasBeenSet = true;
89 m_pollerGroupName = std::forward<PollerGroupNameT>(value);
90 }
91 template <typename PollerGroupNameT = Aws::String>
92 ProvisionedPollerConfig& WithPollerGroupName(PollerGroupNameT&& value) {
93 SetPollerGroupName(std::forward<PollerGroupNameT>(value));
94 return *this;
95 }
97 private:
98 int m_minimumPollers{0};
99 bool m_minimumPollersHasBeenSet = false;
100
101 int m_maximumPollers{0};
102 bool m_maximumPollersHasBeenSet = false;
103
104 Aws::String m_pollerGroupName;
105 bool m_pollerGroupNameHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace Lambda
110} // namespace Aws
AWS_LAMBDA_API ProvisionedPollerConfig()=default
ProvisionedPollerConfig & WithMinimumPollers(int value)
ProvisionedPollerConfig & WithPollerGroupName(PollerGroupNameT &&value)
ProvisionedPollerConfig & WithMaximumPollers(int value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LAMBDA_API ProvisionedPollerConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API ProvisionedPollerConfig(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue