AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
49 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
50 inline VpcConfigResponse& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
51 inline VpcConfigResponse& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
52 inline VpcConfigResponse& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
53 inline VpcConfigResponse& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
54 inline VpcConfigResponse& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
56
58
61 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
62 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
63 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
64 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
66 inline VpcConfigResponse& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
67 inline VpcConfigResponse& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
68 inline VpcConfigResponse& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
69 inline VpcConfigResponse& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
71
73
76 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
77 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
78 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
79 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
80 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
81 inline VpcConfigResponse& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
82 inline VpcConfigResponse& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
83 inline VpcConfigResponse& WithVpcId(const char* value) { SetVpcId(value); return *this;}
85
87
91 inline bool GetIpv6AllowedForDualStack() const{ return m_ipv6AllowedForDualStack; }
92 inline bool Ipv6AllowedForDualStackHasBeenSet() const { return m_ipv6AllowedForDualStackHasBeenSet; }
93 inline void SetIpv6AllowedForDualStack(bool value) { m_ipv6AllowedForDualStackHasBeenSet = true; m_ipv6AllowedForDualStack = value; }
96 private:
97
98 Aws::Vector<Aws::String> m_subnetIds;
99 bool m_subnetIdsHasBeenSet = false;
100
101 Aws::Vector<Aws::String> m_securityGroupIds;
102 bool m_securityGroupIdsHasBeenSet = false;
103
104 Aws::String m_vpcId;
105 bool m_vpcIdHasBeenSet = false;
106
107 bool m_ipv6AllowedForDualStack;
108 bool m_ipv6AllowedForDualStackHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Lambda
113} // namespace Aws
VpcConfigResponse & WithVpcId(Aws::String &&value)
VpcConfigResponse & WithSubnetIds(const Aws::Vector< Aws::String > &value)
VpcConfigResponse & AddSecurityGroupIds(Aws::String &&value)
const Aws::String & GetVpcId() const
AWS_LAMBDA_API VpcConfigResponse(Aws::Utils::Json::JsonView jsonValue)
VpcConfigResponse & AddSubnetIds(const char *value)
VpcConfigResponse & AddSubnetIds(Aws::String &&value)
AWS_LAMBDA_API VpcConfigResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
VpcConfigResponse & WithVpcId(const Aws::String &value)
VpcConfigResponse & WithSubnetIds(Aws::Vector< Aws::String > &&value)
VpcConfigResponse & WithVpcId(const char *value)
VpcConfigResponse & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
VpcConfigResponse & AddSecurityGroupIds(const Aws::String &value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
void SetVpcId(const Aws::String &value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
VpcConfigResponse & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
VpcConfigResponse & AddSubnetIds(const Aws::String &value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
VpcConfigResponse & WithIpv6AllowedForDualStack(bool value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
VpcConfigResponse & AddSecurityGroupIds(const char *value)
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