7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/model/IamInstanceProfileSpecification.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
31 inline virtual const char*
GetServiceRequestName()
const override {
return "ReplaceIamInstanceProfileAssociation"; }
60 inline void SetAssociationId(
const char* value) { m_associationIdHasBeenSet =
true; m_associationId.assign(value); }
68 bool m_iamInstanceProfileHasBeenSet =
false;
71 bool m_associationIdHasBeenSet =
false;
ReplaceIamInstanceProfileAssociationRequest & WithIamInstanceProfile(IamInstanceProfileSpecification &&value)
virtual const char * GetServiceRequestName() const override
void SetIamInstanceProfile(IamInstanceProfileSpecification &&value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetAssociationId(const Aws::String &value)
const Aws::String & GetAssociationId() const
void SetAssociationId(const char *value)
ReplaceIamInstanceProfileAssociationRequest & WithAssociationId(const char *value)
AWS_EC2_API ReplaceIamInstanceProfileAssociationRequest()
ReplaceIamInstanceProfileAssociationRequest & WithAssociationId(Aws::String &&value)
ReplaceIamInstanceProfileAssociationRequest & WithAssociationId(const Aws::String &value)
const IamInstanceProfileSpecification & GetIamInstanceProfile() const
bool IamInstanceProfileHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ReplaceIamInstanceProfileAssociationRequest & WithIamInstanceProfile(const IamInstanceProfileSpecification &value)
bool AssociationIdHasBeenSet() const
void SetIamInstanceProfile(const IamInstanceProfileSpecification &value)
void SetAssociationId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String