AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Concurrency.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Lambda
22{
23namespace Model
24{
25
27 {
28 public:
29 AWS_LAMBDA_API Concurrency();
30 AWS_LAMBDA_API Concurrency(Aws::Utils::Json::JsonView jsonValue);
32 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
33
34
36
42 inline int GetReservedConcurrentExecutions() const{ return m_reservedConcurrentExecutions; }
43 inline bool ReservedConcurrentExecutionsHasBeenSet() const { return m_reservedConcurrentExecutionsHasBeenSet; }
44 inline void SetReservedConcurrentExecutions(int value) { m_reservedConcurrentExecutionsHasBeenSet = true; m_reservedConcurrentExecutions = value; }
47
49
50 inline const Aws::String& GetRequestId() const{ return m_requestId; }
51 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
52 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
53 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
54 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
55 inline Concurrency& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
56 inline Concurrency& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
57 inline Concurrency& WithRequestId(const char* value) { SetRequestId(value); return *this;}
59 private:
60
61 int m_reservedConcurrentExecutions;
62 bool m_reservedConcurrentExecutionsHasBeenSet = false;
63
64 Aws::String m_requestId;
65 bool m_requestIdHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace Lambda
70} // namespace Aws
bool ReservedConcurrentExecutionsHasBeenSet() const
Definition Concurrency.h:43
Concurrency & WithRequestId(const char *value)
Definition Concurrency.h:57
Concurrency & WithRequestId(Aws::String &&value)
Definition Concurrency.h:56
int GetReservedConcurrentExecutions() const
Definition Concurrency.h:42
Concurrency & WithReservedConcurrentExecutions(int value)
Definition Concurrency.h:45
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LAMBDA_API Concurrency(Aws::Utils::Json::JsonView jsonValue)
void SetRequestId(const char *value)
Definition Concurrency.h:54
void SetRequestId(const Aws::String &value)
Definition Concurrency.h:52
const Aws::String & GetRequestId() const
Definition Concurrency.h:50
void SetReservedConcurrentExecutions(int value)
Definition Concurrency.h:44
void SetRequestId(Aws::String &&value)
Definition Concurrency.h:53
Concurrency & WithRequestId(const Aws::String &value)
Definition Concurrency.h:55
AWS_LAMBDA_API Concurrency & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue