7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/xray/XRay_EXPORTS.h>
10#include <aws/xray/model/Trace.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
36 template <
typename TracesT = Aws::Vector<Trace>>
38 m_tracesHasBeenSet =
true;
39 m_traces = std::forward<TracesT>(value);
41 template <
typename TracesT = Aws::Vector<Trace>>
46 template <
typename TracesT = Trace>
48 m_tracesHasBeenSet =
true;
49 m_traces.emplace_back(std::forward<TracesT>(value));
59 template <
typename UnprocessedTraceIdsT = Aws::Vector<Aws::String>>
61 m_unprocessedTraceIdsHasBeenSet =
true;
62 m_unprocessedTraceIds = std::forward<UnprocessedTraceIdsT>(value);
64 template <
typename UnprocessedTraceIdsT = Aws::Vector<Aws::String>>
69 template <
typename UnprocessedTraceIdsT = Aws::String>
71 m_unprocessedTraceIdsHasBeenSet =
true;
72 m_unprocessedTraceIds.emplace_back(std::forward<UnprocessedTraceIdsT>(value));
82 template <
typename NextTokenT = Aws::String>
84 m_nextTokenHasBeenSet =
true;
85 m_nextToken = std::forward<NextTokenT>(value);
87 template <
typename NextTokenT = Aws::String>
97 template <
typename RequestIdT = Aws::String>
99 m_requestIdHasBeenSet =
true;
100 m_requestId = std::forward<RequestIdT>(value);
102 template <
typename RequestIdT = Aws::String>
116 bool m_tracesHasBeenSet =
false;
117 bool m_unprocessedTraceIdsHasBeenSet =
false;
118 bool m_nextTokenHasBeenSet =
false;
119 bool m_requestIdHasBeenSet =
false;
void SetNextToken(NextTokenT &&value)
const Aws::Vector< Aws::String > & GetUnprocessedTraceIds() const
const Aws::Vector< Trace > & GetTraces() const
BatchGetTracesResult & AddTraces(TracesT &&value)
AWS_XRAY_API BatchGetTracesResult()=default
BatchGetTracesResult & WithTraces(TracesT &&value)
const Aws::String & GetRequestId() const
BatchGetTracesResult & AddUnprocessedTraceIds(UnprocessedTraceIdsT &&value)
AWS_XRAY_API BatchGetTracesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetTracesResult & WithNextToken(NextTokenT &&value)
void SetUnprocessedTraceIds(UnprocessedTraceIdsT &&value)
BatchGetTracesResult & WithUnprocessedTraceIds(UnprocessedTraceIdsT &&value)
void SetTraces(TracesT &&value)
BatchGetTracesResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetNextToken() const
AWS_XRAY_API BatchGetTracesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue