AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetTracesResult.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/xray/model/Trace.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace XRay
26{
27namespace Model
28{
30 {
31 public:
32 AWS_XRAY_API BatchGetTracesResult();
35
36
38
41 inline const Aws::Vector<Trace>& GetTraces() const{ return m_traces; }
42 inline void SetTraces(const Aws::Vector<Trace>& value) { m_traces = value; }
43 inline void SetTraces(Aws::Vector<Trace>&& value) { m_traces = std::move(value); }
44 inline BatchGetTracesResult& WithTraces(const Aws::Vector<Trace>& value) { SetTraces(value); return *this;}
45 inline BatchGetTracesResult& WithTraces(Aws::Vector<Trace>&& value) { SetTraces(std::move(value)); return *this;}
46 inline BatchGetTracesResult& AddTraces(const Trace& value) { m_traces.push_back(value); return *this; }
47 inline BatchGetTracesResult& AddTraces(Trace&& value) { m_traces.push_back(std::move(value)); return *this; }
49
51
54 inline const Aws::Vector<Aws::String>& GetUnprocessedTraceIds() const{ return m_unprocessedTraceIds; }
55 inline void SetUnprocessedTraceIds(const Aws::Vector<Aws::String>& value) { m_unprocessedTraceIds = value; }
56 inline void SetUnprocessedTraceIds(Aws::Vector<Aws::String>&& value) { m_unprocessedTraceIds = std::move(value); }
59 inline BatchGetTracesResult& AddUnprocessedTraceIds(const Aws::String& value) { m_unprocessedTraceIds.push_back(value); return *this; }
60 inline BatchGetTracesResult& AddUnprocessedTraceIds(Aws::String&& value) { m_unprocessedTraceIds.push_back(std::move(value)); return *this; }
61 inline BatchGetTracesResult& AddUnprocessedTraceIds(const char* value) { m_unprocessedTraceIds.push_back(value); return *this; }
63
65
68 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
69 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
70 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
71 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
72 inline BatchGetTracesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
73 inline BatchGetTracesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
74 inline BatchGetTracesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
76
78
79 inline const Aws::String& GetRequestId() const{ return m_requestId; }
80 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
81 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
82 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
83 inline BatchGetTracesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
84 inline BatchGetTracesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
85 inline BatchGetTracesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
87 private:
88
89 Aws::Vector<Trace> m_traces;
90
91 Aws::Vector<Aws::String> m_unprocessedTraceIds;
92
93 Aws::String m_nextToken;
94
95 Aws::String m_requestId;
96 };
97
98} // namespace Model
99} // namespace XRay
100} // namespace Aws
BatchGetTracesResult & WithNextToken(const Aws::String &value)
const Aws::Vector< Aws::String > & GetUnprocessedTraceIds() const
BatchGetTracesResult & AddUnprocessedTraceIds(const char *value)
void SetRequestId(const Aws::String &value)
const Aws::Vector< Trace > & GetTraces() const
BatchGetTracesResult & AddUnprocessedTraceIds(Aws::String &&value)
void SetUnprocessedTraceIds(Aws::Vector< Aws::String > &&value)
void SetUnprocessedTraceIds(const Aws::Vector< Aws::String > &value)
BatchGetTracesResult & WithTraces(Aws::Vector< Trace > &&value)
void SetTraces(const Aws::Vector< Trace > &value)
BatchGetTracesResult & AddTraces(Trace &&value)
AWS_XRAY_API BatchGetTracesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetTracesResult & WithRequestId(Aws::String &&value)
void SetTraces(Aws::Vector< Trace > &&value)
BatchGetTracesResult & WithUnprocessedTraceIds(const Aws::Vector< Aws::String > &value)
BatchGetTracesResult & AddTraces(const Trace &value)
BatchGetTracesResult & WithNextToken(const char *value)
void SetNextToken(const Aws::String &value)
BatchGetTracesResult & WithRequestId(const Aws::String &value)
BatchGetTracesResult & AddUnprocessedTraceIds(const Aws::String &value)
BatchGetTracesResult & WithNextToken(Aws::String &&value)
BatchGetTracesResult & WithTraces(const Aws::Vector< Trace > &value)
AWS_XRAY_API BatchGetTracesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetTracesResult & WithRequestId(const char *value)
BatchGetTracesResult & WithUnprocessedTraceIds(Aws::Vector< Aws::String > &&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