AWS SDK for C++  0.12.9
AWS SDK for C++
UpdateHealthCheckRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
23 
24 namespace Aws
25 {
26 namespace Route53
27 {
28 namespace Model
29 {
30 
36  {
37  public:
39  Aws::String SerializePayload() const override;
40 
44  inline const Aws::String& GetHealthCheckId() const{ return m_healthCheckId; }
45 
49  inline void SetHealthCheckId(const Aws::String& value) { m_healthCheckIdHasBeenSet = true; m_healthCheckId = value; }
50 
54  inline void SetHealthCheckId(Aws::String&& value) { m_healthCheckIdHasBeenSet = true; m_healthCheckId = value; }
55 
59  inline void SetHealthCheckId(const char* value) { m_healthCheckIdHasBeenSet = true; m_healthCheckId.assign(value); }
60 
64  inline UpdateHealthCheckRequest& WithHealthCheckId(const Aws::String& value) { SetHealthCheckId(value); return *this;}
65 
69  inline UpdateHealthCheckRequest& WithHealthCheckId(Aws::String&& value) { SetHealthCheckId(value); return *this;}
70 
74  inline UpdateHealthCheckRequest& WithHealthCheckId(const char* value) { SetHealthCheckId(value); return *this;}
75 
83  inline long long GetHealthCheckVersion() const{ return m_healthCheckVersion; }
84 
92  inline void SetHealthCheckVersion(long long value) { m_healthCheckVersionHasBeenSet = true; m_healthCheckVersion = value; }
93 
101  inline UpdateHealthCheckRequest& WithHealthCheckVersion(long long value) { SetHealthCheckVersion(value); return *this;}
102 
107  inline const Aws::String& GetIPAddress() const{ return m_iPAddress; }
108 
113  inline void SetIPAddress(const Aws::String& value) { m_iPAddressHasBeenSet = true; m_iPAddress = value; }
114 
119  inline void SetIPAddress(Aws::String&& value) { m_iPAddressHasBeenSet = true; m_iPAddress = value; }
120 
125  inline void SetIPAddress(const char* value) { m_iPAddressHasBeenSet = true; m_iPAddress.assign(value); }
126 
131  inline UpdateHealthCheckRequest& WithIPAddress(const Aws::String& value) { SetIPAddress(value); return *this;}
132 
137  inline UpdateHealthCheckRequest& WithIPAddress(Aws::String&& value) { SetIPAddress(value); return *this;}
138 
143  inline UpdateHealthCheckRequest& WithIPAddress(const char* value) { SetIPAddress(value); return *this;}
144 
149  inline long GetPort() const{ return m_port; }
150 
155  inline void SetPort(long value) { m_portHasBeenSet = true; m_port = value; }
156 
161  inline UpdateHealthCheckRequest& WithPort(long value) { SetPort(value); return *this;}
162 
170  inline const Aws::String& GetResourcePath() const{ return m_resourcePath; }
171 
179  inline void SetResourcePath(const Aws::String& value) { m_resourcePathHasBeenSet = true; m_resourcePath = value; }
180 
188  inline void SetResourcePath(Aws::String&& value) { m_resourcePathHasBeenSet = true; m_resourcePath = value; }
189 
197  inline void SetResourcePath(const char* value) { m_resourcePathHasBeenSet = true; m_resourcePath.assign(value); }
198 
206  inline UpdateHealthCheckRequest& WithResourcePath(const Aws::String& value) { SetResourcePath(value); return *this;}
207 
215  inline UpdateHealthCheckRequest& WithResourcePath(Aws::String&& value) { SetResourcePath(value); return *this;}
216 
224  inline UpdateHealthCheckRequest& WithResourcePath(const char* value) { SetResourcePath(value); return *this;}
225 
230  inline const Aws::String& GetFullyQualifiedDomainName() const{ return m_fullyQualifiedDomainName; }
231 
236  inline void SetFullyQualifiedDomainName(const Aws::String& value) { m_fullyQualifiedDomainNameHasBeenSet = true; m_fullyQualifiedDomainName = value; }
237 
242  inline void SetFullyQualifiedDomainName(Aws::String&& value) { m_fullyQualifiedDomainNameHasBeenSet = true; m_fullyQualifiedDomainName = value; }
243 
248  inline void SetFullyQualifiedDomainName(const char* value) { m_fullyQualifiedDomainNameHasBeenSet = true; m_fullyQualifiedDomainName.assign(value); }
249 
254  inline UpdateHealthCheckRequest& WithFullyQualifiedDomainName(const Aws::String& value) { SetFullyQualifiedDomainName(value); return *this;}
255 
260  inline UpdateHealthCheckRequest& WithFullyQualifiedDomainName(Aws::String&& value) { SetFullyQualifiedDomainName(value); return *this;}
261 
266  inline UpdateHealthCheckRequest& WithFullyQualifiedDomainName(const char* value) { SetFullyQualifiedDomainName(value); return *this;}
267 
276  inline const Aws::String& GetSearchString() const{ return m_searchString; }
277 
286  inline void SetSearchString(const Aws::String& value) { m_searchStringHasBeenSet = true; m_searchString = value; }
287 
296  inline void SetSearchString(Aws::String&& value) { m_searchStringHasBeenSet = true; m_searchString = value; }
297 
306  inline void SetSearchString(const char* value) { m_searchStringHasBeenSet = true; m_searchString.assign(value); }
307 
316  inline UpdateHealthCheckRequest& WithSearchString(const Aws::String& value) { SetSearchString(value); return *this;}
317 
326  inline UpdateHealthCheckRequest& WithSearchString(Aws::String&& value) { SetSearchString(value); return *this;}
327 
336  inline UpdateHealthCheckRequest& WithSearchString(const char* value) { SetSearchString(value); return *this;}
337 
346  inline long GetFailureThreshold() const{ return m_failureThreshold; }
347 
356  inline void SetFailureThreshold(long value) { m_failureThresholdHasBeenSet = true; m_failureThreshold = value; }
357 
366  inline UpdateHealthCheckRequest& WithFailureThreshold(long value) { SetFailureThreshold(value); return *this;}
367 
374  inline bool GetInverted() const{ return m_inverted; }
375 
382  inline void SetInverted(bool value) { m_invertedHasBeenSet = true; m_inverted = value; }
383 
390  inline UpdateHealthCheckRequest& WithInverted(bool value) { SetInverted(value); return *this;}
391 
398  inline long GetHealthThreshold() const{ return m_healthThreshold; }
399 
406  inline void SetHealthThreshold(long value) { m_healthThresholdHasBeenSet = true; m_healthThreshold = value; }
407 
414  inline UpdateHealthCheckRequest& WithHealthThreshold(long value) { SetHealthThreshold(value); return *this;}
415 
421  inline const Aws::Vector<Aws::String>& GetChildHealthChecks() const{ return m_childHealthChecks; }
422 
428  inline void SetChildHealthChecks(const Aws::Vector<Aws::String>& value) { m_childHealthChecksHasBeenSet = true; m_childHealthChecks = value; }
429 
435  inline void SetChildHealthChecks(Aws::Vector<Aws::String>&& value) { m_childHealthChecksHasBeenSet = true; m_childHealthChecks = value; }
436 
442  inline UpdateHealthCheckRequest& WithChildHealthChecks(const Aws::Vector<Aws::String>& value) { SetChildHealthChecks(value); return *this;}
443 
449  inline UpdateHealthCheckRequest& WithChildHealthChecks(Aws::Vector<Aws::String>&& value) { SetChildHealthChecks(value); return *this;}
450 
456  inline UpdateHealthCheckRequest& AddChildHealthChecks(const Aws::String& value) { m_childHealthChecksHasBeenSet = true; m_childHealthChecks.push_back(value); return *this; }
457 
463  inline UpdateHealthCheckRequest& AddChildHealthChecks(Aws::String&& value) { m_childHealthChecksHasBeenSet = true; m_childHealthChecks.push_back(value); return *this; }
464 
470  inline UpdateHealthCheckRequest& AddChildHealthChecks(const char* value) { m_childHealthChecksHasBeenSet = true; m_childHealthChecks.push_back(value); return *this; }
471 
481  inline bool GetEnableSNI() const{ return m_enableSNI; }
482 
492  inline void SetEnableSNI(bool value) { m_enableSNIHasBeenSet = true; m_enableSNI = value; }
493 
503  inline UpdateHealthCheckRequest& WithEnableSNI(bool value) { SetEnableSNI(value); return *this;}
504 
512  inline const Aws::Vector<HealthCheckRegion>& GetRegions() const{ return m_regions; }
513 
521  inline void SetRegions(const Aws::Vector<HealthCheckRegion>& value) { m_regionsHasBeenSet = true; m_regions = value; }
522 
530  inline void SetRegions(Aws::Vector<HealthCheckRegion>&& value) { m_regionsHasBeenSet = true; m_regions = value; }
531 
539  inline UpdateHealthCheckRequest& WithRegions(const Aws::Vector<HealthCheckRegion>& value) { SetRegions(value); return *this;}
540 
548  inline UpdateHealthCheckRequest& WithRegions(Aws::Vector<HealthCheckRegion>&& value) { SetRegions(value); return *this;}
549 
557  inline UpdateHealthCheckRequest& AddRegions(const HealthCheckRegion& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; }
558 
566  inline UpdateHealthCheckRequest& AddRegions(HealthCheckRegion&& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; }
567 
568 
569  inline const AlarmIdentifier& GetAlarmIdentifier() const{ return m_alarmIdentifier; }
570 
571 
572  inline void SetAlarmIdentifier(const AlarmIdentifier& value) { m_alarmIdentifierHasBeenSet = true; m_alarmIdentifier = value; }
573 
574 
575  inline void SetAlarmIdentifier(AlarmIdentifier&& value) { m_alarmIdentifierHasBeenSet = true; m_alarmIdentifier = value; }
576 
577 
578  inline UpdateHealthCheckRequest& WithAlarmIdentifier(const AlarmIdentifier& value) { SetAlarmIdentifier(value); return *this;}
579 
580 
581  inline UpdateHealthCheckRequest& WithAlarmIdentifier(AlarmIdentifier&& value) { SetAlarmIdentifier(value); return *this;}
582 
583 
584  inline const InsufficientDataHealthStatus& GetInsufficientDataHealthStatus() const{ return m_insufficientDataHealthStatus; }
585 
586 
587  inline void SetInsufficientDataHealthStatus(const InsufficientDataHealthStatus& value) { m_insufficientDataHealthStatusHasBeenSet = true; m_insufficientDataHealthStatus = value; }
588 
589 
590  inline void SetInsufficientDataHealthStatus(InsufficientDataHealthStatus&& value) { m_insufficientDataHealthStatusHasBeenSet = true; m_insufficientDataHealthStatus = value; }
591 
592 
593  inline UpdateHealthCheckRequest& WithInsufficientDataHealthStatus(const InsufficientDataHealthStatus& value) { SetInsufficientDataHealthStatus(value); return *this;}
594 
595 
596  inline UpdateHealthCheckRequest& WithInsufficientDataHealthStatus(InsufficientDataHealthStatus&& value) { SetInsufficientDataHealthStatus(value); return *this;}
597 
598  private:
599  Aws::String m_healthCheckId;
600  bool m_healthCheckIdHasBeenSet;
601  long long m_healthCheckVersion;
602  bool m_healthCheckVersionHasBeenSet;
603  Aws::String m_iPAddress;
604  bool m_iPAddressHasBeenSet;
605  long m_port;
606  bool m_portHasBeenSet;
607  Aws::String m_resourcePath;
608  bool m_resourcePathHasBeenSet;
609  Aws::String m_fullyQualifiedDomainName;
610  bool m_fullyQualifiedDomainNameHasBeenSet;
611  Aws::String m_searchString;
612  bool m_searchStringHasBeenSet;
613  long m_failureThreshold;
614  bool m_failureThresholdHasBeenSet;
615  bool m_inverted;
616  bool m_invertedHasBeenSet;
617  long m_healthThreshold;
618  bool m_healthThresholdHasBeenSet;
619  Aws::Vector<Aws::String> m_childHealthChecks;
620  bool m_childHealthChecksHasBeenSet;
621  bool m_enableSNI;
622  bool m_enableSNIHasBeenSet;
624  bool m_regionsHasBeenSet;
625  AlarmIdentifier m_alarmIdentifier;
626  bool m_alarmIdentifierHasBeenSet;
627  InsufficientDataHealthStatus m_insufficientDataHealthStatus;
628  bool m_insufficientDataHealthStatusHasBeenSet;
629  };
630 
631 } // namespace Model
632 } // namespace Route53
633 } // namespace Aws
UpdateHealthCheckRequest & AddChildHealthChecks(const char *value)
UpdateHealthCheckRequest & WithResourcePath(Aws::String &&value)
UpdateHealthCheckRequest & WithFailureThreshold(long value)
void SetRegions(Aws::Vector< HealthCheckRegion > &&value)
const Aws::Vector< HealthCheckRegion > & GetRegions() const
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:27
UpdateHealthCheckRequest & AddRegions(HealthCheckRegion &&value)
UpdateHealthCheckRequest & WithAlarmIdentifier(const AlarmIdentifier &value)
UpdateHealthCheckRequest & WithChildHealthChecks(Aws::Vector< Aws::String > &&value)
UpdateHealthCheckRequest & WithFullyQualifiedDomainName(const char *value)
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)
const Aws::Vector< Aws::String > & GetChildHealthChecks() const
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 & WithRegions(Aws::Vector< HealthCheckRegion > &&value)
UpdateHealthCheckRequest & WithHealthThreshold(long value)
UpdateHealthCheckRequest & WithSearchString(const char *value)
void SetAlarmIdentifier(const AlarmIdentifier &value)
UpdateHealthCheckRequest & WithFullyQualifiedDomainName(const Aws::String &value)
const InsufficientDataHealthStatus & GetInsufficientDataHealthStatus() const
UpdateHealthCheckRequest & WithSearchString(Aws::String &&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)
UpdateHealthCheckRequest & AddChildHealthChecks(Aws::String &&value)
UpdateHealthCheckRequest & WithFullyQualifiedDomainName(Aws::String &&value)
UpdateHealthCheckRequest & WithInsufficientDataHealthStatus(const InsufficientDataHealthStatus &value)
UpdateHealthCheckRequest & WithHealthCheckId(Aws::String &&value)
UpdateHealthCheckRequest & WithChildHealthChecks(const Aws::Vector< Aws::String > &value)
UpdateHealthCheckRequest & WithInverted(bool value)
JSON (JavaScript Object Notation).
UpdateHealthCheckRequest & WithIPAddress(Aws::String &&value)
UpdateHealthCheckRequest & WithPort(long value)