AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FailurePolicy.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_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 ResilienceHub
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_RESILIENCEHUB_API FailurePolicy();
33 AWS_RESILIENCEHUB_API FailurePolicy(Aws::Utils::Json::JsonView jsonValue);
34 AWS_RESILIENCEHUB_API FailurePolicy& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline int GetRpoInSecs() const{ return m_rpoInSecs; }
43 inline bool RpoInSecsHasBeenSet() const { return m_rpoInSecsHasBeenSet; }
44 inline void SetRpoInSecs(int value) { m_rpoInSecsHasBeenSet = true; m_rpoInSecs = value; }
45 inline FailurePolicy& WithRpoInSecs(int value) { SetRpoInSecs(value); return *this;}
47
49
52 inline int GetRtoInSecs() const{ return m_rtoInSecs; }
53 inline bool RtoInSecsHasBeenSet() const { return m_rtoInSecsHasBeenSet; }
54 inline void SetRtoInSecs(int value) { m_rtoInSecsHasBeenSet = true; m_rtoInSecs = value; }
55 inline FailurePolicy& WithRtoInSecs(int value) { SetRtoInSecs(value); return *this;}
57 private:
58
59 int m_rpoInSecs;
60 bool m_rpoInSecsHasBeenSet = false;
61
62 int m_rtoInSecs;
63 bool m_rtoInSecsHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace ResilienceHub
68} // namespace Aws
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RESILIENCEHUB_API FailurePolicy()
AWS_RESILIENCEHUB_API FailurePolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
FailurePolicy & WithRpoInSecs(int value)
FailurePolicy & WithRtoInSecs(int value)
AWS_RESILIENCEHUB_API FailurePolicy(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue