/** * 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 DescribeStorageSystemResourceMetricsRequest : public DataSyncRequest { public: AWS_DATASYNC_API DescribeStorageSystemResourceMetricsRequest(); // 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 "DescribeStorageSystemResourceMetrics"; } 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 DescribeStorageSystemResourceMetricsRequest& 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 DescribeStorageSystemResourceMetricsRequest& 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 DescribeStorageSystemResourceMetricsRequest& WithDiscoveryJobArn(const char* value) { SetDiscoveryJobArn(value); return *this;} /** *

Specifies the kind of storage system resource that you want information * about.

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

Specifies the kind of storage system resource that you want information * about.

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

Specifies the kind of storage system resource that you want information * about.

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

Specifies the kind of storage system resource that you want information * about.

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

Specifies the kind of storage system resource that you want information * about.

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

Specifies the kind of storage system resource that you want information * about.

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

Specifies the universally unique identifier (UUID) of the storage system * resource that you want information about.

*/ inline const Aws::String& GetResourceId() const{ return m_resourceId; } /** *

Specifies the universally unique identifier (UUID) of the storage system * resource that you want information about.

*/ inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } /** *

Specifies the universally unique identifier (UUID) of the storage system * resource that you want information about.

*/ inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } /** *

Specifies the universally unique identifier (UUID) of the storage system * resource that you want information about.

*/ inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } /** *

Specifies the universally unique identifier (UUID) of the storage system * resource that you want information about.

*/ inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } /** *

Specifies the universally unique identifier (UUID) of the storage system * resource that you want information about.

*/ inline DescribeStorageSystemResourceMetricsRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} /** *

Specifies the universally unique identifier (UUID) of the storage system * resource that you want information about.

*/ inline DescribeStorageSystemResourceMetricsRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} /** *

Specifies the universally unique identifier (UUID) of the storage system * resource that you want information about.

*/ inline DescribeStorageSystemResourceMetricsRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;} /** *

Specifies a time within the total duration that the discovery job ran. To see * information gathered during a certain time frame, use this parameter with * EndTime.

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

Specifies a time within the total duration that the discovery job ran. To see * information gathered during a certain time frame, use this parameter with * EndTime.

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

Specifies a time within the total duration that the discovery job ran. To see * information gathered during a certain time frame, use this parameter with * EndTime.

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

Specifies a time within the total duration that the discovery job ran. To see * information gathered during a certain time frame, use this parameter with * EndTime.

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

Specifies a time within the total duration that the discovery job ran. To see * information gathered during a certain time frame, use this parameter with * EndTime.

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

Specifies a time within the total duration that the discovery job ran. To see * information gathered during a certain time frame, use this parameter with * EndTime.

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

Specifies a time within the total duration that the discovery job ran. To see * information gathered during a certain time frame, use this parameter with * StartTime.

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

Specifies a time within the total duration that the discovery job ran. To see * information gathered during a certain time frame, use this parameter with * StartTime.

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

Specifies a time within the total duration that the discovery job ran. To see * information gathered during a certain time frame, use this parameter with * StartTime.

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

Specifies a time within the total duration that the discovery job ran. To see * information gathered during a certain time frame, use this parameter with * StartTime.

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

Specifies a time within the total duration that the discovery job ran. To see * information gathered during a certain time frame, use this parameter with * StartTime.

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

Specifies a time within the total duration that the discovery job ran. To see * information gathered during a certain time frame, use this parameter with * StartTime.

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

Specifies how many results that you want in the response.

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

Specifies how many results that you want in the response.

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

Specifies how many results that you want in the response.

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

Specifies how many results that you want in the response.

*/ inline DescribeStorageSystemResourceMetricsRequest& 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 DescribeStorageSystemResourceMetricsRequest& 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 DescribeStorageSystemResourceMetricsRequest& 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 DescribeStorageSystemResourceMetricsRequest& 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::String m_resourceId; bool m_resourceIdHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace DataSync } // namespace Aws