/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the output of CreateNetworkInterfacePermission.See
* Also:
AWS
* API Reference
Information about the permission for the network interface.
*/ inline const NetworkInterfacePermission& GetInterfacePermission() const{ return m_interfacePermission; } /** *Information about the permission for the network interface.
*/ inline void SetInterfacePermission(const NetworkInterfacePermission& value) { m_interfacePermission = value; } /** *Information about the permission for the network interface.
*/ inline void SetInterfacePermission(NetworkInterfacePermission&& value) { m_interfacePermission = std::move(value); } /** *Information about the permission for the network interface.
*/ inline CreateNetworkInterfacePermissionResponse& WithInterfacePermission(const NetworkInterfacePermission& value) { SetInterfacePermission(value); return *this;} /** *Information about the permission for the network interface.
*/ inline CreateNetworkInterfacePermissionResponse& WithInterfacePermission(NetworkInterfacePermission&& value) { SetInterfacePermission(std::move(value)); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline CreateNetworkInterfacePermissionResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline CreateNetworkInterfacePermissionResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: NetworkInterfacePermission m_interfacePermission; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws