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>
60 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
68 bool m_iamInstanceProfileHasBeenSet =
false;
71 bool m_instanceIdHasBeenSet =
false;
AWS_EC2_API AssociateIamInstanceProfileRequest()
AssociateIamInstanceProfileRequest & WithInstanceId(const char *value)
AssociateIamInstanceProfileRequest & WithIamInstanceProfile(IamInstanceProfileSpecification &&value)
bool InstanceIdHasBeenSet() const
void SetInstanceId(Aws::String &&value)
void SetInstanceId(const Aws::String &value)
void SetInstanceId(const char *value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetIamInstanceProfile(IamInstanceProfileSpecification &&value)
AssociateIamInstanceProfileRequest & WithInstanceId(Aws::String &&value)
AssociateIamInstanceProfileRequest & WithInstanceId(const Aws::String &value)
AssociateIamInstanceProfileRequest & WithIamInstanceProfile(const IamInstanceProfileSpecification &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetInstanceId() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool IamInstanceProfileHasBeenSet() const
const IamInstanceProfileSpecification & GetIamInstanceProfile() const
void SetIamInstanceProfile(const IamInstanceProfileSpecification &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String