7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
10#include <aws/resiliencehub/model/DifferenceType.h>
11#include <aws/resiliencehub/model/DisruptionCompliance.h>
12#include <aws/resiliencehub/model/DisruptionType.h>
13#include <aws/resiliencehub/model/DriftType.h>
24namespace ResilienceHub {
47 template <
typename ActualReferenceIdT = Aws::String>
49 m_actualReferenceIdHasBeenSet =
true;
50 m_actualReferenceId = std::forward<ActualReferenceIdT>(value);
52 template <
typename ActualReferenceIdT = Aws::String>
65 template <
typename ActualValueT = Aws::Map<DisruptionType, DisruptionCompliance>>
67 m_actualValueHasBeenSet =
true;
68 m_actualValue = std::forward<ActualValueT>(value);
70 template <
typename ActualValueT = Aws::Map<DisruptionType, DisruptionCompliance>>
76 m_actualValueHasBeenSet =
true;
77 m_actualValue.emplace(key, value);
88 template <
typename AppIdT = Aws::String>
90 m_appIdHasBeenSet =
true;
91 m_appId = std::forward<AppIdT>(value);
93 template <
typename AppIdT = Aws::String>
95 SetAppId(std::forward<AppIdT>(value));
106 template <
typename AppVersionT = Aws::String>
108 m_appVersionHasBeenSet =
true;
109 m_appVersion = std::forward<AppVersionT>(value);
111 template <
typename AppVersionT = Aws::String>
127 m_diffTypeHasBeenSet =
true;
144 m_driftTypeHasBeenSet =
true;
160 template <
typename EntityIdT = Aws::String>
162 m_entityIdHasBeenSet =
true;
163 m_entityId = std::forward<EntityIdT>(value);
165 template <
typename EntityIdT = Aws::String>
180 template <
typename EntityTypeT = Aws::String>
182 m_entityTypeHasBeenSet =
true;
183 m_entityType = std::forward<EntityTypeT>(value);
185 template <
typename EntityTypeT = Aws::String>
201 template <
typename ExpectedReferenceIdT = Aws::String>
203 m_expectedReferenceIdHasBeenSet =
true;
204 m_expectedReferenceId = std::forward<ExpectedReferenceIdT>(value);
206 template <
typename ExpectedReferenceIdT = Aws::String>
219 template <
typename ExpectedValueT = Aws::Map<DisruptionType, DisruptionCompliance>>
221 m_expectedValueHasBeenSet =
true;
222 m_expectedValue = std::forward<ExpectedValueT>(value);
224 template <
typename ExpectedValueT = Aws::Map<DisruptionType, DisruptionCompliance>>
230 m_expectedValueHasBeenSet =
true;
231 m_expectedValue.emplace(key, value);
255 bool m_actualReferenceIdHasBeenSet =
false;
256 bool m_actualValueHasBeenSet =
false;
257 bool m_appIdHasBeenSet =
false;
258 bool m_appVersionHasBeenSet =
false;
259 bool m_diffTypeHasBeenSet =
false;
260 bool m_driftTypeHasBeenSet =
false;
261 bool m_entityIdHasBeenSet =
false;
262 bool m_entityTypeHasBeenSet =
false;
263 bool m_expectedReferenceIdHasBeenSet =
false;
264 bool m_expectedValueHasBeenSet =
false;
void SetEntityType(EntityTypeT &&value)
const Aws::String & GetAppId() const
bool EntityTypeHasBeenSet() const
bool DriftTypeHasBeenSet() const
void SetDiffType(DifferenceType value)
bool ExpectedReferenceIdHasBeenSet() const
bool AppVersionHasBeenSet() const
ComplianceDrift & WithDriftType(DriftType value)
void SetDriftType(DriftType value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
DifferenceType GetDiffType() const
AWS_RESILIENCEHUB_API ComplianceDrift()=default
AWS_RESILIENCEHUB_API ComplianceDrift & operator=(Aws::Utils::Json::JsonView jsonValue)
ComplianceDrift & WithExpectedValue(ExpectedValueT &&value)
void SetExpectedReferenceId(ExpectedReferenceIdT &&value)
void SetAppId(AppIdT &&value)
const Aws::Map< DisruptionType, DisruptionCompliance > & GetExpectedValue() const
ComplianceDrift & WithEntityType(EntityTypeT &&value)
ComplianceDrift & WithActualReferenceId(ActualReferenceIdT &&value)
bool DiffTypeHasBeenSet() const
bool ActualReferenceIdHasBeenSet() const
ComplianceDrift & WithActualValue(ActualValueT &&value)
void SetExpectedValue(ExpectedValueT &&value)
bool EntityIdHasBeenSet() const
ComplianceDrift & AddExpectedValue(DisruptionType key, DisruptionCompliance value)
const Aws::String & GetAppVersion() const
const Aws::String & GetActualReferenceId() const
AWS_RESILIENCEHUB_API ComplianceDrift(Aws::Utils::Json::JsonView jsonValue)
ComplianceDrift & WithExpectedReferenceId(ExpectedReferenceIdT &&value)
void SetActualReferenceId(ActualReferenceIdT &&value)
void SetActualValue(ActualValueT &&value)
ComplianceDrift & WithDiffType(DifferenceType value)
DriftType GetDriftType() const
bool ExpectedValueHasBeenSet() const
ComplianceDrift & WithAppId(AppIdT &&value)
bool ActualValueHasBeenSet() const
void SetAppVersion(AppVersionT &&value)
ComplianceDrift & WithEntityId(EntityIdT &&value)
ComplianceDrift & WithAppVersion(AppVersionT &&value)
const Aws::Map< DisruptionType, DisruptionCompliance > & GetActualValue() const
const Aws::String & GetEntityType() const
const Aws::String & GetExpectedReferenceId() const
ComplianceDrift & AddActualValue(DisruptionType key, DisruptionCompliance value)
bool AppIdHasBeenSet() const
const Aws::String & GetEntityId() const
void SetEntityId(EntityIdT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue