Container for the parameters to the AddRoleToInstanceProfile operation.
            Adds the specified role to the specified instance profile. For more information about
            roles,            go to Working
            with                Roles. For more information about instance profiles, go to About
            Instance                Profiles.
            
 Declaration Syntax
 Declaration Syntax| C# | 
public class AddRoleToInstanceProfileRequest : AmazonWebServiceRequest
 Members
 Members| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description | 
|---|---|---|
|  | AddRoleToInstanceProfileRequest()()()() | Initializes a new instance of the AddRoleToInstanceProfileRequest class | 
|  | Equals(Object) | (Inherited from Object.) | 
|  | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | 
|  | GetType()()()() | Gets the type of the current instance.(Inherited from Object.) | 
|  | InstanceProfileName | 
            Gets and sets the property InstanceProfileName. 
             Name of the instance profile to update. | 
|  | RoleName | 
            Gets and sets the property RoleName. 
             Name of the role to add. | 
|  | ToString()()()() | Returns a string that represents the current object.(Inherited from Object.) | 
|  | WithInstanceProfileName(String) | Obsolete. 
            Sets the InstanceProfileName property
             | 
|  | WithRoleName(String) | Obsolete. 
            Sets the RoleName property
             | 
 Inheritance Hierarchy
 Inheritance Hierarchy| Object | ||
|  | AmazonWebServiceRequest | |
|  | AddRoleToInstanceProfileRequest | |