AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTraceSummariesRequest.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/xray/XRayRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/xray/model/TimeRangeType.h>
11#include <aws/xray/model/SamplingStrategy.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17namespace XRay
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "GetTraceSummaries"; }
34
35 AWS_XRAY_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
43 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
44 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
45 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
46 inline GetTraceSummariesRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
47 inline GetTraceSummariesRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
49
51
54 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
55 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
56 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
57 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
58 inline GetTraceSummariesRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
59 inline GetTraceSummariesRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
61
63
67 inline const TimeRangeType& GetTimeRangeType() const{ return m_timeRangeType; }
68 inline bool TimeRangeTypeHasBeenSet() const { return m_timeRangeTypeHasBeenSet; }
69 inline void SetTimeRangeType(const TimeRangeType& value) { m_timeRangeTypeHasBeenSet = true; m_timeRangeType = value; }
70 inline void SetTimeRangeType(TimeRangeType&& value) { m_timeRangeTypeHasBeenSet = true; m_timeRangeType = std::move(value); }
71 inline GetTraceSummariesRequest& WithTimeRangeType(const TimeRangeType& value) { SetTimeRangeType(value); return *this;}
72 inline GetTraceSummariesRequest& WithTimeRangeType(TimeRangeType&& value) { SetTimeRangeType(std::move(value)); return *this;}
74
76
80 inline bool GetSampling() const{ return m_sampling; }
81 inline bool SamplingHasBeenSet() const { return m_samplingHasBeenSet; }
82 inline void SetSampling(bool value) { m_samplingHasBeenSet = true; m_sampling = value; }
83 inline GetTraceSummariesRequest& WithSampling(bool value) { SetSampling(value); return *this;}
85
87
91 inline const SamplingStrategy& GetSamplingStrategy() const{ return m_samplingStrategy; }
92 inline bool SamplingStrategyHasBeenSet() const { return m_samplingStrategyHasBeenSet; }
93 inline void SetSamplingStrategy(const SamplingStrategy& value) { m_samplingStrategyHasBeenSet = true; m_samplingStrategy = value; }
94 inline void SetSamplingStrategy(SamplingStrategy&& value) { m_samplingStrategyHasBeenSet = true; m_samplingStrategy = std::move(value); }
96 inline GetTraceSummariesRequest& WithSamplingStrategy(SamplingStrategy&& value) { SetSamplingStrategy(std::move(value)); return *this;}
98
100
104 inline const Aws::String& GetFilterExpression() const{ return m_filterExpression; }
105 inline bool FilterExpressionHasBeenSet() const { return m_filterExpressionHasBeenSet; }
106 inline void SetFilterExpression(const Aws::String& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = value; }
107 inline void SetFilterExpression(Aws::String&& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = std::move(value); }
108 inline void SetFilterExpression(const char* value) { m_filterExpressionHasBeenSet = true; m_filterExpression.assign(value); }
110 inline GetTraceSummariesRequest& WithFilterExpression(Aws::String&& value) { SetFilterExpression(std::move(value)); return *this;}
111 inline GetTraceSummariesRequest& WithFilterExpression(const char* value) { SetFilterExpression(value); return *this;}
113
115
119 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
120 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
121 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
122 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
123 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
124 inline GetTraceSummariesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
125 inline GetTraceSummariesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
126 inline GetTraceSummariesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
128 private:
129
130 Aws::Utils::DateTime m_startTime;
131 bool m_startTimeHasBeenSet = false;
132
133 Aws::Utils::DateTime m_endTime;
134 bool m_endTimeHasBeenSet = false;
135
136 TimeRangeType m_timeRangeType;
137 bool m_timeRangeTypeHasBeenSet = false;
138
139 bool m_sampling;
140 bool m_samplingHasBeenSet = false;
141
142 SamplingStrategy m_samplingStrategy;
143 bool m_samplingStrategyHasBeenSet = false;
144
145 Aws::String m_filterExpression;
146 bool m_filterExpressionHasBeenSet = false;
147
148 Aws::String m_nextToken;
149 bool m_nextTokenHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace XRay
154} // namespace Aws
GetTraceSummariesRequest & WithTimeRangeType(const TimeRangeType &value)
GetTraceSummariesRequest & WithFilterExpression(const char *value)
GetTraceSummariesRequest & WithSamplingStrategy(SamplingStrategy &&value)
virtual const char * GetServiceRequestName() const override
GetTraceSummariesRequest & WithTimeRangeType(TimeRangeType &&value)
const Aws::Utils::DateTime & GetEndTime() const
void SetStartTime(Aws::Utils::DateTime &&value)
GetTraceSummariesRequest & WithStartTime(const Aws::Utils::DateTime &value)
GetTraceSummariesRequest & WithStartTime(Aws::Utils::DateTime &&value)
GetTraceSummariesRequest & WithFilterExpression(Aws::String &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetSamplingStrategy(const SamplingStrategy &value)
GetTraceSummariesRequest & WithSamplingStrategy(const SamplingStrategy &value)
void SetStartTime(const Aws::Utils::DateTime &value)
GetTraceSummariesRequest & WithFilterExpression(const Aws::String &value)
GetTraceSummariesRequest & WithNextToken(const Aws::String &value)
void SetEndTime(const Aws::Utils::DateTime &value)
GetTraceSummariesRequest & WithEndTime(const Aws::Utils::DateTime &value)
GetTraceSummariesRequest & WithSampling(bool value)
void SetEndTime(Aws::Utils::DateTime &&value)
GetTraceSummariesRequest & WithEndTime(Aws::Utils::DateTime &&value)
GetTraceSummariesRequest & WithNextToken(Aws::String &&value)
AWS_XRAY_API Aws::String SerializePayload() const override
const SamplingStrategy & GetSamplingStrategy() const
GetTraceSummariesRequest & WithNextToken(const char *value)
void SetTimeRangeType(const TimeRangeType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String