AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetTracesRequest.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 BatchGetTracesRequest();
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 "BatchGetTraces"; }
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 inline void SetTraceIds(const Aws::Vector<Aws::String>& value) { m_traceIdsHasBeenSet = true; m_traceIds = value; }
43 inline void SetTraceIds(Aws::Vector<Aws::String>&& value) { m_traceIdsHasBeenSet = true; m_traceIds = std::move(value); }
44 inline BatchGetTracesRequest& WithTraceIds(const Aws::Vector<Aws::String>& value) { SetTraceIds(value); return *this;}
45 inline BatchGetTracesRequest& WithTraceIds(Aws::Vector<Aws::String>&& value) { SetTraceIds(std::move(value)); return *this;}
46 inline BatchGetTracesRequest& AddTraceIds(const Aws::String& value) { m_traceIdsHasBeenSet = true; m_traceIds.push_back(value); return *this; }
47 inline BatchGetTracesRequest& AddTraceIds(Aws::String&& value) { m_traceIdsHasBeenSet = true; m_traceIds.push_back(std::move(value)); return *this; }
48 inline BatchGetTracesRequest& AddTraceIds(const char* value) { m_traceIdsHasBeenSet = true; m_traceIds.push_back(value); return *this; }
50
52
55 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
56 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
57 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
58 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
59 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
60 inline BatchGetTracesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
61 inline BatchGetTracesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
62 inline BatchGetTracesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
64 private:
65
66 Aws::Vector<Aws::String> m_traceIds;
67 bool m_traceIdsHasBeenSet = false;
68
69 Aws::String m_nextToken;
70 bool m_nextTokenHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace XRay
75} // namespace Aws
virtual const char * GetServiceRequestName() const override
BatchGetTracesRequest & AddTraceIds(const Aws::String &value)
BatchGetTracesRequest & WithTraceIds(Aws::Vector< Aws::String > &&value)
BatchGetTracesRequest & WithNextToken(const char *value)
BatchGetTracesRequest & AddTraceIds(Aws::String &&value)
BatchGetTracesRequest & AddTraceIds(const char *value)
BatchGetTracesRequest & WithNextToken(Aws::String &&value)
BatchGetTracesRequest & WithNextToken(const Aws::String &value)
void SetTraceIds(Aws::Vector< Aws::String > &&value)
void SetTraceIds(const Aws::Vector< Aws::String > &value)
AWS_XRAY_API Aws::String SerializePayload() const override
BatchGetTracesRequest & WithTraceIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetTraceIds() const
void SetNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector