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

Data for agent discovery.

See Also:

AWS * API Reference

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

List of capabilities to associate with agent.

*/ inline const Aws::Vector& GetCapabilityArns() const{ return m_capabilityArns; } /** *

List of capabilities to associate with agent.

*/ inline bool CapabilityArnsHasBeenSet() const { return m_capabilityArnsHasBeenSet; } /** *

List of capabilities to associate with agent.

*/ inline void SetCapabilityArns(const Aws::Vector& value) { m_capabilityArnsHasBeenSet = true; m_capabilityArns = value; } /** *

List of capabilities to associate with agent.

*/ inline void SetCapabilityArns(Aws::Vector&& value) { m_capabilityArnsHasBeenSet = true; m_capabilityArns = std::move(value); } /** *

List of capabilities to associate with agent.

*/ inline DiscoveryData& WithCapabilityArns(const Aws::Vector& value) { SetCapabilityArns(value); return *this;} /** *

List of capabilities to associate with agent.

*/ inline DiscoveryData& WithCapabilityArns(Aws::Vector&& value) { SetCapabilityArns(std::move(value)); return *this;} /** *

List of capabilities to associate with agent.

*/ inline DiscoveryData& AddCapabilityArns(const Aws::String& value) { m_capabilityArnsHasBeenSet = true; m_capabilityArns.push_back(value); return *this; } /** *

List of capabilities to associate with agent.

*/ inline DiscoveryData& AddCapabilityArns(Aws::String&& value) { m_capabilityArnsHasBeenSet = true; m_capabilityArns.push_back(std::move(value)); return *this; } /** *

List of capabilities to associate with agent.

*/ inline DiscoveryData& AddCapabilityArns(const char* value) { m_capabilityArnsHasBeenSet = true; m_capabilityArns.push_back(value); return *this; } /** *

List of private IP addresses to associate with agent.

*/ inline const Aws::Vector& GetPrivateIpAddresses() const{ return m_privateIpAddresses; } /** *

List of private IP addresses to associate with agent.

*/ inline bool PrivateIpAddressesHasBeenSet() const { return m_privateIpAddressesHasBeenSet; } /** *

List of private IP addresses to associate with agent.

*/ inline void SetPrivateIpAddresses(const Aws::Vector& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses = value; } /** *

List of private IP addresses to associate with agent.

*/ inline void SetPrivateIpAddresses(Aws::Vector&& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses = std::move(value); } /** *

List of private IP addresses to associate with agent.

*/ inline DiscoveryData& WithPrivateIpAddresses(const Aws::Vector& value) { SetPrivateIpAddresses(value); return *this;} /** *

List of private IP addresses to associate with agent.

*/ inline DiscoveryData& WithPrivateIpAddresses(Aws::Vector&& value) { SetPrivateIpAddresses(std::move(value)); return *this;} /** *

List of private IP addresses to associate with agent.

*/ inline DiscoveryData& AddPrivateIpAddresses(const Aws::String& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses.push_back(value); return *this; } /** *

List of private IP addresses to associate with agent.

*/ inline DiscoveryData& AddPrivateIpAddresses(Aws::String&& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses.push_back(std::move(value)); return *this; } /** *

List of private IP addresses to associate with agent.

*/ inline DiscoveryData& AddPrivateIpAddresses(const char* value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses.push_back(value); return *this; } /** *

List of public IP addresses to associate with agent.

*/ inline const Aws::Vector& GetPublicIpAddresses() const{ return m_publicIpAddresses; } /** *

List of public IP addresses to associate with agent.

*/ inline bool PublicIpAddressesHasBeenSet() const { return m_publicIpAddressesHasBeenSet; } /** *

List of public IP addresses to associate with agent.

*/ inline void SetPublicIpAddresses(const Aws::Vector& value) { m_publicIpAddressesHasBeenSet = true; m_publicIpAddresses = value; } /** *

List of public IP addresses to associate with agent.

*/ inline void SetPublicIpAddresses(Aws::Vector&& value) { m_publicIpAddressesHasBeenSet = true; m_publicIpAddresses = std::move(value); } /** *

List of public IP addresses to associate with agent.

*/ inline DiscoveryData& WithPublicIpAddresses(const Aws::Vector& value) { SetPublicIpAddresses(value); return *this;} /** *

List of public IP addresses to associate with agent.

*/ inline DiscoveryData& WithPublicIpAddresses(Aws::Vector&& value) { SetPublicIpAddresses(std::move(value)); return *this;} /** *

List of public IP addresses to associate with agent.

*/ inline DiscoveryData& AddPublicIpAddresses(const Aws::String& value) { m_publicIpAddressesHasBeenSet = true; m_publicIpAddresses.push_back(value); return *this; } /** *

List of public IP addresses to associate with agent.

*/ inline DiscoveryData& AddPublicIpAddresses(Aws::String&& value) { m_publicIpAddressesHasBeenSet = true; m_publicIpAddresses.push_back(std::move(value)); return *this; } /** *

List of public IP addresses to associate with agent.

*/ inline DiscoveryData& AddPublicIpAddresses(const char* value) { m_publicIpAddressesHasBeenSet = true; m_publicIpAddresses.push_back(value); return *this; } private: Aws::Vector m_capabilityArns; bool m_capabilityArnsHasBeenSet = false; Aws::Vector m_privateIpAddresses; bool m_privateIpAddressesHasBeenSet = false; Aws::Vector m_publicIpAddresses; bool m_publicIpAddressesHasBeenSet = false; }; } // namespace Model } // namespace GroundStation } // namespace Aws