AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
25 AWS_XRAY_API GetTimeSeriesServiceStatisticsRequest() = 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 "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 template<typename StartTimeT = Aws::Utils::DateTime>
43 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
44 template<typename StartTimeT = Aws::Utils::DateTime>
45 GetTimeSeriesServiceStatisticsRequest& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(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 template<typename EndTimeT = Aws::Utils::DateTime>
55 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
56 template<typename EndTimeT = Aws::Utils::DateTime>
57 GetTimeSeriesServiceStatisticsRequest& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
59
61
64 inline const Aws::String& GetGroupName() const { return m_groupName; }
65 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
66 template<typename GroupNameT = Aws::String>
67 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet = true; m_groupName = std::forward<GroupNameT>(value); }
68 template<typename GroupNameT = Aws::String>
69 GetTimeSeriesServiceStatisticsRequest& WithGroupName(GroupNameT&& value) { SetGroupName(std::forward<GroupNameT>(value)); return *this;}
71
73
77 inline const Aws::String& GetGroupARN() const { return m_groupARN; }
78 inline bool GroupARNHasBeenSet() const { return m_groupARNHasBeenSet; }
79 template<typename GroupARNT = Aws::String>
80 void SetGroupARN(GroupARNT&& value) { m_groupARNHasBeenSet = true; m_groupARN = std::forward<GroupARNT>(value); }
81 template<typename GroupARNT = Aws::String>
82 GetTimeSeriesServiceStatisticsRequest& WithGroupARN(GroupARNT&& value) { SetGroupARN(std::forward<GroupARNT>(value)); return *this;}
84
86
91 inline const Aws::String& GetEntitySelectorExpression() const { return m_entitySelectorExpression; }
92 inline bool EntitySelectorExpressionHasBeenSet() const { return m_entitySelectorExpressionHasBeenSet; }
93 template<typename EntitySelectorExpressionT = Aws::String>
94 void SetEntitySelectorExpression(EntitySelectorExpressionT&& value) { m_entitySelectorExpressionHasBeenSet = true; m_entitySelectorExpression = std::forward<EntitySelectorExpressionT>(value); }
95 template<typename EntitySelectorExpressionT = Aws::String>
96 GetTimeSeriesServiceStatisticsRequest& WithEntitySelectorExpression(EntitySelectorExpressionT&& value) { SetEntitySelectorExpression(std::forward<EntitySelectorExpressionT>(value)); return *this;}
98
100
103 inline int GetPeriod() const { return m_period; }
104 inline bool PeriodHasBeenSet() const { return m_periodHasBeenSet; }
105 inline void SetPeriod(int value) { m_periodHasBeenSet = true; m_period = value; }
106 inline GetTimeSeriesServiceStatisticsRequest& WithPeriod(int value) { SetPeriod(value); return *this;}
108
110
114 inline bool GetForecastStatistics() const { return m_forecastStatistics; }
115 inline bool ForecastStatisticsHasBeenSet() const { return m_forecastStatisticsHasBeenSet; }
116 inline void SetForecastStatistics(bool value) { m_forecastStatisticsHasBeenSet = true; m_forecastStatistics = value; }
119
121
124 inline const Aws::String& GetNextToken() const { return m_nextToken; }
125 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
126 template<typename NextTokenT = Aws::String>
127 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
128 template<typename NextTokenT = Aws::String>
129 GetTimeSeriesServiceStatisticsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
131 private:
132
133 Aws::Utils::DateTime m_startTime{};
134 bool m_startTimeHasBeenSet = false;
135
136 Aws::Utils::DateTime m_endTime{};
137 bool m_endTimeHasBeenSet = false;
138
139 Aws::String m_groupName;
140 bool m_groupNameHasBeenSet = false;
141
142 Aws::String m_groupARN;
143 bool m_groupARNHasBeenSet = false;
144
145 Aws::String m_entitySelectorExpression;
146 bool m_entitySelectorExpressionHasBeenSet = false;
147
148 int m_period{0};
149 bool m_periodHasBeenSet = false;
150
151 bool m_forecastStatistics{false};
152 bool m_forecastStatisticsHasBeenSet = false;
153
154 Aws::String m_nextToken;
155 bool m_nextTokenHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace XRay
160} // namespace Aws
GetTimeSeriesServiceStatisticsRequest & WithNextToken(NextTokenT &&value)
GetTimeSeriesServiceStatisticsRequest & WithGroupName(GroupNameT &&value)
GetTimeSeriesServiceStatisticsRequest & WithForecastStatistics(bool value)
GetTimeSeriesServiceStatisticsRequest & WithEndTime(EndTimeT &&value)
AWS_XRAY_API Aws::String SerializePayload() const override
GetTimeSeriesServiceStatisticsRequest & WithGroupARN(GroupARNT &&value)
GetTimeSeriesServiceStatisticsRequest & WithStartTime(StartTimeT &&value)
GetTimeSeriesServiceStatisticsRequest & WithEntitySelectorExpression(EntitySelectorExpressionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String