AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetRetrievedTracesGraphResult.h
1
6#pragma once
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/RetrievalStatus.h>
11#include <aws/xray/model/RetrievedService.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace XRay {
25namespace Model {
27 public:
28 AWS_XRAY_API GetRetrievedTracesGraphResult() = default;
31
33
36 inline RetrievalStatus GetRetrievalStatus() const { return m_retrievalStatus; }
38 m_retrievalStatusHasBeenSet = true;
39 m_retrievalStatus = value;
40 }
42 SetRetrievalStatus(value);
43 return *this;
44 }
46
48
51 inline const Aws::Vector<RetrievedService>& GetServices() const { return m_services; }
52 template <typename ServicesT = Aws::Vector<RetrievedService>>
53 void SetServices(ServicesT&& value) {
54 m_servicesHasBeenSet = true;
55 m_services = std::forward<ServicesT>(value);
56 }
57 template <typename ServicesT = Aws::Vector<RetrievedService>>
59 SetServices(std::forward<ServicesT>(value));
60 return *this;
61 }
62 template <typename ServicesT = RetrievedService>
64 m_servicesHasBeenSet = true;
65 m_services.emplace_back(std::forward<ServicesT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetNextToken() const { return m_nextToken; }
76 template <typename NextTokenT = Aws::String>
77 void SetNextToken(NextTokenT&& value) {
78 m_nextTokenHasBeenSet = true;
79 m_nextToken = std::forward<NextTokenT>(value);
80 }
81 template <typename NextTokenT = Aws::String>
83 SetNextToken(std::forward<NextTokenT>(value));
84 return *this;
85 }
87
89
90 inline const Aws::String& GetRequestId() const { return m_requestId; }
91 template <typename RequestIdT = Aws::String>
92 void SetRequestId(RequestIdT&& value) {
93 m_requestIdHasBeenSet = true;
94 m_requestId = std::forward<RequestIdT>(value);
95 }
96 template <typename RequestIdT = Aws::String>
98 SetRequestId(std::forward<RequestIdT>(value));
99 return *this;
100 }
102 private:
103 RetrievalStatus m_retrievalStatus{RetrievalStatus::NOT_SET};
104
106
107 Aws::String m_nextToken;
108
109 Aws::String m_requestId;
110 bool m_retrievalStatusHasBeenSet = false;
111 bool m_servicesHasBeenSet = false;
112 bool m_nextTokenHasBeenSet = false;
113 bool m_requestIdHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace XRay
118} // 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