AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HostedZoneSummary.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/HostedZoneOwner.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace Route53
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_ROUTE53_API HostedZoneSummary();
40 AWS_ROUTE53_API HostedZoneSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
41 AWS_ROUTE53_API HostedZoneSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
42
43 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
44
45
47
51 inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
52 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
53 inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
54 inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
55 inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
56 inline HostedZoneSummary& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
57 inline HostedZoneSummary& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
58 inline HostedZoneSummary& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
60
62
65 inline const Aws::String& GetName() const{ return m_name; }
66 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
67 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
68 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
69 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
70 inline HostedZoneSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
71 inline HostedZoneSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
72 inline HostedZoneSummary& WithName(const char* value) { SetName(value); return *this;}
74
76
81 inline const HostedZoneOwner& GetOwner() const{ return m_owner; }
82 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
83 inline void SetOwner(const HostedZoneOwner& value) { m_ownerHasBeenSet = true; m_owner = value; }
84 inline void SetOwner(HostedZoneOwner&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
85 inline HostedZoneSummary& WithOwner(const HostedZoneOwner& value) { SetOwner(value); return *this;}
86 inline HostedZoneSummary& WithOwner(HostedZoneOwner&& value) { SetOwner(std::move(value)); return *this;}
88 private:
89
90 Aws::String m_hostedZoneId;
91 bool m_hostedZoneIdHasBeenSet = false;
92
93 Aws::String m_name;
94 bool m_nameHasBeenSet = false;
95
96 HostedZoneOwner m_owner;
97 bool m_ownerHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Route53
102} // namespace Aws
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetHostedZoneId(Aws::String &&value)
const HostedZoneOwner & GetOwner() const
void SetName(const Aws::String &value)
HostedZoneSummary & WithName(Aws::String &&value)
HostedZoneSummary & WithHostedZoneId(const Aws::String &value)
const Aws::String & GetHostedZoneId() const
HostedZoneSummary & WithHostedZoneId(const char *value)
AWS_ROUTE53_API HostedZoneSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
HostedZoneSummary & WithName(const char *value)
AWS_ROUTE53_API HostedZoneSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetHostedZoneId(const Aws::String &value)
void SetOwner(HostedZoneOwner &&value)
const Aws::String & GetName() const
HostedZoneSummary & WithOwner(const HostedZoneOwner &value)
void SetOwner(const HostedZoneOwner &value)
HostedZoneSummary & WithHostedZoneId(Aws::String &&value)
HostedZoneSummary & WithName(const Aws::String &value)
HostedZoneSummary & WithOwner(HostedZoneOwner &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String