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>
32 AWS_INSPECTOR2_API
Vm() =
default;
43 template <
typename TypeT = Aws::String>
45 m_typeHasBeenSet =
true;
46 m_type = std::forward<TypeT>(value);
48 template <
typename TypeT = Aws::String>
50 SetType(std::forward<TypeT>(value));
61 template <
typename VmNameT = Aws::String>
63 m_vmNameHasBeenSet =
true;
64 m_vmName = std::forward<VmNameT>(value);
66 template <
typename VmNameT = Aws::String>
79 template <
typename VmImageReferenceT = Aws::String>
81 m_vmImageReferenceHasBeenSet =
true;
82 m_vmImageReference = std::forward<VmImageReferenceT>(value);
84 template <
typename VmImageReferenceT = Aws::String>
97 template <
typename IpV4AddressesT = Aws::Vector<Aws::String>>
99 m_ipV4AddressesHasBeenSet =
true;
100 m_ipV4Addresses = std::forward<IpV4AddressesT>(value);
102 template <
typename IpV4AddressesT = Aws::Vector<Aws::String>>
107 template <
typename IpV4AddressesT = Aws::String>
109 m_ipV4AddressesHasBeenSet =
true;
110 m_ipV4Addresses.emplace_back(std::forward<IpV4AddressesT>(value));
121 template <
typename IpV6AddressesT = Aws::Vector<Aws::String>>
123 m_ipV6AddressesHasBeenSet =
true;
124 m_ipV6Addresses = std::forward<IpV6AddressesT>(value);
126 template <
typename IpV6AddressesT = Aws::Vector<Aws::String>>
131 template <
typename IpV6AddressesT = Aws::String>
133 m_ipV6AddressesHasBeenSet =
true;
134 m_ipV6Addresses.emplace_back(std::forward<IpV6AddressesT>(value));
145 template <
typename NetworkIdT = Aws::String>
147 m_networkIdHasBeenSet =
true;
148 m_networkId = std::forward<NetworkIdT>(value);
150 template <
typename NetworkIdT = Aws::String>
163 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
165 m_subnetIdsHasBeenSet =
true;
166 m_subnetIds = std::forward<SubnetIdsT>(value);
168 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
173 template <
typename SubnetIdsT = Aws::String>
175 m_subnetIdsHasBeenSet =
true;
176 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
187 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
189 m_securityGroupIdsHasBeenSet =
true;
190 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
192 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
197 template <
typename SecurityGroupIdsT = Aws::String>
199 m_securityGroupIdsHasBeenSet =
true;
200 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
211 template <
typename LaunchedAtT = Aws::Utils::DateTime>
213 m_launchedAtHasBeenSet =
true;
214 m_launchedAt = std::forward<LaunchedAtT>(value);
216 template <
typename LaunchedAtT = Aws::Utils::DateTime>
229 template <
typename PlatformT = Aws::String>
231 m_platformHasBeenSet =
true;
232 m_platform = std::forward<PlatformT>(value);
234 template <
typename PlatformT = Aws::String>
247 template <
typename ExecutionRoleT = Aws::String>
249 m_executionRoleHasBeenSet =
true;
250 m_executionRole = std::forward<ExecutionRoleT>(value);
252 template <
typename ExecutionRoleT = Aws::String>
265 template <
typename KeyNameT = Aws::String>
267 m_keyNameHasBeenSet =
true;
268 m_keyName = std::forward<KeyNameT>(value);
270 template <
typename KeyNameT = Aws::String>
300 bool m_typeHasBeenSet =
false;
301 bool m_vmNameHasBeenSet =
false;
302 bool m_vmImageReferenceHasBeenSet =
false;
303 bool m_ipV4AddressesHasBeenSet =
false;
304 bool m_ipV6AddressesHasBeenSet =
false;
305 bool m_networkIdHasBeenSet =
false;
306 bool m_subnetIdsHasBeenSet =
false;
307 bool m_securityGroupIdsHasBeenSet =
false;
308 bool m_launchedAtHasBeenSet =
false;
309 bool m_platformHasBeenSet =
false;
310 bool m_executionRoleHasBeenSet =
false;
311 bool m_keyNameHasBeenSet =
false;
bool LaunchedAtHasBeenSet() const
bool TypeHasBeenSet() const
void SetIpV6Addresses(IpV6AddressesT &&value)
void SetVmImageReference(VmImageReferenceT &&value)
Vm & AddSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::Vector< Aws::String > & GetIpV6Addresses() const
Vm & WithVmImageReference(VmImageReferenceT &&value)
void SetVmName(VmNameT &&value)
bool IpV4AddressesHasBeenSet() const
const Aws::String & GetKeyName() const
void SetType(TypeT &&value)
const Aws::String & GetNetworkId() const
bool SubnetIdsHasBeenSet() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetPlatform() const
const Aws::String & GetVmName() const
Vm & WithSecurityGroupIds(SecurityGroupIdsT &&value)
bool KeyNameHasBeenSet() const
const Aws::Utils::DateTime & GetLaunchedAt() const
bool IpV6AddressesHasBeenSet() const
Vm & WithIpV6Addresses(IpV6AddressesT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
AWS_INSPECTOR2_API Vm(Aws::Utils::Json::JsonView jsonValue)
void SetIpV4Addresses(IpV4AddressesT &&value)
void SetSubnetIds(SubnetIdsT &&value)
AWS_INSPECTOR2_API Vm & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNetworkId(NetworkIdT &&value)
Vm & WithType(TypeT &&value)
Vm & AddIpV6Addresses(IpV6AddressesT &&value)
Vm & WithNetworkId(NetworkIdT &&value)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
bool NetworkIdHasBeenSet() const
Vm & AddIpV4Addresses(IpV4AddressesT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
bool PlatformHasBeenSet() const
const Aws::String & GetVmImageReference() const
Vm & WithExecutionRole(ExecutionRoleT &&value)
Vm & WithVmName(VmNameT &&value)
bool VmImageReferenceHasBeenSet() const
Vm & WithLaunchedAt(LaunchedAtT &&value)
void SetLaunchedAt(LaunchedAtT &&value)
AWS_INSPECTOR2_API Vm()=default
Vm & AddSubnetIds(SubnetIdsT &&value)
bool ExecutionRoleHasBeenSet() const
const Aws::String & GetType() const
bool VmNameHasBeenSet() const
void SetPlatform(PlatformT &&value)
Vm & WithPlatform(PlatformT &&value)
Vm & WithIpV4Addresses(IpV4AddressesT &&value)
const Aws::String & GetExecutionRole() const
bool SecurityGroupIdsHasBeenSet() const
const Aws::Vector< Aws::String > & GetIpV4Addresses() const
void SetExecutionRole(ExecutionRoleT &&value)
void SetKeyName(KeyNameT &&value)
Vm & WithKeyName(KeyNameT &&value)
Vm & WithSubnetIds(SubnetIdsT &&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