AWS SDK for C++  1.9.108
AWS SDK for C++
CreateTransitGatewayPeeringAttachmentResponse.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 
39  inline const TransitGatewayPeeringAttachment& GetTransitGatewayPeeringAttachment() const{ return m_transitGatewayPeeringAttachment; }
40 
44  inline void SetTransitGatewayPeeringAttachment(const TransitGatewayPeeringAttachment& value) { m_transitGatewayPeeringAttachment = value; }
45 
49  inline void SetTransitGatewayPeeringAttachment(TransitGatewayPeeringAttachment&& value) { m_transitGatewayPeeringAttachment = std::move(value); }
50 
54  inline CreateTransitGatewayPeeringAttachmentResponse& WithTransitGatewayPeeringAttachment(const TransitGatewayPeeringAttachment& value) { SetTransitGatewayPeeringAttachment(value); return *this;}
55 
59  inline CreateTransitGatewayPeeringAttachmentResponse& WithTransitGatewayPeeringAttachment(TransitGatewayPeeringAttachment&& value) { SetTransitGatewayPeeringAttachment(std::move(value)); return *this;}
60 
61 
62 
63  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
64 
65 
66  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
67 
68 
69  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
70 
71 
72  inline CreateTransitGatewayPeeringAttachmentResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
73 
74 
75  inline CreateTransitGatewayPeeringAttachmentResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
76 
77  private:
78 
79  TransitGatewayPeeringAttachment m_transitGatewayPeeringAttachment;
80 
81  ResponseMetadata m_responseMetadata;
82  };
83 
84 } // namespace Model
85 } // namespace EC2
86 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::TransitGatewayPeeringAttachment
Definition: TransitGatewayPeeringAttachment.h:39
Aws::EC2::Model::CreateTransitGatewayPeeringAttachmentResponse::WithResponseMetadata
CreateTransitGatewayPeeringAttachmentResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: CreateTransitGatewayPeeringAttachmentResponse.h:72
Aws::EC2::Model::CreateTransitGatewayPeeringAttachmentResponse
Definition: CreateTransitGatewayPeeringAttachmentResponse.h:29
Aws::EC2::Model::CreateTransitGatewayPeeringAttachmentResponse::WithTransitGatewayPeeringAttachment
CreateTransitGatewayPeeringAttachmentResponse & WithTransitGatewayPeeringAttachment(TransitGatewayPeeringAttachment &&value)
Definition: CreateTransitGatewayPeeringAttachmentResponse.h:59
Aws::EC2::Model::CreateTransitGatewayPeeringAttachmentResponse::WithResponseMetadata
CreateTransitGatewayPeeringAttachmentResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: CreateTransitGatewayPeeringAttachmentResponse.h:75
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::CreateTransitGatewayPeeringAttachmentResponse::operator=
CreateTransitGatewayPeeringAttachmentResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::CreateTransitGatewayPeeringAttachmentResponse::WithTransitGatewayPeeringAttachment
CreateTransitGatewayPeeringAttachmentResponse & WithTransitGatewayPeeringAttachment(const TransitGatewayPeeringAttachment &value)
Definition: CreateTransitGatewayPeeringAttachmentResponse.h:54
Aws::EC2::Model::CreateTransitGatewayPeeringAttachmentResponse::SetTransitGatewayPeeringAttachment
void SetTransitGatewayPeeringAttachment(const TransitGatewayPeeringAttachment &value)
Definition: CreateTransitGatewayPeeringAttachmentResponse.h:44
Aws::EC2::Model::CreateTransitGatewayPeeringAttachmentResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CreateTransitGatewayPeeringAttachmentResponse.h:63
Aws::EC2::Model::CreateTransitGatewayPeeringAttachmentResponse::GetTransitGatewayPeeringAttachment
const TransitGatewayPeeringAttachment & GetTransitGatewayPeeringAttachment() const
Definition: CreateTransitGatewayPeeringAttachmentResponse.h:39
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::CreateTransitGatewayPeeringAttachmentResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CreateTransitGatewayPeeringAttachmentResponse.h:69
Aws::EC2::Model::CreateTransitGatewayPeeringAttachmentResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CreateTransitGatewayPeeringAttachmentResponse.h:66
Aws::EC2::Model::CreateTransitGatewayPeeringAttachmentResponse::CreateTransitGatewayPeeringAttachmentResponse
CreateTransitGatewayPeeringAttachmentResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
TransitGatewayPeeringAttachment.h
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::CreateTransitGatewayPeeringAttachmentResponse::CreateTransitGatewayPeeringAttachmentResponse
CreateTransitGatewayPeeringAttachmentResponse()
Aws::EC2::Model::CreateTransitGatewayPeeringAttachmentResponse::SetTransitGatewayPeeringAttachment
void SetTransitGatewayPeeringAttachment(TransitGatewayPeeringAttachment &&value)
Definition: CreateTransitGatewayPeeringAttachmentResponse.h:49
EC2_EXPORTS.h