/** * 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 GetMetricDataV2Request : public ConnectRequest { public: AWS_CONNECT_API GetMetricDataV2Request(); // 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 "GetMetricDataV2"; } AWS_CONNECT_API Aws::String SerializePayload() const override; /** *

The Amazon Resource Name (ARN) of the resource. This includes the * instanceId an Amazon Connect instance.

*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *

The Amazon Resource Name (ARN) of the resource. This includes the * instanceId an Amazon Connect instance.

*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the resource. This includes the * instanceId an Amazon Connect instance.

*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *

The Amazon Resource Name (ARN) of the resource. This includes the * instanceId an Amazon Connect instance.

*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the resource. This includes the * instanceId an Amazon Connect instance.

*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the resource. This includes the * instanceId an Amazon Connect instance.

*/ inline GetMetricDataV2Request& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the resource. This includes the * instanceId an Amazon Connect instance.

*/ inline GetMetricDataV2Request& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the resource. This includes the * instanceId an Amazon Connect instance.

*/ inline GetMetricDataV2Request& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** *

The timestamp, in UNIX Epoch time format, at which to start the reporting * interval for the retrieval of historical metrics data. The time must be before * the end time timestamp. The time range between the start and end time must be * less than 24 hours. The start time cannot be earlier than 35 days before the * time of the request. Historical metrics are available for 35 days.

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *

The timestamp, in UNIX Epoch time format, at which to start the reporting * interval for the retrieval of historical metrics data. The time must be before * the end time timestamp. The time range between the start and end time must be * less than 24 hours. The start time cannot be earlier than 35 days before the * time of the request. Historical metrics are available for 35 days.

*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *

The timestamp, in UNIX Epoch time format, at which to start the reporting * interval for the retrieval of historical metrics data. The time must be before * the end time timestamp. The time range between the start and end time must be * less than 24 hours. The start time cannot be earlier than 35 days before the * time of the request. Historical metrics are available for 35 days.

*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *

The timestamp, in UNIX Epoch time format, at which to start the reporting * interval for the retrieval of historical metrics data. The time must be before * the end time timestamp. The time range between the start and end time must be * less than 24 hours. The start time cannot be earlier than 35 days before the * time of the request. Historical metrics are available for 35 days.

*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *

The timestamp, in UNIX Epoch time format, at which to start the reporting * interval for the retrieval of historical metrics data. The time must be before * the end time timestamp. The time range between the start and end time must be * less than 24 hours. The start time cannot be earlier than 35 days before the * time of the request. Historical metrics are available for 35 days.

*/ inline GetMetricDataV2Request& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

The timestamp, in UNIX Epoch time format, at which to start the reporting * interval for the retrieval of historical metrics data. The time must be before * the end time timestamp. The time range between the start and end time must be * less than 24 hours. The start time cannot be earlier than 35 days before the * time of the request. Historical metrics are available for 35 days.

*/ inline GetMetricDataV2Request& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *

The timestamp, in UNIX Epoch time format, at which to end the reporting * interval for the retrieval of historical metrics data. The time must be later * than the start time timestamp. It cannot be later than the current * timestamp.

The time range between the start and end time must be less * than 24 hours.

*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *

The timestamp, in UNIX Epoch time format, at which to end the reporting * interval for the retrieval of historical metrics data. The time must be later * than the start time timestamp. It cannot be later than the current * timestamp.

The time range between the start and end time must be less * than 24 hours.

*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *

The timestamp, in UNIX Epoch time format, at which to end the reporting * interval for the retrieval of historical metrics data. The time must be later * than the start time timestamp. It cannot be later than the current * timestamp.

The time range between the start and end time must be less * than 24 hours.

*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *

The timestamp, in UNIX Epoch time format, at which to end the reporting * interval for the retrieval of historical metrics data. The time must be later * than the start time timestamp. It cannot be later than the current * timestamp.

The time range between the start and end time must be less * than 24 hours.

*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *

The timestamp, in UNIX Epoch time format, at which to end the reporting * interval for the retrieval of historical metrics data. The time must be later * than the start time timestamp. It cannot be later than the current * timestamp.

The time range between the start and end time must be less * than 24 hours.

*/ inline GetMetricDataV2Request& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *

The timestamp, in UNIX Epoch time format, at which to end the reporting * interval for the retrieval of historical metrics data. The time must be later * than the start time timestamp. It cannot be later than the current * timestamp.

The time range between the start and end time must be less * than 24 hours.

*/ inline GetMetricDataV2Request& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *

The filters to apply to returned metrics. You can filter on the following * resources:

  • Queues

  • Routing profiles

  • *
  • Agents

  • Channels

  • User hierarchy * groups

  • Feature

At least one filter must be * passed from queues, routing profiles, agents, or user hierarchy groups.

*

To filter by phone number, see Create * a historical metrics report in the Amazon Connect Administrator's * Guide.

Note the following limits:

  • Filter * keys: A maximum of 5 filter keys are supported in a single request. Valid * filter keys: QUEUE | ROUTING_PROFILE | * AGENT | CHANNEL | * AGENT_HIERARCHY_LEVEL_ONE | AGENT_HIERARCHY_LEVEL_TWO * | AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | * AGENT_HIERARCHY_LEVEL_FIVE | FEATURE

  • *

    Filter values: A maximum of 100 filter values are supported in a * single request. VOICE, CHAT, and TASK are valid filterValue for the * CHANNEL filter key. They do not count towards limitation of 100 filter values. * For example, a GetMetricDataV2 request can filter by 50 queues, 35 agents, and * 15 routing profiles for a total of 100 filter values, along with 3 channel * filters.

    contact_lens_conversational_analytics is a valid * filterValue for the FEATURE filter key. It is available only to * contacts analyzed by Contact Lens conversational analytics.

*/ inline const Aws::Vector& GetFilters() const{ return m_filters; } /** *

The filters to apply to returned metrics. You can filter on the following * resources:

  • Queues

  • Routing profiles

  • *
  • Agents

  • Channels

  • User hierarchy * groups

  • Feature

At least one filter must be * passed from queues, routing profiles, agents, or user hierarchy groups.

*

To filter by phone number, see Create * a historical metrics report in the Amazon Connect Administrator's * Guide.

Note the following limits:

  • Filter * keys: A maximum of 5 filter keys are supported in a single request. Valid * filter keys: QUEUE | ROUTING_PROFILE | * AGENT | CHANNEL | * AGENT_HIERARCHY_LEVEL_ONE | AGENT_HIERARCHY_LEVEL_TWO * | AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | * AGENT_HIERARCHY_LEVEL_FIVE | FEATURE

  • *

    Filter values: A maximum of 100 filter values are supported in a * single request. VOICE, CHAT, and TASK are valid filterValue for the * CHANNEL filter key. They do not count towards limitation of 100 filter values. * For example, a GetMetricDataV2 request can filter by 50 queues, 35 agents, and * 15 routing profiles for a total of 100 filter values, along with 3 channel * filters.

    contact_lens_conversational_analytics is a valid * filterValue for the FEATURE filter key. It is available only to * contacts analyzed by Contact Lens conversational analytics.

*/ inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } /** *

The filters to apply to returned metrics. You can filter on the following * resources:

  • Queues

  • Routing profiles

  • *
  • Agents

  • Channels

  • User hierarchy * groups

  • Feature

At least one filter must be * passed from queues, routing profiles, agents, or user hierarchy groups.

*

To filter by phone number, see Create * a historical metrics report in the Amazon Connect Administrator's * Guide.

Note the following limits:

  • Filter * keys: A maximum of 5 filter keys are supported in a single request. Valid * filter keys: QUEUE | ROUTING_PROFILE | * AGENT | CHANNEL | * AGENT_HIERARCHY_LEVEL_ONE | AGENT_HIERARCHY_LEVEL_TWO * | AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | * AGENT_HIERARCHY_LEVEL_FIVE | FEATURE

  • *

    Filter values: A maximum of 100 filter values are supported in a * single request. VOICE, CHAT, and TASK are valid filterValue for the * CHANNEL filter key. They do not count towards limitation of 100 filter values. * For example, a GetMetricDataV2 request can filter by 50 queues, 35 agents, and * 15 routing profiles for a total of 100 filter values, along with 3 channel * filters.

    contact_lens_conversational_analytics is a valid * filterValue for the FEATURE filter key. It is available only to * contacts analyzed by Contact Lens conversational analytics.

*/ inline void SetFilters(const Aws::Vector& value) { m_filtersHasBeenSet = true; m_filters = value; } /** *

The filters to apply to returned metrics. You can filter on the following * resources:

  • Queues

  • Routing profiles

  • *
  • Agents

  • Channels

  • User hierarchy * groups

  • Feature

At least one filter must be * passed from queues, routing profiles, agents, or user hierarchy groups.

*

To filter by phone number, see Create * a historical metrics report in the Amazon Connect Administrator's * Guide.

Note the following limits:

  • Filter * keys: A maximum of 5 filter keys are supported in a single request. Valid * filter keys: QUEUE | ROUTING_PROFILE | * AGENT | CHANNEL | * AGENT_HIERARCHY_LEVEL_ONE | AGENT_HIERARCHY_LEVEL_TWO * | AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | * AGENT_HIERARCHY_LEVEL_FIVE | FEATURE

  • *

    Filter values: A maximum of 100 filter values are supported in a * single request. VOICE, CHAT, and TASK are valid filterValue for the * CHANNEL filter key. They do not count towards limitation of 100 filter values. * For example, a GetMetricDataV2 request can filter by 50 queues, 35 agents, and * 15 routing profiles for a total of 100 filter values, along with 3 channel * filters.

    contact_lens_conversational_analytics is a valid * filterValue for the FEATURE filter key. It is available only to * contacts analyzed by Contact Lens conversational analytics.

*/ inline void SetFilters(Aws::Vector&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); } /** *

The filters to apply to returned metrics. You can filter on the following * resources:

  • Queues

  • Routing profiles

  • *
  • Agents

  • Channels

  • User hierarchy * groups

  • Feature

At least one filter must be * passed from queues, routing profiles, agents, or user hierarchy groups.

*

To filter by phone number, see Create * a historical metrics report in the Amazon Connect Administrator's * Guide.

Note the following limits:

  • Filter * keys: A maximum of 5 filter keys are supported in a single request. Valid * filter keys: QUEUE | ROUTING_PROFILE | * AGENT | CHANNEL | * AGENT_HIERARCHY_LEVEL_ONE | AGENT_HIERARCHY_LEVEL_TWO * | AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | * AGENT_HIERARCHY_LEVEL_FIVE | FEATURE

  • *

    Filter values: A maximum of 100 filter values are supported in a * single request. VOICE, CHAT, and TASK are valid filterValue for the * CHANNEL filter key. They do not count towards limitation of 100 filter values. * For example, a GetMetricDataV2 request can filter by 50 queues, 35 agents, and * 15 routing profiles for a total of 100 filter values, along with 3 channel * filters.

    contact_lens_conversational_analytics is a valid * filterValue for the FEATURE filter key. It is available only to * contacts analyzed by Contact Lens conversational analytics.

*/ inline GetMetricDataV2Request& WithFilters(const Aws::Vector& value) { SetFilters(value); return *this;} /** *

The filters to apply to returned metrics. You can filter on the following * resources:

  • Queues

  • Routing profiles

  • *
  • Agents

  • Channels

  • User hierarchy * groups

  • Feature

At least one filter must be * passed from queues, routing profiles, agents, or user hierarchy groups.

*

To filter by phone number, see Create * a historical metrics report in the Amazon Connect Administrator's * Guide.

Note the following limits:

  • Filter * keys: A maximum of 5 filter keys are supported in a single request. Valid * filter keys: QUEUE | ROUTING_PROFILE | * AGENT | CHANNEL | * AGENT_HIERARCHY_LEVEL_ONE | AGENT_HIERARCHY_LEVEL_TWO * | AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | * AGENT_HIERARCHY_LEVEL_FIVE | FEATURE

  • *

    Filter values: A maximum of 100 filter values are supported in a * single request. VOICE, CHAT, and TASK are valid filterValue for the * CHANNEL filter key. They do not count towards limitation of 100 filter values. * For example, a GetMetricDataV2 request can filter by 50 queues, 35 agents, and * 15 routing profiles for a total of 100 filter values, along with 3 channel * filters.

    contact_lens_conversational_analytics is a valid * filterValue for the FEATURE filter key. It is available only to * contacts analyzed by Contact Lens conversational analytics.

*/ inline GetMetricDataV2Request& WithFilters(Aws::Vector&& value) { SetFilters(std::move(value)); return *this;} /** *

The filters to apply to returned metrics. You can filter on the following * resources:

  • Queues

  • Routing profiles

  • *
  • Agents

  • Channels

  • User hierarchy * groups

  • Feature

At least one filter must be * passed from queues, routing profiles, agents, or user hierarchy groups.

*

To filter by phone number, see Create * a historical metrics report in the Amazon Connect Administrator's * Guide.

Note the following limits:

  • Filter * keys: A maximum of 5 filter keys are supported in a single request. Valid * filter keys: QUEUE | ROUTING_PROFILE | * AGENT | CHANNEL | * AGENT_HIERARCHY_LEVEL_ONE | AGENT_HIERARCHY_LEVEL_TWO * | AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | * AGENT_HIERARCHY_LEVEL_FIVE | FEATURE

  • *

    Filter values: A maximum of 100 filter values are supported in a * single request. VOICE, CHAT, and TASK are valid filterValue for the * CHANNEL filter key. They do not count towards limitation of 100 filter values. * For example, a GetMetricDataV2 request can filter by 50 queues, 35 agents, and * 15 routing profiles for a total of 100 filter values, along with 3 channel * filters.

    contact_lens_conversational_analytics is a valid * filterValue for the FEATURE filter key. It is available only to * contacts analyzed by Contact Lens conversational analytics.

*/ inline GetMetricDataV2Request& AddFilters(const FilterV2& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; } /** *

The filters to apply to returned metrics. You can filter on the following * resources:

  • Queues

  • Routing profiles

  • *
  • Agents

  • Channels

  • User hierarchy * groups

  • Feature

At least one filter must be * passed from queues, routing profiles, agents, or user hierarchy groups.

*

To filter by phone number, see Create * a historical metrics report in the Amazon Connect Administrator's * Guide.

Note the following limits:

  • Filter * keys: A maximum of 5 filter keys are supported in a single request. Valid * filter keys: QUEUE | ROUTING_PROFILE | * AGENT | CHANNEL | * AGENT_HIERARCHY_LEVEL_ONE | AGENT_HIERARCHY_LEVEL_TWO * | AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | * AGENT_HIERARCHY_LEVEL_FIVE | FEATURE

  • *

    Filter values: A maximum of 100 filter values are supported in a * single request. VOICE, CHAT, and TASK are valid filterValue for the * CHANNEL filter key. They do not count towards limitation of 100 filter values. * For example, a GetMetricDataV2 request can filter by 50 queues, 35 agents, and * 15 routing profiles for a total of 100 filter values, along with 3 channel * filters.

    contact_lens_conversational_analytics is a valid * filterValue for the FEATURE filter key. It is available only to * contacts analyzed by Contact Lens conversational analytics.

*/ inline GetMetricDataV2Request& AddFilters(FilterV2&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; } /** *

The grouping applied to the metrics that are returned. For example, when * results are grouped by queue, the metrics returned are grouped by queue. The * values that are returned apply to the metrics for each queue. They are not * aggregated for all queues.

If no grouping is specified, a summary of all * metrics is returned.

Valid grouping keys: QUEUE | * ROUTING_PROFILE | AGENT | CHANNEL | * AGENT_HIERARCHY_LEVEL_ONE | AGENT_HIERARCHY_LEVEL_TWO * | AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | * AGENT_HIERARCHY_LEVEL_FIVE

*/ inline const Aws::Vector& GetGroupings() const{ return m_groupings; } /** *

The grouping applied to the metrics that are returned. For example, when * results are grouped by queue, the metrics returned are grouped by queue. The * values that are returned apply to the metrics for each queue. They are not * aggregated for all queues.

If no grouping is specified, a summary of all * metrics is returned.

Valid grouping keys: QUEUE | * ROUTING_PROFILE | AGENT | CHANNEL | * AGENT_HIERARCHY_LEVEL_ONE | AGENT_HIERARCHY_LEVEL_TWO * | AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | * AGENT_HIERARCHY_LEVEL_FIVE

*/ inline bool GroupingsHasBeenSet() const { return m_groupingsHasBeenSet; } /** *

The grouping applied to the metrics that are returned. For example, when * results are grouped by queue, the metrics returned are grouped by queue. The * values that are returned apply to the metrics for each queue. They are not * aggregated for all queues.

If no grouping is specified, a summary of all * metrics is returned.

Valid grouping keys: QUEUE | * ROUTING_PROFILE | AGENT | CHANNEL | * AGENT_HIERARCHY_LEVEL_ONE | AGENT_HIERARCHY_LEVEL_TWO * | AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | * AGENT_HIERARCHY_LEVEL_FIVE

*/ inline void SetGroupings(const Aws::Vector& value) { m_groupingsHasBeenSet = true; m_groupings = value; } /** *

The grouping applied to the metrics that are returned. For example, when * results are grouped by queue, the metrics returned are grouped by queue. The * values that are returned apply to the metrics for each queue. They are not * aggregated for all queues.

If no grouping is specified, a summary of all * metrics is returned.

Valid grouping keys: QUEUE | * ROUTING_PROFILE | AGENT | CHANNEL | * AGENT_HIERARCHY_LEVEL_ONE | AGENT_HIERARCHY_LEVEL_TWO * | AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | * AGENT_HIERARCHY_LEVEL_FIVE

*/ inline void SetGroupings(Aws::Vector&& value) { m_groupingsHasBeenSet = true; m_groupings = std::move(value); } /** *

The grouping applied to the metrics that are returned. For example, when * results are grouped by queue, the metrics returned are grouped by queue. The * values that are returned apply to the metrics for each queue. They are not * aggregated for all queues.

If no grouping is specified, a summary of all * metrics is returned.

Valid grouping keys: QUEUE | * ROUTING_PROFILE | AGENT | CHANNEL | * AGENT_HIERARCHY_LEVEL_ONE | AGENT_HIERARCHY_LEVEL_TWO * | AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | * AGENT_HIERARCHY_LEVEL_FIVE

*/ inline GetMetricDataV2Request& WithGroupings(const Aws::Vector& value) { SetGroupings(value); return *this;} /** *

The grouping applied to the metrics that are returned. For example, when * results are grouped by queue, the metrics returned are grouped by queue. The * values that are returned apply to the metrics for each queue. They are not * aggregated for all queues.

If no grouping is specified, a summary of all * metrics is returned.

Valid grouping keys: QUEUE | * ROUTING_PROFILE | AGENT | CHANNEL | * AGENT_HIERARCHY_LEVEL_ONE | AGENT_HIERARCHY_LEVEL_TWO * | AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | * AGENT_HIERARCHY_LEVEL_FIVE

*/ inline GetMetricDataV2Request& WithGroupings(Aws::Vector&& value) { SetGroupings(std::move(value)); return *this;} /** *

The grouping applied to the metrics that are returned. For example, when * results are grouped by queue, the metrics returned are grouped by queue. The * values that are returned apply to the metrics for each queue. They are not * aggregated for all queues.

If no grouping is specified, a summary of all * metrics is returned.

Valid grouping keys: QUEUE | * ROUTING_PROFILE | AGENT | CHANNEL | * AGENT_HIERARCHY_LEVEL_ONE | AGENT_HIERARCHY_LEVEL_TWO * | AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | * AGENT_HIERARCHY_LEVEL_FIVE

*/ inline GetMetricDataV2Request& AddGroupings(const Aws::String& value) { m_groupingsHasBeenSet = true; m_groupings.push_back(value); return *this; } /** *

The grouping applied to the metrics that are returned. For example, when * results are grouped by queue, the metrics returned are grouped by queue. The * values that are returned apply to the metrics for each queue. They are not * aggregated for all queues.

If no grouping is specified, a summary of all * metrics is returned.

Valid grouping keys: QUEUE | * ROUTING_PROFILE | AGENT | CHANNEL | * AGENT_HIERARCHY_LEVEL_ONE | AGENT_HIERARCHY_LEVEL_TWO * | AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | * AGENT_HIERARCHY_LEVEL_FIVE

*/ inline GetMetricDataV2Request& AddGroupings(Aws::String&& value) { m_groupingsHasBeenSet = true; m_groupings.push_back(std::move(value)); return *this; } /** *

The grouping applied to the metrics that are returned. For example, when * results are grouped by queue, the metrics returned are grouped by queue. The * values that are returned apply to the metrics for each queue. They are not * aggregated for all queues.

If no grouping is specified, a summary of all * metrics is returned.

Valid grouping keys: QUEUE | * ROUTING_PROFILE | AGENT | CHANNEL | * AGENT_HIERARCHY_LEVEL_ONE | AGENT_HIERARCHY_LEVEL_TWO * | AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | * AGENT_HIERARCHY_LEVEL_FIVE

*/ inline GetMetricDataV2Request& AddGroupings(const char* value) { m_groupingsHasBeenSet = true; m_groupings.push_back(value); return *this; } /** *

The metrics to retrieve. Specify the name, groupings, and filters for each * metric. The following historical metrics are available. For a description of * each metric, see Historical * metrics definitions in the Amazon Connect Administrator's Guide.

*
AGENT_ADHERENT_TIME

This metric is available only in * Amazon Web Services Regions where Forecasting, * capacity planning, and scheduling is available.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AGENT_NON_RESPONSE

Unit: Count

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AGENT_OCCUPANCY

Unit: Percentage

*

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

*
AGENT_SCHEDULE_ADHERENCE

This metric is available only in * Amazon Web Services Regions where Forecasting, * capacity planning, and scheduling is available.

Unit: Percent

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AGENT_SCHEDULED_TIME

This metric is * available only in Amazon Web Services Regions where Forecasting, * capacity planning, and scheduling is available.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_ABANDON_TIME

Unit: Seconds

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_AFTER_CONTACT_WORK_TIME

Unit: * Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy, Feature

Feature is a valid filter but not * a valid grouping.

AVG_AGENT_CONNECTING_TIME
*

Unit: Seconds

Valid metric filter key: INITIATION_METHOD. * For now, this metric only supports the following as * INITIATION_METHOD: INBOUND | OUTBOUND | * CALLBACK | API

Valid groupings and filters: * Queue, Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_AGENT_CONNECTING_TIME

Unit: Seconds

Valid metric * filter key: INITIATION_METHOD. For now, this metric only supports * the following as INITIATION_METHOD: INBOUND | * OUTBOUND | CALLBACK | API

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_CONTACT_DURATION

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy, Feature

Feature is a valid filter but not a valid * grouping.

AVG_CONVERSATION_DURATION

Unit: * Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

AVG_GREETING_TIME_AGENT

This * metric is available only for contacts analyzed by Contact Lens conversational * analytics.

Unit: Seconds

Valid groupings and filters: Queue, * Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_HANDLE_TIME

Unit: Seconds

Valid groupings and * filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_HOLD_TIME

Unit: Seconds

Valid groupings and filters: * Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_HOLDS

Unit: Count

Valid groupings and filters: * Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_INTERACTION_AND_HOLD_TIME

Unit: Seconds

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_INTERACTION_TIME

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_INTERRUPTIONS_AGENT

This metric is available only for * contacts analyzed by Contact Lens conversational analytics.

Unit: * Count

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

AVG_INTERRUPTION_TIME_AGENT
*

This metric is available only for contacts analyzed by Contact Lens * conversational analytics.

Unit: Seconds

Valid groupings and * filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_NON_TALK_TIME

This metric is available only for contacts * analyzed by Contact Lens conversational analytics.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_QUEUE_ANSWER_TIME

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_TALK_TIME

This metric is available only for contacts * analyzed by Contact Lens conversational analytics.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_TALK_TIME_AGENT

This metric is * available only for contacts analyzed by Contact Lens conversational * analytics.

Unit: Seconds

Valid groupings and filters: Queue, * Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_TALK_TIME_CUSTOMER

This metric is available only for * contacts analyzed by Contact Lens conversational analytics.

Unit: * Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

CONTACTS_ABANDONED

Unit: * Count

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

CONTACTS_CREATED

Unit: * Count

Valid metric filter key: INITIATION_METHOD

*

Valid groupings and filters: Queue, Channel, Routing Profile, Feature

*

Feature is a valid filter but not a valid grouping.

*
CONTACTS_HANDLED

Unit: Count

Valid metric filter key: * INITIATION_METHOD, DISCONNECT_REASON

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, * Feature

Feature is a valid filter but not a valid grouping.

*
CONTACTS_HOLD_ABANDONS

Unit: Count

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

CONTACTS_QUEUED

Unit: Count

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

CONTACTS_TRANSFERRED_OUT

Unit: Count

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy, Feature

Feature is a valid filter but not a valid * grouping.

CONTACTS_TRANSFERRED_OUT_BY_AGENT
*

Unit: Count

Valid groupings and filters: Queue, Channel, Routing * Profile, Agent, Agent Hierarchy

*
CONTACTS_TRANSFERRED_OUT_FROM_QUEUE

Unit: Count

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

MAX_QUEUED_TIME

Unit: Seconds

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

SERVICE_LEVEL

You can include up to 20 * SERVICE_LEVEL metrics in a request.

Unit: Percent

Valid groupings * and filters: Queue, Channel, Routing Profile

Threshold: For * ThresholdValue, enter any whole number from 1 to 604800 * (inclusive), in seconds. For Comparison, you must enter * LT (for "Less than").

*
SUM_CONTACTS_ANSWERED_IN_X

Unit: Count

Valid groupings * and filters: Queue, Channel, Routing Profile

Threshold: For * ThresholdValue, enter any whole number from 1 to 604800 * (inclusive), in seconds. For Comparison, you must enter * LT (for "Less than").

*
SUM_CONTACTS_ABANDONED_IN_X

Unit: Count

Valid groupings * and filters: Queue, Channel, Routing Profile

Threshold: For * ThresholdValue, enter any whole number from 1 to 604800 * (inclusive), in seconds. For Comparison, you must enter * LT (for "Less than").

SUM_CONTACTS_DISCONNECTED *

Valid metric filter key: DISCONNECT_REASON

*

Unit: Count

Valid groupings and filters: Queue, Channel, Routing * Profile

SUM_RETRY_CALLBACK_ATTEMPTS

Unit: Count

*

Valid groupings and filters: Queue, Channel, Routing Profile

*/ inline const Aws::Vector& GetMetrics() const{ return m_metrics; } /** *

The metrics to retrieve. Specify the name, groupings, and filters for each * metric. The following historical metrics are available. For a description of * each metric, see Historical * metrics definitions in the Amazon Connect Administrator's Guide.

*
AGENT_ADHERENT_TIME

This metric is available only in * Amazon Web Services Regions where Forecasting, * capacity planning, and scheduling is available.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AGENT_NON_RESPONSE

Unit: Count

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AGENT_OCCUPANCY

Unit: Percentage

*

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

*
AGENT_SCHEDULE_ADHERENCE

This metric is available only in * Amazon Web Services Regions where Forecasting, * capacity planning, and scheduling is available.

Unit: Percent

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AGENT_SCHEDULED_TIME

This metric is * available only in Amazon Web Services Regions where Forecasting, * capacity planning, and scheduling is available.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_ABANDON_TIME

Unit: Seconds

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_AFTER_CONTACT_WORK_TIME

Unit: * Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy, Feature

Feature is a valid filter but not * a valid grouping.

AVG_AGENT_CONNECTING_TIME
*

Unit: Seconds

Valid metric filter key: INITIATION_METHOD. * For now, this metric only supports the following as * INITIATION_METHOD: INBOUND | OUTBOUND | * CALLBACK | API

Valid groupings and filters: * Queue, Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_AGENT_CONNECTING_TIME

Unit: Seconds

Valid metric * filter key: INITIATION_METHOD. For now, this metric only supports * the following as INITIATION_METHOD: INBOUND | * OUTBOUND | CALLBACK | API

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_CONTACT_DURATION

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy, Feature

Feature is a valid filter but not a valid * grouping.

AVG_CONVERSATION_DURATION

Unit: * Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

AVG_GREETING_TIME_AGENT

This * metric is available only for contacts analyzed by Contact Lens conversational * analytics.

Unit: Seconds

Valid groupings and filters: Queue, * Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_HANDLE_TIME

Unit: Seconds

Valid groupings and * filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_HOLD_TIME

Unit: Seconds

Valid groupings and filters: * Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_HOLDS

Unit: Count

Valid groupings and filters: * Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_INTERACTION_AND_HOLD_TIME

Unit: Seconds

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_INTERACTION_TIME

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_INTERRUPTIONS_AGENT

This metric is available only for * contacts analyzed by Contact Lens conversational analytics.

Unit: * Count

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

AVG_INTERRUPTION_TIME_AGENT
*

This metric is available only for contacts analyzed by Contact Lens * conversational analytics.

Unit: Seconds

Valid groupings and * filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_NON_TALK_TIME

This metric is available only for contacts * analyzed by Contact Lens conversational analytics.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_QUEUE_ANSWER_TIME

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_TALK_TIME

This metric is available only for contacts * analyzed by Contact Lens conversational analytics.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_TALK_TIME_AGENT

This metric is * available only for contacts analyzed by Contact Lens conversational * analytics.

Unit: Seconds

Valid groupings and filters: Queue, * Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_TALK_TIME_CUSTOMER

This metric is available only for * contacts analyzed by Contact Lens conversational analytics.

Unit: * Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

CONTACTS_ABANDONED

Unit: * Count

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

CONTACTS_CREATED

Unit: * Count

Valid metric filter key: INITIATION_METHOD

*

Valid groupings and filters: Queue, Channel, Routing Profile, Feature

*

Feature is a valid filter but not a valid grouping.

*
CONTACTS_HANDLED

Unit: Count

Valid metric filter key: * INITIATION_METHOD, DISCONNECT_REASON

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, * Feature

Feature is a valid filter but not a valid grouping.

*
CONTACTS_HOLD_ABANDONS

Unit: Count

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

CONTACTS_QUEUED

Unit: Count

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

CONTACTS_TRANSFERRED_OUT

Unit: Count

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy, Feature

Feature is a valid filter but not a valid * grouping.

CONTACTS_TRANSFERRED_OUT_BY_AGENT
*

Unit: Count

Valid groupings and filters: Queue, Channel, Routing * Profile, Agent, Agent Hierarchy

*
CONTACTS_TRANSFERRED_OUT_FROM_QUEUE

Unit: Count

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

MAX_QUEUED_TIME

Unit: Seconds

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

SERVICE_LEVEL

You can include up to 20 * SERVICE_LEVEL metrics in a request.

Unit: Percent

Valid groupings * and filters: Queue, Channel, Routing Profile

Threshold: For * ThresholdValue, enter any whole number from 1 to 604800 * (inclusive), in seconds. For Comparison, you must enter * LT (for "Less than").

*
SUM_CONTACTS_ANSWERED_IN_X

Unit: Count

Valid groupings * and filters: Queue, Channel, Routing Profile

Threshold: For * ThresholdValue, enter any whole number from 1 to 604800 * (inclusive), in seconds. For Comparison, you must enter * LT (for "Less than").

*
SUM_CONTACTS_ABANDONED_IN_X

Unit: Count

Valid groupings * and filters: Queue, Channel, Routing Profile

Threshold: For * ThresholdValue, enter any whole number from 1 to 604800 * (inclusive), in seconds. For Comparison, you must enter * LT (for "Less than").

SUM_CONTACTS_DISCONNECTED *

Valid metric filter key: DISCONNECT_REASON

*

Unit: Count

Valid groupings and filters: Queue, Channel, Routing * Profile

SUM_RETRY_CALLBACK_ATTEMPTS

Unit: Count

*

Valid groupings and filters: Queue, Channel, Routing Profile

*/ inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; } /** *

The metrics to retrieve. Specify the name, groupings, and filters for each * metric. The following historical metrics are available. For a description of * each metric, see Historical * metrics definitions in the Amazon Connect Administrator's Guide.

*
AGENT_ADHERENT_TIME

This metric is available only in * Amazon Web Services Regions where Forecasting, * capacity planning, and scheduling is available.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AGENT_NON_RESPONSE

Unit: Count

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AGENT_OCCUPANCY

Unit: Percentage

*

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

*
AGENT_SCHEDULE_ADHERENCE

This metric is available only in * Amazon Web Services Regions where Forecasting, * capacity planning, and scheduling is available.

Unit: Percent

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AGENT_SCHEDULED_TIME

This metric is * available only in Amazon Web Services Regions where Forecasting, * capacity planning, and scheduling is available.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_ABANDON_TIME

Unit: Seconds

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_AFTER_CONTACT_WORK_TIME

Unit: * Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy, Feature

Feature is a valid filter but not * a valid grouping.

AVG_AGENT_CONNECTING_TIME
*

Unit: Seconds

Valid metric filter key: INITIATION_METHOD. * For now, this metric only supports the following as * INITIATION_METHOD: INBOUND | OUTBOUND | * CALLBACK | API

Valid groupings and filters: * Queue, Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_AGENT_CONNECTING_TIME

Unit: Seconds

Valid metric * filter key: INITIATION_METHOD. For now, this metric only supports * the following as INITIATION_METHOD: INBOUND | * OUTBOUND | CALLBACK | API

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_CONTACT_DURATION

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy, Feature

Feature is a valid filter but not a valid * grouping.

AVG_CONVERSATION_DURATION

Unit: * Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

AVG_GREETING_TIME_AGENT

This * metric is available only for contacts analyzed by Contact Lens conversational * analytics.

Unit: Seconds

Valid groupings and filters: Queue, * Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_HANDLE_TIME

Unit: Seconds

Valid groupings and * filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_HOLD_TIME

Unit: Seconds

Valid groupings and filters: * Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_HOLDS

Unit: Count

Valid groupings and filters: * Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_INTERACTION_AND_HOLD_TIME

Unit: Seconds

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_INTERACTION_TIME

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_INTERRUPTIONS_AGENT

This metric is available only for * contacts analyzed by Contact Lens conversational analytics.

Unit: * Count

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

AVG_INTERRUPTION_TIME_AGENT
*

This metric is available only for contacts analyzed by Contact Lens * conversational analytics.

Unit: Seconds

Valid groupings and * filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_NON_TALK_TIME

This metric is available only for contacts * analyzed by Contact Lens conversational analytics.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_QUEUE_ANSWER_TIME

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_TALK_TIME

This metric is available only for contacts * analyzed by Contact Lens conversational analytics.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_TALK_TIME_AGENT

This metric is * available only for contacts analyzed by Contact Lens conversational * analytics.

Unit: Seconds

Valid groupings and filters: Queue, * Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_TALK_TIME_CUSTOMER

This metric is available only for * contacts analyzed by Contact Lens conversational analytics.

Unit: * Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

CONTACTS_ABANDONED

Unit: * Count

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

CONTACTS_CREATED

Unit: * Count

Valid metric filter key: INITIATION_METHOD

*

Valid groupings and filters: Queue, Channel, Routing Profile, Feature

*

Feature is a valid filter but not a valid grouping.

*
CONTACTS_HANDLED

Unit: Count

Valid metric filter key: * INITIATION_METHOD, DISCONNECT_REASON

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, * Feature

Feature is a valid filter but not a valid grouping.

*
CONTACTS_HOLD_ABANDONS

Unit: Count

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

CONTACTS_QUEUED

Unit: Count

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

CONTACTS_TRANSFERRED_OUT

Unit: Count

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy, Feature

Feature is a valid filter but not a valid * grouping.

CONTACTS_TRANSFERRED_OUT_BY_AGENT
*

Unit: Count

Valid groupings and filters: Queue, Channel, Routing * Profile, Agent, Agent Hierarchy

*
CONTACTS_TRANSFERRED_OUT_FROM_QUEUE

Unit: Count

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

MAX_QUEUED_TIME

Unit: Seconds

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

SERVICE_LEVEL

You can include up to 20 * SERVICE_LEVEL metrics in a request.

Unit: Percent

Valid groupings * and filters: Queue, Channel, Routing Profile

Threshold: For * ThresholdValue, enter any whole number from 1 to 604800 * (inclusive), in seconds. For Comparison, you must enter * LT (for "Less than").

*
SUM_CONTACTS_ANSWERED_IN_X

Unit: Count

Valid groupings * and filters: Queue, Channel, Routing Profile

Threshold: For * ThresholdValue, enter any whole number from 1 to 604800 * (inclusive), in seconds. For Comparison, you must enter * LT (for "Less than").

*
SUM_CONTACTS_ABANDONED_IN_X

Unit: Count

Valid groupings * and filters: Queue, Channel, Routing Profile

Threshold: For * ThresholdValue, enter any whole number from 1 to 604800 * (inclusive), in seconds. For Comparison, you must enter * LT (for "Less than").

SUM_CONTACTS_DISCONNECTED *

Valid metric filter key: DISCONNECT_REASON

*

Unit: Count

Valid groupings and filters: Queue, Channel, Routing * Profile

SUM_RETRY_CALLBACK_ATTEMPTS

Unit: Count

*

Valid groupings and filters: Queue, Channel, Routing Profile

*/ inline void SetMetrics(const Aws::Vector& value) { m_metricsHasBeenSet = true; m_metrics = value; } /** *

The metrics to retrieve. Specify the name, groupings, and filters for each * metric. The following historical metrics are available. For a description of * each metric, see Historical * metrics definitions in the Amazon Connect Administrator's Guide.

*
AGENT_ADHERENT_TIME

This metric is available only in * Amazon Web Services Regions where Forecasting, * capacity planning, and scheduling is available.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AGENT_NON_RESPONSE

Unit: Count

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AGENT_OCCUPANCY

Unit: Percentage

*

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

*
AGENT_SCHEDULE_ADHERENCE

This metric is available only in * Amazon Web Services Regions where Forecasting, * capacity planning, and scheduling is available.

Unit: Percent

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AGENT_SCHEDULED_TIME

This metric is * available only in Amazon Web Services Regions where Forecasting, * capacity planning, and scheduling is available.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_ABANDON_TIME

Unit: Seconds

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_AFTER_CONTACT_WORK_TIME

Unit: * Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy, Feature

Feature is a valid filter but not * a valid grouping.

AVG_AGENT_CONNECTING_TIME
*

Unit: Seconds

Valid metric filter key: INITIATION_METHOD. * For now, this metric only supports the following as * INITIATION_METHOD: INBOUND | OUTBOUND | * CALLBACK | API

Valid groupings and filters: * Queue, Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_AGENT_CONNECTING_TIME

Unit: Seconds

Valid metric * filter key: INITIATION_METHOD. For now, this metric only supports * the following as INITIATION_METHOD: INBOUND | * OUTBOUND | CALLBACK | API

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_CONTACT_DURATION

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy, Feature

Feature is a valid filter but not a valid * grouping.

AVG_CONVERSATION_DURATION

Unit: * Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

AVG_GREETING_TIME_AGENT

This * metric is available only for contacts analyzed by Contact Lens conversational * analytics.

Unit: Seconds

Valid groupings and filters: Queue, * Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_HANDLE_TIME

Unit: Seconds

Valid groupings and * filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_HOLD_TIME

Unit: Seconds

Valid groupings and filters: * Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_HOLDS

Unit: Count

Valid groupings and filters: * Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_INTERACTION_AND_HOLD_TIME

Unit: Seconds

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_INTERACTION_TIME

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_INTERRUPTIONS_AGENT

This metric is available only for * contacts analyzed by Contact Lens conversational analytics.

Unit: * Count

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

AVG_INTERRUPTION_TIME_AGENT
*

This metric is available only for contacts analyzed by Contact Lens * conversational analytics.

Unit: Seconds

Valid groupings and * filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_NON_TALK_TIME

This metric is available only for contacts * analyzed by Contact Lens conversational analytics.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_QUEUE_ANSWER_TIME

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_TALK_TIME

This metric is available only for contacts * analyzed by Contact Lens conversational analytics.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_TALK_TIME_AGENT

This metric is * available only for contacts analyzed by Contact Lens conversational * analytics.

Unit: Seconds

Valid groupings and filters: Queue, * Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_TALK_TIME_CUSTOMER

This metric is available only for * contacts analyzed by Contact Lens conversational analytics.

Unit: * Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

CONTACTS_ABANDONED

Unit: * Count

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

CONTACTS_CREATED

Unit: * Count

Valid metric filter key: INITIATION_METHOD

*

Valid groupings and filters: Queue, Channel, Routing Profile, Feature

*

Feature is a valid filter but not a valid grouping.

*
CONTACTS_HANDLED

Unit: Count

Valid metric filter key: * INITIATION_METHOD, DISCONNECT_REASON

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, * Feature

Feature is a valid filter but not a valid grouping.

*
CONTACTS_HOLD_ABANDONS

Unit: Count

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

CONTACTS_QUEUED

Unit: Count

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

CONTACTS_TRANSFERRED_OUT

Unit: Count

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy, Feature

Feature is a valid filter but not a valid * grouping.

CONTACTS_TRANSFERRED_OUT_BY_AGENT
*

Unit: Count

Valid groupings and filters: Queue, Channel, Routing * Profile, Agent, Agent Hierarchy

*
CONTACTS_TRANSFERRED_OUT_FROM_QUEUE

Unit: Count

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

MAX_QUEUED_TIME

Unit: Seconds

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

SERVICE_LEVEL

You can include up to 20 * SERVICE_LEVEL metrics in a request.

Unit: Percent

Valid groupings * and filters: Queue, Channel, Routing Profile

Threshold: For * ThresholdValue, enter any whole number from 1 to 604800 * (inclusive), in seconds. For Comparison, you must enter * LT (for "Less than").

*
SUM_CONTACTS_ANSWERED_IN_X

Unit: Count

Valid groupings * and filters: Queue, Channel, Routing Profile

Threshold: For * ThresholdValue, enter any whole number from 1 to 604800 * (inclusive), in seconds. For Comparison, you must enter * LT (for "Less than").

*
SUM_CONTACTS_ABANDONED_IN_X

Unit: Count

Valid groupings * and filters: Queue, Channel, Routing Profile

Threshold: For * ThresholdValue, enter any whole number from 1 to 604800 * (inclusive), in seconds. For Comparison, you must enter * LT (for "Less than").

SUM_CONTACTS_DISCONNECTED *

Valid metric filter key: DISCONNECT_REASON

*

Unit: Count

Valid groupings and filters: Queue, Channel, Routing * Profile

SUM_RETRY_CALLBACK_ATTEMPTS

Unit: Count

*

Valid groupings and filters: Queue, Channel, Routing Profile

*/ inline void SetMetrics(Aws::Vector&& value) { m_metricsHasBeenSet = true; m_metrics = std::move(value); } /** *

The metrics to retrieve. Specify the name, groupings, and filters for each * metric. The following historical metrics are available. For a description of * each metric, see Historical * metrics definitions in the Amazon Connect Administrator's Guide.

*
AGENT_ADHERENT_TIME

This metric is available only in * Amazon Web Services Regions where Forecasting, * capacity planning, and scheduling is available.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AGENT_NON_RESPONSE

Unit: Count

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AGENT_OCCUPANCY

Unit: Percentage

*

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

*
AGENT_SCHEDULE_ADHERENCE

This metric is available only in * Amazon Web Services Regions where Forecasting, * capacity planning, and scheduling is available.

Unit: Percent

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AGENT_SCHEDULED_TIME

This metric is * available only in Amazon Web Services Regions where Forecasting, * capacity planning, and scheduling is available.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_ABANDON_TIME

Unit: Seconds

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_AFTER_CONTACT_WORK_TIME

Unit: * Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy, Feature

Feature is a valid filter but not * a valid grouping.

AVG_AGENT_CONNECTING_TIME
*

Unit: Seconds

Valid metric filter key: INITIATION_METHOD. * For now, this metric only supports the following as * INITIATION_METHOD: INBOUND | OUTBOUND | * CALLBACK | API

Valid groupings and filters: * Queue, Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_AGENT_CONNECTING_TIME

Unit: Seconds

Valid metric * filter key: INITIATION_METHOD. For now, this metric only supports * the following as INITIATION_METHOD: INBOUND | * OUTBOUND | CALLBACK | API

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_CONTACT_DURATION

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy, Feature

Feature is a valid filter but not a valid * grouping.

AVG_CONVERSATION_DURATION

Unit: * Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

AVG_GREETING_TIME_AGENT

This * metric is available only for contacts analyzed by Contact Lens conversational * analytics.

Unit: Seconds

Valid groupings and filters: Queue, * Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_HANDLE_TIME

Unit: Seconds

Valid groupings and * filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_HOLD_TIME

Unit: Seconds

Valid groupings and filters: * Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_HOLDS

Unit: Count

Valid groupings and filters: * Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_INTERACTION_AND_HOLD_TIME

Unit: Seconds

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_INTERACTION_TIME

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_INTERRUPTIONS_AGENT

This metric is available only for * contacts analyzed by Contact Lens conversational analytics.

Unit: * Count

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

AVG_INTERRUPTION_TIME_AGENT
*

This metric is available only for contacts analyzed by Contact Lens * conversational analytics.

Unit: Seconds

Valid groupings and * filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_NON_TALK_TIME

This metric is available only for contacts * analyzed by Contact Lens conversational analytics.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_QUEUE_ANSWER_TIME

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_TALK_TIME

This metric is available only for contacts * analyzed by Contact Lens conversational analytics.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_TALK_TIME_AGENT

This metric is * available only for contacts analyzed by Contact Lens conversational * analytics.

Unit: Seconds

Valid groupings and filters: Queue, * Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_TALK_TIME_CUSTOMER

This metric is available only for * contacts analyzed by Contact Lens conversational analytics.

Unit: * Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

CONTACTS_ABANDONED

Unit: * Count

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

CONTACTS_CREATED

Unit: * Count

Valid metric filter key: INITIATION_METHOD

*

Valid groupings and filters: Queue, Channel, Routing Profile, Feature

*

Feature is a valid filter but not a valid grouping.

*
CONTACTS_HANDLED

Unit: Count

Valid metric filter key: * INITIATION_METHOD, DISCONNECT_REASON

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, * Feature

Feature is a valid filter but not a valid grouping.

*
CONTACTS_HOLD_ABANDONS

Unit: Count

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

CONTACTS_QUEUED

Unit: Count

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

CONTACTS_TRANSFERRED_OUT

Unit: Count

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy, Feature

Feature is a valid filter but not a valid * grouping.

CONTACTS_TRANSFERRED_OUT_BY_AGENT
*

Unit: Count

Valid groupings and filters: Queue, Channel, Routing * Profile, Agent, Agent Hierarchy

*
CONTACTS_TRANSFERRED_OUT_FROM_QUEUE

Unit: Count

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

MAX_QUEUED_TIME

Unit: Seconds

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

SERVICE_LEVEL

You can include up to 20 * SERVICE_LEVEL metrics in a request.

Unit: Percent

Valid groupings * and filters: Queue, Channel, Routing Profile

Threshold: For * ThresholdValue, enter any whole number from 1 to 604800 * (inclusive), in seconds. For Comparison, you must enter * LT (for "Less than").

*
SUM_CONTACTS_ANSWERED_IN_X

Unit: Count

Valid groupings * and filters: Queue, Channel, Routing Profile

Threshold: For * ThresholdValue, enter any whole number from 1 to 604800 * (inclusive), in seconds. For Comparison, you must enter * LT (for "Less than").

*
SUM_CONTACTS_ABANDONED_IN_X

Unit: Count

Valid groupings * and filters: Queue, Channel, Routing Profile

Threshold: For * ThresholdValue, enter any whole number from 1 to 604800 * (inclusive), in seconds. For Comparison, you must enter * LT (for "Less than").

SUM_CONTACTS_DISCONNECTED *

Valid metric filter key: DISCONNECT_REASON

*

Unit: Count

Valid groupings and filters: Queue, Channel, Routing * Profile

SUM_RETRY_CALLBACK_ATTEMPTS

Unit: Count

*

Valid groupings and filters: Queue, Channel, Routing Profile

*/ inline GetMetricDataV2Request& WithMetrics(const Aws::Vector& value) { SetMetrics(value); return *this;} /** *

The metrics to retrieve. Specify the name, groupings, and filters for each * metric. The following historical metrics are available. For a description of * each metric, see Historical * metrics definitions in the Amazon Connect Administrator's Guide.

*
AGENT_ADHERENT_TIME

This metric is available only in * Amazon Web Services Regions where Forecasting, * capacity planning, and scheduling is available.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AGENT_NON_RESPONSE

Unit: Count

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AGENT_OCCUPANCY

Unit: Percentage

*

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

*
AGENT_SCHEDULE_ADHERENCE

This metric is available only in * Amazon Web Services Regions where Forecasting, * capacity planning, and scheduling is available.

Unit: Percent

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AGENT_SCHEDULED_TIME

This metric is * available only in Amazon Web Services Regions where Forecasting, * capacity planning, and scheduling is available.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_ABANDON_TIME

Unit: Seconds

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_AFTER_CONTACT_WORK_TIME

Unit: * Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy, Feature

Feature is a valid filter but not * a valid grouping.

AVG_AGENT_CONNECTING_TIME
*

Unit: Seconds

Valid metric filter key: INITIATION_METHOD. * For now, this metric only supports the following as * INITIATION_METHOD: INBOUND | OUTBOUND | * CALLBACK | API

Valid groupings and filters: * Queue, Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_AGENT_CONNECTING_TIME

Unit: Seconds

Valid metric * filter key: INITIATION_METHOD. For now, this metric only supports * the following as INITIATION_METHOD: INBOUND | * OUTBOUND | CALLBACK | API

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_CONTACT_DURATION

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy, Feature

Feature is a valid filter but not a valid * grouping.

AVG_CONVERSATION_DURATION

Unit: * Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

AVG_GREETING_TIME_AGENT

This * metric is available only for contacts analyzed by Contact Lens conversational * analytics.

Unit: Seconds

Valid groupings and filters: Queue, * Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_HANDLE_TIME

Unit: Seconds

Valid groupings and * filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_HOLD_TIME

Unit: Seconds

Valid groupings and filters: * Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_HOLDS

Unit: Count

Valid groupings and filters: * Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_INTERACTION_AND_HOLD_TIME

Unit: Seconds

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_INTERACTION_TIME

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_INTERRUPTIONS_AGENT

This metric is available only for * contacts analyzed by Contact Lens conversational analytics.

Unit: * Count

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

AVG_INTERRUPTION_TIME_AGENT
*

This metric is available only for contacts analyzed by Contact Lens * conversational analytics.

Unit: Seconds

Valid groupings and * filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_NON_TALK_TIME

This metric is available only for contacts * analyzed by Contact Lens conversational analytics.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_QUEUE_ANSWER_TIME

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_TALK_TIME

This metric is available only for contacts * analyzed by Contact Lens conversational analytics.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_TALK_TIME_AGENT

This metric is * available only for contacts analyzed by Contact Lens conversational * analytics.

Unit: Seconds

Valid groupings and filters: Queue, * Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_TALK_TIME_CUSTOMER

This metric is available only for * contacts analyzed by Contact Lens conversational analytics.

Unit: * Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

CONTACTS_ABANDONED

Unit: * Count

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

CONTACTS_CREATED

Unit: * Count

Valid metric filter key: INITIATION_METHOD

*

Valid groupings and filters: Queue, Channel, Routing Profile, Feature

*

Feature is a valid filter but not a valid grouping.

*
CONTACTS_HANDLED

Unit: Count

Valid metric filter key: * INITIATION_METHOD, DISCONNECT_REASON

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, * Feature

Feature is a valid filter but not a valid grouping.

*
CONTACTS_HOLD_ABANDONS

Unit: Count

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

CONTACTS_QUEUED

Unit: Count

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

CONTACTS_TRANSFERRED_OUT

Unit: Count

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy, Feature

Feature is a valid filter but not a valid * grouping.

CONTACTS_TRANSFERRED_OUT_BY_AGENT
*

Unit: Count

Valid groupings and filters: Queue, Channel, Routing * Profile, Agent, Agent Hierarchy

*
CONTACTS_TRANSFERRED_OUT_FROM_QUEUE

Unit: Count

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

MAX_QUEUED_TIME

Unit: Seconds

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

SERVICE_LEVEL

You can include up to 20 * SERVICE_LEVEL metrics in a request.

Unit: Percent

Valid groupings * and filters: Queue, Channel, Routing Profile

Threshold: For * ThresholdValue, enter any whole number from 1 to 604800 * (inclusive), in seconds. For Comparison, you must enter * LT (for "Less than").

*
SUM_CONTACTS_ANSWERED_IN_X

Unit: Count

Valid groupings * and filters: Queue, Channel, Routing Profile

Threshold: For * ThresholdValue, enter any whole number from 1 to 604800 * (inclusive), in seconds. For Comparison, you must enter * LT (for "Less than").

*
SUM_CONTACTS_ABANDONED_IN_X

Unit: Count

Valid groupings * and filters: Queue, Channel, Routing Profile

Threshold: For * ThresholdValue, enter any whole number from 1 to 604800 * (inclusive), in seconds. For Comparison, you must enter * LT (for "Less than").

SUM_CONTACTS_DISCONNECTED *

Valid metric filter key: DISCONNECT_REASON

*

Unit: Count

Valid groupings and filters: Queue, Channel, Routing * Profile

SUM_RETRY_CALLBACK_ATTEMPTS

Unit: Count

*

Valid groupings and filters: Queue, Channel, Routing Profile

*/ inline GetMetricDataV2Request& WithMetrics(Aws::Vector&& value) { SetMetrics(std::move(value)); return *this;} /** *

The metrics to retrieve. Specify the name, groupings, and filters for each * metric. The following historical metrics are available. For a description of * each metric, see Historical * metrics definitions in the Amazon Connect Administrator's Guide.

*
AGENT_ADHERENT_TIME

This metric is available only in * Amazon Web Services Regions where Forecasting, * capacity planning, and scheduling is available.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AGENT_NON_RESPONSE

Unit: Count

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AGENT_OCCUPANCY

Unit: Percentage

*

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

*
AGENT_SCHEDULE_ADHERENCE

This metric is available only in * Amazon Web Services Regions where Forecasting, * capacity planning, and scheduling is available.

Unit: Percent

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AGENT_SCHEDULED_TIME

This metric is * available only in Amazon Web Services Regions where Forecasting, * capacity planning, and scheduling is available.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_ABANDON_TIME

Unit: Seconds

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_AFTER_CONTACT_WORK_TIME

Unit: * Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy, Feature

Feature is a valid filter but not * a valid grouping.

AVG_AGENT_CONNECTING_TIME
*

Unit: Seconds

Valid metric filter key: INITIATION_METHOD. * For now, this metric only supports the following as * INITIATION_METHOD: INBOUND | OUTBOUND | * CALLBACK | API

Valid groupings and filters: * Queue, Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_AGENT_CONNECTING_TIME

Unit: Seconds

Valid metric * filter key: INITIATION_METHOD. For now, this metric only supports * the following as INITIATION_METHOD: INBOUND | * OUTBOUND | CALLBACK | API

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_CONTACT_DURATION

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy, Feature

Feature is a valid filter but not a valid * grouping.

AVG_CONVERSATION_DURATION

Unit: * Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

AVG_GREETING_TIME_AGENT

This * metric is available only for contacts analyzed by Contact Lens conversational * analytics.

Unit: Seconds

Valid groupings and filters: Queue, * Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_HANDLE_TIME

Unit: Seconds

Valid groupings and * filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_HOLD_TIME

Unit: Seconds

Valid groupings and filters: * Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_HOLDS

Unit: Count

Valid groupings and filters: * Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_INTERACTION_AND_HOLD_TIME

Unit: Seconds

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_INTERACTION_TIME

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_INTERRUPTIONS_AGENT

This metric is available only for * contacts analyzed by Contact Lens conversational analytics.

Unit: * Count

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

AVG_INTERRUPTION_TIME_AGENT
*

This metric is available only for contacts analyzed by Contact Lens * conversational analytics.

Unit: Seconds

Valid groupings and * filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_NON_TALK_TIME

This metric is available only for contacts * analyzed by Contact Lens conversational analytics.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_QUEUE_ANSWER_TIME

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_TALK_TIME

This metric is available only for contacts * analyzed by Contact Lens conversational analytics.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_TALK_TIME_AGENT

This metric is * available only for contacts analyzed by Contact Lens conversational * analytics.

Unit: Seconds

Valid groupings and filters: Queue, * Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_TALK_TIME_CUSTOMER

This metric is available only for * contacts analyzed by Contact Lens conversational analytics.

Unit: * Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

CONTACTS_ABANDONED

Unit: * Count

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

CONTACTS_CREATED

Unit: * Count

Valid metric filter key: INITIATION_METHOD

*

Valid groupings and filters: Queue, Channel, Routing Profile, Feature

*

Feature is a valid filter but not a valid grouping.

*
CONTACTS_HANDLED

Unit: Count

Valid metric filter key: * INITIATION_METHOD, DISCONNECT_REASON

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, * Feature

Feature is a valid filter but not a valid grouping.

*
CONTACTS_HOLD_ABANDONS

Unit: Count

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

CONTACTS_QUEUED

Unit: Count

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

CONTACTS_TRANSFERRED_OUT

Unit: Count

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy, Feature

Feature is a valid filter but not a valid * grouping.

CONTACTS_TRANSFERRED_OUT_BY_AGENT
*

Unit: Count

Valid groupings and filters: Queue, Channel, Routing * Profile, Agent, Agent Hierarchy

*
CONTACTS_TRANSFERRED_OUT_FROM_QUEUE

Unit: Count

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

MAX_QUEUED_TIME

Unit: Seconds

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

SERVICE_LEVEL

You can include up to 20 * SERVICE_LEVEL metrics in a request.

Unit: Percent

Valid groupings * and filters: Queue, Channel, Routing Profile

Threshold: For * ThresholdValue, enter any whole number from 1 to 604800 * (inclusive), in seconds. For Comparison, you must enter * LT (for "Less than").

*
SUM_CONTACTS_ANSWERED_IN_X

Unit: Count

Valid groupings * and filters: Queue, Channel, Routing Profile

Threshold: For * ThresholdValue, enter any whole number from 1 to 604800 * (inclusive), in seconds. For Comparison, you must enter * LT (for "Less than").

*
SUM_CONTACTS_ABANDONED_IN_X

Unit: Count

Valid groupings * and filters: Queue, Channel, Routing Profile

Threshold: For * ThresholdValue, enter any whole number from 1 to 604800 * (inclusive), in seconds. For Comparison, you must enter * LT (for "Less than").

SUM_CONTACTS_DISCONNECTED *

Valid metric filter key: DISCONNECT_REASON

*

Unit: Count

Valid groupings and filters: Queue, Channel, Routing * Profile

SUM_RETRY_CALLBACK_ATTEMPTS

Unit: Count

*

Valid groupings and filters: Queue, Channel, Routing Profile

*/ inline GetMetricDataV2Request& AddMetrics(const MetricV2& value) { m_metricsHasBeenSet = true; m_metrics.push_back(value); return *this; } /** *

The metrics to retrieve. Specify the name, groupings, and filters for each * metric. The following historical metrics are available. For a description of * each metric, see Historical * metrics definitions in the Amazon Connect Administrator's Guide.

*
AGENT_ADHERENT_TIME

This metric is available only in * Amazon Web Services Regions where Forecasting, * capacity planning, and scheduling is available.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AGENT_NON_RESPONSE

Unit: Count

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AGENT_OCCUPANCY

Unit: Percentage

*

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

*
AGENT_SCHEDULE_ADHERENCE

This metric is available only in * Amazon Web Services Regions where Forecasting, * capacity planning, and scheduling is available.

Unit: Percent

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AGENT_SCHEDULED_TIME

This metric is * available only in Amazon Web Services Regions where Forecasting, * capacity planning, and scheduling is available.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_ABANDON_TIME

Unit: Seconds

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_AFTER_CONTACT_WORK_TIME

Unit: * Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy, Feature

Feature is a valid filter but not * a valid grouping.

AVG_AGENT_CONNECTING_TIME
*

Unit: Seconds

Valid metric filter key: INITIATION_METHOD. * For now, this metric only supports the following as * INITIATION_METHOD: INBOUND | OUTBOUND | * CALLBACK | API

Valid groupings and filters: * Queue, Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_AGENT_CONNECTING_TIME

Unit: Seconds

Valid metric * filter key: INITIATION_METHOD. For now, this metric only supports * the following as INITIATION_METHOD: INBOUND | * OUTBOUND | CALLBACK | API

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_CONTACT_DURATION

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy, Feature

Feature is a valid filter but not a valid * grouping.

AVG_CONVERSATION_DURATION

Unit: * Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

AVG_GREETING_TIME_AGENT

This * metric is available only for contacts analyzed by Contact Lens conversational * analytics.

Unit: Seconds

Valid groupings and filters: Queue, * Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_HANDLE_TIME

Unit: Seconds

Valid groupings and * filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_HOLD_TIME

Unit: Seconds

Valid groupings and filters: * Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_HOLDS

Unit: Count

Valid groupings and filters: * Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_INTERACTION_AND_HOLD_TIME

Unit: Seconds

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_INTERACTION_TIME

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_INTERRUPTIONS_AGENT

This metric is available only for * contacts analyzed by Contact Lens conversational analytics.

Unit: * Count

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

AVG_INTERRUPTION_TIME_AGENT
*

This metric is available only for contacts analyzed by Contact Lens * conversational analytics.

Unit: Seconds

Valid groupings and * filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_NON_TALK_TIME

This metric is available only for contacts * analyzed by Contact Lens conversational analytics.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_QUEUE_ANSWER_TIME

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Feature

*

Feature is a valid filter but not a valid grouping.

*
AVG_TALK_TIME

This metric is available only for contacts * analyzed by Contact Lens conversational analytics.

Unit: Seconds

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

AVG_TALK_TIME_AGENT

This metric is * available only for contacts analyzed by Contact Lens conversational * analytics.

Unit: Seconds

Valid groupings and filters: Queue, * Channel, Routing Profile, Agent, Agent Hierarchy

*
AVG_TALK_TIME_CUSTOMER

This metric is available only for * contacts analyzed by Contact Lens conversational analytics.

Unit: * Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

CONTACTS_ABANDONED

Unit: * Count

Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy

CONTACTS_CREATED

Unit: * Count

Valid metric filter key: INITIATION_METHOD

*

Valid groupings and filters: Queue, Channel, Routing Profile, Feature

*

Feature is a valid filter but not a valid grouping.

*
CONTACTS_HANDLED

Unit: Count

Valid metric filter key: * INITIATION_METHOD, DISCONNECT_REASON

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, * Feature

Feature is a valid filter but not a valid grouping.

*
CONTACTS_HOLD_ABANDONS

Unit: Count

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

CONTACTS_QUEUED

Unit: Count

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

CONTACTS_TRANSFERRED_OUT

Unit: Count

*

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy, Feature

Feature is a valid filter but not a valid * grouping.

CONTACTS_TRANSFERRED_OUT_BY_AGENT
*

Unit: Count

Valid groupings and filters: Queue, Channel, Routing * Profile, Agent, Agent Hierarchy

*
CONTACTS_TRANSFERRED_OUT_FROM_QUEUE

Unit: Count

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

MAX_QUEUED_TIME

Unit: Seconds

Valid * groupings and filters: Queue, Channel, Routing Profile, Agent, Agent * Hierarchy

SERVICE_LEVEL

You can include up to 20 * SERVICE_LEVEL metrics in a request.

Unit: Percent

Valid groupings * and filters: Queue, Channel, Routing Profile

Threshold: For * ThresholdValue, enter any whole number from 1 to 604800 * (inclusive), in seconds. For Comparison, you must enter * LT (for "Less than").

*
SUM_CONTACTS_ANSWERED_IN_X

Unit: Count

Valid groupings * and filters: Queue, Channel, Routing Profile

Threshold: For * ThresholdValue, enter any whole number from 1 to 604800 * (inclusive), in seconds. For Comparison, you must enter * LT (for "Less than").

*
SUM_CONTACTS_ABANDONED_IN_X

Unit: Count

Valid groupings * and filters: Queue, Channel, Routing Profile

Threshold: For * ThresholdValue, enter any whole number from 1 to 604800 * (inclusive), in seconds. For Comparison, you must enter * LT (for "Less than").

SUM_CONTACTS_DISCONNECTED *

Valid metric filter key: DISCONNECT_REASON

*

Unit: Count

Valid groupings and filters: Queue, Channel, Routing * Profile

SUM_RETRY_CALLBACK_ATTEMPTS

Unit: Count

*

Valid groupings and filters: Queue, Channel, Routing Profile

*/ inline GetMetricDataV2Request& AddMetrics(MetricV2&& value) { m_metricsHasBeenSet = true; m_metrics.push_back(std::move(value)); return *this; } /** *

The token for the next set of results. Use the value returned in the previous * response in the next request to retrieve the next set of results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The token for the next set of results. Use the value returned in the previous * response in the next request to retrieve the next set of results.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

The token for the next set of results. Use the value returned in the previous * response in the next request to retrieve the next set of results.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

The token for the next set of results. Use the value returned in the previous * response in the next request to retrieve the next set of results.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

The token for the next set of results. Use the value returned in the previous * response in the next request to retrieve the next set of results.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

The token for the next set of results. Use the value returned in the previous * response in the next request to retrieve the next set of results.

*/ inline GetMetricDataV2Request& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The token for the next set of results. Use the value returned in the previous * response in the next request to retrieve the next set of results.

*/ inline GetMetricDataV2Request& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The token for the next set of results. Use the value returned in the previous * response in the next request to retrieve the next set of results.

*/ inline GetMetricDataV2Request& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The maximum number of results to return per page.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of results to return per page.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of results to return per page.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of results to return per page.

*/ inline GetMetricDataV2Request& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::String m_resourceArn; bool m_resourceArnHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; Aws::Vector m_filters; bool m_filtersHasBeenSet = false; Aws::Vector m_groupings; bool m_groupingsHasBeenSet = false; Aws::Vector m_metrics; bool m_metricsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws