AWS SDK for C++  1.9.75
AWS SDK for C++
ModifyVpcEndpointResponse.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 GetReturn() const{ return m_return; }
40 
45  inline void SetReturn(bool value) { m_return = value; }
46 
51  inline ModifyVpcEndpointResponse& WithReturn(bool value) { SetReturn(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 ModifyVpcEndpointResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
65 
66 
67  inline ModifyVpcEndpointResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
68 
69  private:
70 
71  bool m_return;
72 
73  ResponseMetadata m_responseMetadata;
74  };
75 
76 } // namespace Model
77 } // namespace EC2
78 } // namespace Aws
Aws::EC2::Model::ModifyVpcEndpointResponse::ModifyVpcEndpointResponse
ModifyVpcEndpointResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::ModifyVpcEndpointResponse::WithResponseMetadata
ModifyVpcEndpointResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: ModifyVpcEndpointResponse.h:64
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::ModifyVpcEndpointResponse::SetReturn
void SetReturn(bool value)
Definition: ModifyVpcEndpointResponse.h:45
Aws::EC2::Model::ModifyVpcEndpointResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ModifyVpcEndpointResponse.h:58
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::ModifyVpcEndpointResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ModifyVpcEndpointResponse.h:61
Aws::EC2::Model::ModifyVpcEndpointResponse::operator=
ModifyVpcEndpointResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::ModifyVpcEndpointResponse::GetReturn
bool GetReturn() const
Definition: ModifyVpcEndpointResponse.h:39
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::ModifyVpcEndpointResponse::WithResponseMetadata
ModifyVpcEndpointResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: ModifyVpcEndpointResponse.h:67
Aws::EC2::Model::ModifyVpcEndpointResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ModifyVpcEndpointResponse.h:55
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::ModifyVpcEndpointResponse
Definition: ModifyVpcEndpointResponse.h:28
Aws::EC2::Model::ModifyVpcEndpointResponse::WithReturn
ModifyVpcEndpointResponse & WithReturn(bool value)
Definition: ModifyVpcEndpointResponse.h:51
Aws::EC2::Model::ModifyVpcEndpointResponse::ModifyVpcEndpointResponse
ModifyVpcEndpointResponse()
EC2_EXPORTS.h