/** * 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 CodeDeploy { namespace Model { /** *

Represents the output of a BatchGetOnPremisesInstances * operation.

See Also:

AWS * API Reference

*/ class AWS_CODEDEPLOY_API BatchGetOnPremisesInstancesResult { public: BatchGetOnPremisesInstancesResult(); BatchGetOnPremisesInstancesResult(const Aws::AmazonWebServiceResult& result); BatchGetOnPremisesInstancesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the on-premises instances.

*/ inline const Aws::Vector& GetInstanceInfos() const{ return m_instanceInfos; } /** *

Information about the on-premises instances.

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

Information about the on-premises instances.

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

Information about the on-premises instances.

*/ inline BatchGetOnPremisesInstancesResult& WithInstanceInfos(const Aws::Vector& value) { SetInstanceInfos(value); return *this;} /** *

Information about the on-premises instances.

*/ inline BatchGetOnPremisesInstancesResult& WithInstanceInfos(Aws::Vector&& value) { SetInstanceInfos(std::move(value)); return *this;} /** *

Information about the on-premises instances.

*/ inline BatchGetOnPremisesInstancesResult& AddInstanceInfos(const InstanceInfo& value) { m_instanceInfos.push_back(value); return *this; } /** *

Information about the on-premises instances.

*/ inline BatchGetOnPremisesInstancesResult& AddInstanceInfos(InstanceInfo&& value) { m_instanceInfos.push_back(std::move(value)); return *this; } private: Aws::Vector m_instanceInfos; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws