/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the output of AttachNetworkInterface.See Also:
AWS
* API Reference
The ID of the network interface attachment.
*/ inline const Aws::String& GetAttachmentId() const{ return m_attachmentId; } /** *The ID of the network interface attachment.
*/ inline void SetAttachmentId(const Aws::String& value) { m_attachmentId = value; } /** *The ID of the network interface attachment.
*/ inline void SetAttachmentId(Aws::String&& value) { m_attachmentId = std::move(value); } /** *The ID of the network interface attachment.
*/ inline void SetAttachmentId(const char* value) { m_attachmentId.assign(value); } /** *The ID of the network interface attachment.
*/ inline AttachNetworkInterfaceResponse& WithAttachmentId(const Aws::String& value) { SetAttachmentId(value); return *this;} /** *The ID of the network interface attachment.
*/ inline AttachNetworkInterfaceResponse& WithAttachmentId(Aws::String&& value) { SetAttachmentId(std::move(value)); return *this;} /** *The ID of the network interface attachment.
*/ inline AttachNetworkInterfaceResponse& WithAttachmentId(const char* value) { SetAttachmentId(value); return *this;} /** *The index of the network card.
*/ inline int GetNetworkCardIndex() const{ return m_networkCardIndex; } /** *The index of the network card.
*/ inline void SetNetworkCardIndex(int value) { m_networkCardIndex = value; } /** *The index of the network card.
*/ inline AttachNetworkInterfaceResponse& WithNetworkCardIndex(int value) { SetNetworkCardIndex(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 AttachNetworkInterfaceResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline AttachNetworkInterfaceResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_attachmentId; int m_networkCardIndex; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws