7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/model/AgentDetails.h>
10#include <aws/guardduty/model/ManagementType.h>
49 template<
typename InstanceIdT = Aws::String>
50 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
51 template<
typename InstanceIdT = Aws::String>
61 template<
typename InstanceTypeT = Aws::String>
62 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet =
true; m_instanceType = std::forward<InstanceTypeT>(value); }
63 template<
typename InstanceTypeT = Aws::String>
74 template<
typename ClusterArnT = Aws::String>
75 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet =
true; m_clusterArn = std::forward<ClusterArnT>(value); }
76 template<
typename ClusterArnT = Aws::String>
86 template<
typename AgentDetailsT = AgentDetails>
87 void SetAgentDetails(AgentDetailsT&& value) { m_agentDetailsHasBeenSet =
true; m_agentDetails = std::forward<AgentDetailsT>(value); }
88 template<
typename AgentDetailsT = AgentDetails>
110 bool m_instanceIdHasBeenSet =
false;
113 bool m_instanceTypeHasBeenSet =
false;
116 bool m_clusterArnHasBeenSet =
false;
119 bool m_agentDetailsHasBeenSet =
false;
122 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