---
title: INSetTaskAttributeIntentResponse
framework: intents
role: symbol
role_heading: Class
path: intents/insettaskattributeintentresponse
---

# INSetTaskAttributeIntentResponse

Your response to a request to modify the attributes of an existing task.

## Declaration

```swift
class INSetTaskAttributeIntentResponse
```

## Overview

Overview Use an INSetTaskAttributeIntentResponse object to return information about your attempt to update an existing task. Siri communicates the information from your response to the user at appropriate times. You create an INSetTaskAttributeIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your handler object. For more information about implementing your handler object, see INSetTaskAttributeIntentHandling.

## Topics

### Initializing the Response Object

- [init(code:userActivity:)](intents/insettaskattributeintentresponse/init(code:useractivity:).md)

### Getting the Response Code

- [code](intents/insettaskattributeintentresponse/code.md)
- [INSetTaskAttributeIntentResponseCode](intents/insettaskattributeintentresponsecode.md)

### Providing the Task Details

- [modifiedTask](intents/insettaskattributeintentresponse/modifiedtask.md)

## Relationships

### Inherits From

- [INIntentResponse](intents/inintentresponse.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Task Attributes

- [INSetTaskAttributeIntentHandling](intents/insettaskattributeintenthandling.md)
- [INSetTaskAttributeIntent](intents/insettaskattributeintent.md)
