AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetTraceGraphRequest.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace XRay
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_XRAY_API GetTraceGraphRequest() = 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 "GetTraceGraph"; }
32
33 AWS_XRAY_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::Vector<Aws::String>& GetTraceIds() const { return m_traceIds; }
41 inline bool TraceIdsHasBeenSet() const { return m_traceIdsHasBeenSet; }
42 template<typename TraceIdsT = Aws::Vector<Aws::String>>
43 void SetTraceIds(TraceIdsT&& value) { m_traceIdsHasBeenSet = true; m_traceIds = std::forward<TraceIdsT>(value); }
44 template<typename TraceIdsT = Aws::Vector<Aws::String>>
45 GetTraceGraphRequest& WithTraceIds(TraceIdsT&& value) { SetTraceIds(std::forward<TraceIdsT>(value)); return *this;}
46 template<typename TraceIdsT = Aws::String>
47 GetTraceGraphRequest& AddTraceIds(TraceIdsT&& value) { m_traceIdsHasBeenSet = true; m_traceIds.emplace_back(std::forward<TraceIdsT>(value)); return *this; }
49
51
54 inline const Aws::String& GetNextToken() const { return m_nextToken; }
55 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
56 template<typename NextTokenT = Aws::String>
57 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
58 template<typename NextTokenT = Aws::String>
59 GetTraceGraphRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
61 private:
62
63 Aws::Vector<Aws::String> m_traceIds;
64 bool m_traceIdsHasBeenSet = false;
65
66 Aws::String m_nextToken;
67 bool m_nextTokenHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace XRay
72} // namespace Aws
AWS_XRAY_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
GetTraceGraphRequest & AddTraceIds(TraceIdsT &&value)
GetTraceGraphRequest & WithTraceIds(TraceIdsT &&value)
AWS_XRAY_API GetTraceGraphRequest()=default
const Aws::Vector< Aws::String > & GetTraceIds() const
GetTraceGraphRequest & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector