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

Full traces for the specified requests.

*/ inline const Aws::Vector& GetTraces() const{ return m_traces; } /** *

Full traces for the specified requests.

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

Full traces for the specified requests.

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

Full traces for the specified requests.

*/ inline BatchGetTracesResult& WithTraces(const Aws::Vector& value) { SetTraces(value); return *this;} /** *

Full traces for the specified requests.

*/ inline BatchGetTracesResult& WithTraces(Aws::Vector&& value) { SetTraces(std::move(value)); return *this;} /** *

Full traces for the specified requests.

*/ inline BatchGetTracesResult& AddTraces(const Trace& value) { m_traces.push_back(value); return *this; } /** *

Full traces for the specified requests.

*/ inline BatchGetTracesResult& AddTraces(Trace&& value) { m_traces.push_back(std::move(value)); return *this; } /** *

Trace IDs of requests that haven't been processed.

*/ inline const Aws::Vector& GetUnprocessedTraceIds() const{ return m_unprocessedTraceIds; } /** *

Trace IDs of requests that haven't been processed.

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

Trace IDs of requests that haven't been processed.

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

Trace IDs of requests that haven't been processed.

*/ inline BatchGetTracesResult& WithUnprocessedTraceIds(const Aws::Vector& value) { SetUnprocessedTraceIds(value); return *this;} /** *

Trace IDs of requests that haven't been processed.

*/ inline BatchGetTracesResult& WithUnprocessedTraceIds(Aws::Vector&& value) { SetUnprocessedTraceIds(std::move(value)); return *this;} /** *

Trace IDs of requests that haven't been processed.

*/ inline BatchGetTracesResult& AddUnprocessedTraceIds(const Aws::String& value) { m_unprocessedTraceIds.push_back(value); return *this; } /** *

Trace IDs of requests that haven't been processed.

*/ inline BatchGetTracesResult& AddUnprocessedTraceIds(Aws::String&& value) { m_unprocessedTraceIds.push_back(std::move(value)); return *this; } /** *

Trace IDs of requests that haven't been processed.

*/ inline BatchGetTracesResult& AddUnprocessedTraceIds(const char* value) { m_unprocessedTraceIds.push_back(value); return *this; } /** *

Pagination token.

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

Pagination token.

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

Pagination token.

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

Pagination token.

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

Pagination token.

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

Pagination token.

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

Pagination token.

*/ inline BatchGetTracesResult& 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 BatchGetTracesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchGetTracesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchGetTracesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_traces; Aws::Vector m_unprocessedTraceIds; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace XRay } // namespace Aws