AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutoTerminationPolicy.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_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 EMR
20{
21namespace Model
22{
23
34 {
35 public:
36 AWS_EMR_API AutoTerminationPolicy();
40
41
43
48 inline long long GetIdleTimeout() const{ return m_idleTimeout; }
49 inline bool IdleTimeoutHasBeenSet() const { return m_idleTimeoutHasBeenSet; }
50 inline void SetIdleTimeout(long long value) { m_idleTimeoutHasBeenSet = true; m_idleTimeout = value; }
51 inline AutoTerminationPolicy& WithIdleTimeout(long long value) { SetIdleTimeout(value); return *this;}
53 private:
54
55 long long m_idleTimeout;
56 bool m_idleTimeoutHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace EMR
61} // namespace Aws
AWS_EMR_API AutoTerminationPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API AutoTerminationPolicy(Aws::Utils::Json::JsonView jsonValue)
AutoTerminationPolicy & WithIdleTimeout(long long value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue