AWS SDK for C++  1.9.123
AWS SDK for C++
DeleteEgressOnlyInternetGatewayResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlDocument;
21 } // namespace Xml
22 } // namespace Utils
23 namespace EC2
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline bool GetReturnCode() const{ return m_returnCode; }
40 
45  inline void SetReturnCode(bool value) { m_returnCode = value; }
46 
51  inline DeleteEgressOnlyInternetGatewayResponse& WithReturnCode(bool value) { SetReturnCode(value); return *this;}
52 
53 
54 
55  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
56 
57 
58  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
59 
60 
61  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
62 
63 
64  inline DeleteEgressOnlyInternetGatewayResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
65 
66 
67  inline DeleteEgressOnlyInternetGatewayResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
68 
69  private:
70 
71  bool m_returnCode;
72 
73  ResponseMetadata m_responseMetadata;
74  };
75 
76 } // namespace Model
77 } // namespace EC2
78 } // namespace Aws
Aws::EC2::Model::DeleteEgressOnlyInternetGatewayResponse::DeleteEgressOnlyInternetGatewayResponse
DeleteEgressOnlyInternetGatewayResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::DeleteEgressOnlyInternetGatewayResponse::WithResponseMetadata
DeleteEgressOnlyInternetGatewayResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: DeleteEgressOnlyInternetGatewayResponse.h:67
Aws::EC2::Model::DeleteEgressOnlyInternetGatewayResponse::GetReturnCode
bool GetReturnCode() const
Definition: DeleteEgressOnlyInternetGatewayResponse.h:39
Aws::EC2::Model::DeleteEgressOnlyInternetGatewayResponse::WithResponseMetadata
DeleteEgressOnlyInternetGatewayResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: DeleteEgressOnlyInternetGatewayResponse.h:64
Aws::EC2::Model::DeleteEgressOnlyInternetGatewayResponse::operator=
DeleteEgressOnlyInternetGatewayResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::DeleteEgressOnlyInternetGatewayResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DeleteEgressOnlyInternetGatewayResponse.h:61
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::DeleteEgressOnlyInternetGatewayResponse
Definition: DeleteEgressOnlyInternetGatewayResponse.h:28
Aws::EC2::Model::DeleteEgressOnlyInternetGatewayResponse::WithReturnCode
DeleteEgressOnlyInternetGatewayResponse & WithReturnCode(bool value)
Definition: DeleteEgressOnlyInternetGatewayResponse.h:51
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DeleteEgressOnlyInternetGatewayResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DeleteEgressOnlyInternetGatewayResponse.h:55
Aws::EC2::Model::DeleteEgressOnlyInternetGatewayResponse::SetReturnCode
void SetReturnCode(bool value)
Definition: DeleteEgressOnlyInternetGatewayResponse.h:45
EC2_EXPORTS.h
Aws::EC2::Model::DeleteEgressOnlyInternetGatewayResponse::DeleteEgressOnlyInternetGatewayResponse
DeleteEgressOnlyInternetGatewayResponse()
Aws::EC2::Model::DeleteEgressOnlyInternetGatewayResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DeleteEgressOnlyInternetGatewayResponse.h:58