/** * 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 DataSync { namespace Model { /** */ class GenerateRecommendationsRequest : public DataSyncRequest { public: AWS_DATASYNC_API GenerateRecommendationsRequest(); // 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 "GenerateRecommendations"; } AWS_DATASYNC_API Aws::String SerializePayload() const override; AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Specifies the Amazon Resource Name (ARN) of the discovery job that collects * information about your on-premises storage system.

*/ inline const Aws::String& GetDiscoveryJobArn() const{ return m_discoveryJobArn; } /** *

Specifies the Amazon Resource Name (ARN) of the discovery job that collects * information about your on-premises storage system.

*/ inline bool DiscoveryJobArnHasBeenSet() const { return m_discoveryJobArnHasBeenSet; } /** *

Specifies the Amazon Resource Name (ARN) of the discovery job that collects * information about your on-premises storage system.

*/ inline void SetDiscoveryJobArn(const Aws::String& value) { m_discoveryJobArnHasBeenSet = true; m_discoveryJobArn = value; } /** *

Specifies the Amazon Resource Name (ARN) of the discovery job that collects * information about your on-premises storage system.

*/ inline void SetDiscoveryJobArn(Aws::String&& value) { m_discoveryJobArnHasBeenSet = true; m_discoveryJobArn = std::move(value); } /** *

Specifies the Amazon Resource Name (ARN) of the discovery job that collects * information about your on-premises storage system.

*/ inline void SetDiscoveryJobArn(const char* value) { m_discoveryJobArnHasBeenSet = true; m_discoveryJobArn.assign(value); } /** *

Specifies the Amazon Resource Name (ARN) of the discovery job that collects * information about your on-premises storage system.

*/ inline GenerateRecommendationsRequest& WithDiscoveryJobArn(const Aws::String& value) { SetDiscoveryJobArn(value); return *this;} /** *

Specifies the Amazon Resource Name (ARN) of the discovery job that collects * information about your on-premises storage system.

*/ inline GenerateRecommendationsRequest& WithDiscoveryJobArn(Aws::String&& value) { SetDiscoveryJobArn(std::move(value)); return *this;} /** *

Specifies the Amazon Resource Name (ARN) of the discovery job that collects * information about your on-premises storage system.

*/ inline GenerateRecommendationsRequest& WithDiscoveryJobArn(const char* value) { SetDiscoveryJobArn(value); return *this;} /** *

Specifies the universally unique identifiers (UUIDs) of the resources in your * storage system that you want recommendations on.

*/ inline const Aws::Vector& GetResourceIds() const{ return m_resourceIds; } /** *

Specifies the universally unique identifiers (UUIDs) of the resources in your * storage system that you want recommendations on.

*/ inline bool ResourceIdsHasBeenSet() const { return m_resourceIdsHasBeenSet; } /** *

Specifies the universally unique identifiers (UUIDs) of the resources in your * storage system that you want recommendations on.

*/ inline void SetResourceIds(const Aws::Vector& value) { m_resourceIdsHasBeenSet = true; m_resourceIds = value; } /** *

Specifies the universally unique identifiers (UUIDs) of the resources in your * storage system that you want recommendations on.

*/ inline void SetResourceIds(Aws::Vector&& value) { m_resourceIdsHasBeenSet = true; m_resourceIds = std::move(value); } /** *

Specifies the universally unique identifiers (UUIDs) of the resources in your * storage system that you want recommendations on.

*/ inline GenerateRecommendationsRequest& WithResourceIds(const Aws::Vector& value) { SetResourceIds(value); return *this;} /** *

Specifies the universally unique identifiers (UUIDs) of the resources in your * storage system that you want recommendations on.

*/ inline GenerateRecommendationsRequest& WithResourceIds(Aws::Vector&& value) { SetResourceIds(std::move(value)); return *this;} /** *

Specifies the universally unique identifiers (UUIDs) of the resources in your * storage system that you want recommendations on.

*/ inline GenerateRecommendationsRequest& AddResourceIds(const Aws::String& value) { m_resourceIdsHasBeenSet = true; m_resourceIds.push_back(value); return *this; } /** *

Specifies the universally unique identifiers (UUIDs) of the resources in your * storage system that you want recommendations on.

*/ inline GenerateRecommendationsRequest& AddResourceIds(Aws::String&& value) { m_resourceIdsHasBeenSet = true; m_resourceIds.push_back(std::move(value)); return *this; } /** *

Specifies the universally unique identifiers (UUIDs) of the resources in your * storage system that you want recommendations on.

*/ inline GenerateRecommendationsRequest& AddResourceIds(const char* value) { m_resourceIdsHasBeenSet = true; m_resourceIds.push_back(value); return *this; } /** *

Specifies the type of resource in your storage system that you want * recommendations on.

*/ inline const DiscoveryResourceType& GetResourceType() const{ return m_resourceType; } /** *

Specifies the type of resource in your storage system that you want * recommendations on.

*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *

Specifies the type of resource in your storage system that you want * recommendations on.

*/ inline void SetResourceType(const DiscoveryResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *

Specifies the type of resource in your storage system that you want * recommendations on.

*/ inline void SetResourceType(DiscoveryResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *

Specifies the type of resource in your storage system that you want * recommendations on.

*/ inline GenerateRecommendationsRequest& WithResourceType(const DiscoveryResourceType& value) { SetResourceType(value); return *this;} /** *

Specifies the type of resource in your storage system that you want * recommendations on.

*/ inline GenerateRecommendationsRequest& WithResourceType(DiscoveryResourceType&& value) { SetResourceType(std::move(value)); return *this;} private: Aws::String m_discoveryJobArn; bool m_discoveryJobArnHasBeenSet = false; Aws::Vector m_resourceIds; bool m_resourceIdsHasBeenSet = false; DiscoveryResourceType m_resourceType; bool m_resourceTypeHasBeenSet = false; }; } // namespace Model } // namespace DataSync } // namespace Aws