AWS SDK for C++  1.9.20
AWS SDK for C++
VpcConfigResponse.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Lambda
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
46 
50  inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
51 
55  inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
56 
60  inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
61 
65  inline VpcConfigResponse& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
66 
70  inline VpcConfigResponse& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
71 
75  inline VpcConfigResponse& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
76 
80  inline VpcConfigResponse& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
81 
85  inline VpcConfigResponse& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
86 
87 
91  inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
92 
96  inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
97 
101  inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
102 
106  inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
107 
111  inline VpcConfigResponse& WithSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetSecurityGroupIds(value); return *this;}
112 
116  inline VpcConfigResponse& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
117 
121  inline VpcConfigResponse& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
122 
126  inline VpcConfigResponse& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
127 
131  inline VpcConfigResponse& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
132 
133 
137  inline const Aws::String& GetVpcId() const{ return m_vpcId; }
138 
142  inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
143 
147  inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
148 
152  inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
153 
157  inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
158 
162  inline VpcConfigResponse& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
163 
167  inline VpcConfigResponse& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
168 
172  inline VpcConfigResponse& WithVpcId(const char* value) { SetVpcId(value); return *this;}
173 
174  private:
175 
176  Aws::Vector<Aws::String> m_subnetIds;
177  bool m_subnetIdsHasBeenSet;
178 
179  Aws::Vector<Aws::String> m_securityGroupIds;
180  bool m_securityGroupIdsHasBeenSet;
181 
182  Aws::String m_vpcId;
183  bool m_vpcIdHasBeenSet;
184  };
185 
186 } // namespace Model
187 } // namespace Lambda
188 } // namespace Aws
Aws::Lambda::Model::VpcConfigResponse::VpcConfigResponse
VpcConfigResponse(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::VpcConfigResponse::WithSubnetIds
VpcConfigResponse & WithSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: VpcConfigResponse.h:70
Aws::Lambda::Model::VpcConfigResponse::SetVpcId
void SetVpcId(Aws::String &&value)
Definition: VpcConfigResponse.h:152
Aws::Lambda::Model::VpcConfigResponse::SetSubnetIds
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: VpcConfigResponse.h:55
Aws::Lambda::Model::VpcConfigResponse::SubnetIdsHasBeenSet
bool SubnetIdsHasBeenSet() const
Definition: VpcConfigResponse.h:50
Aws::Lambda::Model::VpcConfigResponse::VpcIdHasBeenSet
bool VpcIdHasBeenSet() const
Definition: VpcConfigResponse.h:142
Aws::Lambda::Model::VpcConfigResponse::SecurityGroupIdsHasBeenSet
bool SecurityGroupIdsHasBeenSet() const
Definition: VpcConfigResponse.h:96
Aws::Lambda::Model::VpcConfigResponse::AddSecurityGroupIds
VpcConfigResponse & AddSecurityGroupIds(const char *value)
Definition: VpcConfigResponse.h:131
Aws::Lambda::Model::VpcConfigResponse::WithVpcId
VpcConfigResponse & WithVpcId(Aws::String &&value)
Definition: VpcConfigResponse.h:167
Aws::Lambda::Model::VpcConfigResponse::SetVpcId
void SetVpcId(const char *value)
Definition: VpcConfigResponse.h:157
Aws::Lambda::Model::VpcConfigResponse::GetSecurityGroupIds
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
Definition: VpcConfigResponse.h:91
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lambda::Model::VpcConfigResponse
Definition: VpcConfigResponse.h:34
AWSVector.h
Aws::Lambda::Model::VpcConfigResponse::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::VpcConfigResponse::SetSecurityGroupIds
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: VpcConfigResponse.h:101
Aws::Lambda::Model::VpcConfigResponse::WithSubnetIds
VpcConfigResponse & WithSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: VpcConfigResponse.h:65
Aws::Lambda::Model::VpcConfigResponse::SetSecurityGroupIds
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: VpcConfigResponse.h:106
Aws::Lambda::Model::VpcConfigResponse::AddSubnetIds
VpcConfigResponse & AddSubnetIds(const char *value)
Definition: VpcConfigResponse.h:85
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::VpcConfigResponse::SetSubnetIds
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: VpcConfigResponse.h:60
Aws::Lambda::Model::VpcConfigResponse::AddSubnetIds
VpcConfigResponse & AddSubnetIds(Aws::String &&value)
Definition: VpcConfigResponse.h:80
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Lambda::Model::VpcConfigResponse::operator=
VpcConfigResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::VpcConfigResponse::GetVpcId
const Aws::String & GetVpcId() const
Definition: VpcConfigResponse.h:137
Aws::Lambda::Model::VpcConfigResponse::AddSubnetIds
VpcConfigResponse & AddSubnetIds(const Aws::String &value)
Definition: VpcConfigResponse.h:75
Aws::Lambda::Model::VpcConfigResponse::GetSubnetIds
const Aws::Vector< Aws::String > & GetSubnetIds() const
Definition: VpcConfigResponse.h:45
Aws::Lambda::Model::VpcConfigResponse::VpcConfigResponse
VpcConfigResponse()
Aws::Lambda::Model::VpcConfigResponse::WithSecurityGroupIds
VpcConfigResponse & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: VpcConfigResponse.h:116
Aws::Lambda::Model::VpcConfigResponse::WithVpcId
VpcConfigResponse & WithVpcId(const char *value)
Definition: VpcConfigResponse.h:172
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::VpcConfigResponse::AddSecurityGroupIds
VpcConfigResponse & AddSecurityGroupIds(Aws::String &&value)
Definition: VpcConfigResponse.h:126
Aws::Lambda::Model::VpcConfigResponse::WithSecurityGroupIds
VpcConfigResponse & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: VpcConfigResponse.h:111
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::VpcConfigResponse::SetVpcId
void SetVpcId(const Aws::String &value)
Definition: VpcConfigResponse.h:147
Aws::Lambda::Model::VpcConfigResponse::WithVpcId
VpcConfigResponse & WithVpcId(const Aws::String &value)
Definition: VpcConfigResponse.h:162
Aws::Lambda::Model::VpcConfigResponse::AddSecurityGroupIds
VpcConfigResponse & AddSecurityGroupIds(const Aws::String &value)
Definition: VpcConfigResponse.h:121
Lambda_EXPORTS.h