7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
10#include <aws/resiliencehubv2/model/FailureCategory.h>
11#include <aws/resiliencehubv2/model/FindingSeverity.h>
12#include <aws/resiliencehubv2/model/FindingStatus.h>
13#include <aws/resiliencehubv2/model/PolicyComponent.h>
24namespace resiliencehubv2 {
43 template <
typename ServiceArnT = Aws::String>
45 m_serviceArnHasBeenSet =
true;
46 m_serviceArn = std::forward<ServiceArnT>(value);
48 template <
typename ServiceArnT = Aws::String>
61 template <
typename FindingIdT = Aws::String>
63 m_findingIdHasBeenSet =
true;
64 m_findingId = std::forward<FindingIdT>(value);
66 template <
typename FindingIdT = Aws::String>
79 template <
typename NameT = Aws::String>
81 m_nameHasBeenSet =
true;
82 m_name = std::forward<NameT>(value);
84 template <
typename NameT = Aws::String>
86 SetName(std::forward<NameT>(value));
95 template <
typename DescriptionT = Aws::String>
97 m_descriptionHasBeenSet =
true;
98 m_description = std::forward<DescriptionT>(value);
100 template <
typename DescriptionT = Aws::String>
114 m_failureCategoryHasBeenSet =
true;
115 m_failureCategory = value;
130 m_severityHasBeenSet =
true;
146 m_statusHasBeenSet =
true;
162 m_policyComponentHasBeenSet =
true;
163 m_policyComponent = value;
177 template <
typename UpdatedAtT = Aws::Utils::DateTime>
179 m_updatedAtHasBeenSet =
true;
180 m_updatedAt = std::forward<UpdatedAtT>(value);
182 template <
typename UpdatedAtT = Aws::Utils::DateTime>
206 bool m_serviceArnHasBeenSet =
false;
207 bool m_findingIdHasBeenSet =
false;
208 bool m_nameHasBeenSet =
false;
209 bool m_descriptionHasBeenSet =
false;
210 bool m_failureCategoryHasBeenSet =
false;
211 bool m_severityHasBeenSet =
false;
212 bool m_statusHasBeenSet =
false;
213 bool m_policyComponentHasBeenSet =
false;
214 bool m_updatedAtHasBeenSet =
false;
bool StatusHasBeenSet() const
bool UpdatedAtHasBeenSet() const
void SetSeverity(FindingSeverity value)
FindingSummary & WithDescription(DescriptionT &&value)
AWS_RESILIENCEHUBV2_API FindingSummary()=default
void SetName(NameT &&value)
FindingSummary & WithFindingId(FindingIdT &&value)
FindingSummary & WithUpdatedAt(UpdatedAtT &&value)
void SetServiceArn(ServiceArnT &&value)
PolicyComponent GetPolicyComponent() const
bool SeverityHasBeenSet() const
FindingSummary & WithPolicyComponent(PolicyComponent value)
bool ServiceArnHasBeenSet() const
FindingSummary & WithName(NameT &&value)
bool DescriptionHasBeenSet() const
FailureCategory GetFailureCategory() const
bool NameHasBeenSet() const
void SetFailureCategory(FailureCategory value)
FindingStatus GetStatus() const
FindingSummary & WithFailureCategory(FailureCategory value)
const Aws::String & GetServiceArn() const
void SetFindingId(FindingIdT &&value)
void SetPolicyComponent(PolicyComponent value)
AWS_RESILIENCEHUBV2_API FindingSummary(Aws::Utils::Json::JsonView jsonValue)
bool PolicyComponentHasBeenSet() const
void SetStatus(FindingStatus value)
const Aws::String & GetDescription() const
const Aws::String & GetName() const
FindingSummary & WithStatus(FindingStatus value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_RESILIENCEHUBV2_API FindingSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
FindingSeverity GetSeverity() const
FindingSummary & WithServiceArn(ServiceArnT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
bool FindingIdHasBeenSet() const
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetFindingId() const
void SetDescription(DescriptionT &&value)
bool FailureCategoryHasBeenSet() const
FindingSummary & WithSeverity(FindingSeverity value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue