AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
PutFunctionConcurrencyRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lambda/LambdaRequest.h>
9#include <aws/lambda/Lambda_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Lambda {
15namespace Model {
16
20 public:
21 AWS_LAMBDA_API PutFunctionConcurrencyRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "PutFunctionConcurrency"; }
28
29 AWS_LAMBDA_API Aws::String SerializePayload() const override;
30
32
42 inline const Aws::String& GetFunctionName() const { return m_functionName; }
43 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
44 template <typename FunctionNameT = Aws::String>
45 void SetFunctionName(FunctionNameT&& value) {
46 m_functionNameHasBeenSet = true;
47 m_functionName = std::forward<FunctionNameT>(value);
48 }
49 template <typename FunctionNameT = Aws::String>
51 SetFunctionName(std::forward<FunctionNameT>(value));
52 return *this;
53 }
55
57
60 inline int GetReservedConcurrentExecutions() const { return m_reservedConcurrentExecutions; }
61 inline bool ReservedConcurrentExecutionsHasBeenSet() const { return m_reservedConcurrentExecutionsHasBeenSet; }
62 inline void SetReservedConcurrentExecutions(int value) {
63 m_reservedConcurrentExecutionsHasBeenSet = true;
64 m_reservedConcurrentExecutions = value;
65 }
68 return *this;
69 }
71 private:
72 Aws::String m_functionName;
73 bool m_functionNameHasBeenSet = false;
74
75 int m_reservedConcurrentExecutions{0};
76 bool m_reservedConcurrentExecutionsHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Lambda
81} // namespace Aws
PutFunctionConcurrencyRequest & WithReservedConcurrentExecutions(int value)
PutFunctionConcurrencyRequest & WithFunctionName(FunctionNameT &&value)
AWS_LAMBDA_API PutFunctionConcurrencyRequest()=default
AWS_LAMBDA_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String