7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/resiliencehub/model/DifferenceType.h>
11#include <aws/resiliencehub/model/DriftType.h>
12#include <aws/resiliencehub/model/DisruptionType.h>
13#include <aws/resiliencehub/model/DisruptionCompliance.h>
26namespace ResilienceHub
53 template<
typename ActualReferenceIdT = Aws::String>
54 void SetActualReferenceId(ActualReferenceIdT&& value) { m_actualReferenceIdHasBeenSet =
true; m_actualReferenceId = std::forward<ActualReferenceIdT>(value); }
55 template<
typename ActualReferenceIdT = Aws::String>
65 template<
typename ActualValueT = Aws::Map<DisruptionType, DisruptionCompliance>>
66 void SetActualValue(ActualValueT&& value) { m_actualValueHasBeenSet =
true; m_actualValue = std::forward<ActualValueT>(value); }
67 template<
typename ActualValueT = Aws::Map<DisruptionType, DisruptionCompliance>>
70 m_actualValueHasBeenSet =
true; m_actualValue.emplace(key, value);
return *
this;
80 template<
typename AppIdT = Aws::String>
81 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet =
true; m_appId = std::forward<AppIdT>(value); }
82 template<
typename AppIdT = Aws::String>
92 template<
typename AppVersionT = Aws::String>
93 void SetAppVersion(AppVersionT&& value) { m_appVersionHasBeenSet =
true; m_appVersion = std::forward<AppVersionT>(value); }
94 template<
typename AppVersionT = Aws::String>
128 template<
typename EntityIdT = Aws::String>
129 void SetEntityId(EntityIdT&& value) { m_entityIdHasBeenSet =
true; m_entityId = std::forward<EntityIdT>(value); }
130 template<
typename EntityIdT = Aws::String>
142 template<
typename EntityTypeT = Aws::String>
143 void SetEntityType(EntityTypeT&& value) { m_entityTypeHasBeenSet =
true; m_entityType = std::forward<EntityTypeT>(value); }
144 template<
typename EntityTypeT = Aws::String>
157 template<
typename ExpectedReferenceIdT = Aws::String>
158 void SetExpectedReferenceId(ExpectedReferenceIdT&& value) { m_expectedReferenceIdHasBeenSet =
true; m_expectedReferenceId = std::forward<ExpectedReferenceIdT>(value); }
159 template<
typename ExpectedReferenceIdT = Aws::String>
169 template<
typename ExpectedValueT = Aws::Map<DisruptionType, DisruptionCompliance>>
170 void SetExpectedValue(ExpectedValueT&& value) { m_expectedValueHasBeenSet =
true; m_expectedValue = std::forward<ExpectedValueT>(value); }
171 template<
typename ExpectedValueT = Aws::Map<DisruptionType, DisruptionCompliance>>
174 m_expectedValueHasBeenSet =
true; m_expectedValue.emplace(key, value);
return *
this;
180 bool m_actualReferenceIdHasBeenSet =
false;
183 bool m_actualValueHasBeenSet =
false;
186 bool m_appIdHasBeenSet =
false;
189 bool m_appVersionHasBeenSet =
false;
192 bool m_diffTypeHasBeenSet =
false;
195 bool m_driftTypeHasBeenSet =
false;
198 bool m_entityIdHasBeenSet =
false;
201 bool m_entityTypeHasBeenSet =
false;
204 bool m_expectedReferenceIdHasBeenSet =
false;
207 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