AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PeeringConnectionOptionsRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9
10namespace Aws
11{
12namespace Utils
13{
14namespace Xml
15{
16 class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace EC2
20{
21namespace Model
22{
23
30 {
31 public:
35
36 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
37 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
38
39
41
45 inline bool GetAllowDnsResolutionFromRemoteVpc() const{ return m_allowDnsResolutionFromRemoteVpc; }
46 inline bool AllowDnsResolutionFromRemoteVpcHasBeenSet() const { return m_allowDnsResolutionFromRemoteVpcHasBeenSet; }
47 inline void SetAllowDnsResolutionFromRemoteVpc(bool value) { m_allowDnsResolutionFromRemoteVpcHasBeenSet = true; m_allowDnsResolutionFromRemoteVpc = value; }
50
52
55 inline bool GetAllowEgressFromLocalClassicLinkToRemoteVpc() const{ return m_allowEgressFromLocalClassicLinkToRemoteVpc; }
56 inline bool AllowEgressFromLocalClassicLinkToRemoteVpcHasBeenSet() const { return m_allowEgressFromLocalClassicLinkToRemoteVpcHasBeenSet; }
57 inline void SetAllowEgressFromLocalClassicLinkToRemoteVpc(bool value) { m_allowEgressFromLocalClassicLinkToRemoteVpcHasBeenSet = true; m_allowEgressFromLocalClassicLinkToRemoteVpc = value; }
60
62
65 inline bool GetAllowEgressFromLocalVpcToRemoteClassicLink() const{ return m_allowEgressFromLocalVpcToRemoteClassicLink; }
66 inline bool AllowEgressFromLocalVpcToRemoteClassicLinkHasBeenSet() const { return m_allowEgressFromLocalVpcToRemoteClassicLinkHasBeenSet; }
67 inline void SetAllowEgressFromLocalVpcToRemoteClassicLink(bool value) { m_allowEgressFromLocalVpcToRemoteClassicLinkHasBeenSet = true; m_allowEgressFromLocalVpcToRemoteClassicLink = value; }
70 private:
71
72 bool m_allowDnsResolutionFromRemoteVpc;
73 bool m_allowDnsResolutionFromRemoteVpcHasBeenSet = false;
74
75 bool m_allowEgressFromLocalClassicLinkToRemoteVpc;
76 bool m_allowEgressFromLocalClassicLinkToRemoteVpcHasBeenSet = false;
77
78 bool m_allowEgressFromLocalVpcToRemoteClassicLink;
79 bool m_allowEgressFromLocalVpcToRemoteClassicLinkHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace EC2
84} // namespace Aws
PeeringConnectionOptionsRequest & WithAllowEgressFromLocalClassicLinkToRemoteVpc(bool value)
PeeringConnectionOptionsRequest & WithAllowDnsResolutionFromRemoteVpc(bool value)
AWS_EC2_API PeeringConnectionOptionsRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PeeringConnectionOptionsRequest & WithAllowEgressFromLocalVpcToRemoteClassicLink(bool value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API PeeringConnectionOptionsRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream