/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ServiceDiscovery { namespace Model { class AWS_SERVICEDISCOVERY_API DiscoverInstancesResult { public: DiscoverInstancesResult(); DiscoverInstancesResult(const Aws::AmazonWebServiceResult& result); DiscoverInstancesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A complex type that contains one HttpInstanceSummary for each * registered instance.

*/ inline const Aws::Vector& GetInstances() const{ return m_instances; } /** *

A complex type that contains one HttpInstanceSummary for each * registered instance.

*/ inline void SetInstances(const Aws::Vector& value) { m_instances = value; } /** *

A complex type that contains one HttpInstanceSummary for each * registered instance.

*/ inline void SetInstances(Aws::Vector&& value) { m_instances = std::move(value); } /** *

A complex type that contains one HttpInstanceSummary for each * registered instance.

*/ inline DiscoverInstancesResult& WithInstances(const Aws::Vector& value) { SetInstances(value); return *this;} /** *

A complex type that contains one HttpInstanceSummary for each * registered instance.

*/ inline DiscoverInstancesResult& WithInstances(Aws::Vector&& value) { SetInstances(std::move(value)); return *this;} /** *

A complex type that contains one HttpInstanceSummary for each * registered instance.

*/ inline DiscoverInstancesResult& AddInstances(const HttpInstanceSummary& value) { m_instances.push_back(value); return *this; } /** *

A complex type that contains one HttpInstanceSummary for each * registered instance.

*/ inline DiscoverInstancesResult& AddInstances(HttpInstanceSummary&& value) { m_instances.push_back(std::move(value)); return *this; } private: Aws::Vector m_instances; }; } // namespace Model } // namespace ServiceDiscovery } // namespace Aws