AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcInfoPeeringOptionsDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_SECURITYHUB_API VpcInfoPeeringOptionsDetails();
36 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline bool GetAllowDnsResolutionFromRemoteVpc() const{ return m_allowDnsResolutionFromRemoteVpc; }
45 inline bool AllowDnsResolutionFromRemoteVpcHasBeenSet() const { return m_allowDnsResolutionFromRemoteVpcHasBeenSet; }
46 inline void SetAllowDnsResolutionFromRemoteVpc(bool value) { m_allowDnsResolutionFromRemoteVpcHasBeenSet = true; m_allowDnsResolutionFromRemoteVpc = value; }
49
51
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
66 inline bool GetAllowEgressFromLocalVpcToRemoteClassicLink() const{ return m_allowEgressFromLocalVpcToRemoteClassicLink; }
67 inline bool AllowEgressFromLocalVpcToRemoteClassicLinkHasBeenSet() const { return m_allowEgressFromLocalVpcToRemoteClassicLinkHasBeenSet; }
68 inline void SetAllowEgressFromLocalVpcToRemoteClassicLink(bool value) { m_allowEgressFromLocalVpcToRemoteClassicLinkHasBeenSet = true; m_allowEgressFromLocalVpcToRemoteClassicLink = value; }
71 private:
72
73 bool m_allowDnsResolutionFromRemoteVpc;
74 bool m_allowDnsResolutionFromRemoteVpcHasBeenSet = false;
75
76 bool m_allowEgressFromLocalClassicLinkToRemoteVpc;
77 bool m_allowEgressFromLocalClassicLinkToRemoteVpcHasBeenSet = false;
78
79 bool m_allowEgressFromLocalVpcToRemoteClassicLink;
80 bool m_allowEgressFromLocalVpcToRemoteClassicLinkHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace SecurityHub
85} // namespace Aws
AWS_SECURITYHUB_API VpcInfoPeeringOptionsDetails(Aws::Utils::Json::JsonView jsonValue)
VpcInfoPeeringOptionsDetails & WithAllowDnsResolutionFromRemoteVpc(bool value)
VpcInfoPeeringOptionsDetails & WithAllowEgressFromLocalClassicLinkToRemoteVpc(bool value)
VpcInfoPeeringOptionsDetails & WithAllowEgressFromLocalVpcToRemoteClassicLink(bool value)
AWS_SECURITYHUB_API VpcInfoPeeringOptionsDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue