AWS SDK for C++  1.9.75
AWS SDK for C++
ModifyVpcPeeringConnectionOptionsResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace EC2
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const PeeringConnectionOptions& GetAccepterPeeringConnectionOptions() const{ return m_accepterPeeringConnectionOptions; }
41 
46  inline void SetAccepterPeeringConnectionOptions(const PeeringConnectionOptions& value) { m_accepterPeeringConnectionOptions = value; }
47 
52  inline void SetAccepterPeeringConnectionOptions(PeeringConnectionOptions&& value) { m_accepterPeeringConnectionOptions = std::move(value); }
53 
58  inline ModifyVpcPeeringConnectionOptionsResponse& WithAccepterPeeringConnectionOptions(const PeeringConnectionOptions& value) { SetAccepterPeeringConnectionOptions(value); return *this;}
59 
64  inline ModifyVpcPeeringConnectionOptionsResponse& WithAccepterPeeringConnectionOptions(PeeringConnectionOptions&& value) { SetAccepterPeeringConnectionOptions(std::move(value)); return *this;}
65 
66 
71  inline const PeeringConnectionOptions& GetRequesterPeeringConnectionOptions() const{ return m_requesterPeeringConnectionOptions; }
72 
77  inline void SetRequesterPeeringConnectionOptions(const PeeringConnectionOptions& value) { m_requesterPeeringConnectionOptions = value; }
78 
83  inline void SetRequesterPeeringConnectionOptions(PeeringConnectionOptions&& value) { m_requesterPeeringConnectionOptions = std::move(value); }
84 
89  inline ModifyVpcPeeringConnectionOptionsResponse& WithRequesterPeeringConnectionOptions(const PeeringConnectionOptions& value) { SetRequesterPeeringConnectionOptions(value); return *this;}
90 
95  inline ModifyVpcPeeringConnectionOptionsResponse& WithRequesterPeeringConnectionOptions(PeeringConnectionOptions&& value) { SetRequesterPeeringConnectionOptions(std::move(value)); return *this;}
96 
97 
98 
99  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
100 
101 
102  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
103 
104 
105  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
106 
107 
108  inline ModifyVpcPeeringConnectionOptionsResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
109 
110 
111  inline ModifyVpcPeeringConnectionOptionsResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
112 
113  private:
114 
115  PeeringConnectionOptions m_accepterPeeringConnectionOptions;
116 
117  PeeringConnectionOptions m_requesterPeeringConnectionOptions;
118 
119  ResponseMetadata m_responseMetadata;
120  };
121 
122 } // namespace Model
123 } // namespace EC2
124 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::ModifyVpcPeeringConnectionOptionsResponse::WithAccepterPeeringConnectionOptions
ModifyVpcPeeringConnectionOptionsResponse & WithAccepterPeeringConnectionOptions(const PeeringConnectionOptions &value)
Definition: ModifyVpcPeeringConnectionOptionsResponse.h:58
Aws::EC2::Model::ModifyVpcPeeringConnectionOptionsResponse
Definition: ModifyVpcPeeringConnectionOptionsResponse.h:29
Aws::EC2::Model::ModifyVpcPeeringConnectionOptionsResponse::ModifyVpcPeeringConnectionOptionsResponse
ModifyVpcPeeringConnectionOptionsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::ModifyVpcPeeringConnectionOptionsResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ModifyVpcPeeringConnectionOptionsResponse.h:99
Aws::EC2::Model::ModifyVpcPeeringConnectionOptionsResponse::SetRequesterPeeringConnectionOptions
void SetRequesterPeeringConnectionOptions(PeeringConnectionOptions &&value)
Definition: ModifyVpcPeeringConnectionOptionsResponse.h:83
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::ModifyVpcPeeringConnectionOptionsResponse::WithRequesterPeeringConnectionOptions
ModifyVpcPeeringConnectionOptionsResponse & WithRequesterPeeringConnectionOptions(const PeeringConnectionOptions &value)
Definition: ModifyVpcPeeringConnectionOptionsResponse.h:89
Aws::EC2::Model::ModifyVpcPeeringConnectionOptionsResponse::SetAccepterPeeringConnectionOptions
void SetAccepterPeeringConnectionOptions(PeeringConnectionOptions &&value)
Definition: ModifyVpcPeeringConnectionOptionsResponse.h:52
Aws::EC2::Model::ModifyVpcPeeringConnectionOptionsResponse::WithResponseMetadata
ModifyVpcPeeringConnectionOptionsResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: ModifyVpcPeeringConnectionOptionsResponse.h:108
Aws::EC2::Model::ModifyVpcPeeringConnectionOptionsResponse::SetAccepterPeeringConnectionOptions
void SetAccepterPeeringConnectionOptions(const PeeringConnectionOptions &value)
Definition: ModifyVpcPeeringConnectionOptionsResponse.h:46
Aws::EC2::Model::ModifyVpcPeeringConnectionOptionsResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ModifyVpcPeeringConnectionOptionsResponse.h:102
PeeringConnectionOptions.h
Aws::EC2::Model::ModifyVpcPeeringConnectionOptionsResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ModifyVpcPeeringConnectionOptionsResponse.h:105
Aws::EC2::Model::ModifyVpcPeeringConnectionOptionsResponse::operator=
ModifyVpcPeeringConnectionOptionsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::ModifyVpcPeeringConnectionOptionsResponse::SetRequesterPeeringConnectionOptions
void SetRequesterPeeringConnectionOptions(const PeeringConnectionOptions &value)
Definition: ModifyVpcPeeringConnectionOptionsResponse.h:77
Aws::EC2::Model::ModifyVpcPeeringConnectionOptionsResponse::GetAccepterPeeringConnectionOptions
const PeeringConnectionOptions & GetAccepterPeeringConnectionOptions() const
Definition: ModifyVpcPeeringConnectionOptionsResponse.h:40
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::PeeringConnectionOptions
Definition: PeeringConnectionOptions.h:30
Aws::EC2::Model::ModifyVpcPeeringConnectionOptionsResponse::WithAccepterPeeringConnectionOptions
ModifyVpcPeeringConnectionOptionsResponse & WithAccepterPeeringConnectionOptions(PeeringConnectionOptions &&value)
Definition: ModifyVpcPeeringConnectionOptionsResponse.h:64
Aws::EC2::Model::ModifyVpcPeeringConnectionOptionsResponse::ModifyVpcPeeringConnectionOptionsResponse
ModifyVpcPeeringConnectionOptionsResponse()
Aws::EC2::Model::ModifyVpcPeeringConnectionOptionsResponse::WithRequesterPeeringConnectionOptions
ModifyVpcPeeringConnectionOptionsResponse & WithRequesterPeeringConnectionOptions(PeeringConnectionOptions &&value)
Definition: ModifyVpcPeeringConnectionOptionsResponse.h:95
Aws::EC2::Model::ModifyVpcPeeringConnectionOptionsResponse::GetRequesterPeeringConnectionOptions
const PeeringConnectionOptions & GetRequesterPeeringConnectionOptions() const
Definition: ModifyVpcPeeringConnectionOptionsResponse.h:71
Aws
Definition: AccessManagementClient.h:15
EC2_EXPORTS.h
Aws::EC2::Model::ModifyVpcPeeringConnectionOptionsResponse::WithResponseMetadata
ModifyVpcPeeringConnectionOptionsResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: ModifyVpcPeeringConnectionOptionsResponse.h:111