AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTimeSeriesServiceStatisticsRequest.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/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace XRay
16{
17namespace Model
18{
19
23 {
24 public:
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 "GetTimeSeriesServiceStatistics"; }
32
33 AWS_XRAY_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
41 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
42 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
43 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
45 inline GetTimeSeriesServiceStatisticsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
47
49
52 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
53 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
54 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
55 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
57 inline GetTimeSeriesServiceStatisticsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
59
61
64 inline const Aws::String& GetGroupName() const{ return m_groupName; }
65 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
66 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
67 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
68 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
69 inline GetTimeSeriesServiceStatisticsRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
70 inline GetTimeSeriesServiceStatisticsRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
71 inline GetTimeSeriesServiceStatisticsRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;}
73
75
79 inline const Aws::String& GetGroupARN() const{ return m_groupARN; }
80 inline bool GroupARNHasBeenSet() const { return m_groupARNHasBeenSet; }
81 inline void SetGroupARN(const Aws::String& value) { m_groupARNHasBeenSet = true; m_groupARN = value; }
82 inline void SetGroupARN(Aws::String&& value) { m_groupARNHasBeenSet = true; m_groupARN = std::move(value); }
83 inline void SetGroupARN(const char* value) { m_groupARNHasBeenSet = true; m_groupARN.assign(value); }
84 inline GetTimeSeriesServiceStatisticsRequest& WithGroupARN(const Aws::String& value) { SetGroupARN(value); return *this;}
85 inline GetTimeSeriesServiceStatisticsRequest& WithGroupARN(Aws::String&& value) { SetGroupARN(std::move(value)); return *this;}
86 inline GetTimeSeriesServiceStatisticsRequest& WithGroupARN(const char* value) { SetGroupARN(value); return *this;}
88
90
95 inline const Aws::String& GetEntitySelectorExpression() const{ return m_entitySelectorExpression; }
96 inline bool EntitySelectorExpressionHasBeenSet() const { return m_entitySelectorExpressionHasBeenSet; }
97 inline void SetEntitySelectorExpression(const Aws::String& value) { m_entitySelectorExpressionHasBeenSet = true; m_entitySelectorExpression = value; }
98 inline void SetEntitySelectorExpression(Aws::String&& value) { m_entitySelectorExpressionHasBeenSet = true; m_entitySelectorExpression = std::move(value); }
99 inline void SetEntitySelectorExpression(const char* value) { m_entitySelectorExpressionHasBeenSet = true; m_entitySelectorExpression.assign(value); }
104
106
109 inline int GetPeriod() const{ return m_period; }
110 inline bool PeriodHasBeenSet() const { return m_periodHasBeenSet; }
111 inline void SetPeriod(int value) { m_periodHasBeenSet = true; m_period = value; }
112 inline GetTimeSeriesServiceStatisticsRequest& WithPeriod(int value) { SetPeriod(value); return *this;}
114
116
120 inline bool GetForecastStatistics() const{ return m_forecastStatistics; }
121 inline bool ForecastStatisticsHasBeenSet() const { return m_forecastStatisticsHasBeenSet; }
122 inline void SetForecastStatistics(bool value) { m_forecastStatisticsHasBeenSet = true; m_forecastStatistics = value; }
125
127
130 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
131 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
132 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
133 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
134 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
136 inline GetTimeSeriesServiceStatisticsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
137 inline GetTimeSeriesServiceStatisticsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
139 private:
140
141 Aws::Utils::DateTime m_startTime;
142 bool m_startTimeHasBeenSet = false;
143
144 Aws::Utils::DateTime m_endTime;
145 bool m_endTimeHasBeenSet = false;
146
147 Aws::String m_groupName;
148 bool m_groupNameHasBeenSet = false;
149
150 Aws::String m_groupARN;
151 bool m_groupARNHasBeenSet = false;
152
153 Aws::String m_entitySelectorExpression;
154 bool m_entitySelectorExpressionHasBeenSet = false;
155
156 int m_period;
157 bool m_periodHasBeenSet = false;
158
159 bool m_forecastStatistics;
160 bool m_forecastStatisticsHasBeenSet = false;
161
162 Aws::String m_nextToken;
163 bool m_nextTokenHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace XRay
168} // namespace Aws
GetTimeSeriesServiceStatisticsRequest & WithGroupName(Aws::String &&value)
GetTimeSeriesServiceStatisticsRequest & WithGroupName(const char *value)
GetTimeSeriesServiceStatisticsRequest & WithEndTime(Aws::Utils::DateTime &&value)
GetTimeSeriesServiceStatisticsRequest & WithNextToken(const Aws::String &value)
GetTimeSeriesServiceStatisticsRequest & WithForecastStatistics(bool value)
GetTimeSeriesServiceStatisticsRequest & WithNextToken(const char *value)
GetTimeSeriesServiceStatisticsRequest & WithEndTime(const Aws::Utils::DateTime &value)
GetTimeSeriesServiceStatisticsRequest & WithEntitySelectorExpression(const Aws::String &value)
GetTimeSeriesServiceStatisticsRequest & WithEntitySelectorExpression(Aws::String &&value)
AWS_XRAY_API Aws::String SerializePayload() const override
GetTimeSeriesServiceStatisticsRequest & WithGroupARN(const Aws::String &value)
GetTimeSeriesServiceStatisticsRequest & WithGroupARN(const char *value)
GetTimeSeriesServiceStatisticsRequest & WithStartTime(const Aws::Utils::DateTime &value)
GetTimeSeriesServiceStatisticsRequest & WithGroupName(const Aws::String &value)
GetTimeSeriesServiceStatisticsRequest & WithNextToken(Aws::String &&value)
GetTimeSeriesServiceStatisticsRequest & WithGroupARN(Aws::String &&value)
GetTimeSeriesServiceStatisticsRequest & WithEntitySelectorExpression(const char *value)
GetTimeSeriesServiceStatisticsRequest & WithStartTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String