AWS SDK for C++  1.9.74
AWS SDK for C++
PeeringConnectionOptionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
9 
10 namespace Aws
11 {
12 namespace Utils
13 {
14 namespace Xml
15 {
16  class XmlNode;
17 } // namespace Xml
18 } // namespace Utils
19 namespace EC2
20 {
21 namespace Model
22 {
23 
30  {
31  public:
35 
36  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
37  void OutputToStream(Aws::OStream& oStream, const char* location) const;
38 
39 
44  inline bool GetAllowDnsResolutionFromRemoteVpc() const{ return m_allowDnsResolutionFromRemoteVpc; }
45 
50  inline bool AllowDnsResolutionFromRemoteVpcHasBeenSet() const { return m_allowDnsResolutionFromRemoteVpcHasBeenSet; }
51 
56  inline void SetAllowDnsResolutionFromRemoteVpc(bool value) { m_allowDnsResolutionFromRemoteVpcHasBeenSet = true; m_allowDnsResolutionFromRemoteVpc = value; }
57 
62  inline PeeringConnectionOptionsRequest& WithAllowDnsResolutionFromRemoteVpc(bool value) { SetAllowDnsResolutionFromRemoteVpc(value); return *this;}
63 
64 
69  inline bool GetAllowEgressFromLocalClassicLinkToRemoteVpc() const{ return m_allowEgressFromLocalClassicLinkToRemoteVpc; }
70 
75  inline bool AllowEgressFromLocalClassicLinkToRemoteVpcHasBeenSet() const { return m_allowEgressFromLocalClassicLinkToRemoteVpcHasBeenSet; }
76 
81  inline void SetAllowEgressFromLocalClassicLinkToRemoteVpc(bool value) { m_allowEgressFromLocalClassicLinkToRemoteVpcHasBeenSet = true; m_allowEgressFromLocalClassicLinkToRemoteVpc = value; }
82 
87  inline PeeringConnectionOptionsRequest& WithAllowEgressFromLocalClassicLinkToRemoteVpc(bool value) { SetAllowEgressFromLocalClassicLinkToRemoteVpc(value); return *this;}
88 
89 
94  inline bool GetAllowEgressFromLocalVpcToRemoteClassicLink() const{ return m_allowEgressFromLocalVpcToRemoteClassicLink; }
95 
100  inline bool AllowEgressFromLocalVpcToRemoteClassicLinkHasBeenSet() const { return m_allowEgressFromLocalVpcToRemoteClassicLinkHasBeenSet; }
101 
106  inline void SetAllowEgressFromLocalVpcToRemoteClassicLink(bool value) { m_allowEgressFromLocalVpcToRemoteClassicLinkHasBeenSet = true; m_allowEgressFromLocalVpcToRemoteClassicLink = value; }
107 
112  inline PeeringConnectionOptionsRequest& WithAllowEgressFromLocalVpcToRemoteClassicLink(bool value) { SetAllowEgressFromLocalVpcToRemoteClassicLink(value); return *this;}
113 
114  private:
115 
116  bool m_allowDnsResolutionFromRemoteVpc;
117  bool m_allowDnsResolutionFromRemoteVpcHasBeenSet;
118 
119  bool m_allowEgressFromLocalClassicLinkToRemoteVpc;
120  bool m_allowEgressFromLocalClassicLinkToRemoteVpcHasBeenSet;
121 
122  bool m_allowEgressFromLocalVpcToRemoteClassicLink;
123  bool m_allowEgressFromLocalVpcToRemoteClassicLinkHasBeenSet;
124  };
125 
126 } // namespace Model
127 } // namespace EC2
128 } // namespace Aws
Aws::EC2::Model::PeeringConnectionOptionsRequest::operator=
PeeringConnectionOptionsRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::PeeringConnectionOptionsRequest::PeeringConnectionOptionsRequest
PeeringConnectionOptionsRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::PeeringConnectionOptionsRequest::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::PeeringConnectionOptionsRequest::SetAllowDnsResolutionFromRemoteVpc
void SetAllowDnsResolutionFromRemoteVpc(bool value)
Definition: PeeringConnectionOptionsRequest.h:56
AWSStreamFwd.h
Aws::EC2::Model::PeeringConnectionOptionsRequest::AllowDnsResolutionFromRemoteVpcHasBeenSet
bool AllowDnsResolutionFromRemoteVpcHasBeenSet() const
Definition: PeeringConnectionOptionsRequest.h:50
Aws::EC2::Model::PeeringConnectionOptionsRequest::PeeringConnectionOptionsRequest
PeeringConnectionOptionsRequest()
Aws::EC2::Model::PeeringConnectionOptionsRequest::GetAllowEgressFromLocalVpcToRemoteClassicLink
bool GetAllowEgressFromLocalVpcToRemoteClassicLink() const
Definition: PeeringConnectionOptionsRequest.h:94
Aws::EC2::Model::PeeringConnectionOptionsRequest::WithAllowDnsResolutionFromRemoteVpc
PeeringConnectionOptionsRequest & WithAllowDnsResolutionFromRemoteVpc(bool value)
Definition: PeeringConnectionOptionsRequest.h:62
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::PeeringConnectionOptionsRequest::GetAllowDnsResolutionFromRemoteVpc
bool GetAllowDnsResolutionFromRemoteVpc() const
Definition: PeeringConnectionOptionsRequest.h:44
Aws::EC2::Model::PeeringConnectionOptionsRequest
Definition: PeeringConnectionOptionsRequest.h:30
Aws::EC2::Model::PeeringConnectionOptionsRequest::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::PeeringConnectionOptionsRequest::WithAllowEgressFromLocalClassicLinkToRemoteVpc
PeeringConnectionOptionsRequest & WithAllowEgressFromLocalClassicLinkToRemoteVpc(bool value)
Definition: PeeringConnectionOptionsRequest.h:87
Aws::EC2::Model::PeeringConnectionOptionsRequest::AllowEgressFromLocalClassicLinkToRemoteVpcHasBeenSet
bool AllowEgressFromLocalClassicLinkToRemoteVpcHasBeenSet() const
Definition: PeeringConnectionOptionsRequest.h:75
Aws::EC2::Model::PeeringConnectionOptionsRequest::AllowEgressFromLocalVpcToRemoteClassicLinkHasBeenSet
bool AllowEgressFromLocalVpcToRemoteClassicLinkHasBeenSet() const
Definition: PeeringConnectionOptionsRequest.h:100
Aws::EC2::Model::PeeringConnectionOptionsRequest::SetAllowEgressFromLocalVpcToRemoteClassicLink
void SetAllowEgressFromLocalVpcToRemoteClassicLink(bool value)
Definition: PeeringConnectionOptionsRequest.h:106
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::PeeringConnectionOptionsRequest::GetAllowEgressFromLocalClassicLinkToRemoteVpc
bool GetAllowEgressFromLocalClassicLinkToRemoteVpc() const
Definition: PeeringConnectionOptionsRequest.h:69
Aws::EC2::Model::PeeringConnectionOptionsRequest::SetAllowEgressFromLocalClassicLinkToRemoteVpc
void SetAllowEgressFromLocalClassicLinkToRemoteVpc(bool value)
Definition: PeeringConnectionOptionsRequest.h:81
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::PeeringConnectionOptionsRequest::WithAllowEgressFromLocalVpcToRemoteClassicLink
PeeringConnectionOptionsRequest & WithAllowEgressFromLocalVpcToRemoteClassicLink(bool value)
Definition: PeeringConnectionOptionsRequest.h:112
EC2_EXPORTS.h