AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateNetworkInterfacePermissionResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/model/NetworkInterfacePermission.h>
9#include <aws/ec2/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace EC2
25{
26namespace Model
27{
35 {
36 public:
40
41
43
46 inline const NetworkInterfacePermission& GetInterfacePermission() const { return m_interfacePermission; }
47 template<typename InterfacePermissionT = NetworkInterfacePermission>
48 void SetInterfacePermission(InterfacePermissionT&& value) { m_interfacePermissionHasBeenSet = true; m_interfacePermission = std::forward<InterfacePermissionT>(value); }
49 template<typename InterfacePermissionT = NetworkInterfacePermission>
50 CreateNetworkInterfacePermissionResponse& WithInterfacePermission(InterfacePermissionT&& value) { SetInterfacePermission(std::forward<InterfacePermissionT>(value)); return *this;}
52
54
55 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
56 template<typename ResponseMetadataT = ResponseMetadata>
57 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
58 template<typename ResponseMetadataT = ResponseMetadata>
59 CreateNetworkInterfacePermissionResponse& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
61 private:
62
63 NetworkInterfacePermission m_interfacePermission;
64 bool m_interfacePermissionHasBeenSet = false;
65
66 ResponseMetadata m_responseMetadata;
67 bool m_responseMetadataHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace EC2
72} // namespace Aws
AWS_EC2_API CreateNetworkInterfacePermissionResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateNetworkInterfacePermissionResponse & WithResponseMetadata(ResponseMetadataT &&value)
AWS_EC2_API CreateNetworkInterfacePermissionResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateNetworkInterfacePermissionResponse & WithInterfacePermission(InterfacePermissionT &&value)
Aws::Utils::Xml::XmlDocument XmlDocument