/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { namespace Connect { namespace Model { /** */ class StartTaskContactRequest : public ConnectRequest { public: AWS_CONNECT_API StartTaskContactRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "StartTaskContact"; } AWS_CONNECT_API Aws::String SerializePayload() const override; /** *

The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } /** *

The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } /** *

The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } /** *

The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } /** *

The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } /** *

The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline StartTaskContactRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} /** *

The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline StartTaskContactRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} /** *

The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline StartTaskContactRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} /** *

The identifier of the previous chat, voice, or task contact.

*/ inline const Aws::String& GetPreviousContactId() const{ return m_previousContactId; } /** *

The identifier of the previous chat, voice, or task contact.

*/ inline bool PreviousContactIdHasBeenSet() const { return m_previousContactIdHasBeenSet; } /** *

The identifier of the previous chat, voice, or task contact.

*/ inline void SetPreviousContactId(const Aws::String& value) { m_previousContactIdHasBeenSet = true; m_previousContactId = value; } /** *

The identifier of the previous chat, voice, or task contact.

*/ inline void SetPreviousContactId(Aws::String&& value) { m_previousContactIdHasBeenSet = true; m_previousContactId = std::move(value); } /** *

The identifier of the previous chat, voice, or task contact.

*/ inline void SetPreviousContactId(const char* value) { m_previousContactIdHasBeenSet = true; m_previousContactId.assign(value); } /** *

The identifier of the previous chat, voice, or task contact.

*/ inline StartTaskContactRequest& WithPreviousContactId(const Aws::String& value) { SetPreviousContactId(value); return *this;} /** *

The identifier of the previous chat, voice, or task contact.

*/ inline StartTaskContactRequest& WithPreviousContactId(Aws::String&& value) { SetPreviousContactId(std::move(value)); return *this;} /** *

The identifier of the previous chat, voice, or task contact.

*/ inline StartTaskContactRequest& WithPreviousContactId(const char* value) { SetPreviousContactId(value); return *this;} /** *

The identifier of the flow for initiating the tasks. To see the ContactFlowId * in the Amazon Connect console user interface, on the navigation menu go to * Routing, Contact Flows. Choose the flow. On the flow page, under * the name of the flow, choose Show additional flow information. The * ContactFlowId is the last part of the ARN, shown here in bold:

*

arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx *

*/ inline const Aws::String& GetContactFlowId() const{ return m_contactFlowId; } /** *

The identifier of the flow for initiating the tasks. To see the ContactFlowId * in the Amazon Connect console user interface, on the navigation menu go to * Routing, Contact Flows. Choose the flow. On the flow page, under * the name of the flow, choose Show additional flow information. The * ContactFlowId is the last part of the ARN, shown here in bold:

*

arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx *

*/ inline bool ContactFlowIdHasBeenSet() const { return m_contactFlowIdHasBeenSet; } /** *

The identifier of the flow for initiating the tasks. To see the ContactFlowId * in the Amazon Connect console user interface, on the navigation menu go to * Routing, Contact Flows. Choose the flow. On the flow page, under * the name of the flow, choose Show additional flow information. The * ContactFlowId is the last part of the ARN, shown here in bold:

*

arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx *

*/ inline void SetContactFlowId(const Aws::String& value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId = value; } /** *

The identifier of the flow for initiating the tasks. To see the ContactFlowId * in the Amazon Connect console user interface, on the navigation menu go to * Routing, Contact Flows. Choose the flow. On the flow page, under * the name of the flow, choose Show additional flow information. The * ContactFlowId is the last part of the ARN, shown here in bold:

*

arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx *

*/ inline void SetContactFlowId(Aws::String&& value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId = std::move(value); } /** *

The identifier of the flow for initiating the tasks. To see the ContactFlowId * in the Amazon Connect console user interface, on the navigation menu go to * Routing, Contact Flows. Choose the flow. On the flow page, under * the name of the flow, choose Show additional flow information. The * ContactFlowId is the last part of the ARN, shown here in bold:

*

arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx *

*/ inline void SetContactFlowId(const char* value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId.assign(value); } /** *

The identifier of the flow for initiating the tasks. To see the ContactFlowId * in the Amazon Connect console user interface, on the navigation menu go to * Routing, Contact Flows. Choose the flow. On the flow page, under * the name of the flow, choose Show additional flow information. The * ContactFlowId is the last part of the ARN, shown here in bold:

*

arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx *

*/ inline StartTaskContactRequest& WithContactFlowId(const Aws::String& value) { SetContactFlowId(value); return *this;} /** *

The identifier of the flow for initiating the tasks. To see the ContactFlowId * in the Amazon Connect console user interface, on the navigation menu go to * Routing, Contact Flows. Choose the flow. On the flow page, under * the name of the flow, choose Show additional flow information. The * ContactFlowId is the last part of the ARN, shown here in bold:

*

arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx *

*/ inline StartTaskContactRequest& WithContactFlowId(Aws::String&& value) { SetContactFlowId(std::move(value)); return *this;} /** *

The identifier of the flow for initiating the tasks. To see the ContactFlowId * in the Amazon Connect console user interface, on the navigation menu go to * Routing, Contact Flows. Choose the flow. On the flow page, under * the name of the flow, choose Show additional flow information. The * ContactFlowId is the last part of the ARN, shown here in bold:

*

arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx *

*/ inline StartTaskContactRequest& WithContactFlowId(const char* value) { SetContactFlowId(value); return *this;} /** *

A custom key-value pair using an attribute map. The attributes are standard * Amazon Connect attributes, and can be accessed in flows just like any other * contact attributes.

There can be up to 32,768 UTF-8 bytes across all * key-value pairs per contact. Attribute keys can include only alphanumeric, dash, * and underscore characters.

*/ inline const Aws::Map& GetAttributes() const{ return m_attributes; } /** *

A custom key-value pair using an attribute map. The attributes are standard * Amazon Connect attributes, and can be accessed in flows just like any other * contact attributes.

There can be up to 32,768 UTF-8 bytes across all * key-value pairs per contact. Attribute keys can include only alphanumeric, dash, * and underscore characters.

*/ inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } /** *

A custom key-value pair using an attribute map. The attributes are standard * Amazon Connect attributes, and can be accessed in flows just like any other * contact attributes.

There can be up to 32,768 UTF-8 bytes across all * key-value pairs per contact. Attribute keys can include only alphanumeric, dash, * and underscore characters.

*/ inline void SetAttributes(const Aws::Map& value) { m_attributesHasBeenSet = true; m_attributes = value; } /** *

A custom key-value pair using an attribute map. The attributes are standard * Amazon Connect attributes, and can be accessed in flows just like any other * contact attributes.

There can be up to 32,768 UTF-8 bytes across all * key-value pairs per contact. Attribute keys can include only alphanumeric, dash, * and underscore characters.

*/ inline void SetAttributes(Aws::Map&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); } /** *

A custom key-value pair using an attribute map. The attributes are standard * Amazon Connect attributes, and can be accessed in flows just like any other * contact attributes.

There can be up to 32,768 UTF-8 bytes across all * key-value pairs per contact. Attribute keys can include only alphanumeric, dash, * and underscore characters.

*/ inline StartTaskContactRequest& WithAttributes(const Aws::Map& value) { SetAttributes(value); return *this;} /** *

A custom key-value pair using an attribute map. The attributes are standard * Amazon Connect attributes, and can be accessed in flows just like any other * contact attributes.

There can be up to 32,768 UTF-8 bytes across all * key-value pairs per contact. Attribute keys can include only alphanumeric, dash, * and underscore characters.

*/ inline StartTaskContactRequest& WithAttributes(Aws::Map&& value) { SetAttributes(std::move(value)); return *this;} /** *

A custom key-value pair using an attribute map. The attributes are standard * Amazon Connect attributes, and can be accessed in flows just like any other * contact attributes.

There can be up to 32,768 UTF-8 bytes across all * key-value pairs per contact. Attribute keys can include only alphanumeric, dash, * and underscore characters.

*/ inline StartTaskContactRequest& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; } /** *

A custom key-value pair using an attribute map. The attributes are standard * Amazon Connect attributes, and can be accessed in flows just like any other * contact attributes.

There can be up to 32,768 UTF-8 bytes across all * key-value pairs per contact. Attribute keys can include only alphanumeric, dash, * and underscore characters.

*/ inline StartTaskContactRequest& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; } /** *

A custom key-value pair using an attribute map. The attributes are standard * Amazon Connect attributes, and can be accessed in flows just like any other * contact attributes.

There can be up to 32,768 UTF-8 bytes across all * key-value pairs per contact. Attribute keys can include only alphanumeric, dash, * and underscore characters.

*/ inline StartTaskContactRequest& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; } /** *

A custom key-value pair using an attribute map. The attributes are standard * Amazon Connect attributes, and can be accessed in flows just like any other * contact attributes.

There can be up to 32,768 UTF-8 bytes across all * key-value pairs per contact. Attribute keys can include only alphanumeric, dash, * and underscore characters.

*/ inline StartTaskContactRequest& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; } /** *

A custom key-value pair using an attribute map. The attributes are standard * Amazon Connect attributes, and can be accessed in flows just like any other * contact attributes.

There can be up to 32,768 UTF-8 bytes across all * key-value pairs per contact. Attribute keys can include only alphanumeric, dash, * and underscore characters.

*/ inline StartTaskContactRequest& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; } /** *

A custom key-value pair using an attribute map. The attributes are standard * Amazon Connect attributes, and can be accessed in flows just like any other * contact attributes.

There can be up to 32,768 UTF-8 bytes across all * key-value pairs per contact. Attribute keys can include only alphanumeric, dash, * and underscore characters.

*/ inline StartTaskContactRequest& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; } /** *

A custom key-value pair using an attribute map. The attributes are standard * Amazon Connect attributes, and can be accessed in flows just like any other * contact attributes.

There can be up to 32,768 UTF-8 bytes across all * key-value pairs per contact. Attribute keys can include only alphanumeric, dash, * and underscore characters.

*/ inline StartTaskContactRequest& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; } /** *

The name of a task that is shown to an agent in the Contact Control Panel * (CCP).

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of a task that is shown to an agent in the Contact Control Panel * (CCP).

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of a task that is shown to an agent in the Contact Control Panel * (CCP).

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of a task that is shown to an agent in the Contact Control Panel * (CCP).

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of a task that is shown to an agent in the Contact Control Panel * (CCP).

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of a task that is shown to an agent in the Contact Control Panel * (CCP).

*/ inline StartTaskContactRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of a task that is shown to an agent in the Contact Control Panel * (CCP).

*/ inline StartTaskContactRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of a task that is shown to an agent in the Contact Control Panel * (CCP).

*/ inline StartTaskContactRequest& WithName(const char* value) { SetName(value); return *this;} /** *

A formatted URL that is shown to an agent in the Contact Control Panel * (CCP).

*/ inline const Aws::Map& GetReferences() const{ return m_references; } /** *

A formatted URL that is shown to an agent in the Contact Control Panel * (CCP).

*/ inline bool ReferencesHasBeenSet() const { return m_referencesHasBeenSet; } /** *

A formatted URL that is shown to an agent in the Contact Control Panel * (CCP).

*/ inline void SetReferences(const Aws::Map& value) { m_referencesHasBeenSet = true; m_references = value; } /** *

A formatted URL that is shown to an agent in the Contact Control Panel * (CCP).

*/ inline void SetReferences(Aws::Map&& value) { m_referencesHasBeenSet = true; m_references = std::move(value); } /** *

A formatted URL that is shown to an agent in the Contact Control Panel * (CCP).

*/ inline StartTaskContactRequest& WithReferences(const Aws::Map& value) { SetReferences(value); return *this;} /** *

A formatted URL that is shown to an agent in the Contact Control Panel * (CCP).

*/ inline StartTaskContactRequest& WithReferences(Aws::Map&& value) { SetReferences(std::move(value)); return *this;} /** *

A formatted URL that is shown to an agent in the Contact Control Panel * (CCP).

*/ inline StartTaskContactRequest& AddReferences(const Aws::String& key, const Reference& value) { m_referencesHasBeenSet = true; m_references.emplace(key, value); return *this; } /** *

A formatted URL that is shown to an agent in the Contact Control Panel * (CCP).

*/ inline StartTaskContactRequest& AddReferences(Aws::String&& key, const Reference& value) { m_referencesHasBeenSet = true; m_references.emplace(std::move(key), value); return *this; } /** *

A formatted URL that is shown to an agent in the Contact Control Panel * (CCP).

*/ inline StartTaskContactRequest& AddReferences(const Aws::String& key, Reference&& value) { m_referencesHasBeenSet = true; m_references.emplace(key, std::move(value)); return *this; } /** *

A formatted URL that is shown to an agent in the Contact Control Panel * (CCP).

*/ inline StartTaskContactRequest& AddReferences(Aws::String&& key, Reference&& value) { m_referencesHasBeenSet = true; m_references.emplace(std::move(key), std::move(value)); return *this; } /** *

A formatted URL that is shown to an agent in the Contact Control Panel * (CCP).

*/ inline StartTaskContactRequest& AddReferences(const char* key, Reference&& value) { m_referencesHasBeenSet = true; m_references.emplace(key, std::move(value)); return *this; } /** *

A formatted URL that is shown to an agent in the Contact Control Panel * (CCP).

*/ inline StartTaskContactRequest& AddReferences(const char* key, const Reference& value) { m_referencesHasBeenSet = true; m_references.emplace(key, value); return *this; } /** *

A description of the task that is shown to an agent in the Contact Control * Panel (CCP).

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description of the task that is shown to an agent in the Contact Control * Panel (CCP).

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description of the task that is shown to an agent in the Contact Control * Panel (CCP).

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A description of the task that is shown to an agent in the Contact Control * Panel (CCP).

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A description of the task that is shown to an agent in the Contact Control * Panel (CCP).

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A description of the task that is shown to an agent in the Contact Control * Panel (CCP).

*/ inline StartTaskContactRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description of the task that is shown to an agent in the Contact Control * Panel (CCP).

*/ inline StartTaskContactRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description of the task that is shown to an agent in the Contact Control * Panel (CCP).

*/ inline StartTaskContactRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. If not provided, the Amazon Web Services SDK * populates this field. For more information about idempotency, see Making * retries safe with idempotent APIs.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. If not provided, the Amazon Web Services SDK * populates this field. For more information about idempotency, see Making * retries safe with idempotent APIs.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. If not provided, the Amazon Web Services SDK * populates this field. For more information about idempotency, see Making * retries safe with idempotent APIs.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. If not provided, the Amazon Web Services SDK * populates this field. For more information about idempotency, see Making * retries safe with idempotent APIs.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. If not provided, the Amazon Web Services SDK * populates this field. For more information about idempotency, see Making * retries safe with idempotent APIs.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. If not provided, the Amazon Web Services SDK * populates this field. For more information about idempotency, see Making * retries safe with idempotent APIs.

*/ inline StartTaskContactRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. If not provided, the Amazon Web Services SDK * populates this field. For more information about idempotency, see Making * retries safe with idempotent APIs.

*/ inline StartTaskContactRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. If not provided, the Amazon Web Services SDK * populates this field. For more information about idempotency, see Making * retries safe with idempotent APIs.

*/ inline StartTaskContactRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

The timestamp, in Unix Epoch seconds format, at which to start running the * inbound flow. The scheduled time cannot be in the past. It must be within up to * 6 days in future.

*/ inline const Aws::Utils::DateTime& GetScheduledTime() const{ return m_scheduledTime; } /** *

The timestamp, in Unix Epoch seconds format, at which to start running the * inbound flow. The scheduled time cannot be in the past. It must be within up to * 6 days in future.

*/ inline bool ScheduledTimeHasBeenSet() const { return m_scheduledTimeHasBeenSet; } /** *

The timestamp, in Unix Epoch seconds format, at which to start running the * inbound flow. The scheduled time cannot be in the past. It must be within up to * 6 days in future.

*/ inline void SetScheduledTime(const Aws::Utils::DateTime& value) { m_scheduledTimeHasBeenSet = true; m_scheduledTime = value; } /** *

The timestamp, in Unix Epoch seconds format, at which to start running the * inbound flow. The scheduled time cannot be in the past. It must be within up to * 6 days in future.

*/ inline void SetScheduledTime(Aws::Utils::DateTime&& value) { m_scheduledTimeHasBeenSet = true; m_scheduledTime = std::move(value); } /** *

The timestamp, in Unix Epoch seconds format, at which to start running the * inbound flow. The scheduled time cannot be in the past. It must be within up to * 6 days in future.

*/ inline StartTaskContactRequest& WithScheduledTime(const Aws::Utils::DateTime& value) { SetScheduledTime(value); return *this;} /** *

The timestamp, in Unix Epoch seconds format, at which to start running the * inbound flow. The scheduled time cannot be in the past. It must be within up to * 6 days in future.

*/ inline StartTaskContactRequest& WithScheduledTime(Aws::Utils::DateTime&& value) { SetScheduledTime(std::move(value)); return *this;} /** *

A unique identifier for the task template.

*/ inline const Aws::String& GetTaskTemplateId() const{ return m_taskTemplateId; } /** *

A unique identifier for the task template.

*/ inline bool TaskTemplateIdHasBeenSet() const { return m_taskTemplateIdHasBeenSet; } /** *

A unique identifier for the task template.

*/ inline void SetTaskTemplateId(const Aws::String& value) { m_taskTemplateIdHasBeenSet = true; m_taskTemplateId = value; } /** *

A unique identifier for the task template.

*/ inline void SetTaskTemplateId(Aws::String&& value) { m_taskTemplateIdHasBeenSet = true; m_taskTemplateId = std::move(value); } /** *

A unique identifier for the task template.

*/ inline void SetTaskTemplateId(const char* value) { m_taskTemplateIdHasBeenSet = true; m_taskTemplateId.assign(value); } /** *

A unique identifier for the task template.

*/ inline StartTaskContactRequest& WithTaskTemplateId(const Aws::String& value) { SetTaskTemplateId(value); return *this;} /** *

A unique identifier for the task template.

*/ inline StartTaskContactRequest& WithTaskTemplateId(Aws::String&& value) { SetTaskTemplateId(std::move(value)); return *this;} /** *

A unique identifier for the task template.

*/ inline StartTaskContactRequest& WithTaskTemplateId(const char* value) { SetTaskTemplateId(value); return *this;} /** *

The identifier for the quick connect.

*/ inline const Aws::String& GetQuickConnectId() const{ return m_quickConnectId; } /** *

The identifier for the quick connect.

*/ inline bool QuickConnectIdHasBeenSet() const { return m_quickConnectIdHasBeenSet; } /** *

The identifier for the quick connect.

*/ inline void SetQuickConnectId(const Aws::String& value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId = value; } /** *

The identifier for the quick connect.

*/ inline void SetQuickConnectId(Aws::String&& value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId = std::move(value); } /** *

The identifier for the quick connect.

*/ inline void SetQuickConnectId(const char* value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId.assign(value); } /** *

The identifier for the quick connect.

*/ inline StartTaskContactRequest& WithQuickConnectId(const Aws::String& value) { SetQuickConnectId(value); return *this;} /** *

The identifier for the quick connect.

*/ inline StartTaskContactRequest& WithQuickConnectId(Aws::String&& value) { SetQuickConnectId(std::move(value)); return *this;} /** *

The identifier for the quick connect.

*/ inline StartTaskContactRequest& WithQuickConnectId(const char* value) { SetQuickConnectId(value); return *this;} /** *

The contactId that is related * to this contact.

*/ inline const Aws::String& GetRelatedContactId() const{ return m_relatedContactId; } /** *

The contactId that is related * to this contact.

*/ inline bool RelatedContactIdHasBeenSet() const { return m_relatedContactIdHasBeenSet; } /** *

The contactId that is related * to this contact.

*/ inline void SetRelatedContactId(const Aws::String& value) { m_relatedContactIdHasBeenSet = true; m_relatedContactId = value; } /** *

The contactId that is related * to this contact.

*/ inline void SetRelatedContactId(Aws::String&& value) { m_relatedContactIdHasBeenSet = true; m_relatedContactId = std::move(value); } /** *

The contactId that is related * to this contact.

*/ inline void SetRelatedContactId(const char* value) { m_relatedContactIdHasBeenSet = true; m_relatedContactId.assign(value); } /** *

The contactId that is related * to this contact.

*/ inline StartTaskContactRequest& WithRelatedContactId(const Aws::String& value) { SetRelatedContactId(value); return *this;} /** *

The contactId that is related * to this contact.

*/ inline StartTaskContactRequest& WithRelatedContactId(Aws::String&& value) { SetRelatedContactId(std::move(value)); return *this;} /** *

The contactId that is related * to this contact.

*/ inline StartTaskContactRequest& WithRelatedContactId(const char* value) { SetRelatedContactId(value); return *this;} private: Aws::String m_instanceId; bool m_instanceIdHasBeenSet = false; Aws::String m_previousContactId; bool m_previousContactIdHasBeenSet = false; Aws::String m_contactFlowId; bool m_contactFlowIdHasBeenSet = false; Aws::Map m_attributes; bool m_attributesHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Map m_references; bool m_referencesHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::Utils::DateTime m_scheduledTime; bool m_scheduledTimeHasBeenSet = false; Aws::String m_taskTemplateId; bool m_taskTemplateIdHasBeenSet = false; Aws::String m_quickConnectId; bool m_quickConnectIdHasBeenSet = false; Aws::String m_relatedContactId; bool m_relatedContactIdHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws