AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTraceSummariesResult.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/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/xray/model/TraceSummary.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace XRay
27{
28namespace Model
29{
31 {
32 public:
36
37
39
43 inline const Aws::Vector<TraceSummary>& GetTraceSummaries() const{ return m_traceSummaries; }
44 inline void SetTraceSummaries(const Aws::Vector<TraceSummary>& value) { m_traceSummaries = value; }
45 inline void SetTraceSummaries(Aws::Vector<TraceSummary>&& value) { m_traceSummaries = std::move(value); }
48 inline GetTraceSummariesResult& AddTraceSummaries(const TraceSummary& value) { m_traceSummaries.push_back(value); return *this; }
49 inline GetTraceSummariesResult& AddTraceSummaries(TraceSummary&& value) { m_traceSummaries.push_back(std::move(value)); return *this; }
51
53
56 inline const Aws::Utils::DateTime& GetApproximateTime() const{ return m_approximateTime; }
57 inline void SetApproximateTime(const Aws::Utils::DateTime& value) { m_approximateTime = value; }
58 inline void SetApproximateTime(Aws::Utils::DateTime&& value) { m_approximateTime = std::move(value); }
60 inline GetTraceSummariesResult& WithApproximateTime(Aws::Utils::DateTime&& value) { SetApproximateTime(std::move(value)); return *this;}
62
64
68 inline long long GetTracesProcessedCount() const{ return m_tracesProcessedCount; }
69 inline void SetTracesProcessedCount(long long value) { m_tracesProcessedCount = value; }
70 inline GetTraceSummariesResult& WithTracesProcessedCount(long long value) { SetTracesProcessedCount(value); return *this;}
72
74
79 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
80 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
81 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
82 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
83 inline GetTraceSummariesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
84 inline GetTraceSummariesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
85 inline GetTraceSummariesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
87
89
90 inline const Aws::String& GetRequestId() const{ return m_requestId; }
91 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
92 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
93 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
94 inline GetTraceSummariesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
95 inline GetTraceSummariesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
96 inline GetTraceSummariesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
98 private:
99
100 Aws::Vector<TraceSummary> m_traceSummaries;
101
102 Aws::Utils::DateTime m_approximateTime;
103
104 long long m_tracesProcessedCount;
105
106 Aws::String m_nextToken;
107
108 Aws::String m_requestId;
109 };
110
111} // namespace Model
112} // namespace XRay
113} // namespace Aws
GetTraceSummariesResult & WithRequestId(const Aws::String &value)
void SetApproximateTime(Aws::Utils::DateTime &&value)
GetTraceSummariesResult & WithNextToken(const Aws::String &value)
void SetApproximateTime(const Aws::Utils::DateTime &value)
GetTraceSummariesResult & WithApproximateTime(const Aws::Utils::DateTime &value)
void SetTraceSummaries(const Aws::Vector< TraceSummary > &value)
AWS_XRAY_API GetTraceSummariesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTraceSummariesResult & WithRequestId(Aws::String &&value)
AWS_XRAY_API GetTraceSummariesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTraceSummariesResult & WithNextToken(const char *value)
GetTraceSummariesResult & AddTraceSummaries(const TraceSummary &value)
GetTraceSummariesResult & WithTraceSummaries(const Aws::Vector< TraceSummary > &value)
const Aws::Vector< TraceSummary > & GetTraceSummaries() const
GetTraceSummariesResult & WithNextToken(Aws::String &&value)
GetTraceSummariesResult & WithTraceSummaries(Aws::Vector< TraceSummary > &&value)
GetTraceSummariesResult & AddTraceSummaries(TraceSummary &&value)
GetTraceSummariesResult & WithTracesProcessedCount(long long value)
void SetTraceSummaries(Aws::Vector< TraceSummary > &&value)
GetTraceSummariesResult & WithApproximateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetApproximateTime() const
GetTraceSummariesResult & WithRequestId(const char *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