/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace GameLift { namespace Model { class DescribeVpcPeeringConnectionsResult { public: AWS_GAMELIFT_API DescribeVpcPeeringConnectionsResult(); AWS_GAMELIFT_API DescribeVpcPeeringConnectionsResult(const Aws::AmazonWebServiceResult& result); AWS_GAMELIFT_API 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; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeVpcPeeringConnectionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeVpcPeeringConnectionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeVpcPeeringConnectionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_vpcPeeringConnections; Aws::String m_requestId; }; } // namespace Model } // namespace GameLift } // namespace Aws