AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
43
44
46
50 inline const HostedZone& GetHostedZone() const{ return m_hostedZone; }
51 inline void SetHostedZone(const HostedZone& value) { m_hostedZone = value; }
52 inline void SetHostedZone(HostedZone&& value) { m_hostedZone = std::move(value); }
53 inline GetHostedZoneResult& WithHostedZone(const HostedZone& value) { SetHostedZone(value); return *this;}
54 inline GetHostedZoneResult& WithHostedZone(HostedZone&& value) { SetHostedZone(std::move(value)); return *this;}
56
58
62 inline const DelegationSet& GetDelegationSet() const{ return m_delegationSet; }
63 inline void SetDelegationSet(const DelegationSet& value) { m_delegationSet = value; }
64 inline void SetDelegationSet(DelegationSet&& value) { m_delegationSet = std::move(value); }
65 inline GetHostedZoneResult& WithDelegationSet(const DelegationSet& value) { SetDelegationSet(value); return *this;}
66 inline GetHostedZoneResult& WithDelegationSet(DelegationSet&& value) { SetDelegationSet(std::move(value)); return *this;}
68
70
74 inline const Aws::Vector<VPC>& GetVPCs() const{ return m_vPCs; }
75 inline void SetVPCs(const Aws::Vector<VPC>& value) { m_vPCs = value; }
76 inline void SetVPCs(Aws::Vector<VPC>&& value) { m_vPCs = std::move(value); }
77 inline GetHostedZoneResult& WithVPCs(const Aws::Vector<VPC>& value) { SetVPCs(value); return *this;}
78 inline GetHostedZoneResult& WithVPCs(Aws::Vector<VPC>&& value) { SetVPCs(std::move(value)); return *this;}
79 inline GetHostedZoneResult& AddVPCs(const VPC& value) { m_vPCs.push_back(value); return *this; }
80 inline GetHostedZoneResult& AddVPCs(VPC&& value) { m_vPCs.push_back(std::move(value)); return *this; }
82
84
85 inline const Aws::String& GetRequestId() const{ return m_requestId; }
86 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
87 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
88 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
89 inline GetHostedZoneResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
90 inline GetHostedZoneResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
91 inline GetHostedZoneResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
93 private:
94
95 HostedZone m_hostedZone;
96
97 DelegationSet m_delegationSet;
98
99 Aws::Vector<VPC> m_vPCs;
100
101 Aws::String m_requestId;
102 };
103
104} // namespace Model
105} // namespace Route53
106} // namespace Aws
void SetRequestId(const Aws::String &value)
GetHostedZoneResult & WithRequestId(const char *value)
const DelegationSet & GetDelegationSet() const
GetHostedZoneResult & AddVPCs(const VPC &value)
GetHostedZoneResult & WithVPCs(Aws::Vector< VPC > &&value)
GetHostedZoneResult & WithRequestId(Aws::String &&value)
GetHostedZoneResult & WithRequestId(const Aws::String &value)
GetHostedZoneResult & WithHostedZone(HostedZone &&value)
void SetVPCs(Aws::Vector< VPC > &&value)
void SetVPCs(const Aws::Vector< VPC > &value)
GetHostedZoneResult & AddVPCs(VPC &&value)
void SetHostedZone(const HostedZone &value)
GetHostedZoneResult & WithDelegationSet(DelegationSet &&value)
GetHostedZoneResult & WithHostedZone(const HostedZone &value)
AWS_ROUTE53_API GetHostedZoneResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< VPC > & GetVPCs() const
void SetDelegationSet(DelegationSet &&value)
void SetDelegationSet(const DelegationSet &value)
GetHostedZoneResult & WithDelegationSet(const DelegationSet &value)
AWS_ROUTE53_API GetHostedZoneResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetHostedZoneResult & WithVPCs(const Aws::Vector< VPC > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument