AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchPolicy.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_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 RoboMaker
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_ROBOMAKER_API BatchPolicy();
33 AWS_ROBOMAKER_API BatchPolicy(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ROBOMAKER_API BatchPolicy& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
48 inline long long GetTimeoutInSeconds() const{ return m_timeoutInSeconds; }
49 inline bool TimeoutInSecondsHasBeenSet() const { return m_timeoutInSecondsHasBeenSet; }
50 inline void SetTimeoutInSeconds(long long value) { m_timeoutInSecondsHasBeenSet = true; m_timeoutInSeconds = value; }
51 inline BatchPolicy& WithTimeoutInSeconds(long long value) { SetTimeoutInSeconds(value); return *this;}
53
55
62 inline int GetMaxConcurrency() const{ return m_maxConcurrency; }
63 inline bool MaxConcurrencyHasBeenSet() const { return m_maxConcurrencyHasBeenSet; }
64 inline void SetMaxConcurrency(int value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = value; }
65 inline BatchPolicy& WithMaxConcurrency(int value) { SetMaxConcurrency(value); return *this;}
67 private:
68
69 long long m_timeoutInSeconds;
70 bool m_timeoutInSecondsHasBeenSet = false;
71
72 int m_maxConcurrency;
73 bool m_maxConcurrencyHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace RoboMaker
78} // namespace Aws
AWS_ROBOMAKER_API BatchPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchPolicy & WithMaxConcurrency(int value)
Definition BatchPolicy.h:65
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
BatchPolicy & WithTimeoutInSeconds(long long value)
Definition BatchPolicy.h:51
long long GetTimeoutInSeconds() const
Definition BatchPolicy.h:48
void SetTimeoutInSeconds(long long value)
Definition BatchPolicy.h:50
AWS_ROBOMAKER_API BatchPolicy(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue