AWS SDK for C++  1.8.71
AWS SDK for C++
UpdateHealthCheckRequest.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 namespace Route53
20 {
21 namespace Model
22 {
23 
31  {
32  public:
34 
35  // Service request name is the Operation name which will send this request out,
36  // each operation should has unique request name, so that we can get operation's name from this request.
37  // Note: this is not true for response, multiple operations may have the same response name,
38  // so we can not get operation's name from response.
39  inline virtual const char* GetServiceRequestName() const override { return "UpdateHealthCheck"; }
40 
41  Aws::String SerializePayload() const override;
42 
43 
49  inline const Aws::String& GetHealthCheckId() const{ return m_healthCheckId; }
50 
56  inline bool HealthCheckIdHasBeenSet() const { return m_healthCheckIdHasBeenSet; }
57 
63  inline void SetHealthCheckId(const Aws::String& value) { m_healthCheckIdHasBeenSet = true; m_healthCheckId = value; }
64 
70  inline void SetHealthCheckId(Aws::String&& value) { m_healthCheckIdHasBeenSet = true; m_healthCheckId = std::move(value); }
71 
77  inline void SetHealthCheckId(const char* value) { m_healthCheckIdHasBeenSet = true; m_healthCheckId.assign(value); }
78 
84  inline UpdateHealthCheckRequest& WithHealthCheckId(const Aws::String& value) { SetHealthCheckId(value); return *this;}
85 
91  inline UpdateHealthCheckRequest& WithHealthCheckId(Aws::String&& value) { SetHealthCheckId(std::move(value)); return *this;}
92 
98  inline UpdateHealthCheckRequest& WithHealthCheckId(const char* value) { SetHealthCheckId(value); return *this;}
99 
100 
117  inline long long GetHealthCheckVersion() const{ return m_healthCheckVersion; }
118 
135  inline bool HealthCheckVersionHasBeenSet() const { return m_healthCheckVersionHasBeenSet; }
136 
153  inline void SetHealthCheckVersion(long long value) { m_healthCheckVersionHasBeenSet = true; m_healthCheckVersion = value; }
154 
171  inline UpdateHealthCheckRequest& WithHealthCheckVersion(long long value) { SetHealthCheckVersion(value); return *this;}
172 
173 
214  inline const Aws::String& GetIPAddress() const{ return m_iPAddress; }
215 
256  inline bool IPAddressHasBeenSet() const { return m_iPAddressHasBeenSet; }
257 
298  inline void SetIPAddress(const Aws::String& value) { m_iPAddressHasBeenSet = true; m_iPAddress = value; }
299 
340  inline void SetIPAddress(Aws::String&& value) { m_iPAddressHasBeenSet = true; m_iPAddress = std::move(value); }
341 
382  inline void SetIPAddress(const char* value) { m_iPAddressHasBeenSet = true; m_iPAddress.assign(value); }
383 
424  inline UpdateHealthCheckRequest& WithIPAddress(const Aws::String& value) { SetIPAddress(value); return *this;}
425 
466  inline UpdateHealthCheckRequest& WithIPAddress(Aws::String&& value) { SetIPAddress(std::move(value)); return *this;}
467 
508  inline UpdateHealthCheckRequest& WithIPAddress(const char* value) { SetIPAddress(value); return *this;}
509 
510 
517  inline int GetPort() const{ return m_port; }
518 
525  inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
526 
533  inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
534 
541  inline UpdateHealthCheckRequest& WithPort(int value) { SetPort(value); return *this;}
542 
543 
552  inline const Aws::String& GetResourcePath() const{ return m_resourcePath; }
553 
562  inline bool ResourcePathHasBeenSet() const { return m_resourcePathHasBeenSet; }
563 
572  inline void SetResourcePath(const Aws::String& value) { m_resourcePathHasBeenSet = true; m_resourcePath = value; }
573 
582  inline void SetResourcePath(Aws::String&& value) { m_resourcePathHasBeenSet = true; m_resourcePath = std::move(value); }
583 
592  inline void SetResourcePath(const char* value) { m_resourcePathHasBeenSet = true; m_resourcePath.assign(value); }
593 
602  inline UpdateHealthCheckRequest& WithResourcePath(const Aws::String& value) { SetResourcePath(value); return *this;}
603 
612  inline UpdateHealthCheckRequest& WithResourcePath(Aws::String&& value) { SetResourcePath(std::move(value)); return *this;}
613 
622  inline UpdateHealthCheckRequest& WithResourcePath(const char* value) { SetResourcePath(value); return *this;}
623 
624 
679  inline const Aws::String& GetFullyQualifiedDomainName() const{ return m_fullyQualifiedDomainName; }
680 
735  inline bool FullyQualifiedDomainNameHasBeenSet() const { return m_fullyQualifiedDomainNameHasBeenSet; }
736 
791  inline void SetFullyQualifiedDomainName(const Aws::String& value) { m_fullyQualifiedDomainNameHasBeenSet = true; m_fullyQualifiedDomainName = value; }
792 
847  inline void SetFullyQualifiedDomainName(Aws::String&& value) { m_fullyQualifiedDomainNameHasBeenSet = true; m_fullyQualifiedDomainName = std::move(value); }
848 
903  inline void SetFullyQualifiedDomainName(const char* value) { m_fullyQualifiedDomainNameHasBeenSet = true; m_fullyQualifiedDomainName.assign(value); }
904 
959  inline UpdateHealthCheckRequest& WithFullyQualifiedDomainName(const Aws::String& value) { SetFullyQualifiedDomainName(value); return *this;}
960 
1015  inline UpdateHealthCheckRequest& WithFullyQualifiedDomainName(Aws::String&& value) { SetFullyQualifiedDomainName(std::move(value)); return *this;}
1016 
1071  inline UpdateHealthCheckRequest& WithFullyQualifiedDomainName(const char* value) { SetFullyQualifiedDomainName(value); return *this;}
1072 
1073 
1081  inline const Aws::String& GetSearchString() const{ return m_searchString; }
1082 
1090  inline bool SearchStringHasBeenSet() const { return m_searchStringHasBeenSet; }
1091 
1099  inline void SetSearchString(const Aws::String& value) { m_searchStringHasBeenSet = true; m_searchString = value; }
1100 
1108  inline void SetSearchString(Aws::String&& value) { m_searchStringHasBeenSet = true; m_searchString = std::move(value); }
1109 
1117  inline void SetSearchString(const char* value) { m_searchStringHasBeenSet = true; m_searchString.assign(value); }
1118 
1126  inline UpdateHealthCheckRequest& WithSearchString(const Aws::String& value) { SetSearchString(value); return *this;}
1127 
1135  inline UpdateHealthCheckRequest& WithSearchString(Aws::String&& value) { SetSearchString(std::move(value)); return *this;}
1136 
1144  inline UpdateHealthCheckRequest& WithSearchString(const char* value) { SetSearchString(value); return *this;}
1145 
1146 
1156  inline int GetFailureThreshold() const{ return m_failureThreshold; }
1157 
1167  inline bool FailureThresholdHasBeenSet() const { return m_failureThresholdHasBeenSet; }
1168 
1178  inline void SetFailureThreshold(int value) { m_failureThresholdHasBeenSet = true; m_failureThreshold = value; }
1179 
1189  inline UpdateHealthCheckRequest& WithFailureThreshold(int value) { SetFailureThreshold(value); return *this;}
1190 
1191 
1197  inline bool GetInverted() const{ return m_inverted; }
1198 
1204  inline bool InvertedHasBeenSet() const { return m_invertedHasBeenSet; }
1205 
1211  inline void SetInverted(bool value) { m_invertedHasBeenSet = true; m_inverted = value; }
1212 
1218  inline UpdateHealthCheckRequest& WithInverted(bool value) { SetInverted(value); return *this;}
1219 
1220 
1238  inline bool GetDisabled() const{ return m_disabled; }
1239 
1257  inline bool DisabledHasBeenSet() const { return m_disabledHasBeenSet; }
1258 
1276  inline void SetDisabled(bool value) { m_disabledHasBeenSet = true; m_disabled = value; }
1277 
1295  inline UpdateHealthCheckRequest& WithDisabled(bool value) { SetDisabled(value); return *this;}
1296 
1297 
1310  inline int GetHealthThreshold() const{ return m_healthThreshold; }
1311 
1324  inline bool HealthThresholdHasBeenSet() const { return m_healthThresholdHasBeenSet; }
1325 
1338  inline void SetHealthThreshold(int value) { m_healthThresholdHasBeenSet = true; m_healthThreshold = value; }
1339 
1352  inline UpdateHealthCheckRequest& WithHealthThreshold(int value) { SetHealthThreshold(value); return *this;}
1353 
1354 
1360  inline const Aws::Vector<Aws::String>& GetChildHealthChecks() const{ return m_childHealthChecks; }
1361 
1367  inline bool ChildHealthChecksHasBeenSet() const { return m_childHealthChecksHasBeenSet; }
1368 
1374  inline void SetChildHealthChecks(const Aws::Vector<Aws::String>& value) { m_childHealthChecksHasBeenSet = true; m_childHealthChecks = value; }
1375 
1381  inline void SetChildHealthChecks(Aws::Vector<Aws::String>&& value) { m_childHealthChecksHasBeenSet = true; m_childHealthChecks = std::move(value); }
1382 
1388  inline UpdateHealthCheckRequest& WithChildHealthChecks(const Aws::Vector<Aws::String>& value) { SetChildHealthChecks(value); return *this;}
1389 
1395  inline UpdateHealthCheckRequest& WithChildHealthChecks(Aws::Vector<Aws::String>&& value) { SetChildHealthChecks(std::move(value)); return *this;}
1396 
1402  inline UpdateHealthCheckRequest& AddChildHealthChecks(const Aws::String& value) { m_childHealthChecksHasBeenSet = true; m_childHealthChecks.push_back(value); return *this; }
1403 
1409  inline UpdateHealthCheckRequest& AddChildHealthChecks(Aws::String&& value) { m_childHealthChecksHasBeenSet = true; m_childHealthChecks.push_back(std::move(value)); return *this; }
1410 
1416  inline UpdateHealthCheckRequest& AddChildHealthChecks(const char* value) { m_childHealthChecksHasBeenSet = true; m_childHealthChecks.push_back(value); return *this; }
1417 
1418 
1441  inline bool GetEnableSNI() const{ return m_enableSNI; }
1442 
1465  inline bool EnableSNIHasBeenSet() const { return m_enableSNIHasBeenSet; }
1466 
1489  inline void SetEnableSNI(bool value) { m_enableSNIHasBeenSet = true; m_enableSNI = value; }
1490 
1513  inline UpdateHealthCheckRequest& WithEnableSNI(bool value) { SetEnableSNI(value); return *this;}
1514 
1515 
1521  inline const Aws::Vector<HealthCheckRegion>& GetRegions() const{ return m_regions; }
1522 
1528  inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; }
1529 
1535  inline void SetRegions(const Aws::Vector<HealthCheckRegion>& value) { m_regionsHasBeenSet = true; m_regions = value; }
1536 
1542  inline void SetRegions(Aws::Vector<HealthCheckRegion>&& value) { m_regionsHasBeenSet = true; m_regions = std::move(value); }
1543 
1549  inline UpdateHealthCheckRequest& WithRegions(const Aws::Vector<HealthCheckRegion>& value) { SetRegions(value); return *this;}
1550 
1556  inline UpdateHealthCheckRequest& WithRegions(Aws::Vector<HealthCheckRegion>&& value) { SetRegions(std::move(value)); return *this;}
1557 
1563  inline UpdateHealthCheckRequest& AddRegions(const HealthCheckRegion& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; }
1564 
1570  inline UpdateHealthCheckRequest& AddRegions(HealthCheckRegion&& value) { m_regionsHasBeenSet = true; m_regions.push_back(std::move(value)); return *this; }
1571 
1572 
1578  inline const AlarmIdentifier& GetAlarmIdentifier() const{ return m_alarmIdentifier; }
1579 
1585  inline bool AlarmIdentifierHasBeenSet() const { return m_alarmIdentifierHasBeenSet; }
1586 
1592  inline void SetAlarmIdentifier(const AlarmIdentifier& value) { m_alarmIdentifierHasBeenSet = true; m_alarmIdentifier = value; }
1593 
1599  inline void SetAlarmIdentifier(AlarmIdentifier&& value) { m_alarmIdentifierHasBeenSet = true; m_alarmIdentifier = std::move(value); }
1600 
1606  inline UpdateHealthCheckRequest& WithAlarmIdentifier(const AlarmIdentifier& value) { SetAlarmIdentifier(value); return *this;}
1607 
1613  inline UpdateHealthCheckRequest& WithAlarmIdentifier(AlarmIdentifier&& value) { SetAlarmIdentifier(std::move(value)); return *this;}
1614 
1615 
1627  inline const InsufficientDataHealthStatus& GetInsufficientDataHealthStatus() const{ return m_insufficientDataHealthStatus; }
1628 
1640  inline bool InsufficientDataHealthStatusHasBeenSet() const { return m_insufficientDataHealthStatusHasBeenSet; }
1641 
1653  inline void SetInsufficientDataHealthStatus(const InsufficientDataHealthStatus& value) { m_insufficientDataHealthStatusHasBeenSet = true; m_insufficientDataHealthStatus = value; }
1654 
1666  inline void SetInsufficientDataHealthStatus(InsufficientDataHealthStatus&& value) { m_insufficientDataHealthStatusHasBeenSet = true; m_insufficientDataHealthStatus = std::move(value); }
1667 
1679  inline UpdateHealthCheckRequest& WithInsufficientDataHealthStatus(const InsufficientDataHealthStatus& value) { SetInsufficientDataHealthStatus(value); return *this;}
1680 
1692  inline UpdateHealthCheckRequest& WithInsufficientDataHealthStatus(InsufficientDataHealthStatus&& value) { SetInsufficientDataHealthStatus(std::move(value)); return *this;}
1693 
1694 
1711  inline const Aws::Vector<ResettableElementName>& GetResetElements() const{ return m_resetElements; }
1712 
1729  inline bool ResetElementsHasBeenSet() const { return m_resetElementsHasBeenSet; }
1730 
1747  inline void SetResetElements(const Aws::Vector<ResettableElementName>& value) { m_resetElementsHasBeenSet = true; m_resetElements = value; }
1748 
1765  inline void SetResetElements(Aws::Vector<ResettableElementName>&& value) { m_resetElementsHasBeenSet = true; m_resetElements = std::move(value); }
1766 
1783  inline UpdateHealthCheckRequest& WithResetElements(const Aws::Vector<ResettableElementName>& value) { SetResetElements(value); return *this;}
1784 
1801  inline UpdateHealthCheckRequest& WithResetElements(Aws::Vector<ResettableElementName>&& value) { SetResetElements(std::move(value)); return *this;}
1802 
1819  inline UpdateHealthCheckRequest& AddResetElements(const ResettableElementName& value) { m_resetElementsHasBeenSet = true; m_resetElements.push_back(value); return *this; }
1820 
1837  inline UpdateHealthCheckRequest& AddResetElements(ResettableElementName&& value) { m_resetElementsHasBeenSet = true; m_resetElements.push_back(std::move(value)); return *this; }
1838 
1839  private:
1840 
1841  Aws::String m_healthCheckId;
1842  bool m_healthCheckIdHasBeenSet;
1843 
1844  long long m_healthCheckVersion;
1845  bool m_healthCheckVersionHasBeenSet;
1846 
1847  Aws::String m_iPAddress;
1848  bool m_iPAddressHasBeenSet;
1849 
1850  int m_port;
1851  bool m_portHasBeenSet;
1852 
1853  Aws::String m_resourcePath;
1854  bool m_resourcePathHasBeenSet;
1855 
1856  Aws::String m_fullyQualifiedDomainName;
1857  bool m_fullyQualifiedDomainNameHasBeenSet;
1858 
1859  Aws::String m_searchString;
1860  bool m_searchStringHasBeenSet;
1861 
1862  int m_failureThreshold;
1863  bool m_failureThresholdHasBeenSet;
1864 
1865  bool m_inverted;
1866  bool m_invertedHasBeenSet;
1867 
1868  bool m_disabled;
1869  bool m_disabledHasBeenSet;
1870 
1871  int m_healthThreshold;
1872  bool m_healthThresholdHasBeenSet;
1873 
1874  Aws::Vector<Aws::String> m_childHealthChecks;
1875  bool m_childHealthChecksHasBeenSet;
1876 
1877  bool m_enableSNI;
1878  bool m_enableSNIHasBeenSet;
1879 
1881  bool m_regionsHasBeenSet;
1882 
1883  AlarmIdentifier m_alarmIdentifier;
1884  bool m_alarmIdentifierHasBeenSet;
1885 
1886  InsufficientDataHealthStatus m_insufficientDataHealthStatus;
1887  bool m_insufficientDataHealthStatusHasBeenSet;
1888 
1889  Aws::Vector<ResettableElementName> m_resetElements;
1890  bool m_resetElementsHasBeenSet;
1891  };
1892 
1893 } // namespace Model
1894 } // namespace Route53
1895 } // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateHealthCheckRequest & AddChildHealthChecks(const char *value)
UpdateHealthCheckRequest & WithResourcePath(Aws::String &&value)
void SetRegions(Aws::Vector< HealthCheckRegion > &&value)
void SetResetElements(Aws::Vector< ResettableElementName > &&value)
UpdateHealthCheckRequest & WithAlarmIdentifier(AlarmIdentifier &&value)
UpdateHealthCheckRequest & WithInsufficientDataHealthStatus(InsufficientDataHealthStatus &&value)
void SetRegions(const Aws::Vector< HealthCheckRegion > &value)
UpdateHealthCheckRequest & AddRegions(const HealthCheckRegion &value)
UpdateHealthCheckRequest & WithIPAddress(const Aws::String &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
UpdateHealthCheckRequest & AddRegions(HealthCheckRegion &&value)
UpdateHealthCheckRequest & WithAlarmIdentifier(const AlarmIdentifier &value)
UpdateHealthCheckRequest & WithDisabled(bool value)
UpdateHealthCheckRequest & WithChildHealthChecks(Aws::Vector< Aws::String > &&value)
UpdateHealthCheckRequest & WithFullyQualifiedDomainName(const char *value)
const InsufficientDataHealthStatus & GetInsufficientDataHealthStatus() const
void SetFullyQualifiedDomainName(const Aws::String &value)
void SetChildHealthChecks(Aws::Vector< Aws::String > &&value)
void SetInsufficientDataHealthStatus(InsufficientDataHealthStatus &&value)
void SetInsufficientDataHealthStatus(const InsufficientDataHealthStatus &value)
UpdateHealthCheckRequest & WithHealthCheckId(const char *value)
UpdateHealthCheckRequest & WithResourcePath(const Aws::String &value)
void SetChildHealthChecks(const Aws::Vector< Aws::String > &value)
UpdateHealthCheckRequest & WithSearchString(const Aws::String &value)
UpdateHealthCheckRequest & WithEnableSNI(bool value)
UpdateHealthCheckRequest & WithHealthCheckId(const Aws::String &value)
UpdateHealthCheckRequest & AddResetElements(const ResettableElementName &value)
UpdateHealthCheckRequest & WithRegions(Aws::Vector< HealthCheckRegion > &&value)
UpdateHealthCheckRequest & WithHealthThreshold(int value)
UpdateHealthCheckRequest & WithSearchString(const char *value)
void SetAlarmIdentifier(const AlarmIdentifier &value)
UpdateHealthCheckRequest & WithFullyQualifiedDomainName(const Aws::String &value)
UpdateHealthCheckRequest & WithResetElements(Aws::Vector< ResettableElementName > &&value)
UpdateHealthCheckRequest & WithSearchString(Aws::String &&value)
UpdateHealthCheckRequest & WithResetElements(const Aws::Vector< ResettableElementName > &value)
UpdateHealthCheckRequest & WithRegions(const Aws::Vector< HealthCheckRegion > &value)
UpdateHealthCheckRequest & AddChildHealthChecks(const Aws::String &value)
#define AWS_ROUTE53_API
UpdateHealthCheckRequest & WithIPAddress(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UpdateHealthCheckRequest & WithHealthCheckVersion(long long value)
UpdateHealthCheckRequest & WithResourcePath(const char *value)
const Aws::Vector< ResettableElementName > & GetResetElements() const
UpdateHealthCheckRequest & AddChildHealthChecks(Aws::String &&value)
UpdateHealthCheckRequest & WithFullyQualifiedDomainName(Aws::String &&value)
UpdateHealthCheckRequest & WithFailureThreshold(int value)
UpdateHealthCheckRequest & WithInsufficientDataHealthStatus(const InsufficientDataHealthStatus &value)
const Aws::Vector< HealthCheckRegion > & GetRegions() const
UpdateHealthCheckRequest & WithHealthCheckId(Aws::String &&value)
void SetResetElements(const Aws::Vector< ResettableElementName > &value)
UpdateHealthCheckRequest & WithChildHealthChecks(const Aws::Vector< Aws::String > &value)
UpdateHealthCheckRequest & WithInverted(bool value)
UpdateHealthCheckRequest & AddResetElements(ResettableElementName &&value)
const Aws::Vector< Aws::String > & GetChildHealthChecks() const
UpdateHealthCheckRequest & WithPort(int value)
UpdateHealthCheckRequest & WithIPAddress(Aws::String &&value)