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>
46 template<
typename IamInstanceProfileT = IamInstanceProfileSpecification>
47 void SetIamInstanceProfile(IamInstanceProfileT&& value) { m_iamInstanceProfileHasBeenSet =
true; m_iamInstanceProfile = std::forward<IamInstanceProfileT>(value); }
48 template<
typename IamInstanceProfileT = IamInstanceProfileSpecification>
58 template<
typename InstanceIdT = Aws::String>
59 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
60 template<
typename InstanceIdT = Aws::String>
66 bool m_iamInstanceProfileHasBeenSet =
false;
69 bool m_instanceIdHasBeenSet =
false;
bool InstanceIdHasBeenSet() const
AssociateIamInstanceProfileRequest & WithInstanceId(InstanceIdT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
AssociateIamInstanceProfileRequest & WithIamInstanceProfile(IamInstanceProfileT &&value)
virtual const char * GetServiceRequestName() const override
void SetIamInstanceProfile(IamInstanceProfileT &&value)
const Aws::String & GetInstanceId() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetInstanceId(InstanceIdT &&value)
bool IamInstanceProfileHasBeenSet() const
const IamInstanceProfileSpecification & GetIamInstanceProfile() const
AWS_EC2_API AssociateIamInstanceProfileRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String