/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Detailed information about the agent.See Also:
AWS
* API Reference
List of CPU cores reserved for the agent.
*/ inline const Aws::VectorList of CPU cores reserved for the agent.
*/ inline bool AgentCpuCoresHasBeenSet() const { return m_agentCpuCoresHasBeenSet; } /** *List of CPU cores reserved for the agent.
*/ inline void SetAgentCpuCores(const Aws::VectorList of CPU cores reserved for the agent.
*/ inline void SetAgentCpuCores(Aws::VectorList of CPU cores reserved for the agent.
*/ inline AgentDetails& WithAgentCpuCores(const Aws::VectorList of CPU cores reserved for the agent.
*/ inline AgentDetails& WithAgentCpuCores(Aws::VectorList of CPU cores reserved for the agent.
*/ inline AgentDetails& AddAgentCpuCores(int value) { m_agentCpuCoresHasBeenSet = true; m_agentCpuCores.push_back(value); return *this; } /** *Current agent version.
*/ inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; } /** *Current agent version.
*/ inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; } /** *Current agent version.
*/ inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; } /** *Current agent version.
*/ inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); } /** *Current agent version.
*/ inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); } /** *Current agent version.
*/ inline AgentDetails& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;} /** *Current agent version.
*/ inline AgentDetails& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;} /** *Current agent version.
*/ inline AgentDetails& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;} /** *List of versions being used by agent components.
*/ inline const Aws::VectorList of versions being used by agent components.
*/ inline bool ComponentVersionsHasBeenSet() const { return m_componentVersionsHasBeenSet; } /** *List of versions being used by agent components.
*/ inline void SetComponentVersions(const Aws::VectorList of versions being used by agent components.
*/ inline void SetComponentVersions(Aws::VectorList of versions being used by agent components.
*/ inline AgentDetails& WithComponentVersions(const Aws::VectorList of versions being used by agent components.
*/ inline AgentDetails& WithComponentVersions(Aws::VectorList of versions being used by agent components.
*/ inline AgentDetails& AddComponentVersions(const ComponentVersion& value) { m_componentVersionsHasBeenSet = true; m_componentVersions.push_back(value); return *this; } /** *List of versions being used by agent components.
*/ inline AgentDetails& AddComponentVersions(ComponentVersion&& value) { m_componentVersionsHasBeenSet = true; m_componentVersions.push_back(std::move(value)); return *this; } /** *ID of EC2 instance agent is running on.
*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } /** *ID of EC2 instance agent is running on.
*/ inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } /** *ID of EC2 instance agent is running on.
*/ inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } /** *ID of EC2 instance agent is running on.
*/ inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } /** *ID of EC2 instance agent is running on.
*/ inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } /** *ID of EC2 instance agent is running on.
*/ inline AgentDetails& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} /** *ID of EC2 instance agent is running on.
*/ inline AgentDetails& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} /** *ID of EC2 instance agent is running on.
*/ inline AgentDetails& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} /** *Type of EC2 instance agent is running on.
*/ inline const Aws::String& GetInstanceType() const{ return m_instanceType; } /** *Type of EC2 instance agent is running on.
*/ inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } /** *Type of EC2 instance agent is running on.
*/ inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; } /** *Type of EC2 instance agent is running on.
*/ inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); } /** *Type of EC2 instance agent is running on.
*/ inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); } /** *Type of EC2 instance agent is running on.
*/ inline AgentDetails& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;} /** *Type of EC2 instance agent is running on.
*/ inline AgentDetails& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;} /** *Type of EC2 instance agent is running on.
*/ inline AgentDetails& WithInstanceType(const char* value) { SetInstanceType(value); return *this;} /** *This field should not be used. Use agentCpuCores instead.
*List of CPU cores reserved for processes other than the agent running on the * EC2 instance.
*/ inline const Aws::VectorThis field should not be used. Use agentCpuCores instead.
*List of CPU cores reserved for processes other than the agent running on the * EC2 instance.
*/ inline bool ReservedCpuCoresHasBeenSet() const { return m_reservedCpuCoresHasBeenSet; } /** *This field should not be used. Use agentCpuCores instead.
*List of CPU cores reserved for processes other than the agent running on the * EC2 instance.
*/ inline void SetReservedCpuCores(const Aws::VectorThis field should not be used. Use agentCpuCores instead.
*List of CPU cores reserved for processes other than the agent running on the * EC2 instance.
*/ inline void SetReservedCpuCores(Aws::VectorThis field should not be used. Use agentCpuCores instead.
*List of CPU cores reserved for processes other than the agent running on the * EC2 instance.
*/ inline AgentDetails& WithReservedCpuCores(const Aws::VectorThis field should not be used. Use agentCpuCores instead.
*List of CPU cores reserved for processes other than the agent running on the * EC2 instance.
*/ inline AgentDetails& WithReservedCpuCores(Aws::VectorThis field should not be used. Use agentCpuCores instead.
*List of CPU cores reserved for processes other than the agent running on the * EC2 instance.
*/ inline AgentDetails& AddReservedCpuCores(int value) { m_reservedCpuCoresHasBeenSet = true; m_reservedCpuCores.push_back(value); return *this; } private: Aws::Vector