AWS SDK for C++  1.7.226
AWS SDK for C++
DescribeVpcPeeringConnectionsResult.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 
16 #pragma once
20 #include <utility>
21 
22 namespace Aws
23 {
24 template<typename RESULT_TYPE>
25 class AmazonWebServiceResult;
26 
27 namespace Utils
28 {
29 namespace Json
30 {
31  class JsonValue;
32 } // namespace Json
33 } // namespace Utils
34 namespace GameLift
35 {
36 namespace Model
37 {
45  {
46  public:
50 
51 
55  inline const Aws::Vector<VpcPeeringConnection>& GetVpcPeeringConnections() const{ return m_vpcPeeringConnections; }
56 
60  inline void SetVpcPeeringConnections(const Aws::Vector<VpcPeeringConnection>& value) { m_vpcPeeringConnections = value; }
61 
65  inline void SetVpcPeeringConnections(Aws::Vector<VpcPeeringConnection>&& value) { m_vpcPeeringConnections = std::move(value); }
66 
70  inline DescribeVpcPeeringConnectionsResult& WithVpcPeeringConnections(const Aws::Vector<VpcPeeringConnection>& value) { SetVpcPeeringConnections(value); return *this;}
71 
75  inline DescribeVpcPeeringConnectionsResult& WithVpcPeeringConnections(Aws::Vector<VpcPeeringConnection>&& value) { SetVpcPeeringConnections(std::move(value)); return *this;}
76 
80  inline DescribeVpcPeeringConnectionsResult& AddVpcPeeringConnections(const VpcPeeringConnection& value) { m_vpcPeeringConnections.push_back(value); return *this; }
81 
85  inline DescribeVpcPeeringConnectionsResult& AddVpcPeeringConnections(VpcPeeringConnection&& value) { m_vpcPeeringConnections.push_back(std::move(value)); return *this; }
86 
87  private:
88 
89  Aws::Vector<VpcPeeringConnection> m_vpcPeeringConnections;
90  };
91 
92 } // namespace Model
93 } // namespace GameLift
94 } // namespace Aws
#define AWS_GAMELIFT_API
void SetVpcPeeringConnections(const Aws::Vector< VpcPeeringConnection > &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeVpcPeeringConnectionsResult & AddVpcPeeringConnections(const VpcPeeringConnection &value)
void SetVpcPeeringConnections(Aws::Vector< VpcPeeringConnection > &&value)
DescribeVpcPeeringConnectionsResult & WithVpcPeeringConnections(Aws::Vector< VpcPeeringConnection > &&value)
const Aws::Vector< VpcPeeringConnection > & GetVpcPeeringConnections() const
DescribeVpcPeeringConnectionsResult & AddVpcPeeringConnections(VpcPeeringConnection &&value)
DescribeVpcPeeringConnectionsResult & WithVpcPeeringConnections(const Aws::Vector< VpcPeeringConnection > &value)