AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HealthCheckConfig.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53/model/HealthCheckType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/route53/model/AlarmIdentifier.h>
12#include <aws/route53/model/InsufficientDataHealthStatus.h>
13#include <aws/route53/model/HealthCheckRegion.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Xml
21{
22 class XmlNode;
23} // namespace Xml
24} // namespace Utils
25namespace Route53
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_ROUTE53_API HealthCheckConfig();
40 AWS_ROUTE53_API HealthCheckConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
41 AWS_ROUTE53_API HealthCheckConfig& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
42
43 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
44
45
47
79 inline const Aws::String& GetIPAddress() const{ return m_iPAddress; }
80 inline bool IPAddressHasBeenSet() const { return m_iPAddressHasBeenSet; }
81 inline void SetIPAddress(const Aws::String& value) { m_iPAddressHasBeenSet = true; m_iPAddress = value; }
82 inline void SetIPAddress(Aws::String&& value) { m_iPAddressHasBeenSet = true; m_iPAddress = std::move(value); }
83 inline void SetIPAddress(const char* value) { m_iPAddressHasBeenSet = true; m_iPAddress.assign(value); }
84 inline HealthCheckConfig& WithIPAddress(const Aws::String& value) { SetIPAddress(value); return *this;}
85 inline HealthCheckConfig& WithIPAddress(Aws::String&& value) { SetIPAddress(std::move(value)); return *this;}
86 inline HealthCheckConfig& WithIPAddress(const char* value) { SetIPAddress(value); return *this;}
88
90
96 inline int GetPort() const{ return m_port; }
97 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
98 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
99 inline HealthCheckConfig& WithPort(int value) { SetPort(value); return *this;}
101
103
143 inline const HealthCheckType& GetType() const{ return m_type; }
144 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
145 inline void SetType(const HealthCheckType& value) { m_typeHasBeenSet = true; m_type = value; }
146 inline void SetType(HealthCheckType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
147 inline HealthCheckConfig& WithType(const HealthCheckType& value) { SetType(value); return *this;}
148 inline HealthCheckConfig& WithType(HealthCheckType&& value) { SetType(std::move(value)); return *this;}
150
152
160 inline const Aws::String& GetResourcePath() const{ return m_resourcePath; }
161 inline bool ResourcePathHasBeenSet() const { return m_resourcePathHasBeenSet; }
162 inline void SetResourcePath(const Aws::String& value) { m_resourcePathHasBeenSet = true; m_resourcePath = value; }
163 inline void SetResourcePath(Aws::String&& value) { m_resourcePathHasBeenSet = true; m_resourcePath = std::move(value); }
164 inline void SetResourcePath(const char* value) { m_resourcePathHasBeenSet = true; m_resourcePath.assign(value); }
165 inline HealthCheckConfig& WithResourcePath(const Aws::String& value) { SetResourcePath(value); return *this;}
166 inline HealthCheckConfig& WithResourcePath(Aws::String&& value) { SetResourcePath(std::move(value)); return *this;}
167 inline HealthCheckConfig& WithResourcePath(const char* value) { SetResourcePath(value); return *this;}
169
171
222 inline const Aws::String& GetFullyQualifiedDomainName() const{ return m_fullyQualifiedDomainName; }
223 inline bool FullyQualifiedDomainNameHasBeenSet() const { return m_fullyQualifiedDomainNameHasBeenSet; }
224 inline void SetFullyQualifiedDomainName(const Aws::String& value) { m_fullyQualifiedDomainNameHasBeenSet = true; m_fullyQualifiedDomainName = value; }
225 inline void SetFullyQualifiedDomainName(Aws::String&& value) { m_fullyQualifiedDomainNameHasBeenSet = true; m_fullyQualifiedDomainName = std::move(value); }
226 inline void SetFullyQualifiedDomainName(const char* value) { m_fullyQualifiedDomainNameHasBeenSet = true; m_fullyQualifiedDomainName.assign(value); }
229 inline HealthCheckConfig& WithFullyQualifiedDomainName(const char* value) { SetFullyQualifiedDomainName(value); return *this;}
231
233
241 inline const Aws::String& GetSearchString() const{ return m_searchString; }
242 inline bool SearchStringHasBeenSet() const { return m_searchStringHasBeenSet; }
243 inline void SetSearchString(const Aws::String& value) { m_searchStringHasBeenSet = true; m_searchString = value; }
244 inline void SetSearchString(Aws::String&& value) { m_searchStringHasBeenSet = true; m_searchString = std::move(value); }
245 inline void SetSearchString(const char* value) { m_searchStringHasBeenSet = true; m_searchString.assign(value); }
246 inline HealthCheckConfig& WithSearchString(const Aws::String& value) { SetSearchString(value); return *this;}
247 inline HealthCheckConfig& WithSearchString(Aws::String&& value) { SetSearchString(std::move(value)); return *this;}
248 inline HealthCheckConfig& WithSearchString(const char* value) { SetSearchString(value); return *this;}
250
252
260 inline int GetRequestInterval() const{ return m_requestInterval; }
261 inline bool RequestIntervalHasBeenSet() const { return m_requestIntervalHasBeenSet; }
262 inline void SetRequestInterval(int value) { m_requestIntervalHasBeenSet = true; m_requestInterval = value; }
263 inline HealthCheckConfig& WithRequestInterval(int value) { SetRequestInterval(value); return *this;}
265
267
276 inline int GetFailureThreshold() const{ return m_failureThreshold; }
277 inline bool FailureThresholdHasBeenSet() const { return m_failureThresholdHasBeenSet; }
278 inline void SetFailureThreshold(int value) { m_failureThresholdHasBeenSet = true; m_failureThreshold = value; }
279 inline HealthCheckConfig& WithFailureThreshold(int value) { SetFailureThreshold(value); return *this;}
281
283
290 inline bool GetMeasureLatency() const{ return m_measureLatency; }
291 inline bool MeasureLatencyHasBeenSet() const { return m_measureLatencyHasBeenSet; }
292 inline void SetMeasureLatency(bool value) { m_measureLatencyHasBeenSet = true; m_measureLatency = value; }
293 inline HealthCheckConfig& WithMeasureLatency(bool value) { SetMeasureLatency(value); return *this;}
295
297
302 inline bool GetInverted() const{ return m_inverted; }
303 inline bool InvertedHasBeenSet() const { return m_invertedHasBeenSet; }
304 inline void SetInverted(bool value) { m_invertedHasBeenSet = true; m_inverted = value; }
305 inline HealthCheckConfig& WithInverted(bool value) { SetInverted(value); return *this;}
307
309
326 inline bool GetDisabled() const{ return m_disabled; }
327 inline bool DisabledHasBeenSet() const { return m_disabledHasBeenSet; }
328 inline void SetDisabled(bool value) { m_disabledHasBeenSet = true; m_disabled = value; }
329 inline HealthCheckConfig& WithDisabled(bool value) { SetDisabled(value); return *this;}
331
333
345 inline int GetHealthThreshold() const{ return m_healthThreshold; }
346 inline bool HealthThresholdHasBeenSet() const { return m_healthThresholdHasBeenSet; }
347 inline void SetHealthThreshold(int value) { m_healthThresholdHasBeenSet = true; m_healthThreshold = value; }
348 inline HealthCheckConfig& WithHealthThreshold(int value) { SetHealthThreshold(value); return *this;}
350
352
357 inline const Aws::Vector<Aws::String>& GetChildHealthChecks() const{ return m_childHealthChecks; }
358 inline bool ChildHealthChecksHasBeenSet() const { return m_childHealthChecksHasBeenSet; }
359 inline void SetChildHealthChecks(const Aws::Vector<Aws::String>& value) { m_childHealthChecksHasBeenSet = true; m_childHealthChecks = value; }
360 inline void SetChildHealthChecks(Aws::Vector<Aws::String>&& value) { m_childHealthChecksHasBeenSet = true; m_childHealthChecks = std::move(value); }
363 inline HealthCheckConfig& AddChildHealthChecks(const Aws::String& value) { m_childHealthChecksHasBeenSet = true; m_childHealthChecks.push_back(value); return *this; }
364 inline HealthCheckConfig& AddChildHealthChecks(Aws::String&& value) { m_childHealthChecksHasBeenSet = true; m_childHealthChecks.push_back(std::move(value)); return *this; }
365 inline HealthCheckConfig& AddChildHealthChecks(const char* value) { m_childHealthChecksHasBeenSet = true; m_childHealthChecks.push_back(value); return *this; }
367
369
391 inline bool GetEnableSNI() const{ return m_enableSNI; }
392 inline bool EnableSNIHasBeenSet() const { return m_enableSNIHasBeenSet; }
393 inline void SetEnableSNI(bool value) { m_enableSNIHasBeenSet = true; m_enableSNI = value; }
394 inline HealthCheckConfig& WithEnableSNI(bool value) { SetEnableSNI(value); return *this;}
396
398
409 inline const Aws::Vector<HealthCheckRegion>& GetRegions() const{ return m_regions; }
410 inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; }
411 inline void SetRegions(const Aws::Vector<HealthCheckRegion>& value) { m_regionsHasBeenSet = true; m_regions = value; }
412 inline void SetRegions(Aws::Vector<HealthCheckRegion>&& value) { m_regionsHasBeenSet = true; m_regions = std::move(value); }
413 inline HealthCheckConfig& WithRegions(const Aws::Vector<HealthCheckRegion>& value) { SetRegions(value); return *this;}
414 inline HealthCheckConfig& WithRegions(Aws::Vector<HealthCheckRegion>&& value) { SetRegions(std::move(value)); return *this;}
415 inline HealthCheckConfig& AddRegions(const HealthCheckRegion& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; }
416 inline HealthCheckConfig& AddRegions(HealthCheckRegion&& value) { m_regionsHasBeenSet = true; m_regions.push_back(std::move(value)); return *this; }
418
420
425 inline const AlarmIdentifier& GetAlarmIdentifier() const{ return m_alarmIdentifier; }
426 inline bool AlarmIdentifierHasBeenSet() const { return m_alarmIdentifierHasBeenSet; }
427 inline void SetAlarmIdentifier(const AlarmIdentifier& value) { m_alarmIdentifierHasBeenSet = true; m_alarmIdentifier = value; }
428 inline void SetAlarmIdentifier(AlarmIdentifier&& value) { m_alarmIdentifierHasBeenSet = true; m_alarmIdentifier = std::move(value); }
429 inline HealthCheckConfig& WithAlarmIdentifier(const AlarmIdentifier& value) { SetAlarmIdentifier(value); return *this;}
430 inline HealthCheckConfig& WithAlarmIdentifier(AlarmIdentifier&& value) { SetAlarmIdentifier(std::move(value)); return *this;}
432
434
445 inline const InsufficientDataHealthStatus& GetInsufficientDataHealthStatus() const{ return m_insufficientDataHealthStatus; }
446 inline bool InsufficientDataHealthStatusHasBeenSet() const { return m_insufficientDataHealthStatusHasBeenSet; }
447 inline void SetInsufficientDataHealthStatus(const InsufficientDataHealthStatus& value) { m_insufficientDataHealthStatusHasBeenSet = true; m_insufficientDataHealthStatus = value; }
448 inline void SetInsufficientDataHealthStatus(InsufficientDataHealthStatus&& value) { m_insufficientDataHealthStatusHasBeenSet = true; m_insufficientDataHealthStatus = std::move(value); }
452
454
461 inline const Aws::String& GetRoutingControlArn() const{ return m_routingControlArn; }
462 inline bool RoutingControlArnHasBeenSet() const { return m_routingControlArnHasBeenSet; }
463 inline void SetRoutingControlArn(const Aws::String& value) { m_routingControlArnHasBeenSet = true; m_routingControlArn = value; }
464 inline void SetRoutingControlArn(Aws::String&& value) { m_routingControlArnHasBeenSet = true; m_routingControlArn = std::move(value); }
465 inline void SetRoutingControlArn(const char* value) { m_routingControlArnHasBeenSet = true; m_routingControlArn.assign(value); }
466 inline HealthCheckConfig& WithRoutingControlArn(const Aws::String& value) { SetRoutingControlArn(value); return *this;}
467 inline HealthCheckConfig& WithRoutingControlArn(Aws::String&& value) { SetRoutingControlArn(std::move(value)); return *this;}
468 inline HealthCheckConfig& WithRoutingControlArn(const char* value) { SetRoutingControlArn(value); return *this;}
470 private:
471
472 Aws::String m_iPAddress;
473 bool m_iPAddressHasBeenSet = false;
474
475 int m_port;
476 bool m_portHasBeenSet = false;
477
478 HealthCheckType m_type;
479 bool m_typeHasBeenSet = false;
480
481 Aws::String m_resourcePath;
482 bool m_resourcePathHasBeenSet = false;
483
484 Aws::String m_fullyQualifiedDomainName;
485 bool m_fullyQualifiedDomainNameHasBeenSet = false;
486
487 Aws::String m_searchString;
488 bool m_searchStringHasBeenSet = false;
489
490 int m_requestInterval;
491 bool m_requestIntervalHasBeenSet = false;
492
493 int m_failureThreshold;
494 bool m_failureThresholdHasBeenSet = false;
495
496 bool m_measureLatency;
497 bool m_measureLatencyHasBeenSet = false;
498
499 bool m_inverted;
500 bool m_invertedHasBeenSet = false;
501
502 bool m_disabled;
503 bool m_disabledHasBeenSet = false;
504
505 int m_healthThreshold;
506 bool m_healthThresholdHasBeenSet = false;
507
508 Aws::Vector<Aws::String> m_childHealthChecks;
509 bool m_childHealthChecksHasBeenSet = false;
510
511 bool m_enableSNI;
512 bool m_enableSNIHasBeenSet = false;
513
515 bool m_regionsHasBeenSet = false;
516
517 AlarmIdentifier m_alarmIdentifier;
518 bool m_alarmIdentifierHasBeenSet = false;
519
520 InsufficientDataHealthStatus m_insufficientDataHealthStatus;
521 bool m_insufficientDataHealthStatusHasBeenSet = false;
522
523 Aws::String m_routingControlArn;
524 bool m_routingControlArnHasBeenSet = false;
525 };
526
527} // namespace Model
528} // namespace Route53
529} // namespace Aws
AWS_ROUTE53_API HealthCheckConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetInsufficientDataHealthStatus(const InsufficientDataHealthStatus &value)
HealthCheckConfig & AddChildHealthChecks(const char *value)
const Aws::Vector< HealthCheckRegion > & GetRegions() const
void SetAlarmIdentifier(AlarmIdentifier &&value)
void SetType(HealthCheckType &&value)
void SetAlarmIdentifier(const AlarmIdentifier &value)
void SetChildHealthChecks(Aws::Vector< Aws::String > &&value)
HealthCheckConfig & AddChildHealthChecks(Aws::String &&value)
HealthCheckConfig & WithFullyQualifiedDomainName(const char *value)
const Aws::Vector< Aws::String > & GetChildHealthChecks() const
AWS_ROUTE53_API HealthCheckConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
HealthCheckConfig & WithType(HealthCheckType &&value)
HealthCheckConfig & WithInverted(bool value)
HealthCheckConfig & WithIPAddress(const Aws::String &value)
void SetFullyQualifiedDomainName(Aws::String &&value)
HealthCheckConfig & WithType(const HealthCheckType &value)
HealthCheckConfig & WithRegions(Aws::Vector< HealthCheckRegion > &&value)
HealthCheckConfig & AddRegions(const HealthCheckRegion &value)
HealthCheckConfig & WithRegions(const Aws::Vector< HealthCheckRegion > &value)
HealthCheckConfig & WithRequestInterval(int value)
HealthCheckConfig & WithFailureThreshold(int value)
HealthCheckConfig & WithHealthThreshold(int value)
HealthCheckConfig & WithFullyQualifiedDomainName(Aws::String &&value)
HealthCheckConfig & WithSearchString(const char *value)
HealthCheckConfig & WithInsufficientDataHealthStatus(InsufficientDataHealthStatus &&value)
HealthCheckConfig & WithIPAddress(const char *value)
HealthCheckConfig & WithRoutingControlArn(const Aws::String &value)
HealthCheckConfig & WithChildHealthChecks(const Aws::Vector< Aws::String > &value)
HealthCheckConfig & WithRoutingControlArn(const char *value)
void SetResourcePath(const Aws::String &value)
HealthCheckConfig & WithChildHealthChecks(Aws::Vector< Aws::String > &&value)
void SetFullyQualifiedDomainName(const Aws::String &value)
HealthCheckConfig & WithAlarmIdentifier(const AlarmIdentifier &value)
void SetIPAddress(const Aws::String &value)
HealthCheckConfig & WithResourcePath(const char *value)
void SetSearchString(const Aws::String &value)
void SetSearchString(Aws::String &&value)
void SetRoutingControlArn(const Aws::String &value)
const HealthCheckType & GetType() const
void SetChildHealthChecks(const Aws::Vector< Aws::String > &value)
HealthCheckConfig & WithDisabled(bool value)
void SetFullyQualifiedDomainName(const char *value)
void SetRoutingControlArn(Aws::String &&value)
void SetInsufficientDataHealthStatus(InsufficientDataHealthStatus &&value)
HealthCheckConfig & WithSearchString(Aws::String &&value)
void SetRegions(const Aws::Vector< HealthCheckRegion > &value)
HealthCheckConfig & WithMeasureLatency(bool value)
const AlarmIdentifier & GetAlarmIdentifier() const
const Aws::String & GetSearchString() const
const Aws::String & GetResourcePath() const
HealthCheckConfig & WithResourcePath(Aws::String &&value)
HealthCheckConfig & WithPort(int value)
const Aws::String & GetRoutingControlArn() const
void SetRegions(Aws::Vector< HealthCheckRegion > &&value)
HealthCheckConfig & WithSearchString(const Aws::String &value)
void SetResourcePath(Aws::String &&value)
HealthCheckConfig & WithAlarmIdentifier(AlarmIdentifier &&value)
HealthCheckConfig & AddRegions(HealthCheckRegion &&value)
HealthCheckConfig & WithIPAddress(Aws::String &&value)
HealthCheckConfig & WithFullyQualifiedDomainName(const Aws::String &value)
HealthCheckConfig & WithRoutingControlArn(Aws::String &&value)
const Aws::String & GetFullyQualifiedDomainName() const
void SetType(const HealthCheckType &value)
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::String & GetIPAddress() const
HealthCheckConfig & AddChildHealthChecks(const Aws::String &value)
const InsufficientDataHealthStatus & GetInsufficientDataHealthStatus() const
HealthCheckConfig & WithEnableSNI(bool value)
HealthCheckConfig & WithInsufficientDataHealthStatus(const InsufficientDataHealthStatus &value)
HealthCheckConfig & WithResourcePath(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector