7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/inspector/Inspector_EXPORTS.h>
10#include <aws/inspector/model/NetworkInterface.h>
11#include <aws/inspector/model/Tag.h>
45 m_schemaVersionHasBeenSet =
true;
46 m_schemaVersion = value;
61 template <
typename AgentIdT = Aws::String>
63 m_agentIdHasBeenSet =
true;
64 m_agentId = std::forward<AgentIdT>(value);
66 template <
typename AgentIdT = Aws::String>
80 template <
typename AutoScalingGroupT = Aws::String>
82 m_autoScalingGroupHasBeenSet =
true;
83 m_autoScalingGroup = std::forward<AutoScalingGroupT>(value);
85 template <
typename AutoScalingGroupT = Aws::String>
99 template <
typename AmiIdT = Aws::String>
101 m_amiIdHasBeenSet =
true;
102 m_amiId = std::forward<AmiIdT>(value);
104 template <
typename AmiIdT = Aws::String>
106 SetAmiId(std::forward<AmiIdT>(value));
117 template <
typename HostnameT = Aws::String>
119 m_hostnameHasBeenSet =
true;
120 m_hostname = std::forward<HostnameT>(value);
122 template <
typename HostnameT = Aws::String>
136 template <
typename Ipv4AddressesT = Aws::Vector<Aws::String>>
138 m_ipv4AddressesHasBeenSet =
true;
139 m_ipv4Addresses = std::forward<Ipv4AddressesT>(value);
141 template <
typename Ipv4AddressesT = Aws::Vector<Aws::String>>
146 template <
typename Ipv4AddressesT = Aws::String>
148 m_ipv4AddressesHasBeenSet =
true;
149 m_ipv4Addresses.emplace_back(std::forward<Ipv4AddressesT>(value));
160 template <
typename TagsT = Aws::Vector<Tag>>
162 m_tagsHasBeenSet =
true;
163 m_tags = std::forward<TagsT>(value);
165 template <
typename TagsT = Aws::Vector<Tag>>
167 SetTags(std::forward<TagsT>(value));
170 template <
typename TagsT = Tag>
172 m_tagsHasBeenSet =
true;
173 m_tags.emplace_back(std::forward<TagsT>(value));
185 template <
typename NetworkInterfacesT = Aws::Vector<NetworkInterface>>
187 m_networkInterfacesHasBeenSet =
true;
188 m_networkInterfaces = std::forward<NetworkInterfacesT>(value);
190 template <
typename NetworkInterfacesT = Aws::Vector<NetworkInterface>>
195 template <
typename NetworkInterfacesT = NetworkInterface>
197 m_networkInterfacesHasBeenSet =
true;
198 m_networkInterfaces.emplace_back(std::forward<NetworkInterfacesT>(value));
203 int m_schemaVersion{0};
218 bool m_schemaVersionHasBeenSet =
false;
219 bool m_agentIdHasBeenSet =
false;
220 bool m_autoScalingGroupHasBeenSet =
false;
221 bool m_amiIdHasBeenSet =
false;
222 bool m_hostnameHasBeenSet =
false;
223 bool m_ipv4AddressesHasBeenSet =
false;
224 bool m_tagsHasBeenSet =
false;
225 bool m_networkInterfacesHasBeenSet =
false;
bool AmiIdHasBeenSet() const
bool AgentIdHasBeenSet() const
void SetIpv4Addresses(Ipv4AddressesT &&value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetAutoScalingGroup() const
AssetAttributes & WithSchemaVersion(int value)
AWS_INSPECTOR_API AssetAttributes(Aws::Utils::Json::JsonView jsonValue)
AssetAttributes & AddIpv4Addresses(Ipv4AddressesT &&value)
AssetAttributes & WithHostname(HostnameT &&value)
const Aws::String & GetAgentId() const
int GetSchemaVersion() const
AWS_INSPECTOR_API AssetAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AssetAttributes & WithAmiId(AmiIdT &&value)
AWS_INSPECTOR_API AssetAttributes()=default
bool HostnameHasBeenSet() const
bool SchemaVersionHasBeenSet() const
bool TagsHasBeenSet() const
AssetAttributes & WithAutoScalingGroup(AutoScalingGroupT &&value)
void SetSchemaVersion(int value)
void SetNetworkInterfaces(NetworkInterfacesT &&value)
void SetAgentId(AgentIdT &&value)
AssetAttributes & WithAgentId(AgentIdT &&value)
bool Ipv4AddressesHasBeenSet() const
void SetAutoScalingGroup(AutoScalingGroupT &&value)
AssetAttributes & WithTags(TagsT &&value)
AssetAttributes & AddNetworkInterfaces(NetworkInterfacesT &&value)
AssetAttributes & AddTags(TagsT &&value)
const Aws::String & GetHostname() const
void SetAmiId(AmiIdT &&value)
const Aws::String & GetAmiId() const
const Aws::Vector< NetworkInterface > & GetNetworkInterfaces() const
AssetAttributes & WithIpv4Addresses(Ipv4AddressesT &&value)
bool AutoScalingGroupHasBeenSet() const
void SetHostname(HostnameT &&value)
void SetTags(TagsT &&value)
AssetAttributes & WithNetworkInterfaces(NetworkInterfacesT &&value)
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetIpv4Addresses() const
bool NetworkInterfacesHasBeenSet() 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