AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ServiceJobTimeout.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Batch {
17namespace Model {
18
25 public:
26 AWS_BATCH_API ServiceJobTimeout() = default;
29 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
36 inline int GetAttemptDurationSeconds() const { return m_attemptDurationSeconds; }
37 inline bool AttemptDurationSecondsHasBeenSet() const { return m_attemptDurationSecondsHasBeenSet; }
38 inline void SetAttemptDurationSeconds(int value) {
39 m_attemptDurationSecondsHasBeenSet = true;
40 m_attemptDurationSeconds = value;
41 }
44 return *this;
45 }
47 private:
48 int m_attemptDurationSeconds{0};
49 bool m_attemptDurationSecondsHasBeenSet = false;
50};
51
52} // namespace Model
53} // namespace Batch
54} // 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