AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
43
44
46
49 inline const HostedZone& GetHostedZone() const { return m_hostedZone; }
50 template<typename HostedZoneT = HostedZone>
51 void SetHostedZone(HostedZoneT&& value) { m_hostedZoneHasBeenSet = true; m_hostedZone = std::forward<HostedZoneT>(value); }
52 template<typename HostedZoneT = HostedZone>
53 CreateHostedZoneResult& WithHostedZone(HostedZoneT&& value) { SetHostedZone(std::forward<HostedZoneT>(value)); return *this;}
55
57
61 inline const ChangeInfo& GetChangeInfo() const { return m_changeInfo; }
62 template<typename ChangeInfoT = ChangeInfo>
63 void SetChangeInfo(ChangeInfoT&& value) { m_changeInfoHasBeenSet = true; m_changeInfo = std::forward<ChangeInfoT>(value); }
64 template<typename ChangeInfoT = ChangeInfo>
65 CreateHostedZoneResult& WithChangeInfo(ChangeInfoT&& value) { SetChangeInfo(std::forward<ChangeInfoT>(value)); return *this;}
67
69
72 inline const DelegationSet& GetDelegationSet() const { return m_delegationSet; }
73 template<typename DelegationSetT = DelegationSet>
74 void SetDelegationSet(DelegationSetT&& value) { m_delegationSetHasBeenSet = true; m_delegationSet = std::forward<DelegationSetT>(value); }
75 template<typename DelegationSetT = DelegationSet>
76 CreateHostedZoneResult& WithDelegationSet(DelegationSetT&& value) { SetDelegationSet(std::forward<DelegationSetT>(value)); return *this;}
78
80
84 inline const VPC& GetVPC() const { return m_vPC; }
85 template<typename VPCT = VPC>
86 void SetVPC(VPCT&& value) { m_vPCHasBeenSet = true; m_vPC = std::forward<VPCT>(value); }
87 template<typename VPCT = VPC>
88 CreateHostedZoneResult& WithVPC(VPCT&& value) { SetVPC(std::forward<VPCT>(value)); return *this;}
90
92
95 inline const Aws::String& GetLocation() const { return m_location; }
96 template<typename LocationT = Aws::String>
97 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
98 template<typename LocationT = Aws::String>
99 CreateHostedZoneResult& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
101
103
104 inline const Aws::String& GetRequestId() const { return m_requestId; }
105 template<typename RequestIdT = Aws::String>
106 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
107 template<typename RequestIdT = Aws::String>
108 CreateHostedZoneResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
110 private:
111
112 HostedZone m_hostedZone;
113 bool m_hostedZoneHasBeenSet = false;
114
115 ChangeInfo m_changeInfo;
116 bool m_changeInfoHasBeenSet = false;
117
118 DelegationSet m_delegationSet;
119 bool m_delegationSetHasBeenSet = false;
120
121 VPC m_vPC;
122 bool m_vPCHasBeenSet = false;
123
124 Aws::String m_location;
125 bool m_locationHasBeenSet = false;
126
127 Aws::String m_requestId;
128 bool m_requestIdHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace Route53
133} // namespace Aws
CreateHostedZoneResult & WithRequestId(RequestIdT &&value)
AWS_ROUTE53_API CreateHostedZoneResult()=default
CreateHostedZoneResult & WithVPC(VPCT &&value)
CreateHostedZoneResult & WithDelegationSet(DelegationSetT &&value)
AWS_ROUTE53_API CreateHostedZoneResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateHostedZoneResult & WithLocation(LocationT &&value)
CreateHostedZoneResult & WithHostedZone(HostedZoneT &&value)
CreateHostedZoneResult & WithChangeInfo(ChangeInfoT &&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