/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DataSync { namespace Model { class DescribeStorageSystemResourceMetricsResult { public: AWS_DATASYNC_API DescribeStorageSystemResourceMetricsResult(); AWS_DATASYNC_API DescribeStorageSystemResourceMetricsResult(const Aws::AmazonWebServiceResult& result); AWS_DATASYNC_API DescribeStorageSystemResourceMetricsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The details that your discovery job collected about your storage system * resource.

*/ inline const Aws::Vector& GetMetrics() const{ return m_metrics; } /** *

The details that your discovery job collected about your storage system * resource.

*/ inline void SetMetrics(const Aws::Vector& value) { m_metrics = value; } /** *

The details that your discovery job collected about your storage system * resource.

*/ inline void SetMetrics(Aws::Vector&& value) { m_metrics = std::move(value); } /** *

The details that your discovery job collected about your storage system * resource.

*/ inline DescribeStorageSystemResourceMetricsResult& WithMetrics(const Aws::Vector& value) { SetMetrics(value); return *this;} /** *

The details that your discovery job collected about your storage system * resource.

*/ inline DescribeStorageSystemResourceMetricsResult& WithMetrics(Aws::Vector&& value) { SetMetrics(std::move(value)); return *this;} /** *

The details that your discovery job collected about your storage system * resource.

*/ inline DescribeStorageSystemResourceMetricsResult& AddMetrics(const ResourceMetrics& value) { m_metrics.push_back(value); return *this; } /** *

The details that your discovery job collected about your storage system * resource.

*/ inline DescribeStorageSystemResourceMetricsResult& AddMetrics(ResourceMetrics&& value) { m_metrics.push_back(std::move(value)); return *this; } /** *

The 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; } /** *

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

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

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

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

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

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

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

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

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

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

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

*/ inline DescribeStorageSystemResourceMetricsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeStorageSystemResourceMetricsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeStorageSystemResourceMetricsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeStorageSystemResourceMetricsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_metrics; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace DataSync } // namespace Aws