AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListRetrievedTracesRequest.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/xray/XRayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/xray/model/TraceFormatType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace XRay
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_XRAY_API ListRetrievedTracesRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListRetrievedTraces"; }
32
33 AWS_XRAY_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetRetrievalToken() const { return m_retrievalToken; }
41 inline bool RetrievalTokenHasBeenSet() const { return m_retrievalTokenHasBeenSet; }
42 template<typename RetrievalTokenT = Aws::String>
43 void SetRetrievalToken(RetrievalTokenT&& value) { m_retrievalTokenHasBeenSet = true; m_retrievalToken = std::forward<RetrievalTokenT>(value); }
44 template<typename RetrievalTokenT = Aws::String>
45 ListRetrievedTracesRequest& WithRetrievalToken(RetrievalTokenT&& value) { SetRetrievalToken(std::forward<RetrievalTokenT>(value)); return *this;}
47
49
52 inline TraceFormatType GetTraceFormat() const { return m_traceFormat; }
53 inline bool TraceFormatHasBeenSet() const { return m_traceFormatHasBeenSet; }
54 inline void SetTraceFormat(TraceFormatType value) { m_traceFormatHasBeenSet = true; m_traceFormat = value; }
57
59
63 inline const Aws::String& GetNextToken() const { return m_nextToken; }
64 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
65 template<typename NextTokenT = Aws::String>
66 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
67 template<typename NextTokenT = Aws::String>
68 ListRetrievedTracesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
70 private:
71
72 Aws::String m_retrievalToken;
73 bool m_retrievalTokenHasBeenSet = false;
74
76 bool m_traceFormatHasBeenSet = false;
77
78 Aws::String m_nextToken;
79 bool m_nextTokenHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace XRay
84} // namespace Aws
ListRetrievedTracesRequest & WithRetrievalToken(RetrievalTokenT &&value)
virtual const char * GetServiceRequestName() const override
ListRetrievedTracesRequest & WithNextToken(NextTokenT &&value)
AWS_XRAY_API ListRetrievedTracesRequest()=default
ListRetrievedTracesRequest & WithTraceFormat(TraceFormatType value)
AWS_XRAY_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String