7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/inspector2/Inspector2_EXPORTS.h>
11#include <aws/inspector2/model/Architecture.h>
12#include <aws/inspector2/model/PackageType.h>
45 template <
typename ServerlessFunctionNameT = Aws::String>
47 m_serverlessFunctionNameHasBeenSet =
true;
48 m_serverlessFunctionName = std::forward<ServerlessFunctionNameT>(value);
50 template <
typename ServerlessFunctionNameT = Aws::String>
63 template <
typename RuntimeT = Aws::String>
65 m_runtimeHasBeenSet =
true;
66 m_runtime = std::forward<RuntimeT>(value);
68 template <
typename RuntimeT = Aws::String>
81 template <
typename VersionT = Aws::String>
83 m_versionHasBeenSet =
true;
84 m_version = std::forward<VersionT>(value);
86 template <
typename VersionT = Aws::String>
99 template <
typename CodeDigestT = Aws::String>
101 m_codeDigestHasBeenSet =
true;
102 m_codeDigest = std::forward<CodeDigestT>(value);
104 template <
typename CodeDigestT = Aws::String>
117 template <
typename LastModifiedAtT = Aws::Utils::DateTime>
119 m_lastModifiedAtHasBeenSet =
true;
120 m_lastModifiedAt = std::forward<LastModifiedAtT>(value);
122 template <
typename LastModifiedAtT = Aws::Utils::DateTime>
135 template <
typename NetworkIdT = Aws::String>
137 m_networkIdHasBeenSet =
true;
138 m_networkId = std::forward<NetworkIdT>(value);
140 template <
typename NetworkIdT = Aws::String>
153 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
155 m_subnetIdsHasBeenSet =
true;
156 m_subnetIds = std::forward<SubnetIdsT>(value);
158 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
163 template <
typename SubnetIdsT = Aws::String>
165 m_subnetIdsHasBeenSet =
true;
166 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
177 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
179 m_securityGroupIdsHasBeenSet =
true;
180 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
182 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
187 template <
typename SecurityGroupIdsT = Aws::String>
189 m_securityGroupIdsHasBeenSet =
true;
190 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
201 template <
typename ExecutionRoleT = Aws::String>
203 m_executionRoleHasBeenSet =
true;
204 m_executionRole = std::forward<ExecutionRoleT>(value);
206 template <
typename ExecutionRoleT = Aws::String>
220 m_packageTypeHasBeenSet =
true;
221 m_packageType = value;
235 template <
typename ArchitecturesT = Aws::Vector<Architecture>>
237 m_architecturesHasBeenSet =
true;
238 m_architectures = std::forward<ArchitecturesT>(value);
240 template <
typename ArchitecturesT = Aws::Vector<Architecture>>
246 m_architecturesHasBeenSet =
true;
247 m_architectures.push_back(value);
258 template <
typename LayersT = Aws::Vector<Aws::String>>
260 m_layersHasBeenSet =
true;
261 m_layers = std::forward<LayersT>(value);
263 template <
typename LayersT = Aws::Vector<Aws::String>>
268 template <
typename LayersT = Aws::String>
270 m_layersHasBeenSet =
true;
271 m_layers.emplace_back(std::forward<LayersT>(value));
299 bool m_serverlessFunctionNameHasBeenSet =
false;
300 bool m_runtimeHasBeenSet =
false;
301 bool m_versionHasBeenSet =
false;
302 bool m_codeDigestHasBeenSet =
false;
303 bool m_lastModifiedAtHasBeenSet =
false;
304 bool m_networkIdHasBeenSet =
false;
305 bool m_subnetIdsHasBeenSet =
false;
306 bool m_securityGroupIdsHasBeenSet =
false;
307 bool m_executionRoleHasBeenSet =
false;
308 bool m_packageTypeHasBeenSet =
false;
309 bool m_architecturesHasBeenSet =
false;
310 bool m_layersHasBeenSet =
false;
ServerlessFunction & WithRuntime(RuntimeT &&value)
void SetRuntime(RuntimeT &&value)
void SetSubnetIds(SubnetIdsT &&value)
AWS_INSPECTOR2_API ServerlessFunction & operator=(Aws::Utils::Json::JsonView jsonValue)
ServerlessFunction & WithNetworkId(NetworkIdT &&value)
AWS_INSPECTOR2_API ServerlessFunction(Aws::Utils::Json::JsonView jsonValue)
ServerlessFunction & AddSubnetIds(SubnetIdsT &&value)
ServerlessFunction & WithArchitectures(ArchitecturesT &&value)
ServerlessFunction & WithExecutionRole(ExecutionRoleT &&value)
const Aws::Vector< Architecture > & GetArchitectures() const
const Aws::String & GetRuntime() const
bool SubnetIdsHasBeenSet() const
ServerlessFunction & WithCodeDigest(CodeDigestT &&value)
bool ServerlessFunctionNameHasBeenSet() const
const Aws::String & GetExecutionRole() const
ServerlessFunction & WithSubnetIds(SubnetIdsT &&value)
AWS_INSPECTOR2_API ServerlessFunction()=default
bool ArchitecturesHasBeenSet() const
void SetPackageType(PackageType value)
ServerlessFunction & AddArchitectures(Architecture value)
void SetExecutionRole(ExecutionRoleT &&value)
bool LayersHasBeenSet() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
void SetLastModifiedAt(LastModifiedAtT &&value)
ServerlessFunction & WithServerlessFunctionName(ServerlessFunctionNameT &&value)
bool SecurityGroupIdsHasBeenSet() const
void SetCodeDigest(CodeDigestT &&value)
bool LastModifiedAtHasBeenSet() const
ServerlessFunction & AddSecurityGroupIds(SecurityGroupIdsT &&value)
void SetLayers(LayersT &&value)
ServerlessFunction & WithLastModifiedAt(LastModifiedAtT &&value)
ServerlessFunction & WithVersion(VersionT &&value)
PackageType GetPackageType() const
ServerlessFunction & WithLayers(LayersT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
bool VersionHasBeenSet() const
const Aws::Vector< Aws::String > & GetLayers() const
const Aws::String & GetServerlessFunctionName() const
void SetServerlessFunctionName(ServerlessFunctionNameT &&value)
void SetArchitectures(ArchitecturesT &&value)
const Aws::String & GetCodeDigest() const
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
void SetVersion(VersionT &&value)
const Aws::Utils::DateTime & GetLastModifiedAt() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
ServerlessFunction & WithSecurityGroupIds(SecurityGroupIdsT &&value)
bool CodeDigestHasBeenSet() const
const Aws::String & GetVersion() const
bool RuntimeHasBeenSet() const
bool ExecutionRoleHasBeenSet() const
bool NetworkIdHasBeenSet() const
bool PackageTypeHasBeenSet() const
void SetNetworkId(NetworkIdT &&value)
const Aws::String & GetNetworkId() const
ServerlessFunction & WithPackageType(PackageType value)
ServerlessFunction & AddLayers(LayersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue