AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetRetrievedTracesGraphResult.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/xray/model/RetrievalStatus.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/xray/model/RetrievedService.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:
33 AWS_XRAY_API GetRetrievedTracesGraphResult() = default;
36
37
39
42 inline RetrievalStatus GetRetrievalStatus() const { return m_retrievalStatus; }
43 inline void SetRetrievalStatus(RetrievalStatus value) { m_retrievalStatusHasBeenSet = true; m_retrievalStatus = value; }
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) { m_servicesHasBeenSet = true; m_services = std::forward<ServicesT>(value); }
54 template<typename ServicesT = Aws::Vector<RetrievedService>>
55 GetRetrievedTracesGraphResult& WithServices(ServicesT&& value) { SetServices(std::forward<ServicesT>(value)); return *this;}
56 template<typename ServicesT = RetrievedService>
57 GetRetrievedTracesGraphResult& AddServices(ServicesT&& value) { m_servicesHasBeenSet = true; m_services.emplace_back(std::forward<ServicesT>(value)); return *this; }
59
61
65 inline const Aws::String& GetNextToken() const { return m_nextToken; }
66 template<typename NextTokenT = Aws::String>
67 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
68 template<typename NextTokenT = Aws::String>
69 GetRetrievedTracesGraphResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template<typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
77 template<typename RequestIdT = Aws::String>
78 GetRetrievedTracesGraphResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
80 private:
81
83 bool m_retrievalStatusHasBeenSet = false;
84
86 bool m_servicesHasBeenSet = false;
87
88 Aws::String m_nextToken;
89 bool m_nextTokenHasBeenSet = false;
90
91 Aws::String m_requestId;
92 bool m_requestIdHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace XRay
97} // 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