AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AliasTarget.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace Route53
21{
22namespace Model
23{
24
37 {
38 public:
39 AWS_ROUTE53_API AliasTarget();
40 AWS_ROUTE53_API AliasTarget(const Aws::Utils::Xml::XmlNode& xmlNode);
41 AWS_ROUTE53_API AliasTarget& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
42
43 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
44
45
47
107 inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
108 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
109 inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
110 inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
111 inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
112 inline AliasTarget& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
113 inline AliasTarget& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
114 inline AliasTarget& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
116
118
228 inline const Aws::String& GetDNSName() const{ return m_dNSName; }
229 inline bool DNSNameHasBeenSet() const { return m_dNSNameHasBeenSet; }
230 inline void SetDNSName(const Aws::String& value) { m_dNSNameHasBeenSet = true; m_dNSName = value; }
231 inline void SetDNSName(Aws::String&& value) { m_dNSNameHasBeenSet = true; m_dNSName = std::move(value); }
232 inline void SetDNSName(const char* value) { m_dNSNameHasBeenSet = true; m_dNSName.assign(value); }
233 inline AliasTarget& WithDNSName(const Aws::String& value) { SetDNSName(value); return *this;}
234 inline AliasTarget& WithDNSName(Aws::String&& value) { SetDNSName(std::move(value)); return *this;}
235 inline AliasTarget& WithDNSName(const char* value) { SetDNSName(value); return *this;}
237
239
293 inline bool GetEvaluateTargetHealth() const{ return m_evaluateTargetHealth; }
294 inline bool EvaluateTargetHealthHasBeenSet() const { return m_evaluateTargetHealthHasBeenSet; }
295 inline void SetEvaluateTargetHealth(bool value) { m_evaluateTargetHealthHasBeenSet = true; m_evaluateTargetHealth = value; }
296 inline AliasTarget& WithEvaluateTargetHealth(bool value) { SetEvaluateTargetHealth(value); return *this;}
298 private:
299
300 Aws::String m_hostedZoneId;
301 bool m_hostedZoneIdHasBeenSet = false;
302
303 Aws::String m_dNSName;
304 bool m_dNSNameHasBeenSet = false;
305
306 bool m_evaluateTargetHealth;
307 bool m_evaluateTargetHealthHasBeenSet = false;
308 };
309
310} // namespace Model
311} // namespace Route53
312} // namespace Aws
const Aws::String & GetHostedZoneId() const
void SetDNSName(Aws::String &&value)
void SetDNSName(const char *value)
void SetHostedZoneId(const Aws::String &value)
AliasTarget & WithDNSName(const char *value)
void SetDNSName(const Aws::String &value)
AWS_ROUTE53_API AliasTarget & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AliasTarget & WithDNSName(Aws::String &&value)
void SetHostedZoneId(Aws::String &&value)
AliasTarget & WithHostedZoneId(const Aws::String &value)
AWS_ROUTE53_API AliasTarget(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetHostedZoneId(const char *value)
const Aws::String & GetDNSName() const
AliasTarget & WithHostedZoneId(Aws::String &&value)
void SetEvaluateTargetHealth(bool value)
AliasTarget & WithDNSName(const Aws::String &value)
AliasTarget & WithEvaluateTargetHealth(bool value)
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool EvaluateTargetHealthHasBeenSet() const
AliasTarget & WithHostedZoneId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String