AWS SDK for C++  1.9.68
AWS SDK for C++
DeleteNatGatewayResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace EC2
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetNatGatewayId() const{ return m_natGatewayId; }
40 
44  inline void SetNatGatewayId(const Aws::String& value) { m_natGatewayId = value; }
45 
49  inline void SetNatGatewayId(Aws::String&& value) { m_natGatewayId = std::move(value); }
50 
54  inline void SetNatGatewayId(const char* value) { m_natGatewayId.assign(value); }
55 
59  inline DeleteNatGatewayResponse& WithNatGatewayId(const Aws::String& value) { SetNatGatewayId(value); return *this;}
60 
64  inline DeleteNatGatewayResponse& WithNatGatewayId(Aws::String&& value) { SetNatGatewayId(std::move(value)); return *this;}
65 
69  inline DeleteNatGatewayResponse& WithNatGatewayId(const char* value) { SetNatGatewayId(value); return *this;}
70 
71 
72 
73  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
74 
75 
76  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
77 
78 
79  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
80 
81 
82  inline DeleteNatGatewayResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
83 
84 
85  inline DeleteNatGatewayResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
86 
87  private:
88 
89  Aws::String m_natGatewayId;
90 
91  ResponseMetadata m_responseMetadata;
92  };
93 
94 } // namespace Model
95 } // namespace EC2
96 } // namespace Aws
Aws::EC2::Model::DeleteNatGatewayResponse::SetNatGatewayId
void SetNatGatewayId(const Aws::String &value)
Definition: DeleteNatGatewayResponse.h:44
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::DeleteNatGatewayResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DeleteNatGatewayResponse.h:73
Aws::EC2::Model::DeleteNatGatewayResponse::WithResponseMetadata
DeleteNatGatewayResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: DeleteNatGatewayResponse.h:82
Aws::EC2::Model::DeleteNatGatewayResponse
Definition: DeleteNatGatewayResponse.h:29
Aws::EC2::Model::DeleteNatGatewayResponse::SetNatGatewayId
void SetNatGatewayId(Aws::String &&value)
Definition: DeleteNatGatewayResponse.h:49
Aws::EC2::Model::DeleteNatGatewayResponse::WithNatGatewayId
DeleteNatGatewayResponse & WithNatGatewayId(Aws::String &&value)
Definition: DeleteNatGatewayResponse.h:64
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::DeleteNatGatewayResponse::WithResponseMetadata
DeleteNatGatewayResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: DeleteNatGatewayResponse.h:85
Aws::EC2::Model::DeleteNatGatewayResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DeleteNatGatewayResponse.h:79
Aws::EC2::Model::DeleteNatGatewayResponse::operator=
DeleteNatGatewayResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DeleteNatGatewayResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DeleteNatGatewayResponse.h:76
Aws::EC2::Model::DeleteNatGatewayResponse::WithNatGatewayId
DeleteNatGatewayResponse & WithNatGatewayId(const Aws::String &value)
Definition: DeleteNatGatewayResponse.h:59
Aws::EC2::Model::DeleteNatGatewayResponse::WithNatGatewayId
DeleteNatGatewayResponse & WithNatGatewayId(const char *value)
Definition: DeleteNatGatewayResponse.h:69
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::DeleteNatGatewayResponse::SetNatGatewayId
void SetNatGatewayId(const char *value)
Definition: DeleteNatGatewayResponse.h:54
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DeleteNatGatewayResponse::DeleteNatGatewayResponse
DeleteNatGatewayResponse()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::DeleteNatGatewayResponse::GetNatGatewayId
const Aws::String & GetNatGatewayId() const
Definition: DeleteNatGatewayResponse.h:39
EC2_EXPORTS.h
Aws::EC2::Model::DeleteNatGatewayResponse::DeleteNatGatewayResponse
DeleteNatGatewayResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)