/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace PI { namespace Model { /** */ class GetDimensionKeyDetailsRequest : public PIRequest { public: AWS_PI_API GetDimensionKeyDetailsRequest(); // 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 "GetDimensionKeyDetails"; } AWS_PI_API Aws::String SerializePayload() const override; AWS_PI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Web Services service for which Performance Insights returns data. * The only valid value is RDS.

*/ inline const ServiceType& GetServiceType() const{ return m_serviceType; } /** *

The Amazon Web Services service for which Performance Insights returns data. * The only valid value is RDS.

*/ inline bool ServiceTypeHasBeenSet() const { return m_serviceTypeHasBeenSet; } /** *

The Amazon Web Services service for which Performance Insights returns data. * The only valid value is RDS.

*/ inline void SetServiceType(const ServiceType& value) { m_serviceTypeHasBeenSet = true; m_serviceType = value; } /** *

The Amazon Web Services service for which Performance Insights returns data. * The only valid value is RDS.

*/ inline void SetServiceType(ServiceType&& value) { m_serviceTypeHasBeenSet = true; m_serviceType = std::move(value); } /** *

The Amazon Web Services service for which Performance Insights returns data. * The only valid value is RDS.

*/ inline GetDimensionKeyDetailsRequest& WithServiceType(const ServiceType& value) { SetServiceType(value); return *this;} /** *

The Amazon Web Services service for which Performance Insights returns data. * The only valid value is RDS.

*/ inline GetDimensionKeyDetailsRequest& WithServiceType(ServiceType&& value) { SetServiceType(std::move(value)); return *this;} /** *

The ID for a data source from which to gather dimension data. This ID must be * immutable and unique within an Amazon Web Services Region. When a DB instance is * the data source, specify its DbiResourceId value. For example, * specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.

*/ inline const Aws::String& GetIdentifier() const{ return m_identifier; } /** *

The ID for a data source from which to gather dimension data. This ID must be * immutable and unique within an Amazon Web Services Region. When a DB instance is * the data source, specify its DbiResourceId value. For example, * specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.

*/ inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } /** *

The ID for a data source from which to gather dimension data. This ID must be * immutable and unique within an Amazon Web Services Region. When a DB instance is * the data source, specify its DbiResourceId value. For example, * specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.

*/ inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } /** *

The ID for a data source from which to gather dimension data. This ID must be * immutable and unique within an Amazon Web Services Region. When a DB instance is * the data source, specify its DbiResourceId value. For example, * specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.

*/ inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } /** *

The ID for a data source from which to gather dimension data. This ID must be * immutable and unique within an Amazon Web Services Region. When a DB instance is * the data source, specify its DbiResourceId value. For example, * specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.

*/ inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } /** *

The ID for a data source from which to gather dimension data. This ID must be * immutable and unique within an Amazon Web Services Region. When a DB instance is * the data source, specify its DbiResourceId value. For example, * specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.

*/ inline GetDimensionKeyDetailsRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} /** *

The ID for a data source from which to gather dimension data. This ID must be * immutable and unique within an Amazon Web Services Region. When a DB instance is * the data source, specify its DbiResourceId value. For example, * specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.

*/ inline GetDimensionKeyDetailsRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} /** *

The ID for a data source from which to gather dimension data. This ID must be * immutable and unique within an Amazon Web Services Region. When a DB instance is * the data source, specify its DbiResourceId value. For example, * specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.

*/ inline GetDimensionKeyDetailsRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} /** *

The name of the dimension group. Performance Insights searches the specified * group for the dimension group ID. The following group name values are valid:

*
  • db.query (Amazon DocumentDB only)

  • * db.sql (Amazon RDS and Aurora only)

*/ inline const Aws::String& GetGroup() const{ return m_group; } /** *

The name of the dimension group. Performance Insights searches the specified * group for the dimension group ID. The following group name values are valid:

*
  • db.query (Amazon DocumentDB only)

  • * db.sql (Amazon RDS and Aurora only)

*/ inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; } /** *

The name of the dimension group. Performance Insights searches the specified * group for the dimension group ID. The following group name values are valid:

*
  • db.query (Amazon DocumentDB only)

  • * db.sql (Amazon RDS and Aurora only)

*/ inline void SetGroup(const Aws::String& value) { m_groupHasBeenSet = true; m_group = value; } /** *

The name of the dimension group. Performance Insights searches the specified * group for the dimension group ID. The following group name values are valid:

*
  • db.query (Amazon DocumentDB only)

  • * db.sql (Amazon RDS and Aurora only)

*/ inline void SetGroup(Aws::String&& value) { m_groupHasBeenSet = true; m_group = std::move(value); } /** *

The name of the dimension group. Performance Insights searches the specified * group for the dimension group ID. The following group name values are valid:

*
  • db.query (Amazon DocumentDB only)

  • * db.sql (Amazon RDS and Aurora only)

*/ inline void SetGroup(const char* value) { m_groupHasBeenSet = true; m_group.assign(value); } /** *

The name of the dimension group. Performance Insights searches the specified * group for the dimension group ID. The following group name values are valid:

*
  • db.query (Amazon DocumentDB only)

  • * db.sql (Amazon RDS and Aurora only)

*/ inline GetDimensionKeyDetailsRequest& WithGroup(const Aws::String& value) { SetGroup(value); return *this;} /** *

The name of the dimension group. Performance Insights searches the specified * group for the dimension group ID. The following group name values are valid:

*
  • db.query (Amazon DocumentDB only)

  • * db.sql (Amazon RDS and Aurora only)

*/ inline GetDimensionKeyDetailsRequest& WithGroup(Aws::String&& value) { SetGroup(std::move(value)); return *this;} /** *

The name of the dimension group. Performance Insights searches the specified * group for the dimension group ID. The following group name values are valid:

*
  • db.query (Amazon DocumentDB only)

  • * db.sql (Amazon RDS and Aurora only)

*/ inline GetDimensionKeyDetailsRequest& WithGroup(const char* value) { SetGroup(value); return *this;} /** *

The ID of the dimension group from which to retrieve dimension details. For * dimension group db.sql, the group ID is db.sql.id. The * following group ID values are valid:

  • db.sql.id * for dimension group db.sql (Aurora and RDS only)

  • * db.query.id for dimension group db.query (DocumentDB * only)

*/ inline const Aws::String& GetGroupIdentifier() const{ return m_groupIdentifier; } /** *

The ID of the dimension group from which to retrieve dimension details. For * dimension group db.sql, the group ID is db.sql.id. The * following group ID values are valid:

  • db.sql.id * for dimension group db.sql (Aurora and RDS only)

  • * db.query.id for dimension group db.query (DocumentDB * only)

*/ inline bool GroupIdentifierHasBeenSet() const { return m_groupIdentifierHasBeenSet; } /** *

The ID of the dimension group from which to retrieve dimension details. For * dimension group db.sql, the group ID is db.sql.id. The * following group ID values are valid:

  • db.sql.id * for dimension group db.sql (Aurora and RDS only)

  • * db.query.id for dimension group db.query (DocumentDB * only)

*/ inline void SetGroupIdentifier(const Aws::String& value) { m_groupIdentifierHasBeenSet = true; m_groupIdentifier = value; } /** *

The ID of the dimension group from which to retrieve dimension details. For * dimension group db.sql, the group ID is db.sql.id. The * following group ID values are valid:

  • db.sql.id * for dimension group db.sql (Aurora and RDS only)

  • * db.query.id for dimension group db.query (DocumentDB * only)

*/ inline void SetGroupIdentifier(Aws::String&& value) { m_groupIdentifierHasBeenSet = true; m_groupIdentifier = std::move(value); } /** *

The ID of the dimension group from which to retrieve dimension details. For * dimension group db.sql, the group ID is db.sql.id. The * following group ID values are valid:

  • db.sql.id * for dimension group db.sql (Aurora and RDS only)

  • * db.query.id for dimension group db.query (DocumentDB * only)

*/ inline void SetGroupIdentifier(const char* value) { m_groupIdentifierHasBeenSet = true; m_groupIdentifier.assign(value); } /** *

The ID of the dimension group from which to retrieve dimension details. For * dimension group db.sql, the group ID is db.sql.id. The * following group ID values are valid:

  • db.sql.id * for dimension group db.sql (Aurora and RDS only)

  • * db.query.id for dimension group db.query (DocumentDB * only)

*/ inline GetDimensionKeyDetailsRequest& WithGroupIdentifier(const Aws::String& value) { SetGroupIdentifier(value); return *this;} /** *

The ID of the dimension group from which to retrieve dimension details. For * dimension group db.sql, the group ID is db.sql.id. The * following group ID values are valid:

  • db.sql.id * for dimension group db.sql (Aurora and RDS only)

  • * db.query.id for dimension group db.query (DocumentDB * only)

*/ inline GetDimensionKeyDetailsRequest& WithGroupIdentifier(Aws::String&& value) { SetGroupIdentifier(std::move(value)); return *this;} /** *

The ID of the dimension group from which to retrieve dimension details. For * dimension group db.sql, the group ID is db.sql.id. The * following group ID values are valid:

  • db.sql.id * for dimension group db.sql (Aurora and RDS only)

  • * db.query.id for dimension group db.query (DocumentDB * only)

*/ inline GetDimensionKeyDetailsRequest& WithGroupIdentifier(const char* value) { SetGroupIdentifier(value); return *this;} /** *

A list of dimensions to retrieve the detail data for within the given * dimension group. If you don't specify this parameter, Performance Insights * returns all dimension data within the specified dimension group. Specify * dimension names for the following dimension groups:

  • * db.sql - Specify either the full dimension name * db.sql.statement or the short dimension name statement * (Aurora and RDS only).

  • db.query - Specify either * the full dimension name db.query.statement or the short dimension * name statement (DocumentDB only).

*/ inline const Aws::Vector& GetRequestedDimensions() const{ return m_requestedDimensions; } /** *

A list of dimensions to retrieve the detail data for within the given * dimension group. If you don't specify this parameter, Performance Insights * returns all dimension data within the specified dimension group. Specify * dimension names for the following dimension groups:

  • * db.sql - Specify either the full dimension name * db.sql.statement or the short dimension name statement * (Aurora and RDS only).

  • db.query - Specify either * the full dimension name db.query.statement or the short dimension * name statement (DocumentDB only).

*/ inline bool RequestedDimensionsHasBeenSet() const { return m_requestedDimensionsHasBeenSet; } /** *

A list of dimensions to retrieve the detail data for within the given * dimension group. If you don't specify this parameter, Performance Insights * returns all dimension data within the specified dimension group. Specify * dimension names for the following dimension groups:

  • * db.sql - Specify either the full dimension name * db.sql.statement or the short dimension name statement * (Aurora and RDS only).

  • db.query - Specify either * the full dimension name db.query.statement or the short dimension * name statement (DocumentDB only).

*/ inline void SetRequestedDimensions(const Aws::Vector& value) { m_requestedDimensionsHasBeenSet = true; m_requestedDimensions = value; } /** *

A list of dimensions to retrieve the detail data for within the given * dimension group. If you don't specify this parameter, Performance Insights * returns all dimension data within the specified dimension group. Specify * dimension names for the following dimension groups:

  • * db.sql - Specify either the full dimension name * db.sql.statement or the short dimension name statement * (Aurora and RDS only).

  • db.query - Specify either * the full dimension name db.query.statement or the short dimension * name statement (DocumentDB only).

*/ inline void SetRequestedDimensions(Aws::Vector&& value) { m_requestedDimensionsHasBeenSet = true; m_requestedDimensions = std::move(value); } /** *

A list of dimensions to retrieve the detail data for within the given * dimension group. If you don't specify this parameter, Performance Insights * returns all dimension data within the specified dimension group. Specify * dimension names for the following dimension groups:

  • * db.sql - Specify either the full dimension name * db.sql.statement or the short dimension name statement * (Aurora and RDS only).

  • db.query - Specify either * the full dimension name db.query.statement or the short dimension * name statement (DocumentDB only).

*/ inline GetDimensionKeyDetailsRequest& WithRequestedDimensions(const Aws::Vector& value) { SetRequestedDimensions(value); return *this;} /** *

A list of dimensions to retrieve the detail data for within the given * dimension group. If you don't specify this parameter, Performance Insights * returns all dimension data within the specified dimension group. Specify * dimension names for the following dimension groups:

  • * db.sql - Specify either the full dimension name * db.sql.statement or the short dimension name statement * (Aurora and RDS only).

  • db.query - Specify either * the full dimension name db.query.statement or the short dimension * name statement (DocumentDB only).

*/ inline GetDimensionKeyDetailsRequest& WithRequestedDimensions(Aws::Vector&& value) { SetRequestedDimensions(std::move(value)); return *this;} /** *

A list of dimensions to retrieve the detail data for within the given * dimension group. If you don't specify this parameter, Performance Insights * returns all dimension data within the specified dimension group. Specify * dimension names for the following dimension groups:

  • * db.sql - Specify either the full dimension name * db.sql.statement or the short dimension name statement * (Aurora and RDS only).

  • db.query - Specify either * the full dimension name db.query.statement or the short dimension * name statement (DocumentDB only).

*/ inline GetDimensionKeyDetailsRequest& AddRequestedDimensions(const Aws::String& value) { m_requestedDimensionsHasBeenSet = true; m_requestedDimensions.push_back(value); return *this; } /** *

A list of dimensions to retrieve the detail data for within the given * dimension group. If you don't specify this parameter, Performance Insights * returns all dimension data within the specified dimension group. Specify * dimension names for the following dimension groups:

  • * db.sql - Specify either the full dimension name * db.sql.statement or the short dimension name statement * (Aurora and RDS only).

  • db.query - Specify either * the full dimension name db.query.statement or the short dimension * name statement (DocumentDB only).

*/ inline GetDimensionKeyDetailsRequest& AddRequestedDimensions(Aws::String&& value) { m_requestedDimensionsHasBeenSet = true; m_requestedDimensions.push_back(std::move(value)); return *this; } /** *

A list of dimensions to retrieve the detail data for within the given * dimension group. If you don't specify this parameter, Performance Insights * returns all dimension data within the specified dimension group. Specify * dimension names for the following dimension groups:

  • * db.sql - Specify either the full dimension name * db.sql.statement or the short dimension name statement * (Aurora and RDS only).

  • db.query - Specify either * the full dimension name db.query.statement or the short dimension * name statement (DocumentDB only).

*/ inline GetDimensionKeyDetailsRequest& AddRequestedDimensions(const char* value) { m_requestedDimensionsHasBeenSet = true; m_requestedDimensions.push_back(value); return *this; } private: ServiceType m_serviceType; bool m_serviceTypeHasBeenSet = false; Aws::String m_identifier; bool m_identifierHasBeenSet = false; Aws::String m_group; bool m_groupHasBeenSet = false; Aws::String m_groupIdentifier; bool m_groupIdentifierHasBeenSet = false; Aws::Vector m_requestedDimensions; bool m_requestedDimensionsHasBeenSet = false; }; } // namespace Model } // namespace PI } // namespace Aws