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;
const ResponseMetadata & GetResponseMetadata() const
const IamInstanceProfileAssociation & GetIamInstanceProfileAssociation() const
AWS_EC2_API AssociateIamInstanceProfileResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_EC2_API AssociateIamInstanceProfileResponse()=default
AWS_EC2_API AssociateIamInstanceProfileResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AssociateIamInstanceProfileResponse & WithIamInstanceProfileAssociation(IamInstanceProfileAssociationT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
void SetIamInstanceProfileAssociation(IamInstanceProfileAssociationT &&value)
AssociateIamInstanceProfileResponse & WithResponseMetadata(ResponseMetadataT &&value)
Aws::Utils::Xml::XmlDocument XmlDocument