AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateHostedZoneResult.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/route53/model/HostedZone.h>
9#include <aws/route53/model/ChangeInfo.h>
10#include <aws/route53/model/DelegationSet.h>
11#include <aws/route53/model/VPC.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Xml
23{
24 class XmlDocument;
25} // namespace Xml
26} // namespace Utils
27namespace Route53
28{
29namespace Model
30{
38 {
39 public:
40 AWS_ROUTE53_API CreateHostedZoneResult();
43
44
46
49 inline const HostedZone& GetHostedZone() const{ return m_hostedZone; }
50 inline void SetHostedZone(const HostedZone& value) { m_hostedZone = value; }
51 inline void SetHostedZone(HostedZone&& value) { m_hostedZone = std::move(value); }
52 inline CreateHostedZoneResult& WithHostedZone(const HostedZone& value) { SetHostedZone(value); return *this;}
53 inline CreateHostedZoneResult& WithHostedZone(HostedZone&& value) { SetHostedZone(std::move(value)); return *this;}
55
57
61 inline const ChangeInfo& GetChangeInfo() const{ return m_changeInfo; }
62 inline void SetChangeInfo(const ChangeInfo& value) { m_changeInfo = value; }
63 inline void SetChangeInfo(ChangeInfo&& value) { m_changeInfo = std::move(value); }
64 inline CreateHostedZoneResult& WithChangeInfo(const ChangeInfo& value) { SetChangeInfo(value); return *this;}
65 inline CreateHostedZoneResult& WithChangeInfo(ChangeInfo&& value) { SetChangeInfo(std::move(value)); return *this;}
67
69
72 inline const DelegationSet& GetDelegationSet() const{ return m_delegationSet; }
73 inline void SetDelegationSet(const DelegationSet& value) { m_delegationSet = value; }
74 inline void SetDelegationSet(DelegationSet&& value) { m_delegationSet = std::move(value); }
75 inline CreateHostedZoneResult& WithDelegationSet(const DelegationSet& value) { SetDelegationSet(value); return *this;}
76 inline CreateHostedZoneResult& WithDelegationSet(DelegationSet&& value) { SetDelegationSet(std::move(value)); return *this;}
78
80
84 inline const VPC& GetVPC() const{ return m_vPC; }
85 inline void SetVPC(const VPC& value) { m_vPC = value; }
86 inline void SetVPC(VPC&& value) { m_vPC = std::move(value); }
87 inline CreateHostedZoneResult& WithVPC(const VPC& value) { SetVPC(value); return *this;}
88 inline CreateHostedZoneResult& WithVPC(VPC&& value) { SetVPC(std::move(value)); return *this;}
90
92
95 inline const Aws::String& GetLocation() const{ return m_location; }
96 inline void SetLocation(const Aws::String& value) { m_location = value; }
97 inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
98 inline void SetLocation(const char* value) { m_location.assign(value); }
99 inline CreateHostedZoneResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
100 inline CreateHostedZoneResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
101 inline CreateHostedZoneResult& WithLocation(const char* value) { SetLocation(value); return *this;}
103
105
106 inline const Aws::String& GetRequestId() const{ return m_requestId; }
107 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
108 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
109 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
110 inline CreateHostedZoneResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
111 inline CreateHostedZoneResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
112 inline CreateHostedZoneResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
114 private:
115
116 HostedZone m_hostedZone;
117
118 ChangeInfo m_changeInfo;
119
120 DelegationSet m_delegationSet;
121
122 VPC m_vPC;
123
124 Aws::String m_location;
125
126 Aws::String m_requestId;
127 };
128
129} // namespace Model
130} // namespace Route53
131} // namespace Aws
CreateHostedZoneResult & WithLocation(const Aws::String &value)
CreateHostedZoneResult & WithVPC(VPC &&value)
CreateHostedZoneResult & WithRequestId(const char *value)
CreateHostedZoneResult & WithRequestId(const Aws::String &value)
AWS_ROUTE53_API CreateHostedZoneResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateHostedZoneResult & WithHostedZone(HostedZone &&value)
void SetDelegationSet(const DelegationSet &value)
CreateHostedZoneResult & WithHostedZone(const HostedZone &value)
CreateHostedZoneResult & WithDelegationSet(DelegationSet &&value)
CreateHostedZoneResult & WithChangeInfo(const ChangeInfo &value)
CreateHostedZoneResult & WithRequestId(Aws::String &&value)
CreateHostedZoneResult & WithDelegationSet(const DelegationSet &value)
CreateHostedZoneResult & WithChangeInfo(ChangeInfo &&value)
CreateHostedZoneResult & WithVPC(const VPC &value)
CreateHostedZoneResult & WithLocation(Aws::String &&value)
CreateHostedZoneResult & WithLocation(const char *value)
AWS_ROUTE53_API CreateHostedZoneResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument