AWS SDK for C++  1.9.125
AWS SDK for C++
PeeringConnectionOptions.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 PeeringConnectionOptions& 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 PeeringConnectionOptions& 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 PeeringConnectionOptions& 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::PeeringConnectionOptions::SetAllowDnsResolutionFromRemoteVpc
void SetAllowDnsResolutionFromRemoteVpc(bool value)
Definition: PeeringConnectionOptions.h:56
Aws::EC2::Model::PeeringConnectionOptions::PeeringConnectionOptions
PeeringConnectionOptions()
Aws::EC2::Model::PeeringConnectionOptions::SetAllowEgressFromLocalClassicLinkToRemoteVpc
void SetAllowEgressFromLocalClassicLinkToRemoteVpc(bool value)
Definition: PeeringConnectionOptions.h:81
Aws::EC2::Model::PeeringConnectionOptions::GetAllowEgressFromLocalClassicLinkToRemoteVpc
bool GetAllowEgressFromLocalClassicLinkToRemoteVpc() const
Definition: PeeringConnectionOptions.h:69
Aws::EC2::Model::PeeringConnectionOptions::AllowEgressFromLocalClassicLinkToRemoteVpcHasBeenSet
bool AllowEgressFromLocalClassicLinkToRemoteVpcHasBeenSet() const
Definition: PeeringConnectionOptions.h:75
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::PeeringConnectionOptions::WithAllowEgressFromLocalClassicLinkToRemoteVpc
PeeringConnectionOptions & WithAllowEgressFromLocalClassicLinkToRemoteVpc(bool value)
Definition: PeeringConnectionOptions.h:87
AWSStreamFwd.h
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::PeeringConnectionOptions::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::PeeringConnectionOptions::AllowDnsResolutionFromRemoteVpcHasBeenSet
bool AllowDnsResolutionFromRemoteVpcHasBeenSet() const
Definition: PeeringConnectionOptions.h:50
Aws::EC2::Model::PeeringConnectionOptions::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::PeeringConnectionOptions::operator=
PeeringConnectionOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::PeeringConnectionOptions::GetAllowDnsResolutionFromRemoteVpc
bool GetAllowDnsResolutionFromRemoteVpc() const
Definition: PeeringConnectionOptions.h:44
Aws::EC2::Model::PeeringConnectionOptions::AllowEgressFromLocalVpcToRemoteClassicLinkHasBeenSet
bool AllowEgressFromLocalVpcToRemoteClassicLinkHasBeenSet() const
Definition: PeeringConnectionOptions.h:100
Aws::EC2::Model::PeeringConnectionOptions::GetAllowEgressFromLocalVpcToRemoteClassicLink
bool GetAllowEgressFromLocalVpcToRemoteClassicLink() const
Definition: PeeringConnectionOptions.h:94
Aws::EC2::Model::PeeringConnectionOptions
Definition: PeeringConnectionOptions.h:30
Aws::EC2::Model::PeeringConnectionOptions::PeeringConnectionOptions
PeeringConnectionOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws
Definition: AccessManagementClient.h:15
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::PeeringConnectionOptions::SetAllowEgressFromLocalVpcToRemoteClassicLink
void SetAllowEgressFromLocalVpcToRemoteClassicLink(bool value)
Definition: PeeringConnectionOptions.h:106
Aws::EC2::Model::PeeringConnectionOptions::WithAllowDnsResolutionFromRemoteVpc
PeeringConnectionOptions & WithAllowDnsResolutionFromRemoteVpc(bool value)
Definition: PeeringConnectionOptions.h:62
EC2_EXPORTS.h
Aws::EC2::Model::PeeringConnectionOptions::WithAllowEgressFromLocalVpcToRemoteClassicLink
PeeringConnectionOptions & WithAllowEgressFromLocalVpcToRemoteClassicLink(bool value)
Definition: PeeringConnectionOptions.h:112