7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/iam/IAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
51 inline void SetInstanceProfileName(
const char* value) { m_instanceProfileNameHasBeenSet =
true; m_instanceProfileName.assign(value); }
68 inline void SetRoleName(
const char* value) { m_roleNameHasBeenSet =
true; m_roleName.assign(value); }
76 bool m_instanceProfileNameHasBeenSet =
false;
79 bool m_roleNameHasBeenSet =
false;
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AddRoleToInstanceProfileRequest & WithInstanceProfileName(const char *value)
AWS_IAM_API AddRoleToInstanceProfileRequest()
void SetInstanceProfileName(const char *value)
AddRoleToInstanceProfileRequest & WithRoleName(const char *value)
bool InstanceProfileNameHasBeenSet() const
AWS_IAM_API Aws::String SerializePayload() const override
bool RoleNameHasBeenSet() const
void SetRoleName(Aws::String &&value)
AddRoleToInstanceProfileRequest & WithInstanceProfileName(Aws::String &&value)
void SetRoleName(const char *value)
void SetInstanceProfileName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetInstanceProfileName(const Aws::String &value)
AddRoleToInstanceProfileRequest & WithRoleName(const Aws::String &value)
const Aws::String & GetInstanceProfileName() const
const Aws::String & GetRoleName() const
AddRoleToInstanceProfileRequest & WithRoleName(Aws::String &&value)
void SetRoleName(const Aws::String &value)
AddRoleToInstanceProfileRequest & WithInstanceProfileName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String