AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobTimeout.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
31 {
32 public:
33 AWS_BATCH_API JobTimeout();
34 AWS_BATCH_API JobTimeout(Aws::Utils::Json::JsonView jsonValue);
36 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
48 inline int GetAttemptDurationSeconds() const{ return m_attemptDurationSeconds; }
49 inline bool AttemptDurationSecondsHasBeenSet() const { return m_attemptDurationSecondsHasBeenSet; }
50 inline void SetAttemptDurationSeconds(int value) { m_attemptDurationSecondsHasBeenSet = true; m_attemptDurationSeconds = value; }
51 inline JobTimeout& WithAttemptDurationSeconds(int value) { SetAttemptDurationSeconds(value); return *this;}
53 private:
54
55 int m_attemptDurationSeconds;
56 bool m_attemptDurationSecondsHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace Batch
61} // namespace Aws
void SetAttemptDurationSeconds(int value)
Definition JobTimeout.h:50
AWS_BATCH_API JobTimeout(Aws::Utils::Json::JsonView jsonValue)
JobTimeout & WithAttemptDurationSeconds(int value)
Definition JobTimeout.h:51
bool AttemptDurationSecondsHasBeenSet() const
Definition JobTimeout.h:49
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
int GetAttemptDurationSeconds() const
Definition JobTimeout.h:48
AWS_BATCH_API JobTimeout & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue