7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
10#include <aws/resiliencehubv2/model/DependencyCriticality.h>
11#include <aws/resiliencehubv2/model/TestRunDependencySource.h>
22namespace resiliencehubv2 {
45 template <
typename DependencyIdT = Aws::String>
47 m_dependencyIdHasBeenSet =
true;
48 m_dependencyId = std::forward<DependencyIdT>(value);
50 template <
typename DependencyIdT = Aws::String>
63 template <
typename DependencyNameT = Aws::String>
65 m_dependencyNameHasBeenSet =
true;
66 m_dependencyName = std::forward<DependencyNameT>(value);
68 template <
typename DependencyNameT = Aws::String>
81 template <
typename DnsNameT = Aws::String>
83 m_dnsNameHasBeenSet =
true;
84 m_dnsName = std::forward<DnsNameT>(value);
86 template <
typename DnsNameT = Aws::String>
101 m_criticalityHasBeenSet =
true;
102 m_criticality = value;
118 m_sourceHasBeenSet =
true;
133 template <
typename LocationT = Aws::String>
135 m_locationHasBeenSet =
true;
136 m_location = std::forward<LocationT>(value);
138 template <
typename LocationT = Aws::String>
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>
202 bool m_dependencyIdHasBeenSet =
false;
203 bool m_dependencyNameHasBeenSet =
false;
204 bool m_dnsNameHasBeenSet =
false;
205 bool m_criticalityHasBeenSet =
false;
206 bool m_sourceHasBeenSet =
false;
207 bool m_locationHasBeenSet =
false;
208 bool m_sourceRegionsHasBeenSet =
false;
209 bool m_providerHasBeenSet =
false;
void SetProvider(ProviderT &&value)
void SetDnsName(DnsNameT &&value)
bool DnsNameHasBeenSet() const
bool LocationHasBeenSet() const
TestRunDependencySummary & WithLocation(LocationT &&value)
void SetDependencyId(DependencyIdT &&value)
void SetSource(TestRunDependencySource value)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLocation() const
bool SourceRegionsHasBeenSet() const
DependencyCriticality GetCriticality() const
TestRunDependencySummary & AddSourceRegions(SourceRegionsT &&value)
TestRunDependencySummary & WithSource(TestRunDependencySource value)
const Aws::Vector< Aws::String > & GetSourceRegions() const
AWS_RESILIENCEHUBV2_API TestRunDependencySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TestRunDependencySummary & WithDnsName(DnsNameT &&value)
void SetDependencyName(DependencyNameT &&value)
void SetCriticality(DependencyCriticality value)
void SetLocation(LocationT &&value)
bool ProviderHasBeenSet() const
TestRunDependencySummary & WithCriticality(DependencyCriticality value)
bool SourceHasBeenSet() const
bool DependencyNameHasBeenSet() const
TestRunDependencySource GetSource() const
bool DependencyIdHasBeenSet() const
const Aws::String & GetDependencyId() const
AWS_RESILIENCEHUBV2_API TestRunDependencySummary()=default
const Aws::String & GetProvider() const
TestRunDependencySummary & WithProvider(ProviderT &&value)
TestRunDependencySummary & WithDependencyName(DependencyNameT &&value)
void SetSourceRegions(SourceRegionsT &&value)
const Aws::String & GetDependencyName() const
const Aws::String & GetDnsName() const
TestRunDependencySummary & WithSourceRegions(SourceRegionsT &&value)
TestRunDependencySummary & WithDependencyId(DependencyIdT &&value)
bool CriticalityHasBeenSet() const
AWS_RESILIENCEHUBV2_API TestRunDependencySummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue