AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchTransitGatewayRoutesResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/model/ResponseMetadata.h>
10#include <aws/ec2/model/TransitGatewayRoute.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace EC2
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Aws::Vector<TransitGatewayRoute>& GetRoutes() const{ return m_routes; }
42 inline void SetRoutes(const Aws::Vector<TransitGatewayRoute>& value) { m_routes = value; }
43 inline void SetRoutes(Aws::Vector<TransitGatewayRoute>&& value) { m_routes = std::move(value); }
46 inline SearchTransitGatewayRoutesResponse& AddRoutes(const TransitGatewayRoute& value) { m_routes.push_back(value); return *this; }
47 inline SearchTransitGatewayRoutesResponse& AddRoutes(TransitGatewayRoute&& value) { m_routes.push_back(std::move(value)); return *this; }
49
51
54 inline bool GetAdditionalRoutesAvailable() const{ return m_additionalRoutesAvailable; }
55 inline void SetAdditionalRoutesAvailable(bool value) { m_additionalRoutesAvailable = value; }
58
60
61 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
62 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
63 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
67 private:
68
70
71 bool m_additionalRoutesAvailable;
72
73 ResponseMetadata m_responseMetadata;
74 };
75
76} // namespace Model
77} // namespace EC2
78} // namespace Aws
void SetRoutes(const Aws::Vector< TransitGatewayRoute > &value)
AWS_EC2_API SearchTransitGatewayRoutesResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetRoutes(Aws::Vector< TransitGatewayRoute > &&value)
AWS_EC2_API SearchTransitGatewayRoutesResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
SearchTransitGatewayRoutesResponse & AddRoutes(const TransitGatewayRoute &value)
SearchTransitGatewayRoutesResponse & AddRoutes(TransitGatewayRoute &&value)
SearchTransitGatewayRoutesResponse & WithResponseMetadata(const ResponseMetadata &value)
SearchTransitGatewayRoutesResponse & WithResponseMetadata(ResponseMetadata &&value)
SearchTransitGatewayRoutesResponse & WithAdditionalRoutesAvailable(bool value)
const Aws::Vector< TransitGatewayRoute > & GetRoutes() const
SearchTransitGatewayRoutesResponse & WithRoutes(Aws::Vector< TransitGatewayRoute > &&value)
SearchTransitGatewayRoutesResponse & WithRoutes(const Aws::Vector< TransitGatewayRoute > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument