AWS SDK for C++

AWS SDK for C++ Version 1.11.769

Loading...
Searching...
No Matches
RecommendationDisruptionCompliance.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
9#include <aws/resiliencehub/model/ComplianceStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ResilienceHub {
21namespace Model {
22
29 public:
30 AWS_RESILIENCEHUB_API RecommendationDisruptionCompliance() = default;
33 AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline ComplianceStatus GetExpectedComplianceStatus() const { return m_expectedComplianceStatus; }
41 inline bool ExpectedComplianceStatusHasBeenSet() const { return m_expectedComplianceStatusHasBeenSet; }
43 m_expectedComplianceStatusHasBeenSet = true;
44 m_expectedComplianceStatus = value;
45 }
48 return *this;
49 }
51
53
57 inline const Aws::String& GetExpectedRpoDescription() const { return m_expectedRpoDescription; }
58 inline bool ExpectedRpoDescriptionHasBeenSet() const { return m_expectedRpoDescriptionHasBeenSet; }
59 template <typename ExpectedRpoDescriptionT = Aws::String>
60 void SetExpectedRpoDescription(ExpectedRpoDescriptionT&& value) {
61 m_expectedRpoDescriptionHasBeenSet = true;
62 m_expectedRpoDescription = std::forward<ExpectedRpoDescriptionT>(value);
63 }
64 template <typename ExpectedRpoDescriptionT = Aws::String>
66 SetExpectedRpoDescription(std::forward<ExpectedRpoDescriptionT>(value));
67 return *this;
68 }
70
72
75 inline int GetExpectedRpoInSecs() const { return m_expectedRpoInSecs; }
76 inline bool ExpectedRpoInSecsHasBeenSet() const { return m_expectedRpoInSecsHasBeenSet; }
77 inline void SetExpectedRpoInSecs(int value) {
78 m_expectedRpoInSecsHasBeenSet = true;
79 m_expectedRpoInSecs = value;
80 }
83 return *this;
84 }
86
88
92 inline const Aws::String& GetExpectedRtoDescription() const { return m_expectedRtoDescription; }
93 inline bool ExpectedRtoDescriptionHasBeenSet() const { return m_expectedRtoDescriptionHasBeenSet; }
94 template <typename ExpectedRtoDescriptionT = Aws::String>
95 void SetExpectedRtoDescription(ExpectedRtoDescriptionT&& value) {
96 m_expectedRtoDescriptionHasBeenSet = true;
97 m_expectedRtoDescription = std::forward<ExpectedRtoDescriptionT>(value);
98 }
99 template <typename ExpectedRtoDescriptionT = Aws::String>
101 SetExpectedRtoDescription(std::forward<ExpectedRtoDescriptionT>(value));
102 return *this;
103 }
105
107
110 inline int GetExpectedRtoInSecs() const { return m_expectedRtoInSecs; }
111 inline bool ExpectedRtoInSecsHasBeenSet() const { return m_expectedRtoInSecsHasBeenSet; }
112 inline void SetExpectedRtoInSecs(int value) {
113 m_expectedRtoInSecsHasBeenSet = true;
114 m_expectedRtoInSecs = value;
115 }
118 return *this;
119 }
121 private:
122 ComplianceStatus m_expectedComplianceStatus{ComplianceStatus::NOT_SET};
123
124 Aws::String m_expectedRpoDescription;
125
126 int m_expectedRpoInSecs{0};
127
128 Aws::String m_expectedRtoDescription;
129
130 int m_expectedRtoInSecs{0};
131 bool m_expectedComplianceStatusHasBeenSet = false;
132 bool m_expectedRpoDescriptionHasBeenSet = false;
133 bool m_expectedRpoInSecsHasBeenSet = false;
134 bool m_expectedRtoDescriptionHasBeenSet = false;
135 bool m_expectedRtoInSecsHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace ResilienceHub
140} // namespace Aws
AWS_RESILIENCEHUB_API RecommendationDisruptionCompliance(Aws::Utils::Json::JsonView jsonValue)
RecommendationDisruptionCompliance & WithExpectedRpoDescription(ExpectedRpoDescriptionT &&value)
RecommendationDisruptionCompliance & WithExpectedRtoDescription(ExpectedRtoDescriptionT &&value)
AWS_RESILIENCEHUB_API RecommendationDisruptionCompliance()=default
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RESILIENCEHUB_API RecommendationDisruptionCompliance & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommendationDisruptionCompliance & WithExpectedComplianceStatus(ComplianceStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue