AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
VpcConfigResponse.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Lambda
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LAMBDA_API VpcConfigResponse() = default;
39 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
47 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
48 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
49 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::forward<SubnetIdsT>(value); }
50 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
51 VpcConfigResponse& WithSubnetIds(SubnetIdsT&& value) { SetSubnetIds(std::forward<SubnetIdsT>(value)); return *this;}
52 template<typename SubnetIdsT = Aws::String>
53 VpcConfigResponse& AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value)); return *this; }
55
57
60 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
61 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
62 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
63 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
64 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
65 VpcConfigResponse& WithSecurityGroupIds(SecurityGroupIdsT&& value) { SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value)); return *this;}
66 template<typename SecurityGroupIdsT = Aws::String>
67 VpcConfigResponse& AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value)); return *this; }
69
71
74 inline const Aws::String& GetVpcId() const { return m_vpcId; }
75 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
76 template<typename VpcIdT = Aws::String>
77 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
78 template<typename VpcIdT = Aws::String>
79 VpcConfigResponse& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
81
83
87 inline bool GetIpv6AllowedForDualStack() const { return m_ipv6AllowedForDualStack; }
88 inline bool Ipv6AllowedForDualStackHasBeenSet() const { return m_ipv6AllowedForDualStackHasBeenSet; }
89 inline void SetIpv6AllowedForDualStack(bool value) { m_ipv6AllowedForDualStackHasBeenSet = true; m_ipv6AllowedForDualStack = value; }
92 private:
93
94 Aws::Vector<Aws::String> m_subnetIds;
95 bool m_subnetIdsHasBeenSet = false;
96
97 Aws::Vector<Aws::String> m_securityGroupIds;
98 bool m_securityGroupIdsHasBeenSet = false;
99
100 Aws::String m_vpcId;
101 bool m_vpcIdHasBeenSet = false;
102
103 bool m_ipv6AllowedForDualStack{false};
104 bool m_ipv6AllowedForDualStackHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Lambda
109} // namespace Aws
VpcConfigResponse & WithSubnetIds(SubnetIdsT &&value)
VpcConfigResponse & AddSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_LAMBDA_API VpcConfigResponse()=default
VpcConfigResponse & WithSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::String & GetVpcId() const
AWS_LAMBDA_API VpcConfigResponse(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API VpcConfigResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
VpcConfigResponse & WithVpcId(VpcIdT &&value)
VpcConfigResponse & AddSubnetIds(SubnetIdsT &&value)
VpcConfigResponse & WithIpv6AllowedForDualStack(bool value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue