7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
11#include <aws/resiliencehubv2/model/Achievability.h>
12#include <aws/resiliencehubv2/model/AssessmentStatus.h>
13#include <aws/resiliencehubv2/model/AssociatedSystem.h>
14#include <aws/resiliencehubv2/model/DependencyDiscoveryConfig.h>
25namespace resiliencehubv2 {
44 template <
typename ServiceArnT = Aws::String>
46 m_serviceArnHasBeenSet =
true;
47 m_serviceArn = std::forward<ServiceArnT>(value);
49 template <
typename ServiceArnT = Aws::String>
60 template <
typename NameT = Aws::String>
62 m_nameHasBeenSet =
true;
63 m_name = std::forward<NameT>(value);
65 template <
typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
78 template <
typename AssociatedSystemsT = Aws::Vector<AssociatedSystem>>
80 m_associatedSystemsHasBeenSet =
true;
81 m_associatedSystems = std::forward<AssociatedSystemsT>(value);
83 template <
typename AssociatedSystemsT = Aws::Vector<AssociatedSystem>>
88 template <
typename AssociatedSystemsT = AssociatedSystem>
90 m_associatedSystemsHasBeenSet =
true;
91 m_associatedSystems.emplace_back(std::forward<AssociatedSystemsT>(value));
102 template <
typename RegionsT = Aws::Vector<Aws::String>>
104 m_regionsHasBeenSet =
true;
105 m_regions = std::forward<RegionsT>(value);
107 template <
typename RegionsT = Aws::Vector<Aws::String>>
112 template <
typename RegionsT = Aws::String>
114 m_regionsHasBeenSet =
true;
115 m_regions.emplace_back(std::forward<RegionsT>(value));
124 template <
typename PolicyArnT = Aws::String>
126 m_policyArnHasBeenSet =
true;
127 m_policyArn = std::forward<PolicyArnT>(value);
129 template <
typename PolicyArnT = Aws::String>
143 m_assessmentStatusHasBeenSet =
true;
144 m_assessmentStatus = value;
159 m_openFindingsCountHasBeenSet =
true;
160 m_openFindingsCount = value;
175 m_resolvedFindingsCountHasBeenSet =
true;
176 m_resolvedFindingsCount = value;
190 template <
typename DependencyDiscoveryT = DependencyDiscoveryConfig>
192 m_dependencyDiscoveryHasBeenSet =
true;
193 m_dependencyDiscovery = std::forward<DependencyDiscoveryT>(value);
195 template <
typename DependencyDiscoveryT = DependencyDiscoveryConfig>
208 template <
typename AchievabilityT = Achievability>
210 m_achievabilityHasBeenSet =
true;
211 m_achievability = std::forward<AchievabilityT>(value);
213 template <
typename AchievabilityT = Achievability>
226 template <
typename OrganizationIdT = Aws::String>
228 m_organizationIdHasBeenSet =
true;
229 m_organizationId = std::forward<OrganizationIdT>(value);
231 template <
typename OrganizationIdT = Aws::String>
244 template <
typename OuIdT = Aws::String>
246 m_ouIdHasBeenSet =
true;
247 m_ouId = std::forward<OuIdT>(value);
249 template <
typename OuIdT = Aws::String>
251 SetOuId(std::forward<OuIdT>(value));
262 template <
typename AccountIdT = Aws::String>
264 m_accountIdHasBeenSet =
true;
265 m_accountId = std::forward<AccountIdT>(value);
267 template <
typename AccountIdT = Aws::String>
280 template <
typename CreatedAtT = Aws::Utils::DateTime>
282 m_createdAtHasBeenSet =
true;
283 m_createdAt = std::forward<CreatedAtT>(value);
285 template <
typename CreatedAtT = Aws::Utils::DateTime>
298 template <
typename UpdatedAtT = Aws::Utils::DateTime>
300 m_updatedAtHasBeenSet =
true;
301 m_updatedAt = std::forward<UpdatedAtT>(value);
303 template <
typename UpdatedAtT = Aws::Utils::DateTime>
322 int m_openFindingsCount{0};
324 int m_resolvedFindingsCount{0};
326 DependencyDiscoveryConfig m_dependencyDiscovery;
328 Achievability m_achievability;
339 bool m_serviceArnHasBeenSet =
false;
340 bool m_nameHasBeenSet =
false;
341 bool m_associatedSystemsHasBeenSet =
false;
342 bool m_regionsHasBeenSet =
false;
343 bool m_policyArnHasBeenSet =
false;
344 bool m_assessmentStatusHasBeenSet =
false;
345 bool m_openFindingsCountHasBeenSet =
false;
346 bool m_resolvedFindingsCountHasBeenSet =
false;
347 bool m_dependencyDiscoveryHasBeenSet =
false;
348 bool m_achievabilityHasBeenSet =
false;
349 bool m_organizationIdHasBeenSet =
false;
350 bool m_ouIdHasBeenSet =
false;
351 bool m_accountIdHasBeenSet =
false;
352 bool m_createdAtHasBeenSet =
false;
353 bool m_updatedAtHasBeenSet =
false;
bool PolicyArnHasBeenSet() const
bool AssociatedSystemsHasBeenSet() const
AWS_RESILIENCEHUBV2_API ServiceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceSummary & WithPolicyArn(PolicyArnT &&value)
ServiceSummary & WithOrganizationId(OrganizationIdT &&value)
ServiceSummary & WithUpdatedAt(UpdatedAtT &&value)
bool DependencyDiscoveryHasBeenSet() const
ServiceSummary & WithAssessmentStatus(AssessmentStatus value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetName() const
void SetUpdatedAt(UpdatedAtT &&value)
ServiceSummary & AddRegions(RegionsT &&value)
ServiceSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::Vector< Aws::String > & GetRegions() const
const Achievability & GetAchievability() const
const Aws::Utils::DateTime & GetCreatedAt() const
bool AssessmentStatusHasBeenSet() const
ServiceSummary & WithOpenFindingsCount(int value)
const Aws::String & GetOrganizationId() const
AWS_RESILIENCEHUBV2_API ServiceSummary()=default
const Aws::String & GetOuId() const
bool AccountIdHasBeenSet() const
int GetResolvedFindingsCount() const
void SetOrganizationId(OrganizationIdT &&value)
const Aws::String & GetServiceArn() const
bool CreatedAtHasBeenSet() const
const Aws::String & GetPolicyArn() const
bool RegionsHasBeenSet() const
void SetOpenFindingsCount(int value)
ServiceSummary & WithAchievability(AchievabilityT &&value)
bool NameHasBeenSet() const
ServiceSummary & WithServiceArn(ServiceArnT &&value)
const DependencyDiscoveryConfig & GetDependencyDiscovery() const
AssessmentStatus GetAssessmentStatus() const
bool AchievabilityHasBeenSet() const
ServiceSummary & WithOuId(OuIdT &&value)
void SetOuId(OuIdT &&value)
void SetAchievability(AchievabilityT &&value)
bool UpdatedAtHasBeenSet() const
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool OuIdHasBeenSet() const
void SetAssessmentStatus(AssessmentStatus value)
bool ServiceArnHasBeenSet() const
bool ResolvedFindingsCountHasBeenSet() const
AWS_RESILIENCEHUBV2_API ServiceSummary(Aws::Utils::Json::JsonView jsonValue)
ServiceSummary & WithDependencyDiscovery(DependencyDiscoveryT &&value)
void SetName(NameT &&value)
void SetResolvedFindingsCount(int value)
void SetDependencyDiscovery(DependencyDiscoveryT &&value)
bool OrganizationIdHasBeenSet() const
int GetOpenFindingsCount() const
void SetServiceArn(ServiceArnT &&value)
void SetRegions(RegionsT &&value)
ServiceSummary & AddAssociatedSystems(AssociatedSystemsT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
ServiceSummary & WithResolvedFindingsCount(int value)
void SetPolicyArn(PolicyArnT &&value)
bool OpenFindingsCountHasBeenSet() const
ServiceSummary & WithName(NameT &&value)
void SetAccountId(AccountIdT &&value)
const Aws::String & GetAccountId() const
const Aws::Vector< AssociatedSystem > & GetAssociatedSystems() const
ServiceSummary & WithAccountId(AccountIdT &&value)
ServiceSummary & WithAssociatedSystems(AssociatedSystemsT &&value)
ServiceSummary & WithRegions(RegionsT &&value)
void SetAssociatedSystems(AssociatedSystemsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue