/** * 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 DataSync { namespace Model { /** */ class DescribeStorageSystemResourcesRequest : public DataSyncRequest { public: AWS_DATASYNC_API DescribeStorageSystemResourcesRequest(); // 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 "DescribeStorageSystemResources"; } 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's * collecting data from 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's * collecting data from your on-premises storage system.

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

Specifies the Amazon Resource Name (ARN) of the discovery job that's * collecting data from 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's * collecting data from 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's * collecting data from 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's * collecting data from your on-premises storage system.

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

Specifies the Amazon Resource Name (ARN) of the discovery job that's * collecting data from your on-premises storage system.

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

Specifies the Amazon Resource Name (ARN) of the discovery job that's * collecting data from your on-premises storage system.

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

Specifies what kind of storage system resources that you want information * about.

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

Specifies what kind of storage system resources that you want information * about.

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

Specifies what kind of storage system resources that you want information * about.

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

Specifies what kind of storage system resources that you want information * about.

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

Specifies what kind of storage system resources that you want information * about.

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

Specifies what kind of storage system resources that you want information * about.

*/ inline DescribeStorageSystemResourcesRequest& WithResourceType(DiscoveryResourceType&& value) { SetResourceType(std::move(value)); return *this;} /** *

Specifies the universally unique identifiers (UUIDs) of the storage system * resources that you want information about. You can't use this parameter in * combination with the Filter parameter.

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

Specifies the universally unique identifiers (UUIDs) of the storage system * resources that you want information about. You can't use this parameter in * combination with the Filter parameter.

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

Specifies the universally unique identifiers (UUIDs) of the storage system * resources that you want information about. You can't use this parameter in * combination with the Filter parameter.

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

Specifies the universally unique identifiers (UUIDs) of the storage system * resources that you want information about. You can't use this parameter in * combination with the Filter parameter.

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

Specifies the universally unique identifiers (UUIDs) of the storage system * resources that you want information about. You can't use this parameter in * combination with the Filter parameter.

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

Specifies the universally unique identifiers (UUIDs) of the storage system * resources that you want information about. You can't use this parameter in * combination with the Filter parameter.

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

Specifies the universally unique identifiers (UUIDs) of the storage system * resources that you want information about. You can't use this parameter in * combination with the Filter parameter.

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

Specifies the universally unique identifiers (UUIDs) of the storage system * resources that you want information about. You can't use this parameter in * combination with the Filter parameter.

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

Specifies the universally unique identifiers (UUIDs) of the storage system * resources that you want information about. You can't use this parameter in * combination with the Filter parameter.

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

Filters the storage system resources that you want returned. For example, * this might be volumes associated with a specific storage virtual machine * (SVM).

*/ inline const Aws::Map>& GetFilter() const{ return m_filter; } /** *

Filters the storage system resources that you want returned. For example, * this might be volumes associated with a specific storage virtual machine * (SVM).

*/ inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } /** *

Filters the storage system resources that you want returned. For example, * this might be volumes associated with a specific storage virtual machine * (SVM).

*/ inline void SetFilter(const Aws::Map>& value) { m_filterHasBeenSet = true; m_filter = value; } /** *

Filters the storage system resources that you want returned. For example, * this might be volumes associated with a specific storage virtual machine * (SVM).

*/ inline void SetFilter(Aws::Map>&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); } /** *

Filters the storage system resources that you want returned. For example, * this might be volumes associated with a specific storage virtual machine * (SVM).

*/ inline DescribeStorageSystemResourcesRequest& WithFilter(const Aws::Map>& value) { SetFilter(value); return *this;} /** *

Filters the storage system resources that you want returned. For example, * this might be volumes associated with a specific storage virtual machine * (SVM).

*/ inline DescribeStorageSystemResourcesRequest& WithFilter(Aws::Map>&& value) { SetFilter(std::move(value)); return *this;} /** *

Filters the storage system resources that you want returned. For example, * this might be volumes associated with a specific storage virtual machine * (SVM).

*/ inline DescribeStorageSystemResourcesRequest& AddFilter(const DiscoveryResourceFilter& key, const Aws::Vector& value) { m_filterHasBeenSet = true; m_filter.emplace(key, value); return *this; } /** *

Filters the storage system resources that you want returned. For example, * this might be volumes associated with a specific storage virtual machine * (SVM).

*/ inline DescribeStorageSystemResourcesRequest& AddFilter(DiscoveryResourceFilter&& key, const Aws::Vector& value) { m_filterHasBeenSet = true; m_filter.emplace(std::move(key), value); return *this; } /** *

Filters the storage system resources that you want returned. For example, * this might be volumes associated with a specific storage virtual machine * (SVM).

*/ inline DescribeStorageSystemResourcesRequest& AddFilter(const DiscoveryResourceFilter& key, Aws::Vector&& value) { m_filterHasBeenSet = true; m_filter.emplace(key, std::move(value)); return *this; } /** *

Filters the storage system resources that you want returned. For example, * this might be volumes associated with a specific storage virtual machine * (SVM).

*/ inline DescribeStorageSystemResourcesRequest& AddFilter(DiscoveryResourceFilter&& key, Aws::Vector&& value) { m_filterHasBeenSet = true; m_filter.emplace(std::move(key), std::move(value)); return *this; } /** *

Specifies the maximum number of storage system resources that you want to * list in a response.

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

Specifies the maximum number of storage system resources that you want to * list in a response.

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

Specifies the maximum number of storage system resources that you want to * list in a response.

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

Specifies the maximum number of storage system resources that you want to * list in a response.

*/ inline DescribeStorageSystemResourcesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

Specifies an opaque string that indicates the position to begin the next list * of results in the response.

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

Specifies an opaque string that indicates the position to begin the next list * of results in the response.

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

Specifies an opaque string that indicates the position to begin the next list * of results in the response.

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

Specifies an opaque string that indicates the position to begin the next list * of results in the response.

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

Specifies an opaque string that indicates the position to begin the next list * of results in the response.

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

Specifies an opaque string that indicates the position to begin the next list * of results in the response.

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

Specifies an opaque string that indicates the position to begin the next list * of results in the response.

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

Specifies an opaque string that indicates the position to begin the next list * of results in the response.

*/ inline DescribeStorageSystemResourcesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_discoveryJobArn; bool m_discoveryJobArnHasBeenSet = false; DiscoveryResourceType m_resourceType; bool m_resourceTypeHasBeenSet = false; Aws::Vector m_resourceIds; bool m_resourceIdsHasBeenSet = false; Aws::Map> m_filter; bool m_filterHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace DataSync } // namespace Aws