AWS SDK for C++  1.9.71
AWS SDK for C++
AssociateRouteTableResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace EC2
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::String& GetAssociationId() const{ return m_associationId; }
42 
47  inline void SetAssociationId(const Aws::String& value) { m_associationId = value; }
48 
53  inline void SetAssociationId(Aws::String&& value) { m_associationId = std::move(value); }
54 
59  inline void SetAssociationId(const char* value) { m_associationId.assign(value); }
60 
65  inline AssociateRouteTableResponse& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
66 
71  inline AssociateRouteTableResponse& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
72 
77  inline AssociateRouteTableResponse& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
78 
79 
83  inline const RouteTableAssociationState& GetAssociationState() const{ return m_associationState; }
84 
88  inline void SetAssociationState(const RouteTableAssociationState& value) { m_associationState = value; }
89 
93  inline void SetAssociationState(RouteTableAssociationState&& value) { m_associationState = std::move(value); }
94 
98  inline AssociateRouteTableResponse& WithAssociationState(const RouteTableAssociationState& value) { SetAssociationState(value); return *this;}
99 
103  inline AssociateRouteTableResponse& WithAssociationState(RouteTableAssociationState&& value) { SetAssociationState(std::move(value)); return *this;}
104 
105 
106 
107  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
108 
109 
110  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
111 
112 
113  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
114 
115 
116  inline AssociateRouteTableResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
117 
118 
119  inline AssociateRouteTableResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
120 
121  private:
122 
123  Aws::String m_associationId;
124 
125  RouteTableAssociationState m_associationState;
126 
127  ResponseMetadata m_responseMetadata;
128  };
129 
130 } // namespace Model
131 } // namespace EC2
132 } // namespace Aws
Aws::EC2::Model::AssociateRouteTableResponse::WithAssociationId
AssociateRouteTableResponse & WithAssociationId(const Aws::String &value)
Definition: AssociateRouteTableResponse.h:65
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::AssociateRouteTableResponse::WithAssociationId
AssociateRouteTableResponse & WithAssociationId(const char *value)
Definition: AssociateRouteTableResponse.h:77
Aws::EC2::Model::AssociateRouteTableResponse::SetAssociationId
void SetAssociationId(Aws::String &&value)
Definition: AssociateRouteTableResponse.h:53
Aws::EC2::Model::AssociateRouteTableResponse::WithResponseMetadata
AssociateRouteTableResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: AssociateRouteTableResponse.h:116
Aws::EC2::Model::AssociateRouteTableResponse
Definition: AssociateRouteTableResponse.h:30
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::AssociateRouteTableResponse::AssociateRouteTableResponse
AssociateRouteTableResponse()
Aws::EC2::Model::AssociateRouteTableResponse::SetAssociationState
void SetAssociationState(const RouteTableAssociationState &value)
Definition: AssociateRouteTableResponse.h:88
ResponseMetadata.h
Aws::EC2::Model::AssociateRouteTableResponse::SetAssociationId
void SetAssociationId(const Aws::String &value)
Definition: AssociateRouteTableResponse.h:47
Aws::EC2::Model::AssociateRouteTableResponse::WithAssociationState
AssociateRouteTableResponse & WithAssociationState(const RouteTableAssociationState &value)
Definition: AssociateRouteTableResponse.h:98
RouteTableAssociationState.h
Aws::EC2::Model::AssociateRouteTableResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: AssociateRouteTableResponse.h:107
Aws::EC2::Model::AssociateRouteTableResponse::SetAssociationState
void SetAssociationState(RouteTableAssociationState &&value)
Definition: AssociateRouteTableResponse.h:93
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::AssociateRouteTableResponse::operator=
AssociateRouteTableResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::AssociateRouteTableResponse::WithAssociationId
AssociateRouteTableResponse & WithAssociationId(Aws::String &&value)
Definition: AssociateRouteTableResponse.h:71
Aws::EC2::Model::RouteTableAssociationState
Definition: RouteTableAssociationState.h:34
Aws::EC2::Model::AssociateRouteTableResponse::SetAssociationId
void SetAssociationId(const char *value)
Definition: AssociateRouteTableResponse.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::AssociateRouteTableResponse::GetAssociationState
const RouteTableAssociationState & GetAssociationState() const
Definition: AssociateRouteTableResponse.h:83
Aws::EC2::Model::AssociateRouteTableResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: AssociateRouteTableResponse.h:113
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::AssociateRouteTableResponse::WithAssociationState
AssociateRouteTableResponse & WithAssociationState(RouteTableAssociationState &&value)
Definition: AssociateRouteTableResponse.h:103
Aws::EC2::Model::AssociateRouteTableResponse::WithResponseMetadata
AssociateRouteTableResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: AssociateRouteTableResponse.h:119
Aws::EC2::Model::AssociateRouteTableResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: AssociateRouteTableResponse.h:110
Aws::EC2::Model::AssociateRouteTableResponse::AssociateRouteTableResponse
AssociateRouteTableResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
EC2_EXPORTS.h
Aws::EC2::Model::AssociateRouteTableResponse::GetAssociationId
const Aws::String & GetAssociationId() const
Definition: AssociateRouteTableResponse.h:41