AWS SDK for C++  1.9.46
AWS SDK for C++
DescribeVpcPeeringConnectionsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace GameLift
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
45  inline const Aws::Vector<VpcPeeringConnection>& GetVpcPeeringConnections() const{ return m_vpcPeeringConnections; }
46 
50  inline void SetVpcPeeringConnections(const Aws::Vector<VpcPeeringConnection>& value) { m_vpcPeeringConnections = value; }
51 
55  inline void SetVpcPeeringConnections(Aws::Vector<VpcPeeringConnection>&& value) { m_vpcPeeringConnections = std::move(value); }
56 
60  inline DescribeVpcPeeringConnectionsResult& WithVpcPeeringConnections(const Aws::Vector<VpcPeeringConnection>& value) { SetVpcPeeringConnections(value); return *this;}
61 
65  inline DescribeVpcPeeringConnectionsResult& WithVpcPeeringConnections(Aws::Vector<VpcPeeringConnection>&& value) { SetVpcPeeringConnections(std::move(value)); return *this;}
66 
70  inline DescribeVpcPeeringConnectionsResult& AddVpcPeeringConnections(const VpcPeeringConnection& value) { m_vpcPeeringConnections.push_back(value); return *this; }
71 
75  inline DescribeVpcPeeringConnectionsResult& AddVpcPeeringConnections(VpcPeeringConnection&& value) { m_vpcPeeringConnections.push_back(std::move(value)); return *this; }
76 
77  private:
78 
79  Aws::Vector<VpcPeeringConnection> m_vpcPeeringConnections;
80  };
81 
82 } // namespace Model
83 } // namespace GameLift
84 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::DescribeVpcPeeringConnectionsResult::AddVpcPeeringConnections
DescribeVpcPeeringConnectionsResult & AddVpcPeeringConnections(const VpcPeeringConnection &value)
Definition: DescribeVpcPeeringConnectionsResult.h:70
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DescribeVpcPeeringConnectionsResult::DescribeVpcPeeringConnectionsResult
DescribeVpcPeeringConnectionsResult()
Aws::GameLift::Model::DescribeVpcPeeringConnectionsResult::GetVpcPeeringConnections
const Aws::Vector< VpcPeeringConnection > & GetVpcPeeringConnections() const
Definition: DescribeVpcPeeringConnectionsResult.h:45
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GameLift::Model::DescribeVpcPeeringConnectionsResult::WithVpcPeeringConnections
DescribeVpcPeeringConnectionsResult & WithVpcPeeringConnections(Aws::Vector< VpcPeeringConnection > &&value)
Definition: DescribeVpcPeeringConnectionsResult.h:65
AWSVector.h
GameLift_EXPORTS.h
Aws::GameLift::Model::DescribeVpcPeeringConnectionsResult
Definition: DescribeVpcPeeringConnectionsResult.h:35
Aws::GameLift::Model::DescribeVpcPeeringConnectionsResult::DescribeVpcPeeringConnectionsResult
DescribeVpcPeeringConnectionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::DescribeVpcPeeringConnectionsResult::AddVpcPeeringConnections
DescribeVpcPeeringConnectionsResult & AddVpcPeeringConnections(VpcPeeringConnection &&value)
Definition: DescribeVpcPeeringConnectionsResult.h:75
Aws::GameLift::Model::DescribeVpcPeeringConnectionsResult::SetVpcPeeringConnections
void SetVpcPeeringConnections(Aws::Vector< VpcPeeringConnection > &&value)
Definition: DescribeVpcPeeringConnectionsResult.h:55
Aws::GameLift::Model::VpcPeeringConnection
Definition: VpcPeeringConnection.h:41
VpcPeeringConnection.h
Aws::GameLift::Model::DescribeVpcPeeringConnectionsResult::operator=
DescribeVpcPeeringConnectionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::DescribeVpcPeeringConnectionsResult::SetVpcPeeringConnections
void SetVpcPeeringConnections(const Aws::Vector< VpcPeeringConnection > &value)
Definition: DescribeVpcPeeringConnectionsResult.h:50
Aws::GameLift::Model::DescribeVpcPeeringConnectionsResult::WithVpcPeeringConnections
DescribeVpcPeeringConnectionsResult & WithVpcPeeringConnections(const Aws::Vector< VpcPeeringConnection > &value)
Definition: DescribeVpcPeeringConnectionsResult.h:60