AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DurableConfig.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Lambda {
17namespace Model {
18
28 public:
29 AWS_LAMBDA_API DurableConfig() = default;
30 AWS_LAMBDA_API DurableConfig(Aws::Utils::Json::JsonView jsonValue);
32 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
40 inline int GetRetentionPeriodInDays() const { return m_retentionPeriodInDays; }
41 inline bool RetentionPeriodInDaysHasBeenSet() const { return m_retentionPeriodInDaysHasBeenSet; }
42 inline void SetRetentionPeriodInDays(int value) {
43 m_retentionPeriodInDaysHasBeenSet = true;
44 m_retentionPeriodInDays = value;
45 }
48 return *this;
49 }
51
53
58 inline int GetExecutionTimeout() const { return m_executionTimeout; }
59 inline bool ExecutionTimeoutHasBeenSet() const { return m_executionTimeoutHasBeenSet; }
60 inline void SetExecutionTimeout(int value) {
61 m_executionTimeoutHasBeenSet = true;
62 m_executionTimeout = value;
63 }
66 return *this;
67 }
69 private:
70 int m_retentionPeriodInDays{0};
71
72 int m_executionTimeout{0};
73 bool m_retentionPeriodInDaysHasBeenSet = false;
74 bool m_executionTimeoutHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Lambda
79} // namespace Aws
AWS_LAMBDA_API DurableConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API DurableConfig()=default
DurableConfig & WithExecutionTimeout(int value)
AWS_LAMBDA_API DurableConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
DurableConfig & WithRetentionPeriodInDays(int value)
Aws::Utils::Json::JsonValue JsonValue