/// <summary> /// Sets the InstanceProfile property /// </summary> /// <param name="instanceProfile">The value to set for the InstanceProfile property </param> /// <returns>this instance</returns> public GetInstanceProfileResult WithInstanceProfile(InstanceProfile instanceProfile) { this.instanceProfile = instanceProfile; return this; }