AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetRetrievedTracesGraphResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/xray/XRay_EXPORTS.h>
11#include <aws/xray/model/RetrievalStatus.h>
12#include <aws/xray/model/RetrievedService.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace XRay {
26namespace Model {
28 public:
29 AWS_XRAY_API GetRetrievedTracesGraphResult() = default;
32
34
37 inline RetrievalStatus GetRetrievalStatus() const { return m_retrievalStatus; }
39 m_retrievalStatusHasBeenSet = true;
40 m_retrievalStatus = value;
41 }
43 SetRetrievalStatus(value);
44 return *this;
45 }
47
49
52 inline const Aws::Vector<RetrievedService>& GetServices() const { return m_services; }
53 template <typename ServicesT = Aws::Vector<RetrievedService>>
54 void SetServices(ServicesT&& value) {
55 m_servicesHasBeenSet = true;
56 m_services = std::forward<ServicesT>(value);
57 }
58 template <typename ServicesT = Aws::Vector<RetrievedService>>
60 SetServices(std::forward<ServicesT>(value));
61 return *this;
62 }
63 template <typename ServicesT = RetrievedService>
65 m_servicesHasBeenSet = true;
66 m_services.emplace_back(std::forward<ServicesT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetNextToken() const { return m_nextToken; }
77 template <typename NextTokenT = Aws::String>
78 void SetNextToken(NextTokenT&& value) {
79 m_nextTokenHasBeenSet = true;
80 m_nextToken = std::forward<NextTokenT>(value);
81 }
82 template <typename NextTokenT = Aws::String>
84 SetNextToken(std::forward<NextTokenT>(value));
85 return *this;
86 }
88
90
91 inline const Aws::String& GetRequestId() const { return m_requestId; }
92 template <typename RequestIdT = Aws::String>
93 void SetRequestId(RequestIdT&& value) {
94 m_requestIdHasBeenSet = true;
95 m_requestId = std::forward<RequestIdT>(value);
96 }
97 template <typename RequestIdT = Aws::String>
99 SetRequestId(std::forward<RequestIdT>(value));
100 return *this;
101 }
103 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
104
105 private:
106 RetrievalStatus m_retrievalStatus{RetrievalStatus::NOT_SET};
107
109
110 Aws::String m_nextToken;
111
112 Aws::String m_requestId;
113 Aws::Http::HttpResponseCode m_HttpResponseCode;
114 bool m_retrievalStatusHasBeenSet = false;
115 bool m_servicesHasBeenSet = false;
116 bool m_nextTokenHasBeenSet = false;
117 bool m_requestIdHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace XRay
122} // namespace Aws
AWS_XRAY_API GetRetrievedTracesGraphResult()=default
GetRetrievedTracesGraphResult & WithRequestId(RequestIdT &&value)
GetRetrievedTracesGraphResult & WithNextToken(NextTokenT &&value)
GetRetrievedTracesGraphResult & WithRetrievalStatus(RetrievalStatus value)
GetRetrievedTracesGraphResult & WithServices(ServicesT &&value)
GetRetrievedTracesGraphResult & AddServices(ServicesT &&value)
AWS_XRAY_API GetRetrievedTracesGraphResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_XRAY_API GetRetrievedTracesGraphResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< RetrievedService > & GetServices() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue