/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace Connect { namespace Model { /** */ class GetTaskTemplateRequest : public ConnectRequest { public: AWS_CONNECT_API GetTaskTemplateRequest(); // 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 "GetTaskTemplate"; } AWS_CONNECT_API Aws::String SerializePayload() const override; AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI& uri) 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 GetTaskTemplateRequest& 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 GetTaskTemplateRequest& 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 GetTaskTemplateRequest& WithInstanceId(const char* value) { SetInstanceId(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 GetTaskTemplateRequest& WithTaskTemplateId(const Aws::String& value) { SetTaskTemplateId(value); return *this;} /** *

A unique identifier for the task template.

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

A unique identifier for the task template.

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

The system generated version of a task template that is associated with a * task, when the task is created.

*/ inline const Aws::String& GetSnapshotVersion() const{ return m_snapshotVersion; } /** *

The system generated version of a task template that is associated with a * task, when the task is created.

*/ inline bool SnapshotVersionHasBeenSet() const { return m_snapshotVersionHasBeenSet; } /** *

The system generated version of a task template that is associated with a * task, when the task is created.

*/ inline void SetSnapshotVersion(const Aws::String& value) { m_snapshotVersionHasBeenSet = true; m_snapshotVersion = value; } /** *

The system generated version of a task template that is associated with a * task, when the task is created.

*/ inline void SetSnapshotVersion(Aws::String&& value) { m_snapshotVersionHasBeenSet = true; m_snapshotVersion = std::move(value); } /** *

The system generated version of a task template that is associated with a * task, when the task is created.

*/ inline void SetSnapshotVersion(const char* value) { m_snapshotVersionHasBeenSet = true; m_snapshotVersion.assign(value); } /** *

The system generated version of a task template that is associated with a * task, when the task is created.

*/ inline GetTaskTemplateRequest& WithSnapshotVersion(const Aws::String& value) { SetSnapshotVersion(value); return *this;} /** *

The system generated version of a task template that is associated with a * task, when the task is created.

*/ inline GetTaskTemplateRequest& WithSnapshotVersion(Aws::String&& value) { SetSnapshotVersion(std::move(value)); return *this;} /** *

The system generated version of a task template that is associated with a * task, when the task is created.

*/ inline GetTaskTemplateRequest& WithSnapshotVersion(const char* value) { SetSnapshotVersion(value); return *this;} private: Aws::String m_instanceId; bool m_instanceIdHasBeenSet = false; Aws::String m_taskTemplateId; bool m_taskTemplateIdHasBeenSet = false; Aws::String m_snapshotVersion; bool m_snapshotVersionHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws