7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector/model/AgentHealth.h>
49 template<
typename HostnameT = Aws::String>
50 void SetHostname(HostnameT&& value) { m_hostnameHasBeenSet =
true; m_hostname = std::forward<HostnameT>(value); }
51 template<
typename HostnameT = Aws::String>
61 template<
typename AgentIdT = Aws::String>
62 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet =
true; m_agentId = std::forward<AgentIdT>(value); }
63 template<
typename AgentIdT = Aws::String>
73 template<
typename AutoScalingGroupT = Aws::String>
74 void SetAutoScalingGroup(AutoScalingGroupT&& value) { m_autoScalingGroupHasBeenSet =
true; m_autoScalingGroup = std::forward<AutoScalingGroupT>(value); }
75 template<
typename AutoScalingGroupT = Aws::String>
95 template<
typename AgentVersionT = Aws::String>
96 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet =
true; m_agentVersion = std::forward<AgentVersionT>(value); }
97 template<
typename AgentVersionT = Aws::String>
108 template<
typename OperatingSystemT = Aws::String>
109 void SetOperatingSystem(OperatingSystemT&& value) { m_operatingSystemHasBeenSet =
true; m_operatingSystem = std::forward<OperatingSystemT>(value); }
110 template<
typename OperatingSystemT = Aws::String>
121 template<
typename KernelVersionT = Aws::String>
122 void SetKernelVersion(KernelVersionT&& value) { m_kernelVersionHasBeenSet =
true; m_kernelVersion = std::forward<KernelVersionT>(value); }
123 template<
typename KernelVersionT = Aws::String>
134 template<
typename Ipv4AddressT = Aws::String>
135 void SetIpv4Address(Ipv4AddressT&& value) { m_ipv4AddressHasBeenSet =
true; m_ipv4Address = std::forward<Ipv4AddressT>(value); }
136 template<
typename Ipv4AddressT = Aws::String>
142 bool m_hostnameHasBeenSet =
false;
145 bool m_agentIdHasBeenSet =
false;
148 bool m_autoScalingGroupHasBeenSet =
false;
151 bool m_agentHealthHasBeenSet =
false;
154 bool m_agentVersionHasBeenSet =
false;
157 bool m_operatingSystemHasBeenSet =
false;
160 bool m_kernelVersionHasBeenSet =
false;
163 bool m_ipv4AddressHasBeenSet =
false;
void SetAgentId(AgentIdT &&value)
void SetKernelVersion(KernelVersionT &&value)
const Aws::String & GetAgentVersion() const
AgentPreview & WithAgentVersion(AgentVersionT &&value)
bool HostnameHasBeenSet() const
bool AgentVersionHasBeenSet() const
void SetAgentHealth(AgentHealth value)
bool AgentHealthHasBeenSet() const
AWS_INSPECTOR_API AgentPreview & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOperatingSystem(OperatingSystemT &&value)
const Aws::String & GetKernelVersion() const
bool AutoScalingGroupHasBeenSet() const
bool Ipv4AddressHasBeenSet() const
void SetAgentVersion(AgentVersionT &&value)
AgentPreview & WithHostname(HostnameT &&value)
AgentPreview & WithAutoScalingGroup(AutoScalingGroupT &&value)
AgentPreview & WithAgentHealth(AgentHealth value)
AgentPreview & WithIpv4Address(Ipv4AddressT &&value)
bool OperatingSystemHasBeenSet() const
AgentHealth GetAgentHealth() const
AWS_INSPECTOR_API AgentPreview(Aws::Utils::Json::JsonView jsonValue)
AgentPreview & WithAgentId(AgentIdT &&value)
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetIpv4Address() const
AWS_INSPECTOR_API AgentPreview()=default
void SetAutoScalingGroup(AutoScalingGroupT &&value)
void SetHostname(HostnameT &&value)
void SetIpv4Address(Ipv4AddressT &&value)
const Aws::String & GetOperatingSystem() const
AgentPreview & WithKernelVersion(KernelVersionT &&value)
const Aws::String & GetAutoScalingGroup() const
bool AgentIdHasBeenSet() const
bool KernelVersionHasBeenSet() const
const Aws::String & GetHostname() const
AgentPreview & WithOperatingSystem(OperatingSystemT &&value)
const Aws::String & GetAgentId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue