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

Represents the returned data in response to a request action.

See * Also:

AWS * API Reference

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

A collection of VPC peering connection records that match the request.

*/ inline const Aws::Vector& GetVpcPeeringConnections() const{ return m_vpcPeeringConnections; } /** *

A collection of VPC peering connection records that match the request.

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

A collection of VPC peering connection records that match the request.

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

A collection of VPC peering connection records that match the request.

*/ inline DescribeVpcPeeringConnectionsResult& WithVpcPeeringConnections(const Aws::Vector& value) { SetVpcPeeringConnections(value); return *this;} /** *

A collection of VPC peering connection records that match the request.

*/ inline DescribeVpcPeeringConnectionsResult& WithVpcPeeringConnections(Aws::Vector&& value) { SetVpcPeeringConnections(std::move(value)); return *this;} /** *

A collection of VPC peering connection records that match the request.

*/ inline DescribeVpcPeeringConnectionsResult& AddVpcPeeringConnections(const VpcPeeringConnection& value) { m_vpcPeeringConnections.push_back(value); return *this; } /** *

A collection of VPC peering connection records that match the request.

*/ inline DescribeVpcPeeringConnectionsResult& AddVpcPeeringConnections(VpcPeeringConnection&& value) { m_vpcPeeringConnections.push_back(std::move(value)); return *this; } private: Aws::Vector m_vpcPeeringConnections; }; } // namespace Model } // namespace GameLift } // namespace Aws