/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace GroundStation { namespace Model { /** *

Detailed information about the agent.

See Also:

AWS * API Reference

*/ class AgentDetails { public: AWS_GROUNDSTATION_API AgentDetails(); AWS_GROUNDSTATION_API AgentDetails(Aws::Utils::Json::JsonView jsonValue); AWS_GROUNDSTATION_API AgentDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

List of CPU cores reserved for the agent.

*/ inline const Aws::Vector& GetAgentCpuCores() const{ return m_agentCpuCores; } /** *

List 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::Vector& value) { m_agentCpuCoresHasBeenSet = true; m_agentCpuCores = value; } /** *

List of CPU cores reserved for the agent.

*/ inline void SetAgentCpuCores(Aws::Vector&& value) { m_agentCpuCoresHasBeenSet = true; m_agentCpuCores = std::move(value); } /** *

List of CPU cores reserved for the agent.

*/ inline AgentDetails& WithAgentCpuCores(const Aws::Vector& value) { SetAgentCpuCores(value); return *this;} /** *

List of CPU cores reserved for the agent.

*/ inline AgentDetails& WithAgentCpuCores(Aws::Vector&& value) { SetAgentCpuCores(std::move(value)); return *this;} /** *

List 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::Vector& GetComponentVersions() const{ return m_componentVersions; } /** *

List 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::Vector& value) { m_componentVersionsHasBeenSet = true; m_componentVersions = value; } /** *

List of versions being used by agent components.

*/ inline void SetComponentVersions(Aws::Vector&& value) { m_componentVersionsHasBeenSet = true; m_componentVersions = std::move(value); } /** *

List of versions being used by agent components.

*/ inline AgentDetails& WithComponentVersions(const Aws::Vector& value) { SetComponentVersions(value); return *this;} /** *

List of versions being used by agent components.

*/ inline AgentDetails& WithComponentVersions(Aws::Vector&& value) { SetComponentVersions(std::move(value)); return *this;} /** *

List 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::Vector& GetReservedCpuCores() const{ return m_reservedCpuCores; } /** *

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 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::Vector& value) { m_reservedCpuCoresHasBeenSet = true; m_reservedCpuCores = value; } /** *

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(Aws::Vector&& value) { m_reservedCpuCoresHasBeenSet = true; m_reservedCpuCores = std::move(value); } /** *

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 AgentDetails& WithReservedCpuCores(const Aws::Vector& value) { SetReservedCpuCores(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 AgentDetails& WithReservedCpuCores(Aws::Vector&& value) { SetReservedCpuCores(std::move(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 AgentDetails& AddReservedCpuCores(int value) { m_reservedCpuCoresHasBeenSet = true; m_reservedCpuCores.push_back(value); return *this; } private: Aws::Vector m_agentCpuCores; bool m_agentCpuCoresHasBeenSet = false; Aws::String m_agentVersion; bool m_agentVersionHasBeenSet = false; Aws::Vector m_componentVersions; bool m_componentVersionsHasBeenSet = false; Aws::String m_instanceId; bool m_instanceIdHasBeenSet = false; Aws::String m_instanceType; bool m_instanceTypeHasBeenSet = false; Aws::Vector m_reservedCpuCores; bool m_reservedCpuCoresHasBeenSet = false; }; } // namespace Model } // namespace GroundStation } // namespace Aws