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/AvailabilitySlo.h>
11#include <aws/resiliencehubv2/model/DataRecoveryTargets.h>
12#include <aws/resiliencehubv2/model/MultiAzTargets.h>
13#include <aws/resiliencehubv2/model/MultiRegionTargets.h>
24namespace resiliencehubv2 {
44 template <
typename PolicyArnT = Aws::String>
46 m_policyArnHasBeenSet =
true;
47 m_policyArn = std::forward<PolicyArnT>(value);
49 template <
typename PolicyArnT = 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 AvailabilitySloT = AvailabilitySlo>
80 m_availabilitySloHasBeenSet =
true;
81 m_availabilitySlo = std::forward<AvailabilitySloT>(value);
83 template <
typename AvailabilitySloT = AvailabilitySlo>
96 template <
typename MultiAzT = MultiAzTargets>
98 m_multiAzHasBeenSet =
true;
99 m_multiAz = std::forward<MultiAzT>(value);
101 template <
typename MultiAzT = MultiAzTargets>
114 template <
typename MultiRegionT = MultiRegionTargets>
116 m_multiRegionHasBeenSet =
true;
117 m_multiRegion = std::forward<MultiRegionT>(value);
119 template <
typename MultiRegionT = MultiRegionTargets>
132 template <
typename DataRecoveryT = DataRecoveryTargets>
134 m_dataRecoveryHasBeenSet =
true;
135 m_dataRecovery = std::forward<DataRecoveryT>(value);
137 template <
typename DataRecoveryT = DataRecoveryTargets>
151 m_associatedServiceCountHasBeenSet =
true;
152 m_associatedServiceCount = value;
166 template <
typename CreatedAtT = Aws::Utils::DateTime>
168 m_createdAtHasBeenSet =
true;
169 m_createdAt = std::forward<CreatedAtT>(value);
171 template <
typename CreatedAtT = Aws::Utils::DateTime>
184 template <
typename UpdatedAtT = Aws::Utils::DateTime>
186 m_updatedAtHasBeenSet =
true;
187 m_updatedAt = std::forward<UpdatedAtT>(value);
189 template <
typename UpdatedAtT = Aws::Utils::DateTime>
208 int m_associatedServiceCount{0};
213 bool m_policyArnHasBeenSet =
false;
214 bool m_nameHasBeenSet =
false;
215 bool m_availabilitySloHasBeenSet =
false;
216 bool m_multiAzHasBeenSet =
false;
217 bool m_multiRegionHasBeenSet =
false;
218 bool m_dataRecoveryHasBeenSet =
false;
219 bool m_associatedServiceCountHasBeenSet =
false;
220 bool m_createdAtHasBeenSet =
false;
221 bool m_updatedAtHasBeenSet =
false;
PolicySummary & WithPolicyArn(PolicyArnT &&value)
AWS_RESILIENCEHUBV2_API PolicySummary(Aws::Utils::Json::JsonView jsonValue)
PolicySummary & WithAvailabilitySlo(AvailabilitySloT &&value)
const AvailabilitySlo & GetAvailabilitySlo() const
bool MultiRegionHasBeenSet() const
bool UpdatedAtHasBeenSet() const
PolicySummary & WithMultiRegion(MultiRegionT &&value)
int GetAssociatedServiceCount() const
bool PolicyArnHasBeenSet() const
void SetDataRecovery(DataRecoveryT &&value)
PolicySummary & WithName(NameT &&value)
bool AssociatedServiceCountHasBeenSet() const
const Aws::String & GetPolicyArn() const
const DataRecoveryTargets & GetDataRecovery() const
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_RESILIENCEHUBV2_API PolicySummary()=default
bool AvailabilitySloHasBeenSet() const
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
PolicySummary & WithDataRecovery(DataRecoveryT &&value)
void SetPolicyArn(PolicyArnT &&value)
bool NameHasBeenSet() const
bool DataRecoveryHasBeenSet() const
void SetAssociatedServiceCount(int value)
PolicySummary & WithUpdatedAt(UpdatedAtT &&value)
bool MultiAzHasBeenSet() const
PolicySummary & WithCreatedAt(CreatedAtT &&value)
bool CreatedAtHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetUpdatedAt() const
PolicySummary & WithAssociatedServiceCount(int value)
void SetMultiAz(MultiAzT &&value)
AWS_RESILIENCEHUBV2_API PolicySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMultiRegion(MultiRegionT &&value)
const MultiRegionTargets & GetMultiRegion() const
void SetCreatedAt(CreatedAtT &&value)
const MultiAzTargets & GetMultiAz() const
void SetAvailabilitySlo(AvailabilitySloT &&value)
PolicySummary & WithMultiAz(MultiAzT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue