AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SetSubnetsResult.h
1
6#pragma once
7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticloadbalancingv2/model/IpAddressType.h>
10#include <aws/elasticloadbalancingv2/model/EnablePrefixForIpv6SourceNatEnum.h>
11#include <aws/elasticloadbalancingv2/model/ResponseMetadata.h>
12#include <aws/elasticloadbalancingv2/model/AvailabilityZone.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 ElasticLoadBalancingv2
28{
29namespace Model
30{
32 {
33 public:
34 AWS_ELASTICLOADBALANCINGV2_API SetSubnetsResult();
37
38
40
43 inline const Aws::Vector<AvailabilityZone>& GetAvailabilityZones() const{ return m_availabilityZones; }
44 inline void SetAvailabilityZones(const Aws::Vector<AvailabilityZone>& value) { m_availabilityZones = value; }
45 inline void SetAvailabilityZones(Aws::Vector<AvailabilityZone>&& value) { m_availabilityZones = std::move(value); }
48 inline SetSubnetsResult& AddAvailabilityZones(const AvailabilityZone& value) { m_availabilityZones.push_back(value); return *this; }
49 inline SetSubnetsResult& AddAvailabilityZones(AvailabilityZone&& value) { m_availabilityZones.push_back(std::move(value)); return *this; }
51
53
56 inline const IpAddressType& GetIpAddressType() const{ return m_ipAddressType; }
57 inline void SetIpAddressType(const IpAddressType& value) { m_ipAddressType = value; }
58 inline void SetIpAddressType(IpAddressType&& value) { m_ipAddressType = std::move(value); }
59 inline SetSubnetsResult& WithIpAddressType(const IpAddressType& value) { SetIpAddressType(value); return *this;}
60 inline SetSubnetsResult& WithIpAddressType(IpAddressType&& value) { SetIpAddressType(std::move(value)); return *this;}
62
64
68 inline const EnablePrefixForIpv6SourceNatEnum& GetEnablePrefixForIpv6SourceNat() const{ return m_enablePrefixForIpv6SourceNat; }
69 inline void SetEnablePrefixForIpv6SourceNat(const EnablePrefixForIpv6SourceNatEnum& value) { m_enablePrefixForIpv6SourceNat = value; }
70 inline void SetEnablePrefixForIpv6SourceNat(EnablePrefixForIpv6SourceNatEnum&& value) { m_enablePrefixForIpv6SourceNat = std::move(value); }
74
76
77 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
78 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
79 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
80 inline SetSubnetsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
81 inline SetSubnetsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
83 private:
84
85 Aws::Vector<AvailabilityZone> m_availabilityZones;
86
87 IpAddressType m_ipAddressType;
88
89 EnablePrefixForIpv6SourceNatEnum m_enablePrefixForIpv6SourceNat;
90
91 ResponseMetadata m_responseMetadata;
92 };
93
94} // namespace Model
95} // namespace ElasticLoadBalancingv2
96} // namespace Aws
SetSubnetsResult & AddAvailabilityZones(AvailabilityZone &&value)
void SetEnablePrefixForIpv6SourceNat(const EnablePrefixForIpv6SourceNatEnum &value)
SetSubnetsResult & WithEnablePrefixForIpv6SourceNat(const EnablePrefixForIpv6SourceNatEnum &value)
SetSubnetsResult & WithEnablePrefixForIpv6SourceNat(EnablePrefixForIpv6SourceNatEnum &&value)
SetSubnetsResult & AddAvailabilityZones(const AvailabilityZone &value)
SetSubnetsResult & WithIpAddressType(const IpAddressType &value)
SetSubnetsResult & WithIpAddressType(IpAddressType &&value)
const Aws::Vector< AvailabilityZone > & GetAvailabilityZones() const
void SetAvailabilityZones(const Aws::Vector< AvailabilityZone > &value)
AWS_ELASTICLOADBALANCINGV2_API SetSubnetsResult()
SetSubnetsResult & WithAvailabilityZones(const Aws::Vector< AvailabilityZone > &value)
AWS_ELASTICLOADBALANCINGV2_API SetSubnetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetAvailabilityZones(Aws::Vector< AvailabilityZone > &&value)
const EnablePrefixForIpv6SourceNatEnum & GetEnablePrefixForIpv6SourceNat() const
const ResponseMetadata & GetResponseMetadata() const
SetSubnetsResult & WithResponseMetadata(const ResponseMetadata &value)
void SetEnablePrefixForIpv6SourceNat(EnablePrefixForIpv6SourceNatEnum &&value)
void SetResponseMetadata(const ResponseMetadata &value)
SetSubnetsResult & WithResponseMetadata(ResponseMetadata &&value)
AWS_ELASTICLOADBALANCINGV2_API SetSubnetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
SetSubnetsResult & WithAvailabilityZones(Aws::Vector< AvailabilityZone > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument