AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetHostedZoneResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/route53/Route53_EXPORTS.h>
10#include <aws/route53/model/DelegationSet.h>
11#include <aws/route53/model/HostedZone.h>
12#include <aws/route53/model/VPC.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Xml {
22class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace Route53 {
26namespace Model {
34 public:
35 AWS_ROUTE53_API GetHostedZoneResult() = default;
38
40
44 inline const HostedZone& GetHostedZone() const { return m_hostedZone; }
45 template <typename HostedZoneT = HostedZone>
46 void SetHostedZone(HostedZoneT&& value) {
47 m_hostedZoneHasBeenSet = true;
48 m_hostedZone = std::forward<HostedZoneT>(value);
49 }
50 template <typename HostedZoneT = HostedZone>
51 GetHostedZoneResult& WithHostedZone(HostedZoneT&& value) {
52 SetHostedZone(std::forward<HostedZoneT>(value));
53 return *this;
54 }
56
58
62 inline const DelegationSet& GetDelegationSet() const { return m_delegationSet; }
63 template <typename DelegationSetT = DelegationSet>
64 void SetDelegationSet(DelegationSetT&& value) {
65 m_delegationSetHasBeenSet = true;
66 m_delegationSet = std::forward<DelegationSetT>(value);
67 }
68 template <typename DelegationSetT = DelegationSet>
69 GetHostedZoneResult& WithDelegationSet(DelegationSetT&& value) {
70 SetDelegationSet(std::forward<DelegationSetT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::Vector<VPC>& GetVPCs() const { return m_vPCs; }
81 template <typename VPCsT = Aws::Vector<VPC>>
82 void SetVPCs(VPCsT&& value) {
83 m_vPCsHasBeenSet = true;
84 m_vPCs = std::forward<VPCsT>(value);
85 }
86 template <typename VPCsT = Aws::Vector<VPC>>
87 GetHostedZoneResult& WithVPCs(VPCsT&& value) {
88 SetVPCs(std::forward<VPCsT>(value));
89 return *this;
90 }
91 template <typename VPCsT = VPC>
92 GetHostedZoneResult& AddVPCs(VPCsT&& value) {
93 m_vPCsHasBeenSet = true;
94 m_vPCs.emplace_back(std::forward<VPCsT>(value));
95 return *this;
96 }
98
100
101 inline const Aws::String& GetRequestId() const { return m_requestId; }
102 template <typename RequestIdT = Aws::String>
103 void SetRequestId(RequestIdT&& value) {
104 m_requestIdHasBeenSet = true;
105 m_requestId = std::forward<RequestIdT>(value);
106 }
107 template <typename RequestIdT = Aws::String>
108 GetHostedZoneResult& WithRequestId(RequestIdT&& value) {
109 SetRequestId(std::forward<RequestIdT>(value));
110 return *this;
111 }
113 private:
114 HostedZone m_hostedZone;
115
116 DelegationSet m_delegationSet;
117
118 Aws::Vector<VPC> m_vPCs;
119
120 Aws::String m_requestId;
121 bool m_hostedZoneHasBeenSet = false;
122 bool m_delegationSetHasBeenSet = false;
123 bool m_vPCsHasBeenSet = false;
124 bool m_requestIdHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace Route53
129} // namespace Aws
GetHostedZoneResult & WithDelegationSet(DelegationSetT &&value)
GetHostedZoneResult & AddVPCs(VPCsT &&value)
const DelegationSet & GetDelegationSet() const
GetHostedZoneResult & WithRequestId(RequestIdT &&value)
GetHostedZoneResult & WithHostedZone(HostedZoneT &&value)
AWS_ROUTE53_API GetHostedZoneResult()=default
GetHostedZoneResult & WithVPCs(VPCsT &&value)
AWS_ROUTE53_API GetHostedZoneResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< VPC > & GetVPCs() const
void SetDelegationSet(DelegationSetT &&value)
AWS_ROUTE53_API GetHostedZoneResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument