AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HealthCheck.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/LinkedService.h>
10#include <aws/route53/model/HealthCheckConfig.h>
11#include <aws/route53/model/CloudWatchAlarmConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace Route53
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_ROUTE53_API HealthCheck();
39 AWS_ROUTE53_API HealthCheck(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_ROUTE53_API HealthCheck& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
43
44
46
52 inline const Aws::String& GetId() const{ return m_id; }
53 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
54 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
55 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
56 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
57 inline HealthCheck& WithId(const Aws::String& value) { SetId(value); return *this;}
58 inline HealthCheck& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
59 inline HealthCheck& WithId(const char* value) { SetId(value); return *this;}
61
63
66 inline const Aws::String& GetCallerReference() const{ return m_callerReference; }
67 inline bool CallerReferenceHasBeenSet() const { return m_callerReferenceHasBeenSet; }
68 inline void SetCallerReference(const Aws::String& value) { m_callerReferenceHasBeenSet = true; m_callerReference = value; }
69 inline void SetCallerReference(Aws::String&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = std::move(value); }
70 inline void SetCallerReference(const char* value) { m_callerReferenceHasBeenSet = true; m_callerReference.assign(value); }
71 inline HealthCheck& WithCallerReference(const Aws::String& value) { SetCallerReference(value); return *this;}
72 inline HealthCheck& WithCallerReference(Aws::String&& value) { SetCallerReference(std::move(value)); return *this;}
73 inline HealthCheck& WithCallerReference(const char* value) { SetCallerReference(value); return *this;}
75
77
82 inline const LinkedService& GetLinkedService() const{ return m_linkedService; }
83 inline bool LinkedServiceHasBeenSet() const { return m_linkedServiceHasBeenSet; }
84 inline void SetLinkedService(const LinkedService& value) { m_linkedServiceHasBeenSet = true; m_linkedService = value; }
85 inline void SetLinkedService(LinkedService&& value) { m_linkedServiceHasBeenSet = true; m_linkedService = std::move(value); }
86 inline HealthCheck& WithLinkedService(const LinkedService& value) { SetLinkedService(value); return *this;}
87 inline HealthCheck& WithLinkedService(LinkedService&& value) { SetLinkedService(std::move(value)); return *this;}
89
91
94 inline const HealthCheckConfig& GetHealthCheckConfig() const{ return m_healthCheckConfig; }
95 inline bool HealthCheckConfigHasBeenSet() const { return m_healthCheckConfigHasBeenSet; }
96 inline void SetHealthCheckConfig(const HealthCheckConfig& value) { m_healthCheckConfigHasBeenSet = true; m_healthCheckConfig = value; }
97 inline void SetHealthCheckConfig(HealthCheckConfig&& value) { m_healthCheckConfigHasBeenSet = true; m_healthCheckConfig = std::move(value); }
98 inline HealthCheck& WithHealthCheckConfig(const HealthCheckConfig& value) { SetHealthCheckConfig(value); return *this;}
99 inline HealthCheck& WithHealthCheckConfig(HealthCheckConfig&& value) { SetHealthCheckConfig(std::move(value)); return *this;}
101
103
108 inline long long GetHealthCheckVersion() const{ return m_healthCheckVersion; }
109 inline bool HealthCheckVersionHasBeenSet() const { return m_healthCheckVersionHasBeenSet; }
110 inline void SetHealthCheckVersion(long long value) { m_healthCheckVersionHasBeenSet = true; m_healthCheckVersion = value; }
111 inline HealthCheck& WithHealthCheckVersion(long long value) { SetHealthCheckVersion(value); return *this;}
113
115
119 inline const CloudWatchAlarmConfiguration& GetCloudWatchAlarmConfiguration() const{ return m_cloudWatchAlarmConfiguration; }
120 inline bool CloudWatchAlarmConfigurationHasBeenSet() const { return m_cloudWatchAlarmConfigurationHasBeenSet; }
121 inline void SetCloudWatchAlarmConfiguration(const CloudWatchAlarmConfiguration& value) { m_cloudWatchAlarmConfigurationHasBeenSet = true; m_cloudWatchAlarmConfiguration = value; }
122 inline void SetCloudWatchAlarmConfiguration(CloudWatchAlarmConfiguration&& value) { m_cloudWatchAlarmConfigurationHasBeenSet = true; m_cloudWatchAlarmConfiguration = std::move(value); }
126 private:
127
128 Aws::String m_id;
129 bool m_idHasBeenSet = false;
130
131 Aws::String m_callerReference;
132 bool m_callerReferenceHasBeenSet = false;
133
134 LinkedService m_linkedService;
135 bool m_linkedServiceHasBeenSet = false;
136
137 HealthCheckConfig m_healthCheckConfig;
138 bool m_healthCheckConfigHasBeenSet = false;
139
140 long long m_healthCheckVersion;
141 bool m_healthCheckVersionHasBeenSet = false;
142
143 CloudWatchAlarmConfiguration m_cloudWatchAlarmConfiguration;
144 bool m_cloudWatchAlarmConfigurationHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace Route53
149} // namespace Aws
HealthCheck & WithHealthCheckVersion(long long value)
void SetHealthCheckVersion(long long value)
long long GetHealthCheckVersion() const
const HealthCheckConfig & GetHealthCheckConfig() const
Definition HealthCheck.h:94
void SetId(const Aws::String &value)
Definition HealthCheck.h:54
HealthCheck & WithId(Aws::String &&value)
Definition HealthCheck.h:58
void SetId(const char *value)
Definition HealthCheck.h:56
void SetLinkedService(LinkedService &&value)
Definition HealthCheck.h:85
void SetId(Aws::String &&value)
Definition HealthCheck.h:55
void SetCallerReference(Aws::String &&value)
Definition HealthCheck.h:69
void SetCloudWatchAlarmConfiguration(const CloudWatchAlarmConfiguration &value)
void SetLinkedService(const LinkedService &value)
Definition HealthCheck.h:84
void SetCloudWatchAlarmConfiguration(CloudWatchAlarmConfiguration &&value)
const LinkedService & GetLinkedService() const
Definition HealthCheck.h:82
HealthCheck & WithId(const char *value)
Definition HealthCheck.h:59
void SetHealthCheckConfig(HealthCheckConfig &&value)
Definition HealthCheck.h:97
void SetHealthCheckConfig(const HealthCheckConfig &value)
Definition HealthCheck.h:96
HealthCheck & WithCallerReference(const Aws::String &value)
Definition HealthCheck.h:71
HealthCheck & WithHealthCheckConfig(HealthCheckConfig &&value)
Definition HealthCheck.h:99
HealthCheck & WithHealthCheckConfig(const HealthCheckConfig &value)
Definition HealthCheck.h:98
AWS_ROUTE53_API HealthCheck(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetId() const
Definition HealthCheck.h:52
const Aws::String & GetCallerReference() const
Definition HealthCheck.h:66
HealthCheck & WithCloudWatchAlarmConfiguration(CloudWatchAlarmConfiguration &&value)
void SetCallerReference(const char *value)
Definition HealthCheck.h:70
HealthCheck & WithLinkedService(LinkedService &&value)
Definition HealthCheck.h:87
AWS_ROUTE53_API HealthCheck & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
HealthCheck & WithCallerReference(Aws::String &&value)
Definition HealthCheck.h:72
HealthCheck & WithLinkedService(const LinkedService &value)
Definition HealthCheck.h:86
const CloudWatchAlarmConfiguration & GetCloudWatchAlarmConfiguration() const
HealthCheck & WithCallerReference(const char *value)
Definition HealthCheck.h:73
bool CloudWatchAlarmConfigurationHasBeenSet() const
void SetCallerReference(const Aws::String &value)
Definition HealthCheck.h:68
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
HealthCheck & WithId(const Aws::String &value)
Definition HealthCheck.h:57
HealthCheck & WithCloudWatchAlarmConfiguration(const CloudWatchAlarmConfiguration &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String