This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-xray/include/aws/xray/model/BatchGetTracesResult.h

161 lines
4.8 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/xray/XRay_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/xray/model/Trace.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace XRay
{
namespace Model
{
class AWS_XRAY_API BatchGetTracesResult
{
public:
BatchGetTracesResult();
BatchGetTracesResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
BatchGetTracesResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Full traces for the specified requests.</p>
*/
inline const Aws::Vector<Trace>& GetTraces() const{ return m_traces; }
/**
* <p>Full traces for the specified requests.</p>
*/
inline void SetTraces(const Aws::Vector<Trace>& value) { m_traces = value; }
/**
* <p>Full traces for the specified requests.</p>
*/
inline void SetTraces(Aws::Vector<Trace>&& value) { m_traces = std::move(value); }
/**
* <p>Full traces for the specified requests.</p>
*/
inline BatchGetTracesResult& WithTraces(const Aws::Vector<Trace>& value) { SetTraces(value); return *this;}
/**
* <p>Full traces for the specified requests.</p>
*/
inline BatchGetTracesResult& WithTraces(Aws::Vector<Trace>&& value) { SetTraces(std::move(value)); return *this;}
/**
* <p>Full traces for the specified requests.</p>
*/
inline BatchGetTracesResult& AddTraces(const Trace& value) { m_traces.push_back(value); return *this; }
/**
* <p>Full traces for the specified requests.</p>
*/
inline BatchGetTracesResult& AddTraces(Trace&& value) { m_traces.push_back(std::move(value)); return *this; }
/**
* <p>Trace IDs of requests that haven't been processed.</p>
*/
inline const Aws::Vector<Aws::String>& GetUnprocessedTraceIds() const{ return m_unprocessedTraceIds; }
/**
* <p>Trace IDs of requests that haven't been processed.</p>
*/
inline void SetUnprocessedTraceIds(const Aws::Vector<Aws::String>& value) { m_unprocessedTraceIds = value; }
/**
* <p>Trace IDs of requests that haven't been processed.</p>
*/
inline void SetUnprocessedTraceIds(Aws::Vector<Aws::String>&& value) { m_unprocessedTraceIds = std::move(value); }
/**
* <p>Trace IDs of requests that haven't been processed.</p>
*/
inline BatchGetTracesResult& WithUnprocessedTraceIds(const Aws::Vector<Aws::String>& value) { SetUnprocessedTraceIds(value); return *this;}
/**
* <p>Trace IDs of requests that haven't been processed.</p>
*/
inline BatchGetTracesResult& WithUnprocessedTraceIds(Aws::Vector<Aws::String>&& value) { SetUnprocessedTraceIds(std::move(value)); return *this;}
/**
* <p>Trace IDs of requests that haven't been processed.</p>
*/
inline BatchGetTracesResult& AddUnprocessedTraceIds(const Aws::String& value) { m_unprocessedTraceIds.push_back(value); return *this; }
/**
* <p>Trace IDs of requests that haven't been processed.</p>
*/
inline BatchGetTracesResult& AddUnprocessedTraceIds(Aws::String&& value) { m_unprocessedTraceIds.push_back(std::move(value)); return *this; }
/**
* <p>Trace IDs of requests that haven't been processed.</p>
*/
inline BatchGetTracesResult& AddUnprocessedTraceIds(const char* value) { m_unprocessedTraceIds.push_back(value); return *this; }
/**
* <p>Pagination token.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>Pagination token.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
/**
* <p>Pagination token.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
/**
* <p>Pagination token.</p>
*/
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
/**
* <p>Pagination token.</p>
*/
inline BatchGetTracesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>Pagination token.</p>
*/
inline BatchGetTracesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>Pagination token.</p>
*/
inline BatchGetTracesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::Vector<Trace> m_traces;
Aws::Vector<Aws::String> m_unprocessedTraceIds;
Aws::String m_nextToken;
};
} // namespace Model
} // namespace XRay
} // namespace Aws