/** * 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 GroundStation { namespace Model { /** */ class RegisterAgentRequest : public GroundStationRequest { public: AWS_GROUNDSTATION_API RegisterAgentRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "RegisterAgent"; } AWS_GROUNDSTATION_API Aws::String SerializePayload() const override; /** *

Detailed information about the agent being registered.

*/ inline const AgentDetails& GetAgentDetails() const{ return m_agentDetails; } /** *

Detailed information about the agent being registered.

*/ inline bool AgentDetailsHasBeenSet() const { return m_agentDetailsHasBeenSet; } /** *

Detailed information about the agent being registered.

*/ inline void SetAgentDetails(const AgentDetails& value) { m_agentDetailsHasBeenSet = true; m_agentDetails = value; } /** *

Detailed information about the agent being registered.

*/ inline void SetAgentDetails(AgentDetails&& value) { m_agentDetailsHasBeenSet = true; m_agentDetails = std::move(value); } /** *

Detailed information about the agent being registered.

*/ inline RegisterAgentRequest& WithAgentDetails(const AgentDetails& value) { SetAgentDetails(value); return *this;} /** *

Detailed information about the agent being registered.

*/ inline RegisterAgentRequest& WithAgentDetails(AgentDetails&& value) { SetAgentDetails(std::move(value)); return *this;} /** *

Data for associating an agent with the capabilities it is managing.

*/ inline const DiscoveryData& GetDiscoveryData() const{ return m_discoveryData; } /** *

Data for associating an agent with the capabilities it is managing.

*/ inline bool DiscoveryDataHasBeenSet() const { return m_discoveryDataHasBeenSet; } /** *

Data for associating an agent with the capabilities it is managing.

*/ inline void SetDiscoveryData(const DiscoveryData& value) { m_discoveryDataHasBeenSet = true; m_discoveryData = value; } /** *

Data for associating an agent with the capabilities it is managing.

*/ inline void SetDiscoveryData(DiscoveryData&& value) { m_discoveryDataHasBeenSet = true; m_discoveryData = std::move(value); } /** *

Data for associating an agent with the capabilities it is managing.

*/ inline RegisterAgentRequest& WithDiscoveryData(const DiscoveryData& value) { SetDiscoveryData(value); return *this;} /** *

Data for associating an agent with the capabilities it is managing.

*/ inline RegisterAgentRequest& WithDiscoveryData(DiscoveryData&& value) { SetDiscoveryData(std::move(value)); return *this;} private: AgentDetails m_agentDetails; bool m_agentDetailsHasBeenSet = false; DiscoveryData m_discoveryData; bool m_discoveryDataHasBeenSet = false; }; } // namespace Model } // namespace GroundStation } // namespace Aws