AWS SDK for C++  1.9.106
AWS SDK for C++
AwsLambdaFunctionVpcConfig.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 SecurityHub
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
46 
50  inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
51 
55  inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
56 
60  inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
61 
65  inline AwsLambdaFunctionVpcConfig& WithSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetSecurityGroupIds(value); return *this;}
66 
70  inline AwsLambdaFunctionVpcConfig& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
71 
75  inline AwsLambdaFunctionVpcConfig& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
76 
80  inline AwsLambdaFunctionVpcConfig& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
81 
85  inline AwsLambdaFunctionVpcConfig& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
86 
87 
91  inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
92 
96  inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
97 
101  inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
102 
106  inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
107 
111  inline AwsLambdaFunctionVpcConfig& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
112 
116  inline AwsLambdaFunctionVpcConfig& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
117 
121  inline AwsLambdaFunctionVpcConfig& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
122 
126  inline AwsLambdaFunctionVpcConfig& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
127 
131  inline AwsLambdaFunctionVpcConfig& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.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 AwsLambdaFunctionVpcConfig& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
163 
167  inline AwsLambdaFunctionVpcConfig& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
168 
172  inline AwsLambdaFunctionVpcConfig& WithVpcId(const char* value) { SetVpcId(value); return *this;}
173 
174  private:
175 
176  Aws::Vector<Aws::String> m_securityGroupIds;
177  bool m_securityGroupIdsHasBeenSet;
178 
179  Aws::Vector<Aws::String> m_subnetIds;
180  bool m_subnetIdsHasBeenSet;
181 
182  Aws::String m_vpcId;
183  bool m_vpcIdHasBeenSet;
184  };
185 
186 } // namespace Model
187 } // namespace SecurityHub
188 } // namespace Aws
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::VpcIdHasBeenSet
bool VpcIdHasBeenSet() const
Definition: AwsLambdaFunctionVpcConfig.h:142
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::SecurityGroupIdsHasBeenSet
bool SecurityGroupIdsHasBeenSet() const
Definition: AwsLambdaFunctionVpcConfig.h:50
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::AddSecurityGroupIds
AwsLambdaFunctionVpcConfig & AddSecurityGroupIds(const char *value)
Definition: AwsLambdaFunctionVpcConfig.h:85
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::WithVpcId
AwsLambdaFunctionVpcConfig & WithVpcId(Aws::String &&value)
Definition: AwsLambdaFunctionVpcConfig.h:167
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::SetVpcId
void SetVpcId(Aws::String &&value)
Definition: AwsLambdaFunctionVpcConfig.h:152
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::WithVpcId
AwsLambdaFunctionVpcConfig & WithVpcId(const Aws::String &value)
Definition: AwsLambdaFunctionVpcConfig.h:162
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::operator=
AwsLambdaFunctionVpcConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::SetVpcId
void SetVpcId(const char *value)
Definition: AwsLambdaFunctionVpcConfig.h:157
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::SetSubnetIds
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: AwsLambdaFunctionVpcConfig.h:106
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::WithSubnetIds
AwsLambdaFunctionVpcConfig & WithSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: AwsLambdaFunctionVpcConfig.h:111
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::AddSubnetIds
AwsLambdaFunctionVpcConfig & AddSubnetIds(Aws::String &&value)
Definition: AwsLambdaFunctionVpcConfig.h:126
AWSVector.h
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::AwsLambdaFunctionVpcConfig
AwsLambdaFunctionVpcConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig
Definition: AwsLambdaFunctionVpcConfig.h:34
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::SetVpcId
void SetVpcId(const Aws::String &value)
Definition: AwsLambdaFunctionVpcConfig.h:147
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::AwsLambdaFunctionVpcConfig
AwsLambdaFunctionVpcConfig()
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::AddSecurityGroupIds
AwsLambdaFunctionVpcConfig & AddSecurityGroupIds(Aws::String &&value)
Definition: AwsLambdaFunctionVpcConfig.h:80
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::WithVpcId
AwsLambdaFunctionVpcConfig & WithVpcId(const char *value)
Definition: AwsLambdaFunctionVpcConfig.h:172
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::AddSubnetIds
AwsLambdaFunctionVpcConfig & AddSubnetIds(const Aws::String &value)
Definition: AwsLambdaFunctionVpcConfig.h:121
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::AddSubnetIds
AwsLambdaFunctionVpcConfig & AddSubnetIds(const char *value)
Definition: AwsLambdaFunctionVpcConfig.h:131
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::AddSecurityGroupIds
AwsLambdaFunctionVpcConfig & AddSecurityGroupIds(const Aws::String &value)
Definition: AwsLambdaFunctionVpcConfig.h:75
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::GetVpcId
const Aws::String & GetVpcId() const
Definition: AwsLambdaFunctionVpcConfig.h:137
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::WithSubnetIds
AwsLambdaFunctionVpcConfig & WithSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: AwsLambdaFunctionVpcConfig.h:116
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::SetSecurityGroupIds
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: AwsLambdaFunctionVpcConfig.h:60
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::WithSecurityGroupIds
AwsLambdaFunctionVpcConfig & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: AwsLambdaFunctionVpcConfig.h:65
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::SubnetIdsHasBeenSet
bool SubnetIdsHasBeenSet() const
Definition: AwsLambdaFunctionVpcConfig.h:96
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::GetSecurityGroupIds
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
Definition: AwsLambdaFunctionVpcConfig.h:45
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::WithSecurityGroupIds
AwsLambdaFunctionVpcConfig & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: AwsLambdaFunctionVpcConfig.h:70
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::SetSubnetIds
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: AwsLambdaFunctionVpcConfig.h:101
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::SetSecurityGroupIds
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: AwsLambdaFunctionVpcConfig.h:55
Aws::SecurityHub::Model::AwsLambdaFunctionVpcConfig::GetSubnetIds
const Aws::Vector< Aws::String > & GetSubnetIds() const
Definition: AwsLambdaFunctionVpcConfig.h:91