7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/model/IamInstanceProfileAssociation.h>
9#include <aws/ec2/model/ResponseMetadata.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
35 template <
typename IamInstanceProfileAssociationT = IamInstanceProfileAssociation>
37 m_iamInstanceProfileAssociationHasBeenSet =
true;
38 m_iamInstanceProfileAssociation = std::forward<IamInstanceProfileAssociationT>(value);
40 template <
typename IamInstanceProfileAssociationT = IamInstanceProfileAssociation>
50 template <
typename ResponseMetadataT = ResponseMetadata>
52 m_responseMetadataHasBeenSet =
true;
53 m_responseMetadata = std::forward<ResponseMetadataT>(value);
55 template <
typename ResponseMetadataT = ResponseMetadata>
65 bool m_iamInstanceProfileAssociationHasBeenSet =
false;
66 bool m_responseMetadataHasBeenSet =
false;
AWS_EC2_API DisassociateIamInstanceProfileResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DisassociateIamInstanceProfileResponse & WithResponseMetadata(ResponseMetadataT &&value)
const ResponseMetadata & GetResponseMetadata() const
AWS_EC2_API DisassociateIamInstanceProfileResponse()=default
const IamInstanceProfileAssociation & GetIamInstanceProfileAssociation() const
void SetResponseMetadata(ResponseMetadataT &&value)
AWS_EC2_API DisassociateIamInstanceProfileResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DisassociateIamInstanceProfileResponse & WithIamInstanceProfileAssociation(IamInstanceProfileAssociationT &&value)
void SetIamInstanceProfileAssociation(IamInstanceProfileAssociationT &&value)
Aws::Utils::Xml::XmlDocument XmlDocument