7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/IamInstanceProfileSpecification.h>
42 template <
typename IamInstanceProfileT = IamInstanceProfileSpecification>
44 m_iamInstanceProfileHasBeenSet =
true;
45 m_iamInstanceProfile = std::forward<IamInstanceProfileT>(value);
47 template <
typename IamInstanceProfileT = IamInstanceProfileSpecification>
60 template <
typename InstanceIdT = Aws::String>
62 m_instanceIdHasBeenSet =
true;
63 m_instanceId = std::forward<InstanceIdT>(value);
65 template <
typename InstanceIdT = Aws::String>
75 bool m_iamInstanceProfileHasBeenSet =
false;
76 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