AWS SDK for C++  1.9.103
AWS SDK for C++
DescribeVpcPeeringAuthorizationsResult.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 {
29  {
30  public:
34 
35 
40  inline const Aws::Vector<VpcPeeringAuthorization>& GetVpcPeeringAuthorizations() const{ return m_vpcPeeringAuthorizations; }
41 
46  inline void SetVpcPeeringAuthorizations(const Aws::Vector<VpcPeeringAuthorization>& value) { m_vpcPeeringAuthorizations = value; }
47 
52  inline void SetVpcPeeringAuthorizations(Aws::Vector<VpcPeeringAuthorization>&& value) { m_vpcPeeringAuthorizations = std::move(value); }
53 
58  inline DescribeVpcPeeringAuthorizationsResult& WithVpcPeeringAuthorizations(const Aws::Vector<VpcPeeringAuthorization>& value) { SetVpcPeeringAuthorizations(value); return *this;}
59 
64  inline DescribeVpcPeeringAuthorizationsResult& WithVpcPeeringAuthorizations(Aws::Vector<VpcPeeringAuthorization>&& value) { SetVpcPeeringAuthorizations(std::move(value)); return *this;}
65 
70  inline DescribeVpcPeeringAuthorizationsResult& AddVpcPeeringAuthorizations(const VpcPeeringAuthorization& value) { m_vpcPeeringAuthorizations.push_back(value); return *this; }
71 
76  inline DescribeVpcPeeringAuthorizationsResult& AddVpcPeeringAuthorizations(VpcPeeringAuthorization&& value) { m_vpcPeeringAuthorizations.push_back(std::move(value)); return *this; }
77 
78  private:
79 
80  Aws::Vector<VpcPeeringAuthorization> m_vpcPeeringAuthorizations;
81  };
82 
83 } // namespace Model
84 } // namespace GameLift
85 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::DescribeVpcPeeringAuthorizationsResult::SetVpcPeeringAuthorizations
void SetVpcPeeringAuthorizations(Aws::Vector< VpcPeeringAuthorization > &&value)
Definition: DescribeVpcPeeringAuthorizationsResult.h:52
Aws::GameLift::Model::DescribeVpcPeeringAuthorizationsResult::AddVpcPeeringAuthorizations
DescribeVpcPeeringAuthorizationsResult & AddVpcPeeringAuthorizations(VpcPeeringAuthorization &&value)
Definition: DescribeVpcPeeringAuthorizationsResult.h:76
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DescribeVpcPeeringAuthorizationsResult::operator=
DescribeVpcPeeringAuthorizationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::DescribeVpcPeeringAuthorizationsResult::DescribeVpcPeeringAuthorizationsResult
DescribeVpcPeeringAuthorizationsResult()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::GameLift::Model::DescribeVpcPeeringAuthorizationsResult::WithVpcPeeringAuthorizations
DescribeVpcPeeringAuthorizationsResult & WithVpcPeeringAuthorizations(Aws::Vector< VpcPeeringAuthorization > &&value)
Definition: DescribeVpcPeeringAuthorizationsResult.h:64
Aws::GameLift::Model::DescribeVpcPeeringAuthorizationsResult::AddVpcPeeringAuthorizations
DescribeVpcPeeringAuthorizationsResult & AddVpcPeeringAuthorizations(const VpcPeeringAuthorization &value)
Definition: DescribeVpcPeeringAuthorizationsResult.h:70
GameLift_EXPORTS.h
Aws::GameLift::Model::DescribeVpcPeeringAuthorizationsResult::WithVpcPeeringAuthorizations
DescribeVpcPeeringAuthorizationsResult & WithVpcPeeringAuthorizations(const Aws::Vector< VpcPeeringAuthorization > &value)
Definition: DescribeVpcPeeringAuthorizationsResult.h:58
VpcPeeringAuthorization.h
Aws::GameLift::Model::VpcPeeringAuthorization
Definition: VpcPeeringAuthorization.h:42
Aws::GameLift::Model::DescribeVpcPeeringAuthorizationsResult::SetVpcPeeringAuthorizations
void SetVpcPeeringAuthorizations(const Aws::Vector< VpcPeeringAuthorization > &value)
Definition: DescribeVpcPeeringAuthorizationsResult.h:46
Aws::GameLift::Model::DescribeVpcPeeringAuthorizationsResult
Definition: DescribeVpcPeeringAuthorizationsResult.h:29
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::DescribeVpcPeeringAuthorizationsResult::DescribeVpcPeeringAuthorizationsResult
DescribeVpcPeeringAuthorizationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::DescribeVpcPeeringAuthorizationsResult::GetVpcPeeringAuthorizations
const Aws::Vector< VpcPeeringAuthorization > & GetVpcPeeringAuthorizations() const
Definition: DescribeVpcPeeringAuthorizationsResult.h:40