AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
85 inline const Aws::String& GetPollerGroupName() const { return m_pollerGroupName; }
86 inline bool PollerGroupNameHasBeenSet() const { return m_pollerGroupNameHasBeenSet; }
87 template <typename PollerGroupNameT = Aws::String>
88 void SetPollerGroupName(PollerGroupNameT&& value) {
89 m_pollerGroupNameHasBeenSet = true;
90 m_pollerGroupName = std::forward<PollerGroupNameT>(value);
91 }
92 template <typename PollerGroupNameT = Aws::String>
93 ProvisionedPollerConfig& WithPollerGroupName(PollerGroupNameT&& value) {
94 SetPollerGroupName(std::forward<PollerGroupNameT>(value));
95 return *this;
96 }
98 private:
99 int m_minimumPollers{0};
100
101 int m_maximumPollers{0};
102
103 Aws::String m_pollerGroupName;
104 bool m_minimumPollersHasBeenSet = false;
105 bool m_maximumPollersHasBeenSet = false;
106 bool m_pollerGroupNameHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace Lambda
111} // 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