AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateRouteTableResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/model/RouteTable.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ResponseMetadata.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 RouteTable& GetRouteTable() const{ return m_routeTable; }
42 inline void SetRouteTable(const RouteTable& value) { m_routeTable = value; }
43 inline void SetRouteTable(RouteTable&& value) { m_routeTable = std::move(value); }
44 inline CreateRouteTableResponse& WithRouteTable(const RouteTable& value) { SetRouteTable(value); return *this;}
45 inline CreateRouteTableResponse& WithRouteTable(RouteTable&& value) { SetRouteTable(std::move(value)); return *this;}
47
49
53 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
54 inline void SetClientToken(const Aws::String& value) { m_clientToken = value; }
55 inline void SetClientToken(Aws::String&& value) { m_clientToken = std::move(value); }
56 inline void SetClientToken(const char* value) { m_clientToken.assign(value); }
57 inline CreateRouteTableResponse& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
58 inline CreateRouteTableResponse& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
59 inline CreateRouteTableResponse& WithClientToken(const char* value) { SetClientToken(value); return *this;}
61
63
64 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
65 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
66 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
68 inline CreateRouteTableResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
70 private:
71
72 RouteTable m_routeTable;
73
74 Aws::String m_clientToken;
75
76 ResponseMetadata m_responseMetadata;
77 };
78
79} // namespace Model
80} // namespace EC2
81} // namespace Aws
CreateRouteTableResponse & WithResponseMetadata(const ResponseMetadata &value)
CreateRouteTableResponse & WithRouteTable(const RouteTable &value)
CreateRouteTableResponse & WithRouteTable(RouteTable &&value)
const ResponseMetadata & GetResponseMetadata() const
void SetResponseMetadata(ResponseMetadata &&value)
void SetResponseMetadata(const ResponseMetadata &value)
CreateRouteTableResponse & WithResponseMetadata(ResponseMetadata &&value)
CreateRouteTableResponse & WithClientToken(const Aws::String &value)
CreateRouteTableResponse & WithClientToken(Aws::String &&value)
AWS_EC2_API CreateRouteTableResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateRouteTableResponse & WithClientToken(const char *value)
AWS_EC2_API CreateRouteTableResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument