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/DependencyCriticality.h>
12#include <aws/resiliencehubv2/model/QueryRange.h>
23namespace resiliencehubv2 {
45 template <
typename DependencyIdT = Aws::String>
47 m_dependencyIdHasBeenSet =
true;
48 m_dependencyId = std::forward<DependencyIdT>(value);
50 template <
typename DependencyIdT = Aws::String>
61 template <
typename ServiceArnT = Aws::String>
63 m_serviceArnHasBeenSet =
true;
64 m_serviceArn = std::forward<ServiceArnT>(value);
66 template <
typename ServiceArnT = Aws::String>
79 template <
typename DependencyNameT = Aws::String>
81 m_dependencyNameHasBeenSet =
true;
82 m_dependencyName = std::forward<DependencyNameT>(value);
84 template <
typename DependencyNameT = Aws::String>
97 template <
typename DnsNameT = Aws::String>
99 m_dnsNameHasBeenSet =
true;
100 m_dnsName = std::forward<DnsNameT>(value);
102 template <
typename DnsNameT = Aws::String>
115 template <
typename LocationT = Aws::String>
117 m_locationHasBeenSet =
true;
118 m_location = std::forward<LocationT>(value);
120 template <
typename LocationT = Aws::String>
133 template <
typename LastDetectedTimeT = Aws::Utils::DateTime>
135 m_lastDetectedTimeHasBeenSet =
true;
136 m_lastDetectedTime = std::forward<LastDetectedTimeT>(value);
138 template <
typename LastDetectedTimeT = Aws::Utils::DateTime>
151 template <
typename SourceRegionsT = Aws::Vector<Aws::String>>
153 m_sourceRegionsHasBeenSet =
true;
154 m_sourceRegions = std::forward<SourceRegionsT>(value);
156 template <
typename SourceRegionsT = Aws::Vector<Aws::String>>
161 template <
typename SourceRegionsT = Aws::String>
163 m_sourceRegionsHasBeenSet =
true;
164 m_sourceRegions.emplace_back(std::forward<SourceRegionsT>(value));
175 template <
typename Prov
iderT = Aws::String>
177 m_providerHasBeenSet =
true;
178 m_provider = std::forward<ProviderT>(value);
180 template <
typename Prov
iderT = Aws::String>
193 template <
typename QueryRangeT = QueryRange>
195 m_queryRangeHasBeenSet =
true;
196 m_queryRange = std::forward<QueryRangeT>(value);
198 template <
typename QueryRangeT = QueryRange>
212 m_criticalityHasBeenSet =
true;
213 m_criticality = value;
227 template <
typename CommentT = Aws::String>
229 m_commentHasBeenSet =
true;
230 m_comment = std::forward<CommentT>(value);
232 template <
typename CommentT = Aws::String>
255 QueryRange m_queryRange;
260 bool m_dependencyIdHasBeenSet =
false;
261 bool m_serviceArnHasBeenSet =
false;
262 bool m_dependencyNameHasBeenSet =
false;
263 bool m_dnsNameHasBeenSet =
false;
264 bool m_locationHasBeenSet =
false;
265 bool m_lastDetectedTimeHasBeenSet =
false;
266 bool m_sourceRegionsHasBeenSet =
false;
267 bool m_providerHasBeenSet =
false;
268 bool m_queryRangeHasBeenSet =
false;
269 bool m_criticalityHasBeenSet =
false;
270 bool m_commentHasBeenSet =
false;
void SetLocation(LocationT &&value)
DependencySummary & WithLastDetectedTime(LastDetectedTimeT &&value)
DependencySummary & WithComment(CommentT &&value)
void SetProvider(ProviderT &&value)
const Aws::String & GetLocation() const
DependencySummary & WithServiceArn(ServiceArnT &&value)
void SetDnsName(DnsNameT &&value)
AWS_RESILIENCEHUBV2_API DependencySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DependencySummary & WithDnsName(DnsNameT &&value)
AWS_RESILIENCEHUBV2_API DependencySummary(Aws::Utils::Json::JsonView jsonValue)
DependencyCriticality GetCriticality() const
bool LocationHasBeenSet() const
const Aws::String & GetProvider() const
bool LastDetectedTimeHasBeenSet() const
const Aws::String & GetComment() const
void SetServiceArn(ServiceArnT &&value)
DependencySummary & WithQueryRange(QueryRangeT &&value)
void SetComment(CommentT &&value)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool DependencyIdHasBeenSet() const
void SetQueryRange(QueryRangeT &&value)
DependencySummary & WithLocation(LocationT &&value)
void SetDependencyId(DependencyIdT &&value)
bool ServiceArnHasBeenSet() const
bool CommentHasBeenSet() const
bool CriticalityHasBeenSet() const
void SetDependencyName(DependencyNameT &&value)
const Aws::String & GetServiceArn() const
AWS_RESILIENCEHUBV2_API DependencySummary()=default
const QueryRange & GetQueryRange() const
DependencySummary & WithDependencyName(DependencyNameT &&value)
DependencySummary & AddSourceRegions(SourceRegionsT &&value)
void SetCriticality(DependencyCriticality value)
DependencySummary & WithDependencyId(DependencyIdT &&value)
const Aws::String & GetDnsName() const
DependencySummary & WithCriticality(DependencyCriticality value)
bool ProviderHasBeenSet() const
void SetLastDetectedTime(LastDetectedTimeT &&value)
bool SourceRegionsHasBeenSet() const
bool DependencyNameHasBeenSet() const
DependencySummary & WithProvider(ProviderT &&value)
bool QueryRangeHasBeenSet() const
const Aws::String & GetDependencyId() const
const Aws::Utils::DateTime & GetLastDetectedTime() const
DependencySummary & WithSourceRegions(SourceRegionsT &&value)
const Aws::String & GetDependencyName() const
void SetSourceRegions(SourceRegionsT &&value)
bool DnsNameHasBeenSet() const
const Aws::Vector< Aws::String > & GetSourceRegions() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue