7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/elasticloadbalancingv2/model/TargetDescription.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/elasticloadbalancingv2/model/TargetHealth.h>
12#include <aws/elasticloadbalancingv2/model/AnomalyDetection.h>
13#include <aws/elasticloadbalancingv2/model/AdministrativeOverride.h>
25namespace ElasticLoadBalancingv2
42 AWS_ELASTICLOADBALANCINGV2_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
52 template<
typename TargetT = TargetDescription>
53 void SetTarget(TargetT&& value) { m_targetHasBeenSet =
true; m_target = std::forward<TargetT>(value); }
54 template<
typename TargetT = TargetDescription>
64 template<
typename HealthCheckPortT = Aws::String>
65 void SetHealthCheckPort(HealthCheckPortT&& value) { m_healthCheckPortHasBeenSet =
true; m_healthCheckPort = std::forward<HealthCheckPortT>(value); }
66 template<
typename HealthCheckPortT = Aws::String>
76 template<
typename TargetHealthT = TargetHealth>
77 void SetTargetHealth(TargetHealthT&& value) { m_targetHealthHasBeenSet =
true; m_targetHealth = std::forward<TargetHealthT>(value); }
78 template<
typename TargetHealthT = TargetHealth>
90 template<
typename AnomalyDetectionT = AnomalyDetection>
91 void SetAnomalyDetection(AnomalyDetectionT&& value) { m_anomalyDetectionHasBeenSet =
true; m_anomalyDetection = std::forward<AnomalyDetectionT>(value); }
92 template<
typename AnomalyDetectionT = AnomalyDetection>
102 template<
typename AdministrativeOverr
ideT = AdministrativeOverr
ide>
103 void SetAdministrativeOverride(AdministrativeOverrideT&& value) { m_administrativeOverrideHasBeenSet =
true; m_administrativeOverride = std::forward<AdministrativeOverrideT>(value); }
104 template<
typename AdministrativeOverr
ideT = AdministrativeOverr
ide>
110 bool m_targetHasBeenSet =
false;
113 bool m_healthCheckPortHasBeenSet =
false;
116 bool m_targetHealthHasBeenSet =
false;
119 bool m_anomalyDetectionHasBeenSet =
false;
122 bool m_administrativeOverrideHasBeenSet =
false;
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
TargetHealthDescription & WithTargetHealth(TargetHealthT &&value)
const AnomalyDetection & GetAnomalyDetection() const
AWS_ELASTICLOADBALANCINGV2_API TargetHealthDescription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TargetHasBeenSet() const
void SetHealthCheckPort(HealthCheckPortT &&value)
TargetHealthDescription & WithTarget(TargetT &&value)
bool AnomalyDetectionHasBeenSet() const
TargetHealthDescription & WithHealthCheckPort(HealthCheckPortT &&value)
const Aws::String & GetHealthCheckPort() const
bool AdministrativeOverrideHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API TargetHealthDescription()=default
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TargetHealthDescription & WithAnomalyDetection(AnomalyDetectionT &&value)
const AdministrativeOverride & GetAdministrativeOverride() const
void SetAdministrativeOverride(AdministrativeOverrideT &&value)
void SetTargetHealth(TargetHealthT &&value)
const TargetDescription & GetTarget() const
TargetHealthDescription & WithAdministrativeOverride(AdministrativeOverrideT &&value)
void SetAnomalyDetection(AnomalyDetectionT &&value)
void SetTarget(TargetT &&value)
AWS_ELASTICLOADBALANCINGV2_API TargetHealthDescription(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TargetHealthHasBeenSet() const
const TargetHealth & GetTargetHealth() const
bool HealthCheckPortHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream