AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplaceTransitGatewayRouteResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/model/TransitGatewayRoute.h>
9#include <aws/ec2/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace EC2
25{
26namespace Model
27{
29 {
30 public:
34
35
37
40 inline const TransitGatewayRoute& GetRoute() const{ return m_route; }
41 inline void SetRoute(const TransitGatewayRoute& value) { m_route = value; }
42 inline void SetRoute(TransitGatewayRoute&& value) { m_route = std::move(value); }
43 inline ReplaceTransitGatewayRouteResponse& WithRoute(const TransitGatewayRoute& value) { SetRoute(value); return *this;}
44 inline ReplaceTransitGatewayRouteResponse& WithRoute(TransitGatewayRoute&& value) { SetRoute(std::move(value)); return *this;}
46
48
49 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
50 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
51 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
55 private:
56
57 TransitGatewayRoute m_route;
58
59 ResponseMetadata m_responseMetadata;
60 };
61
62} // namespace Model
63} // namespace EC2
64} // namespace Aws
ReplaceTransitGatewayRouteResponse & WithRoute(const TransitGatewayRoute &value)
ReplaceTransitGatewayRouteResponse & WithResponseMetadata(const ResponseMetadata &value)
ReplaceTransitGatewayRouteResponse & WithResponseMetadata(ResponseMetadata &&value)
ReplaceTransitGatewayRouteResponse & WithRoute(TransitGatewayRoute &&value)
AWS_EC2_API ReplaceTransitGatewayRouteResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_EC2_API ReplaceTransitGatewayRouteResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Utils::Xml::XmlDocument XmlDocument