7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53/model/LinkedService.h>
10#include <aws/route53/model/HealthCheckConfig.h>
11#include <aws/route53/model/CloudWatchAlarmConfiguration.h>
54 template<
typename IdT = Aws::String>
55 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
56 template<
typename IdT = Aws::String>
66 template<
typename CallerReferenceT = Aws::String>
67 void SetCallerReference(CallerReferenceT&& value) { m_callerReferenceHasBeenSet =
true; m_callerReference = std::forward<CallerReferenceT>(value); }
68 template<
typename CallerReferenceT = Aws::String>
80 template<
typename LinkedServiceT = LinkedService>
81 void SetLinkedService(LinkedServiceT&& value) { m_linkedServiceHasBeenSet =
true; m_linkedService = std::forward<LinkedServiceT>(value); }
82 template<
typename LinkedServiceT = LinkedService>
92 template<
typename HealthCheckConfigT = HealthCheckConfig>
93 void SetHealthCheckConfig(HealthCheckConfigT&& value) { m_healthCheckConfigHasBeenSet =
true; m_healthCheckConfig = std::forward<HealthCheckConfigT>(value); }
94 template<
typename HealthCheckConfigT = HealthCheckConfig>
106 inline void SetHealthCheckVersion(
long long value) { m_healthCheckVersionHasBeenSet =
true; m_healthCheckVersion = value; }
117 template<
typename CloudWatchAlarmConfigurationT = CloudWatchAlarmConfiguration>
118 void SetCloudWatchAlarmConfiguration(CloudWatchAlarmConfigurationT&& value) { m_cloudWatchAlarmConfigurationHasBeenSet =
true; m_cloudWatchAlarmConfiguration = std::forward<CloudWatchAlarmConfigurationT>(value); }
119 template<
typename CloudWatchAlarmConfigurationT = CloudWatchAlarmConfiguration>
125 bool m_idHasBeenSet =
false;
128 bool m_callerReferenceHasBeenSet =
false;
131 bool m_linkedServiceHasBeenSet =
false;
134 bool m_healthCheckConfigHasBeenSet =
false;
136 long long m_healthCheckVersion{0};
137 bool m_healthCheckVersionHasBeenSet =
false;
139 CloudWatchAlarmConfiguration m_cloudWatchAlarmConfiguration;
140 bool m_cloudWatchAlarmConfigurationHasBeenSet =
false;
HealthCheck & WithHealthCheckVersion(long long value)
bool HealthCheckConfigHasBeenSet() const
void SetHealthCheckVersion(long long value)
long long GetHealthCheckVersion() const
const HealthCheckConfig & GetHealthCheckConfig() const
bool LinkedServiceHasBeenSet() const
HealthCheck & WithCallerReference(CallerReferenceT &&value)
void SetLinkedService(LinkedServiceT &&value)
const LinkedService & GetLinkedService() const
HealthCheck & WithCloudWatchAlarmConfiguration(CloudWatchAlarmConfigurationT &&value)
AWS_ROUTE53_API HealthCheck()=default
AWS_ROUTE53_API HealthCheck(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetId() const
void SetCallerReference(CallerReferenceT &&value)
bool HealthCheckVersionHasBeenSet() const
const Aws::String & GetCallerReference() const
void SetHealthCheckConfig(HealthCheckConfigT &&value)
HealthCheck & WithHealthCheckConfig(HealthCheckConfigT &&value)
AWS_ROUTE53_API HealthCheck & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const CloudWatchAlarmConfiguration & GetCloudWatchAlarmConfiguration() const
HealthCheck & WithLinkedService(LinkedServiceT &&value)
void SetCloudWatchAlarmConfiguration(CloudWatchAlarmConfigurationT &&value)
bool CloudWatchAlarmConfigurationHasBeenSet() const
bool IdHasBeenSet() const
bool CallerReferenceHasBeenSet() const
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
HealthCheck & WithId(IdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String