AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateHealthCheckRequest.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/route53/Route53Request.h>
9#include <aws/core/utils/memory/stl/AWSString.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 <aws/route53/model/ResettableElementName.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Route53
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_ROUTE53_API UpdateHealthCheckRequest();
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_ROUTE53_API Aws::String SerializePayload() const override;
42
43
45
50 inline const Aws::String& GetHealthCheckId() const{ return m_healthCheckId; }
51 inline bool HealthCheckIdHasBeenSet() const { return m_healthCheckIdHasBeenSet; }
52 inline void SetHealthCheckId(const Aws::String& value) { m_healthCheckIdHasBeenSet = true; m_healthCheckId = value; }
53 inline void SetHealthCheckId(Aws::String&& value) { m_healthCheckIdHasBeenSet = true; m_healthCheckId = std::move(value); }
54 inline void SetHealthCheckId(const char* value) { m_healthCheckIdHasBeenSet = true; m_healthCheckId.assign(value); }
55 inline UpdateHealthCheckRequest& WithHealthCheckId(const Aws::String& value) { SetHealthCheckId(value); return *this;}
56 inline UpdateHealthCheckRequest& WithHealthCheckId(Aws::String&& value) { SetHealthCheckId(std::move(value)); return *this;}
57 inline UpdateHealthCheckRequest& WithHealthCheckId(const char* value) { SetHealthCheckId(value); return *this;}
59
61
77 inline long long GetHealthCheckVersion() const{ return m_healthCheckVersion; }
78 inline bool HealthCheckVersionHasBeenSet() const { return m_healthCheckVersionHasBeenSet; }
79 inline void SetHealthCheckVersion(long long value) { m_healthCheckVersionHasBeenSet = true; m_healthCheckVersion = value; }
80 inline UpdateHealthCheckRequest& WithHealthCheckVersion(long long value) { SetHealthCheckVersion(value); return *this;}
82
84
124 inline const Aws::String& GetIPAddress() const{ return m_iPAddress; }
125 inline bool IPAddressHasBeenSet() const { return m_iPAddressHasBeenSet; }
126 inline void SetIPAddress(const Aws::String& value) { m_iPAddressHasBeenSet = true; m_iPAddress = value; }
127 inline void SetIPAddress(Aws::String&& value) { m_iPAddressHasBeenSet = true; m_iPAddress = std::move(value); }
128 inline void SetIPAddress(const char* value) { m_iPAddressHasBeenSet = true; m_iPAddress.assign(value); }
129 inline UpdateHealthCheckRequest& WithIPAddress(const Aws::String& value) { SetIPAddress(value); return *this;}
130 inline UpdateHealthCheckRequest& WithIPAddress(Aws::String&& value) { SetIPAddress(std::move(value)); return *this;}
131 inline UpdateHealthCheckRequest& WithIPAddress(const char* value) { SetIPAddress(value); return *this;}
133
135
141 inline int GetPort() const{ return m_port; }
142 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
143 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
144 inline UpdateHealthCheckRequest& WithPort(int value) { SetPort(value); return *this;}
146
148
156 inline const Aws::String& GetResourcePath() const{ return m_resourcePath; }
157 inline bool ResourcePathHasBeenSet() const { return m_resourcePathHasBeenSet; }
158 inline void SetResourcePath(const Aws::String& value) { m_resourcePathHasBeenSet = true; m_resourcePath = value; }
159 inline void SetResourcePath(Aws::String&& value) { m_resourcePathHasBeenSet = true; m_resourcePath = std::move(value); }
160 inline void SetResourcePath(const char* value) { m_resourcePathHasBeenSet = true; m_resourcePath.assign(value); }
161 inline UpdateHealthCheckRequest& WithResourcePath(const Aws::String& value) { SetResourcePath(value); return *this;}
162 inline UpdateHealthCheckRequest& WithResourcePath(Aws::String&& value) { SetResourcePath(std::move(value)); return *this;}
163 inline UpdateHealthCheckRequest& WithResourcePath(const char* value) { SetResourcePath(value); return *this;}
165
167
224 inline const Aws::String& GetFullyQualifiedDomainName() const{ return m_fullyQualifiedDomainName; }
225 inline bool FullyQualifiedDomainNameHasBeenSet() const { return m_fullyQualifiedDomainNameHasBeenSet; }
226 inline void SetFullyQualifiedDomainName(const Aws::String& value) { m_fullyQualifiedDomainNameHasBeenSet = true; m_fullyQualifiedDomainName = value; }
227 inline void SetFullyQualifiedDomainName(Aws::String&& value) { m_fullyQualifiedDomainNameHasBeenSet = true; m_fullyQualifiedDomainName = std::move(value); }
228 inline void SetFullyQualifiedDomainName(const char* value) { m_fullyQualifiedDomainNameHasBeenSet = true; m_fullyQualifiedDomainName.assign(value); }
233
235
242 inline const Aws::String& GetSearchString() const{ return m_searchString; }
243 inline bool SearchStringHasBeenSet() const { return m_searchStringHasBeenSet; }
244 inline void SetSearchString(const Aws::String& value) { m_searchStringHasBeenSet = true; m_searchString = value; }
245 inline void SetSearchString(Aws::String&& value) { m_searchStringHasBeenSet = true; m_searchString = std::move(value); }
246 inline void SetSearchString(const char* value) { m_searchStringHasBeenSet = true; m_searchString.assign(value); }
247 inline UpdateHealthCheckRequest& WithSearchString(const Aws::String& value) { SetSearchString(value); return *this;}
248 inline UpdateHealthCheckRequest& WithSearchString(Aws::String&& value) { SetSearchString(std::move(value)); return *this;}
249 inline UpdateHealthCheckRequest& WithSearchString(const char* value) { SetSearchString(value); return *this;}
251
253
262 inline int GetFailureThreshold() const{ return m_failureThreshold; }
263 inline bool FailureThresholdHasBeenSet() const { return m_failureThresholdHasBeenSet; }
264 inline void SetFailureThreshold(int value) { m_failureThresholdHasBeenSet = true; m_failureThreshold = value; }
265 inline UpdateHealthCheckRequest& WithFailureThreshold(int value) { SetFailureThreshold(value); return *this;}
267
269
274 inline bool GetInverted() const{ return m_inverted; }
275 inline bool InvertedHasBeenSet() const { return m_invertedHasBeenSet; }
276 inline void SetInverted(bool value) { m_invertedHasBeenSet = true; m_inverted = value; }
277 inline UpdateHealthCheckRequest& WithInverted(bool value) { SetInverted(value); return *this;}
279
281
298 inline bool GetDisabled() const{ return m_disabled; }
299 inline bool DisabledHasBeenSet() const { return m_disabledHasBeenSet; }
300 inline void SetDisabled(bool value) { m_disabledHasBeenSet = true; m_disabled = value; }
301 inline UpdateHealthCheckRequest& WithDisabled(bool value) { SetDisabled(value); return *this;}
303
305
317 inline int GetHealthThreshold() const{ return m_healthThreshold; }
318 inline bool HealthThresholdHasBeenSet() const { return m_healthThresholdHasBeenSet; }
319 inline void SetHealthThreshold(int value) { m_healthThresholdHasBeenSet = true; m_healthThreshold = value; }
320 inline UpdateHealthCheckRequest& WithHealthThreshold(int value) { SetHealthThreshold(value); return *this;}
322
324
329 inline const Aws::Vector<Aws::String>& GetChildHealthChecks() const{ return m_childHealthChecks; }
330 inline bool ChildHealthChecksHasBeenSet() const { return m_childHealthChecksHasBeenSet; }
331 inline void SetChildHealthChecks(const Aws::Vector<Aws::String>& value) { m_childHealthChecksHasBeenSet = true; m_childHealthChecks = value; }
332 inline void SetChildHealthChecks(Aws::Vector<Aws::String>&& value) { m_childHealthChecksHasBeenSet = true; m_childHealthChecks = std::move(value); }
335 inline UpdateHealthCheckRequest& AddChildHealthChecks(const Aws::String& value) { m_childHealthChecksHasBeenSet = true; m_childHealthChecks.push_back(value); return *this; }
336 inline UpdateHealthCheckRequest& AddChildHealthChecks(Aws::String&& value) { m_childHealthChecksHasBeenSet = true; m_childHealthChecks.push_back(std::move(value)); return *this; }
337 inline UpdateHealthCheckRequest& AddChildHealthChecks(const char* value) { m_childHealthChecksHasBeenSet = true; m_childHealthChecks.push_back(value); return *this; }
339
341
363 inline bool GetEnableSNI() const{ return m_enableSNI; }
364 inline bool EnableSNIHasBeenSet() const { return m_enableSNIHasBeenSet; }
365 inline void SetEnableSNI(bool value) { m_enableSNIHasBeenSet = true; m_enableSNI = value; }
366 inline UpdateHealthCheckRequest& WithEnableSNI(bool value) { SetEnableSNI(value); return *this;}
368
370
375 inline const Aws::Vector<HealthCheckRegion>& GetRegions() const{ return m_regions; }
376 inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; }
377 inline void SetRegions(const Aws::Vector<HealthCheckRegion>& value) { m_regionsHasBeenSet = true; m_regions = value; }
378 inline void SetRegions(Aws::Vector<HealthCheckRegion>&& value) { m_regionsHasBeenSet = true; m_regions = std::move(value); }
380 inline UpdateHealthCheckRequest& WithRegions(Aws::Vector<HealthCheckRegion>&& value) { SetRegions(std::move(value)); return *this;}
381 inline UpdateHealthCheckRequest& AddRegions(const HealthCheckRegion& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; }
382 inline UpdateHealthCheckRequest& AddRegions(HealthCheckRegion&& value) { m_regionsHasBeenSet = true; m_regions.push_back(std::move(value)); return *this; }
384
386
391 inline const AlarmIdentifier& GetAlarmIdentifier() const{ return m_alarmIdentifier; }
392 inline bool AlarmIdentifierHasBeenSet() const { return m_alarmIdentifierHasBeenSet; }
393 inline void SetAlarmIdentifier(const AlarmIdentifier& value) { m_alarmIdentifierHasBeenSet = true; m_alarmIdentifier = value; }
394 inline void SetAlarmIdentifier(AlarmIdentifier&& value) { m_alarmIdentifierHasBeenSet = true; m_alarmIdentifier = std::move(value); }
396 inline UpdateHealthCheckRequest& WithAlarmIdentifier(AlarmIdentifier&& value) { SetAlarmIdentifier(std::move(value)); return *this;}
398
400
411 inline const InsufficientDataHealthStatus& GetInsufficientDataHealthStatus() const{ return m_insufficientDataHealthStatus; }
412 inline bool InsufficientDataHealthStatusHasBeenSet() const { return m_insufficientDataHealthStatusHasBeenSet; }
413 inline void SetInsufficientDataHealthStatus(const InsufficientDataHealthStatus& value) { m_insufficientDataHealthStatusHasBeenSet = true; m_insufficientDataHealthStatus = value; }
414 inline void SetInsufficientDataHealthStatus(InsufficientDataHealthStatus&& value) { m_insufficientDataHealthStatusHasBeenSet = true; m_insufficientDataHealthStatus = std::move(value); }
418
420
436 inline const Aws::Vector<ResettableElementName>& GetResetElements() const{ return m_resetElements; }
437 inline bool ResetElementsHasBeenSet() const { return m_resetElementsHasBeenSet; }
438 inline void SetResetElements(const Aws::Vector<ResettableElementName>& value) { m_resetElementsHasBeenSet = true; m_resetElements = value; }
439 inline void SetResetElements(Aws::Vector<ResettableElementName>&& value) { m_resetElementsHasBeenSet = true; m_resetElements = std::move(value); }
442 inline UpdateHealthCheckRequest& AddResetElements(const ResettableElementName& value) { m_resetElementsHasBeenSet = true; m_resetElements.push_back(value); return *this; }
443 inline UpdateHealthCheckRequest& AddResetElements(ResettableElementName&& value) { m_resetElementsHasBeenSet = true; m_resetElements.push_back(std::move(value)); return *this; }
445 private:
446
447 Aws::String m_healthCheckId;
448 bool m_healthCheckIdHasBeenSet = false;
449
450 long long m_healthCheckVersion;
451 bool m_healthCheckVersionHasBeenSet = false;
452
453 Aws::String m_iPAddress;
454 bool m_iPAddressHasBeenSet = false;
455
456 int m_port;
457 bool m_portHasBeenSet = false;
458
459 Aws::String m_resourcePath;
460 bool m_resourcePathHasBeenSet = false;
461
462 Aws::String m_fullyQualifiedDomainName;
463 bool m_fullyQualifiedDomainNameHasBeenSet = false;
464
465 Aws::String m_searchString;
466 bool m_searchStringHasBeenSet = false;
467
468 int m_failureThreshold;
469 bool m_failureThresholdHasBeenSet = false;
470
471 bool m_inverted;
472 bool m_invertedHasBeenSet = false;
473
474 bool m_disabled;
475 bool m_disabledHasBeenSet = false;
476
477 int m_healthThreshold;
478 bool m_healthThresholdHasBeenSet = false;
479
480 Aws::Vector<Aws::String> m_childHealthChecks;
481 bool m_childHealthChecksHasBeenSet = false;
482
483 bool m_enableSNI;
484 bool m_enableSNIHasBeenSet = false;
485
487 bool m_regionsHasBeenSet = false;
488
489 AlarmIdentifier m_alarmIdentifier;
490 bool m_alarmIdentifierHasBeenSet = false;
491
492 InsufficientDataHealthStatus m_insufficientDataHealthStatus;
493 bool m_insufficientDataHealthStatusHasBeenSet = false;
494
496 bool m_resetElementsHasBeenSet = false;
497 };
498
499} // namespace Model
500} // namespace Route53
501} // namespace Aws
AWS_ROUTE53_API Aws::String SerializePayload() const override
void SetChildHealthChecks(const Aws::Vector< Aws::String > &value)
UpdateHealthCheckRequest & WithPort(int value)
UpdateHealthCheckRequest & WithResourcePath(const char *value)
void SetAlarmIdentifier(const AlarmIdentifier &value)
UpdateHealthCheckRequest & WithResetElements(Aws::Vector< ResettableElementName > &&value)
void SetChildHealthChecks(Aws::Vector< Aws::String > &&value)
const InsufficientDataHealthStatus & GetInsufficientDataHealthStatus() const
UpdateHealthCheckRequest & WithChildHealthChecks(const Aws::Vector< Aws::String > &value)
UpdateHealthCheckRequest & WithResourcePath(Aws::String &&value)
UpdateHealthCheckRequest & WithChildHealthChecks(Aws::Vector< Aws::String > &&value)
UpdateHealthCheckRequest & AddResetElements(const ResettableElementName &value)
UpdateHealthCheckRequest & WithInsufficientDataHealthStatus(const InsufficientDataHealthStatus &value)
UpdateHealthCheckRequest & AddChildHealthChecks(const Aws::String &value)
UpdateHealthCheckRequest & WithFailureThreshold(int value)
UpdateHealthCheckRequest & WithAlarmIdentifier(AlarmIdentifier &&value)
void SetRegions(const Aws::Vector< HealthCheckRegion > &value)
void SetResetElements(Aws::Vector< ResettableElementName > &&value)
void SetInsufficientDataHealthStatus(const InsufficientDataHealthStatus &value)
UpdateHealthCheckRequest & AddChildHealthChecks(const char *value)
UpdateHealthCheckRequest & WithRegions(Aws::Vector< HealthCheckRegion > &&value)
UpdateHealthCheckRequest & WithSearchString(const char *value)
UpdateHealthCheckRequest & AddChildHealthChecks(Aws::String &&value)
UpdateHealthCheckRequest & WithAlarmIdentifier(const AlarmIdentifier &value)
UpdateHealthCheckRequest & WithInsufficientDataHealthStatus(InsufficientDataHealthStatus &&value)
UpdateHealthCheckRequest & WithEnableSNI(bool value)
UpdateHealthCheckRequest & WithHealthCheckVersion(long long value)
UpdateHealthCheckRequest & WithDisabled(bool value)
UpdateHealthCheckRequest & WithFullyQualifiedDomainName(const char *value)
void SetResetElements(const Aws::Vector< ResettableElementName > &value)
UpdateHealthCheckRequest & WithInverted(bool value)
const Aws::Vector< HealthCheckRegion > & GetRegions() const
UpdateHealthCheckRequest & WithRegions(const Aws::Vector< HealthCheckRegion > &value)
void SetInsufficientDataHealthStatus(InsufficientDataHealthStatus &&value)
UpdateHealthCheckRequest & WithFullyQualifiedDomainName(Aws::String &&value)
UpdateHealthCheckRequest & WithIPAddress(const Aws::String &value)
const Aws::Vector< Aws::String > & GetChildHealthChecks() const
UpdateHealthCheckRequest & WithHealthThreshold(int value)
UpdateHealthCheckRequest & WithIPAddress(const char *value)
UpdateHealthCheckRequest & WithResetElements(const Aws::Vector< ResettableElementName > &value)
UpdateHealthCheckRequest & AddResetElements(ResettableElementName &&value)
void SetRegions(Aws::Vector< HealthCheckRegion > &&value)
virtual const char * GetServiceRequestName() const override
UpdateHealthCheckRequest & WithFullyQualifiedDomainName(const Aws::String &value)
UpdateHealthCheckRequest & WithIPAddress(Aws::String &&value)
UpdateHealthCheckRequest & AddRegions(const HealthCheckRegion &value)
UpdateHealthCheckRequest & WithHealthCheckId(Aws::String &&value)
UpdateHealthCheckRequest & WithResourcePath(const Aws::String &value)
UpdateHealthCheckRequest & WithSearchString(Aws::String &&value)
UpdateHealthCheckRequest & WithHealthCheckId(const Aws::String &value)
UpdateHealthCheckRequest & WithHealthCheckId(const char *value)
const Aws::Vector< ResettableElementName > & GetResetElements() const
UpdateHealthCheckRequest & WithSearchString(const Aws::String &value)
UpdateHealthCheckRequest & AddRegions(HealthCheckRegion &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector