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

Trace IDs and annotations for traces that were found in the specified time * frame.

*/ inline const Aws::Vector& GetTraceSummaries() const{ return m_traceSummaries; } /** *

Trace IDs and annotations for traces that were found in the specified time * frame.

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

Trace IDs and annotations for traces that were found in the specified time * frame.

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

Trace IDs and annotations for traces that were found in the specified time * frame.

*/ inline GetTraceSummariesResult& WithTraceSummaries(const Aws::Vector& value) { SetTraceSummaries(value); return *this;} /** *

Trace IDs and annotations for traces that were found in the specified time * frame.

*/ inline GetTraceSummariesResult& WithTraceSummaries(Aws::Vector&& value) { SetTraceSummaries(std::move(value)); return *this;} /** *

Trace IDs and annotations for traces that were found in the specified time * frame.

*/ inline GetTraceSummariesResult& AddTraceSummaries(const TraceSummary& value) { m_traceSummaries.push_back(value); return *this; } /** *

Trace IDs and annotations for traces that were found in the specified time * frame.

*/ inline GetTraceSummariesResult& AddTraceSummaries(TraceSummary&& value) { m_traceSummaries.push_back(std::move(value)); return *this; } /** *

The start time of this page of results.

*/ inline const Aws::Utils::DateTime& GetApproximateTime() const{ return m_approximateTime; } /** *

The start time of this page of results.

*/ inline void SetApproximateTime(const Aws::Utils::DateTime& value) { m_approximateTime = value; } /** *

The start time of this page of results.

*/ inline void SetApproximateTime(Aws::Utils::DateTime&& value) { m_approximateTime = std::move(value); } /** *

The start time of this page of results.

*/ inline GetTraceSummariesResult& WithApproximateTime(const Aws::Utils::DateTime& value) { SetApproximateTime(value); return *this;} /** *

The start time of this page of results.

*/ inline GetTraceSummariesResult& WithApproximateTime(Aws::Utils::DateTime&& value) { SetApproximateTime(std::move(value)); return *this;} /** *

The total number of traces processed, including traces that did not match the * specified filter expression.

*/ inline long long GetTracesProcessedCount() const{ return m_tracesProcessedCount; } /** *

The total number of traces processed, including traces that did not match the * specified filter expression.

*/ inline void SetTracesProcessedCount(long long value) { m_tracesProcessedCount = value; } /** *

The total number of traces processed, including traces that did not match the * specified filter expression.

*/ inline GetTraceSummariesResult& WithTracesProcessedCount(long long value) { SetTracesProcessedCount(value); return *this;} /** *

If the requested time frame contained more than one page of results, you can * use this token to retrieve the next page. The first page contains the most * recent results, closest to the end of the time frame.

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

If the requested time frame contained more than one page of results, you can * use this token to retrieve the next page. The first page contains the most * recent results, closest to the end of the time frame.

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

If the requested time frame contained more than one page of results, you can * use this token to retrieve the next page. The first page contains the most * recent results, closest to the end of the time frame.

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

If the requested time frame contained more than one page of results, you can * use this token to retrieve the next page. The first page contains the most * recent results, closest to the end of the time frame.

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

If the requested time frame contained more than one page of results, you can * use this token to retrieve the next page. The first page contains the most * recent results, closest to the end of the time frame.

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

If the requested time frame contained more than one page of results, you can * use this token to retrieve the next page. The first page contains the most * recent results, closest to the end of the time frame.

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

If the requested time frame contained more than one page of results, you can * use this token to retrieve the next page. The first page contains the most * recent results, closest to the end of the time frame.

*/ inline GetTraceSummariesResult& 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 GetTraceSummariesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetTraceSummariesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetTraceSummariesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_traceSummaries; Aws::Utils::DateTime m_approximateTime; long long m_tracesProcessedCount; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace XRay } // namespace Aws