AWS SDK for C++

AWS SDK for C++ Version 1.11.634

Loading...
Searching...
No Matches
ServiceJobTimeout.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Batch
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_BATCH_API ServiceJobTimeout() = default;
35 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
43 inline int GetAttemptDurationSeconds() const { return m_attemptDurationSeconds; }
44 inline bool AttemptDurationSecondsHasBeenSet() const { return m_attemptDurationSecondsHasBeenSet; }
45 inline void SetAttemptDurationSeconds(int value) { m_attemptDurationSecondsHasBeenSet = true; m_attemptDurationSeconds = value; }
48 private:
49
50 int m_attemptDurationSeconds{0};
51 bool m_attemptDurationSecondsHasBeenSet = false;
52 };
53
54} // namespace Model
55} // namespace Batch
56} // namespace Aws
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceJobTimeout & WithAttemptDurationSeconds(int value)
AWS_BATCH_API ServiceJobTimeout()=default
AWS_BATCH_API ServiceJobTimeout(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API ServiceJobTimeout & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue