AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateRouteTableResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/model/RouteTableAssociationState.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
42 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
43 inline void SetAssociationId(const Aws::String& value) { m_associationId = value; }
44 inline void SetAssociationId(Aws::String&& value) { m_associationId = std::move(value); }
45 inline void SetAssociationId(const char* value) { m_associationId.assign(value); }
46 inline AssociateRouteTableResponse& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
47 inline AssociateRouteTableResponse& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
48 inline AssociateRouteTableResponse& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
50
52
55 inline const RouteTableAssociationState& GetAssociationState() const{ return m_associationState; }
56 inline void SetAssociationState(const RouteTableAssociationState& value) { m_associationState = value; }
57 inline void SetAssociationState(RouteTableAssociationState&& value) { m_associationState = std::move(value); }
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 AssociateRouteTableResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
70 private:
71
72 Aws::String m_associationId;
73
74 RouteTableAssociationState m_associationState;
75
76 ResponseMetadata m_responseMetadata;
77 };
78
79} // namespace Model
80} // namespace EC2
81} // namespace Aws
AssociateRouteTableResponse & WithAssociationId(const Aws::String &value)
AWS_EC2_API AssociateRouteTableResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_EC2_API AssociateRouteTableResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const RouteTableAssociationState & GetAssociationState() const
AssociateRouteTableResponse & WithAssociationId(const char *value)
void SetAssociationState(const RouteTableAssociationState &value)
void SetResponseMetadata(const ResponseMetadata &value)
AssociateRouteTableResponse & WithResponseMetadata(ResponseMetadata &&value)
AssociateRouteTableResponse & WithAssociationState(RouteTableAssociationState &&value)
AssociateRouteTableResponse & WithResponseMetadata(const ResponseMetadata &value)
void SetAssociationState(RouteTableAssociationState &&value)
AssociateRouteTableResponse & WithAssociationState(const RouteTableAssociationState &value)
AssociateRouteTableResponse & WithAssociationId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument