AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetHostedZoneResult.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/route53/model/HostedZone.h>
9#include <aws/route53/model/DelegationSet.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/route53/model/VPC.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 GetHostedZoneResult() = default;
43
44
46
50 inline const HostedZone& GetHostedZone() const { return m_hostedZone; }
51 template<typename HostedZoneT = HostedZone>
52 void SetHostedZone(HostedZoneT&& value) { m_hostedZoneHasBeenSet = true; m_hostedZone = std::forward<HostedZoneT>(value); }
53 template<typename HostedZoneT = HostedZone>
54 GetHostedZoneResult& WithHostedZone(HostedZoneT&& value) { SetHostedZone(std::forward<HostedZoneT>(value)); return *this;}
56
58
62 inline const DelegationSet& GetDelegationSet() const { return m_delegationSet; }
63 template<typename DelegationSetT = DelegationSet>
64 void SetDelegationSet(DelegationSetT&& value) { m_delegationSetHasBeenSet = true; m_delegationSet = std::forward<DelegationSetT>(value); }
65 template<typename DelegationSetT = DelegationSet>
66 GetHostedZoneResult& WithDelegationSet(DelegationSetT&& value) { SetDelegationSet(std::forward<DelegationSetT>(value)); return *this;}
68
70
74 inline const Aws::Vector<VPC>& GetVPCs() const { return m_vPCs; }
75 template<typename VPCsT = Aws::Vector<VPC>>
76 void SetVPCs(VPCsT&& value) { m_vPCsHasBeenSet = true; m_vPCs = std::forward<VPCsT>(value); }
77 template<typename VPCsT = Aws::Vector<VPC>>
78 GetHostedZoneResult& WithVPCs(VPCsT&& value) { SetVPCs(std::forward<VPCsT>(value)); return *this;}
79 template<typename VPCsT = VPC>
80 GetHostedZoneResult& AddVPCs(VPCsT&& value) { m_vPCsHasBeenSet = true; m_vPCs.emplace_back(std::forward<VPCsT>(value)); return *this; }
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template<typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
88 template<typename RequestIdT = Aws::String>
89 GetHostedZoneResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
91 private:
92
93 HostedZone m_hostedZone;
94 bool m_hostedZoneHasBeenSet = false;
95
96 DelegationSet m_delegationSet;
97 bool m_delegationSetHasBeenSet = false;
98
99 Aws::Vector<VPC> m_vPCs;
100 bool m_vPCsHasBeenSet = false;
101
102 Aws::String m_requestId;
103 bool m_requestIdHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace Route53
108} // 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