7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9#include <aws/guardduty/model/AgentDetails.h>
10#include <aws/guardduty/model/ManagementType.h>
43 template <
typename InstanceIdT = Aws::String>
45 m_instanceIdHasBeenSet =
true;
46 m_instanceId = std::forward<InstanceIdT>(value);
48 template <
typename InstanceIdT = Aws::String>
61 template <
typename InstanceTypeT = Aws::String>
63 m_instanceTypeHasBeenSet =
true;
64 m_instanceType = std::forward<InstanceTypeT>(value);
66 template <
typename InstanceTypeT = Aws::String>
80 template <
typename ClusterArnT = Aws::String>
82 m_clusterArnHasBeenSet =
true;
83 m_clusterArn = std::forward<ClusterArnT>(value);
85 template <
typename ClusterArnT = Aws::String>
98 template <
typename AgentDetailsT = AgentDetails>
100 m_agentDetailsHasBeenSet =
true;
101 m_agentDetails = std::forward<AgentDetailsT>(value);
103 template <
typename AgentDetailsT = AgentDetails>
123 m_managementTypeHasBeenSet =
true;
124 m_managementType = value;
141 bool m_instanceIdHasBeenSet =
false;
142 bool m_instanceTypeHasBeenSet =
false;
143 bool m_clusterArnHasBeenSet =
false;
144 bool m_agentDetailsHasBeenSet =
false;
145 bool m_managementTypeHasBeenSet =
false;
AWS_GUARDDUTY_API CoverageEc2InstanceDetails(Aws::Utils::Json::JsonView jsonValue)
const AgentDetails & GetAgentDetails() const
const Aws::String & GetClusterArn() const
CoverageEc2InstanceDetails & WithClusterArn(ClusterArnT &&value)
void SetInstanceType(InstanceTypeT &&value)
void SetInstanceId(InstanceIdT &&value)
bool AgentDetailsHasBeenSet() const
CoverageEc2InstanceDetails & WithInstanceType(InstanceTypeT &&value)
void SetManagementType(ManagementType value)
CoverageEc2InstanceDetails & WithAgentDetails(AgentDetailsT &&value)
ManagementType GetManagementType() const
const Aws::String & GetInstanceId() const
bool InstanceTypeHasBeenSet() const
AWS_GUARDDUTY_API CoverageEc2InstanceDetails()=default
bool ManagementTypeHasBeenSet() const
bool InstanceIdHasBeenSet() const
void SetAgentDetails(AgentDetailsT &&value)
const Aws::String & GetInstanceType() const
bool ClusterArnHasBeenSet() const
CoverageEc2InstanceDetails & WithManagementType(ManagementType value)
AWS_GUARDDUTY_API CoverageEc2InstanceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
CoverageEc2InstanceDetails & WithInstanceId(InstanceIdT &&value)
void SetClusterArn(ClusterArnT &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue