/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Appflow { namespace Model { /** */ class ResetConnectorMetadataCacheRequest : public AppflowRequest { public: AWS_APPFLOW_API ResetConnectorMetadataCacheRequest(); // 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 "ResetConnectorMetadataCache"; } AWS_APPFLOW_API Aws::String SerializePayload() const override; /** *

The name of the connector profile that you want to reset cached metadata * for.

You can omit this parameter if you're resetting the cache for any of * the following connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for * Metrics, Amazon S3, or Upsolver. If you're resetting the cache for any other * connector, you must include this parameter in your request.

*/ inline const Aws::String& GetConnectorProfileName() const{ return m_connectorProfileName; } /** *

The name of the connector profile that you want to reset cached metadata * for.

You can omit this parameter if you're resetting the cache for any of * the following connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for * Metrics, Amazon S3, or Upsolver. If you're resetting the cache for any other * connector, you must include this parameter in your request.

*/ inline bool ConnectorProfileNameHasBeenSet() const { return m_connectorProfileNameHasBeenSet; } /** *

The name of the connector profile that you want to reset cached metadata * for.

You can omit this parameter if you're resetting the cache for any of * the following connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for * Metrics, Amazon S3, or Upsolver. If you're resetting the cache for any other * connector, you must include this parameter in your request.

*/ inline void SetConnectorProfileName(const Aws::String& value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName = value; } /** *

The name of the connector profile that you want to reset cached metadata * for.

You can omit this parameter if you're resetting the cache for any of * the following connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for * Metrics, Amazon S3, or Upsolver. If you're resetting the cache for any other * connector, you must include this parameter in your request.

*/ inline void SetConnectorProfileName(Aws::String&& value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName = std::move(value); } /** *

The name of the connector profile that you want to reset cached metadata * for.

You can omit this parameter if you're resetting the cache for any of * the following connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for * Metrics, Amazon S3, or Upsolver. If you're resetting the cache for any other * connector, you must include this parameter in your request.

*/ inline void SetConnectorProfileName(const char* value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName.assign(value); } /** *

The name of the connector profile that you want to reset cached metadata * for.

You can omit this parameter if you're resetting the cache for any of * the following connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for * Metrics, Amazon S3, or Upsolver. If you're resetting the cache for any other * connector, you must include this parameter in your request.

*/ inline ResetConnectorMetadataCacheRequest& WithConnectorProfileName(const Aws::String& value) { SetConnectorProfileName(value); return *this;} /** *

The name of the connector profile that you want to reset cached metadata * for.

You can omit this parameter if you're resetting the cache for any of * the following connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for * Metrics, Amazon S3, or Upsolver. If you're resetting the cache for any other * connector, you must include this parameter in your request.

*/ inline ResetConnectorMetadataCacheRequest& WithConnectorProfileName(Aws::String&& value) { SetConnectorProfileName(std::move(value)); return *this;} /** *

The name of the connector profile that you want to reset cached metadata * for.

You can omit this parameter if you're resetting the cache for any of * the following connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for * Metrics, Amazon S3, or Upsolver. If you're resetting the cache for any other * connector, you must include this parameter in your request.

*/ inline ResetConnectorMetadataCacheRequest& WithConnectorProfileName(const char* value) { SetConnectorProfileName(value); return *this;} /** *

The type of connector to reset cached metadata for.

You must include * this parameter in your request if you're resetting the cache for any of the * following connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for * Metrics, Amazon S3, or Upsolver. If you're resetting the cache for any other * connector, you can omit this parameter from your request.

*/ inline const ConnectorType& GetConnectorType() const{ return m_connectorType; } /** *

The type of connector to reset cached metadata for.

You must include * this parameter in your request if you're resetting the cache for any of the * following connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for * Metrics, Amazon S3, or Upsolver. If you're resetting the cache for any other * connector, you can omit this parameter from your request.

*/ inline bool ConnectorTypeHasBeenSet() const { return m_connectorTypeHasBeenSet; } /** *

The type of connector to reset cached metadata for.

You must include * this parameter in your request if you're resetting the cache for any of the * following connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for * Metrics, Amazon S3, or Upsolver. If you're resetting the cache for any other * connector, you can omit this parameter from your request.

*/ inline void SetConnectorType(const ConnectorType& value) { m_connectorTypeHasBeenSet = true; m_connectorType = value; } /** *

The type of connector to reset cached metadata for.

You must include * this parameter in your request if you're resetting the cache for any of the * following connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for * Metrics, Amazon S3, or Upsolver. If you're resetting the cache for any other * connector, you can omit this parameter from your request.

*/ inline void SetConnectorType(ConnectorType&& value) { m_connectorTypeHasBeenSet = true; m_connectorType = std::move(value); } /** *

The type of connector to reset cached metadata for.

You must include * this parameter in your request if you're resetting the cache for any of the * following connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for * Metrics, Amazon S3, or Upsolver. If you're resetting the cache for any other * connector, you can omit this parameter from your request.

*/ inline ResetConnectorMetadataCacheRequest& WithConnectorType(const ConnectorType& value) { SetConnectorType(value); return *this;} /** *

The type of connector to reset cached metadata for.

You must include * this parameter in your request if you're resetting the cache for any of the * following connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for * Metrics, Amazon S3, or Upsolver. If you're resetting the cache for any other * connector, you can omit this parameter from your request.

*/ inline ResetConnectorMetadataCacheRequest& WithConnectorType(ConnectorType&& value) { SetConnectorType(std::move(value)); return *this;} /** *

Use this parameter if you want to reset cached metadata about the details for * an individual entity.

If you don't include this parameter in your * request, Amazon AppFlow only resets cached metadata about entity names, not * entity details.

*/ inline const Aws::String& GetConnectorEntityName() const{ return m_connectorEntityName; } /** *

Use this parameter if you want to reset cached metadata about the details for * an individual entity.

If you don't include this parameter in your * request, Amazon AppFlow only resets cached metadata about entity names, not * entity details.

*/ inline bool ConnectorEntityNameHasBeenSet() const { return m_connectorEntityNameHasBeenSet; } /** *

Use this parameter if you want to reset cached metadata about the details for * an individual entity.

If you don't include this parameter in your * request, Amazon AppFlow only resets cached metadata about entity names, not * entity details.

*/ inline void SetConnectorEntityName(const Aws::String& value) { m_connectorEntityNameHasBeenSet = true; m_connectorEntityName = value; } /** *

Use this parameter if you want to reset cached metadata about the details for * an individual entity.

If you don't include this parameter in your * request, Amazon AppFlow only resets cached metadata about entity names, not * entity details.

*/ inline void SetConnectorEntityName(Aws::String&& value) { m_connectorEntityNameHasBeenSet = true; m_connectorEntityName = std::move(value); } /** *

Use this parameter if you want to reset cached metadata about the details for * an individual entity.

If you don't include this parameter in your * request, Amazon AppFlow only resets cached metadata about entity names, not * entity details.

*/ inline void SetConnectorEntityName(const char* value) { m_connectorEntityNameHasBeenSet = true; m_connectorEntityName.assign(value); } /** *

Use this parameter if you want to reset cached metadata about the details for * an individual entity.

If you don't include this parameter in your * request, Amazon AppFlow only resets cached metadata about entity names, not * entity details.

*/ inline ResetConnectorMetadataCacheRequest& WithConnectorEntityName(const Aws::String& value) { SetConnectorEntityName(value); return *this;} /** *

Use this parameter if you want to reset cached metadata about the details for * an individual entity.

If you don't include this parameter in your * request, Amazon AppFlow only resets cached metadata about entity names, not * entity details.

*/ inline ResetConnectorMetadataCacheRequest& WithConnectorEntityName(Aws::String&& value) { SetConnectorEntityName(std::move(value)); return *this;} /** *

Use this parameter if you want to reset cached metadata about the details for * an individual entity.

If you don't include this parameter in your * request, Amazon AppFlow only resets cached metadata about entity names, not * entity details.

*/ inline ResetConnectorMetadataCacheRequest& WithConnectorEntityName(const char* value) { SetConnectorEntityName(value); return *this;} /** *

Use this parameter only if you’re resetting the cached metadata about a * nested entity. Only some connectors support nested entities. A nested entity is * one that has another entity as a parent. To use this parameter, specify the name * of the parent entity.

To look up the parent-child relationship of * entities, you can send a ListConnectorEntities request that omits the * entitiesPath parameter. Amazon AppFlow will return a list of top-level entities. * For each one, it indicates whether the entity has nested entities. Then, in a * subsequent ListConnectorEntities request, you can specify a parent entity name * for the entitiesPath parameter. Amazon AppFlow will return a list of the child * entities for that parent.

*/ inline const Aws::String& GetEntitiesPath() const{ return m_entitiesPath; } /** *

Use this parameter only if you’re resetting the cached metadata about a * nested entity. Only some connectors support nested entities. A nested entity is * one that has another entity as a parent. To use this parameter, specify the name * of the parent entity.

To look up the parent-child relationship of * entities, you can send a ListConnectorEntities request that omits the * entitiesPath parameter. Amazon AppFlow will return a list of top-level entities. * For each one, it indicates whether the entity has nested entities. Then, in a * subsequent ListConnectorEntities request, you can specify a parent entity name * for the entitiesPath parameter. Amazon AppFlow will return a list of the child * entities for that parent.

*/ inline bool EntitiesPathHasBeenSet() const { return m_entitiesPathHasBeenSet; } /** *

Use this parameter only if you’re resetting the cached metadata about a * nested entity. Only some connectors support nested entities. A nested entity is * one that has another entity as a parent. To use this parameter, specify the name * of the parent entity.

To look up the parent-child relationship of * entities, you can send a ListConnectorEntities request that omits the * entitiesPath parameter. Amazon AppFlow will return a list of top-level entities. * For each one, it indicates whether the entity has nested entities. Then, in a * subsequent ListConnectorEntities request, you can specify a parent entity name * for the entitiesPath parameter. Amazon AppFlow will return a list of the child * entities for that parent.

*/ inline void SetEntitiesPath(const Aws::String& value) { m_entitiesPathHasBeenSet = true; m_entitiesPath = value; } /** *

Use this parameter only if you’re resetting the cached metadata about a * nested entity. Only some connectors support nested entities. A nested entity is * one that has another entity as a parent. To use this parameter, specify the name * of the parent entity.

To look up the parent-child relationship of * entities, you can send a ListConnectorEntities request that omits the * entitiesPath parameter. Amazon AppFlow will return a list of top-level entities. * For each one, it indicates whether the entity has nested entities. Then, in a * subsequent ListConnectorEntities request, you can specify a parent entity name * for the entitiesPath parameter. Amazon AppFlow will return a list of the child * entities for that parent.

*/ inline void SetEntitiesPath(Aws::String&& value) { m_entitiesPathHasBeenSet = true; m_entitiesPath = std::move(value); } /** *

Use this parameter only if you’re resetting the cached metadata about a * nested entity. Only some connectors support nested entities. A nested entity is * one that has another entity as a parent. To use this parameter, specify the name * of the parent entity.

To look up the parent-child relationship of * entities, you can send a ListConnectorEntities request that omits the * entitiesPath parameter. Amazon AppFlow will return a list of top-level entities. * For each one, it indicates whether the entity has nested entities. Then, in a * subsequent ListConnectorEntities request, you can specify a parent entity name * for the entitiesPath parameter. Amazon AppFlow will return a list of the child * entities for that parent.

*/ inline void SetEntitiesPath(const char* value) { m_entitiesPathHasBeenSet = true; m_entitiesPath.assign(value); } /** *

Use this parameter only if you’re resetting the cached metadata about a * nested entity. Only some connectors support nested entities. A nested entity is * one that has another entity as a parent. To use this parameter, specify the name * of the parent entity.

To look up the parent-child relationship of * entities, you can send a ListConnectorEntities request that omits the * entitiesPath parameter. Amazon AppFlow will return a list of top-level entities. * For each one, it indicates whether the entity has nested entities. Then, in a * subsequent ListConnectorEntities request, you can specify a parent entity name * for the entitiesPath parameter. Amazon AppFlow will return a list of the child * entities for that parent.

*/ inline ResetConnectorMetadataCacheRequest& WithEntitiesPath(const Aws::String& value) { SetEntitiesPath(value); return *this;} /** *

Use this parameter only if you’re resetting the cached metadata about a * nested entity. Only some connectors support nested entities. A nested entity is * one that has another entity as a parent. To use this parameter, specify the name * of the parent entity.

To look up the parent-child relationship of * entities, you can send a ListConnectorEntities request that omits the * entitiesPath parameter. Amazon AppFlow will return a list of top-level entities. * For each one, it indicates whether the entity has nested entities. Then, in a * subsequent ListConnectorEntities request, you can specify a parent entity name * for the entitiesPath parameter. Amazon AppFlow will return a list of the child * entities for that parent.

*/ inline ResetConnectorMetadataCacheRequest& WithEntitiesPath(Aws::String&& value) { SetEntitiesPath(std::move(value)); return *this;} /** *

Use this parameter only if you’re resetting the cached metadata about a * nested entity. Only some connectors support nested entities. A nested entity is * one that has another entity as a parent. To use this parameter, specify the name * of the parent entity.

To look up the parent-child relationship of * entities, you can send a ListConnectorEntities request that omits the * entitiesPath parameter. Amazon AppFlow will return a list of top-level entities. * For each one, it indicates whether the entity has nested entities. Then, in a * subsequent ListConnectorEntities request, you can specify a parent entity name * for the entitiesPath parameter. Amazon AppFlow will return a list of the child * entities for that parent.

*/ inline ResetConnectorMetadataCacheRequest& WithEntitiesPath(const char* value) { SetEntitiesPath(value); return *this;} /** *

The API version that you specified in the connector profile that you’re * resetting cached metadata for. You must use this parameter only if the connector * supports multiple API versions or if the connector type is CustomConnector.

*

To look up how many versions a connector supports, use the DescribeConnectors * action. In the response, find the value that Amazon AppFlow returns for the * connectorVersion parameter.

To look up the connector type, use the * DescribeConnectorProfiles action. In the response, find the value that Amazon * AppFlow returns for the connectorType parameter.

To look up the API * version that you specified in a connector profile, use the * DescribeConnectorProfiles action.

*/ inline const Aws::String& GetApiVersion() const{ return m_apiVersion; } /** *

The API version that you specified in the connector profile that you’re * resetting cached metadata for. You must use this parameter only if the connector * supports multiple API versions or if the connector type is CustomConnector.

*

To look up how many versions a connector supports, use the DescribeConnectors * action. In the response, find the value that Amazon AppFlow returns for the * connectorVersion parameter.

To look up the connector type, use the * DescribeConnectorProfiles action. In the response, find the value that Amazon * AppFlow returns for the connectorType parameter.

To look up the API * version that you specified in a connector profile, use the * DescribeConnectorProfiles action.

*/ inline bool ApiVersionHasBeenSet() const { return m_apiVersionHasBeenSet; } /** *

The API version that you specified in the connector profile that you’re * resetting cached metadata for. You must use this parameter only if the connector * supports multiple API versions or if the connector type is CustomConnector.

*

To look up how many versions a connector supports, use the DescribeConnectors * action. In the response, find the value that Amazon AppFlow returns for the * connectorVersion parameter.

To look up the connector type, use the * DescribeConnectorProfiles action. In the response, find the value that Amazon * AppFlow returns for the connectorType parameter.

To look up the API * version that you specified in a connector profile, use the * DescribeConnectorProfiles action.

*/ inline void SetApiVersion(const Aws::String& value) { m_apiVersionHasBeenSet = true; m_apiVersion = value; } /** *

The API version that you specified in the connector profile that you’re * resetting cached metadata for. You must use this parameter only if the connector * supports multiple API versions or if the connector type is CustomConnector.

*

To look up how many versions a connector supports, use the DescribeConnectors * action. In the response, find the value that Amazon AppFlow returns for the * connectorVersion parameter.

To look up the connector type, use the * DescribeConnectorProfiles action. In the response, find the value that Amazon * AppFlow returns for the connectorType parameter.

To look up the API * version that you specified in a connector profile, use the * DescribeConnectorProfiles action.

*/ inline void SetApiVersion(Aws::String&& value) { m_apiVersionHasBeenSet = true; m_apiVersion = std::move(value); } /** *

The API version that you specified in the connector profile that you’re * resetting cached metadata for. You must use this parameter only if the connector * supports multiple API versions or if the connector type is CustomConnector.

*

To look up how many versions a connector supports, use the DescribeConnectors * action. In the response, find the value that Amazon AppFlow returns for the * connectorVersion parameter.

To look up the connector type, use the * DescribeConnectorProfiles action. In the response, find the value that Amazon * AppFlow returns for the connectorType parameter.

To look up the API * version that you specified in a connector profile, use the * DescribeConnectorProfiles action.

*/ inline void SetApiVersion(const char* value) { m_apiVersionHasBeenSet = true; m_apiVersion.assign(value); } /** *

The API version that you specified in the connector profile that you’re * resetting cached metadata for. You must use this parameter only if the connector * supports multiple API versions or if the connector type is CustomConnector.

*

To look up how many versions a connector supports, use the DescribeConnectors * action. In the response, find the value that Amazon AppFlow returns for the * connectorVersion parameter.

To look up the connector type, use the * DescribeConnectorProfiles action. In the response, find the value that Amazon * AppFlow returns for the connectorType parameter.

To look up the API * version that you specified in a connector profile, use the * DescribeConnectorProfiles action.

*/ inline ResetConnectorMetadataCacheRequest& WithApiVersion(const Aws::String& value) { SetApiVersion(value); return *this;} /** *

The API version that you specified in the connector profile that you’re * resetting cached metadata for. You must use this parameter only if the connector * supports multiple API versions or if the connector type is CustomConnector.

*

To look up how many versions a connector supports, use the DescribeConnectors * action. In the response, find the value that Amazon AppFlow returns for the * connectorVersion parameter.

To look up the connector type, use the * DescribeConnectorProfiles action. In the response, find the value that Amazon * AppFlow returns for the connectorType parameter.

To look up the API * version that you specified in a connector profile, use the * DescribeConnectorProfiles action.

*/ inline ResetConnectorMetadataCacheRequest& WithApiVersion(Aws::String&& value) { SetApiVersion(std::move(value)); return *this;} /** *

The API version that you specified in the connector profile that you’re * resetting cached metadata for. You must use this parameter only if the connector * supports multiple API versions or if the connector type is CustomConnector.

*

To look up how many versions a connector supports, use the DescribeConnectors * action. In the response, find the value that Amazon AppFlow returns for the * connectorVersion parameter.

To look up the connector type, use the * DescribeConnectorProfiles action. In the response, find the value that Amazon * AppFlow returns for the connectorType parameter.

To look up the API * version that you specified in a connector profile, use the * DescribeConnectorProfiles action.

*/ inline ResetConnectorMetadataCacheRequest& WithApiVersion(const char* value) { SetApiVersion(value); return *this;} private: Aws::String m_connectorProfileName; bool m_connectorProfileNameHasBeenSet = false; ConnectorType m_connectorType; bool m_connectorTypeHasBeenSet = false; Aws::String m_connectorEntityName; bool m_connectorEntityNameHasBeenSet = false; Aws::String m_entitiesPath; bool m_entitiesPathHasBeenSet = false; Aws::String m_apiVersion; bool m_apiVersionHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws