7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ec2/EC2_EXPORTS.h>
9#include <aws/ec2/model/ResponseMetadata.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
40 template <
typename AttachmentIdT = Aws::String>
42 m_attachmentIdHasBeenSet =
true;
43 m_attachmentId = std::forward<AttachmentIdT>(value);
45 template <
typename AttachmentIdT = Aws::String>
58 m_networkCardIndexHasBeenSet =
true;
59 m_networkCardIndex = value;
70 template <
typename ResponseMetadataT = ResponseMetadata>
72 m_responseMetadataHasBeenSet =
true;
73 m_responseMetadata = std::forward<ResponseMetadataT>(value);
75 template <
typename ResponseMetadataT = ResponseMetadata>
84 int m_networkCardIndex{0};
86 ResponseMetadata m_responseMetadata;
87 bool m_attachmentIdHasBeenSet =
false;
88 bool m_networkCardIndexHasBeenSet =
false;
89 bool m_responseMetadataHasBeenSet =
false;
AttachNetworkInterfaceResponse & WithResponseMetadata(ResponseMetadataT &&value)
const ResponseMetadata & GetResponseMetadata() const
AttachNetworkInterfaceResponse & WithNetworkCardIndex(int value)
int GetNetworkCardIndex() const
void SetNetworkCardIndex(int value)
AWS_EC2_API AttachNetworkInterfaceResponse()=default
AWS_EC2_API AttachNetworkInterfaceResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetAttachmentId() const
void SetAttachmentId(AttachmentIdT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
AttachNetworkInterfaceResponse & WithAttachmentId(AttachmentIdT &&value)
AWS_EC2_API AttachNetworkInterfaceResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument