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