AWS SDK for C++

AWS SDK for C++ Version 1.11.820

Loading...
Searching...
No Matches
Service.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
12#include <aws/resiliencehubv2/model/Achievability.h>
13#include <aws/resiliencehubv2/model/AssessmentCost.h>
14#include <aws/resiliencehubv2/model/AssessmentStatus.h>
15#include <aws/resiliencehubv2/model/AssociatedSystem.h>
16#include <aws/resiliencehubv2/model/DependencyDiscoveryConfig.h>
17#include <aws/resiliencehubv2/model/EffectivePolicyValues.h>
18#include <aws/resiliencehubv2/model/PermissionModel.h>
19#include <aws/resiliencehubv2/model/ResourceDiscoveryStatus.h>
20#include <aws/resiliencehubv2/model/ServiceReportConfiguration.h>
21
22#include <utility>
23
24namespace Aws {
25namespace Utils {
26namespace Json {
27class JsonValue;
28class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace resiliencehubv2 {
32namespace Model {
33
40class Service {
41 public:
42 AWS_RESILIENCEHUBV2_API Service() = default;
43 AWS_RESILIENCEHUBV2_API Service(Aws::Utils::Json::JsonView jsonValue);
44 AWS_RESILIENCEHUBV2_API Service& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const;
46
48
49 inline const Aws::String& GetServiceArn() const { return m_serviceArn; }
50 inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; }
51 template <typename ServiceArnT = Aws::String>
52 void SetServiceArn(ServiceArnT&& value) {
53 m_serviceArnHasBeenSet = true;
54 m_serviceArn = std::forward<ServiceArnT>(value);
55 }
56 template <typename ServiceArnT = Aws::String>
57 Service& WithServiceArn(ServiceArnT&& value) {
58 SetServiceArn(std::forward<ServiceArnT>(value));
59 return *this;
60 }
62
64
65 inline const Aws::String& GetName() const { return m_name; }
66 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
67 template <typename NameT = Aws::String>
68 void SetName(NameT&& value) {
69 m_nameHasBeenSet = true;
70 m_name = std::forward<NameT>(value);
71 }
72 template <typename NameT = Aws::String>
73 Service& WithName(NameT&& value) {
74 SetName(std::forward<NameT>(value));
75 return *this;
76 }
78
80
81 inline const Aws::String& GetDescription() const { return m_description; }
82 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
83 template <typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) {
85 m_descriptionHasBeenSet = true;
86 m_description = std::forward<DescriptionT>(value);
87 }
88 template <typename DescriptionT = Aws::String>
89 Service& WithDescription(DescriptionT&& value) {
90 SetDescription(std::forward<DescriptionT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::Vector<AssociatedSystem>& GetAssociatedSystems() const { return m_associatedSystems; }
100 inline bool AssociatedSystemsHasBeenSet() const { return m_associatedSystemsHasBeenSet; }
101 template <typename AssociatedSystemsT = Aws::Vector<AssociatedSystem>>
102 void SetAssociatedSystems(AssociatedSystemsT&& value) {
103 m_associatedSystemsHasBeenSet = true;
104 m_associatedSystems = std::forward<AssociatedSystemsT>(value);
105 }
106 template <typename AssociatedSystemsT = Aws::Vector<AssociatedSystem>>
107 Service& WithAssociatedSystems(AssociatedSystemsT&& value) {
108 SetAssociatedSystems(std::forward<AssociatedSystemsT>(value));
109 return *this;
110 }
111 template <typename AssociatedSystemsT = AssociatedSystem>
112 Service& AddAssociatedSystems(AssociatedSystemsT&& value) {
113 m_associatedSystemsHasBeenSet = true;
114 m_associatedSystems.emplace_back(std::forward<AssociatedSystemsT>(value));
115 return *this;
116 }
118
120
121 inline const Aws::String& GetPolicyArn() const { return m_policyArn; }
122 inline bool PolicyArnHasBeenSet() const { return m_policyArnHasBeenSet; }
123 template <typename PolicyArnT = Aws::String>
124 void SetPolicyArn(PolicyArnT&& value) {
125 m_policyArnHasBeenSet = true;
126 m_policyArn = std::forward<PolicyArnT>(value);
127 }
128 template <typename PolicyArnT = Aws::String>
129 Service& WithPolicyArn(PolicyArnT&& value) {
130 SetPolicyArn(std::forward<PolicyArnT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::Vector<Aws::String>& GetRegions() const { return m_regions; }
140 inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; }
141 template <typename RegionsT = Aws::Vector<Aws::String>>
142 void SetRegions(RegionsT&& value) {
143 m_regionsHasBeenSet = true;
144 m_regions = std::forward<RegionsT>(value);
145 }
146 template <typename RegionsT = Aws::Vector<Aws::String>>
147 Service& WithRegions(RegionsT&& value) {
148 SetRegions(std::forward<RegionsT>(value));
149 return *this;
150 }
151 template <typename RegionsT = Aws::String>
152 Service& AddRegions(RegionsT&& value) {
153 m_regionsHasBeenSet = true;
154 m_regions.emplace_back(std::forward<RegionsT>(value));
155 return *this;
156 }
158
160
163 inline const PermissionModel& GetPermissionModel() const { return m_permissionModel; }
164 inline bool PermissionModelHasBeenSet() const { return m_permissionModelHasBeenSet; }
165 template <typename PermissionModelT = PermissionModel>
166 void SetPermissionModel(PermissionModelT&& value) {
167 m_permissionModelHasBeenSet = true;
168 m_permissionModel = std::forward<PermissionModelT>(value);
169 }
170 template <typename PermissionModelT = PermissionModel>
171 Service& WithPermissionModel(PermissionModelT&& value) {
172 SetPermissionModel(std::forward<PermissionModelT>(value));
173 return *this;
174 }
176
178
181 inline const DependencyDiscoveryConfig& GetDependencyDiscovery() const { return m_dependencyDiscovery; }
182 inline bool DependencyDiscoveryHasBeenSet() const { return m_dependencyDiscoveryHasBeenSet; }
183 template <typename DependencyDiscoveryT = DependencyDiscoveryConfig>
184 void SetDependencyDiscovery(DependencyDiscoveryT&& value) {
185 m_dependencyDiscoveryHasBeenSet = true;
186 m_dependencyDiscovery = std::forward<DependencyDiscoveryT>(value);
187 }
188 template <typename DependencyDiscoveryT = DependencyDiscoveryConfig>
189 Service& WithDependencyDiscovery(DependencyDiscoveryT&& value) {
190 SetDependencyDiscovery(std::forward<DependencyDiscoveryT>(value));
191 return *this;
192 }
194
196
199 inline const EffectivePolicyValues& GetEffectivePolicyValues() const { return m_effectivePolicyValues; }
200 inline bool EffectivePolicyValuesHasBeenSet() const { return m_effectivePolicyValuesHasBeenSet; }
201 template <typename EffectivePolicyValuesT = EffectivePolicyValues>
202 void SetEffectivePolicyValues(EffectivePolicyValuesT&& value) {
203 m_effectivePolicyValuesHasBeenSet = true;
204 m_effectivePolicyValues = std::forward<EffectivePolicyValuesT>(value);
205 }
206 template <typename EffectivePolicyValuesT = EffectivePolicyValues>
207 Service& WithEffectivePolicyValues(EffectivePolicyValuesT&& value) {
208 SetEffectivePolicyValues(std::forward<EffectivePolicyValuesT>(value));
209 return *this;
210 }
212
214
217 inline const Achievability& GetAchievability() const { return m_achievability; }
218 inline bool AchievabilityHasBeenSet() const { return m_achievabilityHasBeenSet; }
219 template <typename AchievabilityT = Achievability>
220 void SetAchievability(AchievabilityT&& value) {
221 m_achievabilityHasBeenSet = true;
222 m_achievability = std::forward<AchievabilityT>(value);
223 }
224 template <typename AchievabilityT = Achievability>
225 Service& WithAchievability(AchievabilityT&& value) {
226 SetAchievability(std::forward<AchievabilityT>(value));
227 return *this;
228 }
230
232
233 inline const ServiceReportConfiguration& GetReportConfiguration() const { return m_reportConfiguration; }
234 inline bool ReportConfigurationHasBeenSet() const { return m_reportConfigurationHasBeenSet; }
235 template <typename ReportConfigurationT = ServiceReportConfiguration>
236 void SetReportConfiguration(ReportConfigurationT&& value) {
237 m_reportConfigurationHasBeenSet = true;
238 m_reportConfiguration = std::forward<ReportConfigurationT>(value);
239 }
240 template <typename ReportConfigurationT = ServiceReportConfiguration>
241 Service& WithReportConfiguration(ReportConfigurationT&& value) {
242 SetReportConfiguration(std::forward<ReportConfigurationT>(value));
243 return *this;
244 }
246
248
249 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
250 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
251 template <typename KmsKeyIdT = Aws::String>
252 void SetKmsKeyId(KmsKeyIdT&& value) {
253 m_kmsKeyIdHasBeenSet = true;
254 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
255 }
256 template <typename KmsKeyIdT = Aws::String>
257 Service& WithKmsKeyId(KmsKeyIdT&& value) {
258 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
259 return *this;
260 }
262
264
265 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
266 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
267 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
268 void SetTags(TagsT&& value) {
269 m_tagsHasBeenSet = true;
270 m_tags = std::forward<TagsT>(value);
271 }
272 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
273 Service& WithTags(TagsT&& value) {
274 SetTags(std::forward<TagsT>(value));
275 return *this;
276 }
277 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
278 Service& AddTags(TagsKeyT&& key, TagsValueT&& value) {
279 m_tagsHasBeenSet = true;
280 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
281 return *this;
282 }
284
286
289 inline const AssessmentCost& GetEstimatedAssessmentCost() const { return m_estimatedAssessmentCost; }
290 inline bool EstimatedAssessmentCostHasBeenSet() const { return m_estimatedAssessmentCostHasBeenSet; }
291 template <typename EstimatedAssessmentCostT = AssessmentCost>
292 void SetEstimatedAssessmentCost(EstimatedAssessmentCostT&& value) {
293 m_estimatedAssessmentCostHasBeenSet = true;
294 m_estimatedAssessmentCost = std::forward<EstimatedAssessmentCostT>(value);
295 }
296 template <typename EstimatedAssessmentCostT = AssessmentCost>
297 Service& WithEstimatedAssessmentCost(EstimatedAssessmentCostT&& value) {
298 SetEstimatedAssessmentCost(std::forward<EstimatedAssessmentCostT>(value));
299 return *this;
300 }
302
304
307 inline const ResourceDiscoveryStatus& GetResourceDiscovery() const { return m_resourceDiscovery; }
308 inline bool ResourceDiscoveryHasBeenSet() const { return m_resourceDiscoveryHasBeenSet; }
309 template <typename ResourceDiscoveryT = ResourceDiscoveryStatus>
310 void SetResourceDiscovery(ResourceDiscoveryT&& value) {
311 m_resourceDiscoveryHasBeenSet = true;
312 m_resourceDiscovery = std::forward<ResourceDiscoveryT>(value);
313 }
314 template <typename ResourceDiscoveryT = ResourceDiscoveryStatus>
315 Service& WithResourceDiscovery(ResourceDiscoveryT&& value) {
316 SetResourceDiscovery(std::forward<ResourceDiscoveryT>(value));
317 return *this;
318 }
320
322
325 inline AssessmentStatus GetAssessmentStatus() const { return m_assessmentStatus; }
326 inline bool AssessmentStatusHasBeenSet() const { return m_assessmentStatusHasBeenSet; }
328 m_assessmentStatusHasBeenSet = true;
329 m_assessmentStatus = value;
330 }
332 SetAssessmentStatus(value);
333 return *this;
334 }
336
338
341 inline bool GetRerunAssessment() const { return m_rerunAssessment; }
342 inline bool RerunAssessmentHasBeenSet() const { return m_rerunAssessmentHasBeenSet; }
343 inline void SetRerunAssessment(bool value) {
344 m_rerunAssessmentHasBeenSet = true;
345 m_rerunAssessment = value;
346 }
347 inline Service& WithRerunAssessment(bool value) {
348 SetRerunAssessment(value);
349 return *this;
350 }
352
354
357 inline int GetOpenFindingsCount() const { return m_openFindingsCount; }
358 inline bool OpenFindingsCountHasBeenSet() const { return m_openFindingsCountHasBeenSet; }
359 inline void SetOpenFindingsCount(int value) {
360 m_openFindingsCountHasBeenSet = true;
361 m_openFindingsCount = value;
362 }
363 inline Service& WithOpenFindingsCount(int value) {
365 return *this;
366 }
368
370
373 inline int GetResolvedFindingsCount() const { return m_resolvedFindingsCount; }
374 inline bool ResolvedFindingsCountHasBeenSet() const { return m_resolvedFindingsCountHasBeenSet; }
375 inline void SetResolvedFindingsCount(int value) {
376 m_resolvedFindingsCountHasBeenSet = true;
377 m_resolvedFindingsCount = value;
378 }
381 return *this;
382 }
384
386
389 inline const Aws::String& GetOrganizationId() const { return m_organizationId; }
390 inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
391 template <typename OrganizationIdT = Aws::String>
392 void SetOrganizationId(OrganizationIdT&& value) {
393 m_organizationIdHasBeenSet = true;
394 m_organizationId = std::forward<OrganizationIdT>(value);
395 }
396 template <typename OrganizationIdT = Aws::String>
397 Service& WithOrganizationId(OrganizationIdT&& value) {
398 SetOrganizationId(std::forward<OrganizationIdT>(value));
399 return *this;
400 }
402
404
407 inline const Aws::String& GetOuId() const { return m_ouId; }
408 inline bool OuIdHasBeenSet() const { return m_ouIdHasBeenSet; }
409 template <typename OuIdT = Aws::String>
410 void SetOuId(OuIdT&& value) {
411 m_ouIdHasBeenSet = true;
412 m_ouId = std::forward<OuIdT>(value);
413 }
414 template <typename OuIdT = Aws::String>
415 Service& WithOuId(OuIdT&& value) {
416 SetOuId(std::forward<OuIdT>(value));
417 return *this;
418 }
420
422
425 inline const Aws::String& GetAccountId() const { return m_accountId; }
426 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
427 template <typename AccountIdT = Aws::String>
428 void SetAccountId(AccountIdT&& value) {
429 m_accountIdHasBeenSet = true;
430 m_accountId = std::forward<AccountIdT>(value);
431 }
432 template <typename AccountIdT = Aws::String>
433 Service& WithAccountId(AccountIdT&& value) {
434 SetAccountId(std::forward<AccountIdT>(value));
435 return *this;
436 }
438
440
443 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
444 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
445 template <typename CreatedAtT = Aws::Utils::DateTime>
446 void SetCreatedAt(CreatedAtT&& value) {
447 m_createdAtHasBeenSet = true;
448 m_createdAt = std::forward<CreatedAtT>(value);
449 }
450 template <typename CreatedAtT = Aws::Utils::DateTime>
451 Service& WithCreatedAt(CreatedAtT&& value) {
452 SetCreatedAt(std::forward<CreatedAtT>(value));
453 return *this;
454 }
456
458
461 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
462 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
463 template <typename UpdatedAtT = Aws::Utils::DateTime>
464 void SetUpdatedAt(UpdatedAtT&& value) {
465 m_updatedAtHasBeenSet = true;
466 m_updatedAt = std::forward<UpdatedAtT>(value);
467 }
468 template <typename UpdatedAtT = Aws::Utils::DateTime>
469 Service& WithUpdatedAt(UpdatedAtT&& value) {
470 SetUpdatedAt(std::forward<UpdatedAtT>(value));
471 return *this;
472 }
474 private:
475 Aws::String m_serviceArn;
476
477 Aws::String m_name;
478
479 Aws::String m_description;
480
481 Aws::Vector<AssociatedSystem> m_associatedSystems;
482
483 Aws::String m_policyArn;
484
485 Aws::Vector<Aws::String> m_regions;
486
487 PermissionModel m_permissionModel;
488
489 DependencyDiscoveryConfig m_dependencyDiscovery;
490
491 EffectivePolicyValues m_effectivePolicyValues;
492
493 Achievability m_achievability;
494
495 ServiceReportConfiguration m_reportConfiguration;
496
497 Aws::String m_kmsKeyId;
498
500
501 AssessmentCost m_estimatedAssessmentCost;
502
503 ResourceDiscoveryStatus m_resourceDiscovery;
504
506
507 bool m_rerunAssessment{false};
508
509 int m_openFindingsCount{0};
510
511 int m_resolvedFindingsCount{0};
512
513 Aws::String m_organizationId;
514
515 Aws::String m_ouId;
516
517 Aws::String m_accountId;
518
519 Aws::Utils::DateTime m_createdAt{};
520
521 Aws::Utils::DateTime m_updatedAt{};
522 bool m_serviceArnHasBeenSet = false;
523 bool m_nameHasBeenSet = false;
524 bool m_descriptionHasBeenSet = false;
525 bool m_associatedSystemsHasBeenSet = false;
526 bool m_policyArnHasBeenSet = false;
527 bool m_regionsHasBeenSet = false;
528 bool m_permissionModelHasBeenSet = false;
529 bool m_dependencyDiscoveryHasBeenSet = false;
530 bool m_effectivePolicyValuesHasBeenSet = false;
531 bool m_achievabilityHasBeenSet = false;
532 bool m_reportConfigurationHasBeenSet = false;
533 bool m_kmsKeyIdHasBeenSet = false;
534 bool m_tagsHasBeenSet = false;
535 bool m_estimatedAssessmentCostHasBeenSet = false;
536 bool m_resourceDiscoveryHasBeenSet = false;
537 bool m_assessmentStatusHasBeenSet = false;
538 bool m_rerunAssessmentHasBeenSet = false;
539 bool m_openFindingsCountHasBeenSet = false;
540 bool m_resolvedFindingsCountHasBeenSet = false;
541 bool m_organizationIdHasBeenSet = false;
542 bool m_ouIdHasBeenSet = false;
543 bool m_accountIdHasBeenSet = false;
544 bool m_createdAtHasBeenSet = false;
545 bool m_updatedAtHasBeenSet = false;
546};
547
548} // namespace Model
549} // namespace resiliencehubv2
550} // namespace Aws
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
Service & WithKmsKeyId(KmsKeyIdT &&value)
Definition Service.h:257
Service & WithCreatedAt(CreatedAtT &&value)
Definition Service.h:451
const Aws::String & GetOuId() const
Definition Service.h:407
bool EstimatedAssessmentCostHasBeenSet() const
Definition Service.h:290
Service & WithTags(TagsT &&value)
Definition Service.h:273
const Aws::String & GetDescription() const
Definition Service.h:81
void SetAchievability(AchievabilityT &&value)
Definition Service.h:220
void SetUpdatedAt(UpdatedAtT &&value)
Definition Service.h:464
Service & WithRegions(RegionsT &&value)
Definition Service.h:147
Service & WithName(NameT &&value)
Definition Service.h:73
Service & WithAssessmentStatus(AssessmentStatus value)
Definition Service.h:331
void SetEstimatedAssessmentCost(EstimatedAssessmentCostT &&value)
Definition Service.h:292
const Aws::String & GetKmsKeyId() const
Definition Service.h:249
Service & WithAchievability(AchievabilityT &&value)
Definition Service.h:225
Service & WithEstimatedAssessmentCost(EstimatedAssessmentCostT &&value)
Definition Service.h:297
Service & AddRegions(RegionsT &&value)
Definition Service.h:152
void SetAccountId(AccountIdT &&value)
Definition Service.h:428
Service & WithServiceArn(ServiceArnT &&value)
Definition Service.h:57
const ResourceDiscoveryStatus & GetResourceDiscovery() const
Definition Service.h:307
Service & WithReportConfiguration(ReportConfigurationT &&value)
Definition Service.h:241
Service & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition Service.h:278
Service & AddAssociatedSystems(AssociatedSystemsT &&value)
Definition Service.h:112
void SetOrganizationId(OrganizationIdT &&value)
Definition Service.h:392
AWS_RESILIENCEHUBV2_API Service()=default
void SetCreatedAt(CreatedAtT &&value)
Definition Service.h:446
AssessmentStatus GetAssessmentStatus() const
Definition Service.h:325
Service & WithAssociatedSystems(AssociatedSystemsT &&value)
Definition Service.h:107
const Aws::String & GetOrganizationId() const
Definition Service.h:389
AWS_RESILIENCEHUBV2_API Service & operator=(Aws::Utils::Json::JsonView jsonValue)
Service & WithUpdatedAt(UpdatedAtT &&value)
Definition Service.h:469
void SetRerunAssessment(bool value)
Definition Service.h:343
Service & WithResolvedFindingsCount(int value)
Definition Service.h:379
const AssessmentCost & GetEstimatedAssessmentCost() const
Definition Service.h:289
bool ResolvedFindingsCountHasBeenSet() const
Definition Service.h:374
const Aws::Vector< AssociatedSystem > & GetAssociatedSystems() const
Definition Service.h:99
Service & WithOuId(OuIdT &&value)
Definition Service.h:415
void SetEffectivePolicyValues(EffectivePolicyValuesT &&value)
Definition Service.h:202
const ServiceReportConfiguration & GetReportConfiguration() const
Definition Service.h:233
const Aws::Vector< Aws::String > & GetRegions() const
Definition Service.h:139
Service & WithDependencyDiscovery(DependencyDiscoveryT &&value)
Definition Service.h:189
Service & WithOrganizationId(OrganizationIdT &&value)
Definition Service.h:397
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Service.h:443
void SetRegions(RegionsT &&value)
Definition Service.h:142
Service & WithPermissionModel(PermissionModelT &&value)
Definition Service.h:171
Service & WithAccountId(AccountIdT &&value)
Definition Service.h:433
void SetPermissionModel(PermissionModelT &&value)
Definition Service.h:166
void SetName(NameT &&value)
Definition Service.h:68
const Aws::String & GetPolicyArn() const
Definition Service.h:121
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition Service.h:461
const PermissionModel & GetPermissionModel() const
Definition Service.h:163
const Aws::String & GetServiceArn() const
Definition Service.h:49
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Service.h:265
void SetAssessmentStatus(AssessmentStatus value)
Definition Service.h:327
Service & WithPolicyArn(PolicyArnT &&value)
Definition Service.h:129
void SetDescription(DescriptionT &&value)
Definition Service.h:84
Service & WithResourceDiscovery(ResourceDiscoveryT &&value)
Definition Service.h:315
const Achievability & GetAchievability() const
Definition Service.h:217
void SetReportConfiguration(ReportConfigurationT &&value)
Definition Service.h:236
void SetAssociatedSystems(AssociatedSystemsT &&value)
Definition Service.h:102
void SetResolvedFindingsCount(int value)
Definition Service.h:375
void SetResourceDiscovery(ResourceDiscoveryT &&value)
Definition Service.h:310
Service & WithDescription(DescriptionT &&value)
Definition Service.h:89
void SetPolicyArn(PolicyArnT &&value)
Definition Service.h:124
const Aws::String & GetAccountId() const
Definition Service.h:425
Service & WithOpenFindingsCount(int value)
Definition Service.h:363
Service & WithRerunAssessment(bool value)
Definition Service.h:347
const Aws::String & GetName() const
Definition Service.h:65
Service & WithEffectivePolicyValues(EffectivePolicyValuesT &&value)
Definition Service.h:207
const DependencyDiscoveryConfig & GetDependencyDiscovery() const
Definition Service.h:181
AWS_RESILIENCEHUBV2_API Service(Aws::Utils::Json::JsonView jsonValue)
void SetDependencyDiscovery(DependencyDiscoveryT &&value)
Definition Service.h:184
void SetServiceArn(ServiceArnT &&value)
Definition Service.h:52
void SetKmsKeyId(KmsKeyIdT &&value)
Definition Service.h:252
const EffectivePolicyValues & GetEffectivePolicyValues() const
Definition Service.h:199
bool EffectivePolicyValuesHasBeenSet() const
Definition Service.h:200
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue