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
55 inline void SetActualReferenceId(
const char* value) { m_actualReferenceIdHasBeenSet =
true; m_actualReferenceId.assign(value); }
85 inline void SetAppId(
const char* value) { m_appIdHasBeenSet =
true; m_appId.assign(value); }
99 inline void SetAppVersion(
const char* value) { m_appVersionHasBeenSet =
true; m_appVersion.assign(value); }
141 inline void SetEntityId(
const char* value) { m_entityIdHasBeenSet =
true; m_entityId.assign(value); }
157 inline void SetEntityType(
const char* value) { m_entityTypeHasBeenSet =
true; m_entityType.assign(value); }
174 inline void SetExpectedReferenceId(
const char* value) { m_expectedReferenceIdHasBeenSet =
true; m_expectedReferenceId.assign(value); }
198 bool m_actualReferenceIdHasBeenSet =
false;
201 bool m_actualValueHasBeenSet =
false;
204 bool m_appIdHasBeenSet =
false;
207 bool m_appVersionHasBeenSet =
false;
210 bool m_diffTypeHasBeenSet =
false;
213 bool m_driftTypeHasBeenSet =
false;
216 bool m_entityIdHasBeenSet =
false;
219 bool m_entityTypeHasBeenSet =
false;
222 bool m_expectedReferenceIdHasBeenSet =
false;
225 bool m_expectedValueHasBeenSet =
false;
ComplianceDrift & WithDriftType(const DriftType &value)
ComplianceDrift & WithEntityType(const char *value)
void SetEntityId(Aws::String &&value)
const Aws::String & GetAppId() const
const DifferenceType & GetDiffType() const
bool EntityTypeHasBeenSet() const
ComplianceDrift & WithAppVersion(const Aws::String &value)
ComplianceDrift & WithActualValue(Aws::Map< DisruptionType, DisruptionCompliance > &&value)
ComplianceDrift & AddExpectedValue(DisruptionType &&key, const DisruptionCompliance &value)
bool DriftTypeHasBeenSet() const
void SetEntityId(const Aws::String &value)
bool ExpectedReferenceIdHasBeenSet() const
bool AppVersionHasBeenSet() const
ComplianceDrift & WithActualReferenceId(const Aws::String &value)
ComplianceDrift & WithAppVersion(const char *value)
void SetDriftType(const DriftType &value)
ComplianceDrift & AddActualValue(DisruptionType &&key, const DisruptionCompliance &value)
ComplianceDrift & WithDiffType(DifferenceType &&value)
ComplianceDrift & WithEntityType(const Aws::String &value)
ComplianceDrift & WithDriftType(DriftType &&value)
void SetDriftType(DriftType &&value)
ComplianceDrift & WithEntityId(const char *value)
void SetActualReferenceId(Aws::String &&value)
ComplianceDrift & AddActualValue(const DisruptionType &key, DisruptionCompliance &&value)
void SetActualValue(Aws::Map< DisruptionType, DisruptionCompliance > &&value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
ComplianceDrift & WithActualReferenceId(Aws::String &&value)
AWS_RESILIENCEHUB_API ComplianceDrift & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAppVersion(Aws::String &&value)
ComplianceDrift & WithExpectedValue(Aws::Map< DisruptionType, DisruptionCompliance > &&value)
ComplianceDrift & WithDiffType(const DifferenceType &value)
const Aws::Map< DisruptionType, DisruptionCompliance > & GetExpectedValue() const
ComplianceDrift & AddActualValue(DisruptionType &&key, DisruptionCompliance &&value)
void SetEntityType(Aws::String &&value)
ComplianceDrift & AddActualValue(const DisruptionType &key, const DisruptionCompliance &value)
void SetExpectedValue(Aws::Map< DisruptionType, DisruptionCompliance > &&value)
ComplianceDrift & WithExpectedValue(const Aws::Map< DisruptionType, DisruptionCompliance > &value)
void SetAppVersion(const Aws::String &value)
void SetDiffType(DifferenceType &&value)
void SetEntityId(const char *value)
ComplianceDrift & WithActualValue(const Aws::Map< DisruptionType, DisruptionCompliance > &value)
void SetExpectedValue(const Aws::Map< DisruptionType, DisruptionCompliance > &value)
bool DiffTypeHasBeenSet() const
ComplianceDrift & WithEntityId(const Aws::String &value)
bool ActualReferenceIdHasBeenSet() const
void SetDiffType(const DifferenceType &value)
void SetAppId(const char *value)
AWS_RESILIENCEHUB_API ComplianceDrift()
ComplianceDrift & WithEntityType(Aws::String &&value)
void SetActualReferenceId(const Aws::String &value)
ComplianceDrift & AddExpectedValue(const DisruptionType &key, DisruptionCompliance &&value)
ComplianceDrift & AddExpectedValue(const DisruptionType &key, const DisruptionCompliance &value)
ComplianceDrift & AddExpectedValue(DisruptionType &&key, DisruptionCompliance &&value)
ComplianceDrift & WithAppId(Aws::String &&value)
bool EntityIdHasBeenSet() const
ComplianceDrift & WithExpectedReferenceId(const char *value)
void SetExpectedReferenceId(const Aws::String &value)
const Aws::String & GetAppVersion() const
const Aws::String & GetActualReferenceId() const
AWS_RESILIENCEHUB_API ComplianceDrift(Aws::Utils::Json::JsonView jsonValue)
ComplianceDrift & WithExpectedReferenceId(const Aws::String &value)
bool ExpectedValueHasBeenSet() const
void SetExpectedReferenceId(const char *value)
bool ActualValueHasBeenSet() const
ComplianceDrift & WithEntityId(Aws::String &&value)
ComplianceDrift & WithActualReferenceId(const char *value)
void SetExpectedReferenceId(Aws::String &&value)
void SetActualReferenceId(const char *value)
const Aws::Map< DisruptionType, DisruptionCompliance > & GetActualValue() const
ComplianceDrift & WithAppId(const Aws::String &value)
const Aws::String & GetEntityType() const
const DriftType & GetDriftType() const
const Aws::String & GetExpectedReferenceId() const
void SetEntityType(const Aws::String &value)
ComplianceDrift & WithAppId(const char *value)
void SetActualValue(const Aws::Map< DisruptionType, DisruptionCompliance > &value)
void SetAppId(Aws::String &&value)
bool AppIdHasBeenSet() const
ComplianceDrift & WithExpectedReferenceId(Aws::String &&value)
const Aws::String & GetEntityId() const
void SetAppVersion(const char *value)
ComplianceDrift & WithAppVersion(Aws::String &&value)
void SetAppId(const Aws::String &value)
void SetEntityType(const char *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