7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/monitoring/CloudWatchRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/monitoring/model/HistoryItemType.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/monitoring/model/ScanBy.h>
14#include <aws/monitoring/model/AlarmType.h>
50 template<
typename AlarmNameT = Aws::String>
51 void SetAlarmName(AlarmNameT&& value) { m_alarmNameHasBeenSet =
true; m_alarmName = std::forward<AlarmNameT>(value); }
52 template<
typename AlarmNameT = Aws::String>
64 template<
typename AlarmTypesT = Aws::Vector<AlarmType>>
65 void SetAlarmTypes(AlarmTypesT&& value) { m_alarmTypesHasBeenSet =
true; m_alarmTypes = std::forward<AlarmTypesT>(value); }
66 template<
typename AlarmTypesT = Aws::Vector<AlarmType>>
87 template<
typename StartDateT = Aws::Utils::DateTime>
88 void SetStartDate(StartDateT&& value) { m_startDateHasBeenSet =
true; m_startDate = std::forward<StartDateT>(value); }
89 template<
typename StartDateT = Aws::Utils::DateTime>
99 template<
typename EndDateT = Aws::Utils::DateTime>
100 void SetEndDate(EndDateT&& value) { m_endDateHasBeenSet =
true; m_endDate = std::forward<EndDateT>(value); }
101 template<
typename EndDateT = Aws::Utils::DateTime>
111 inline void SetMaxRecords(
int value) { m_maxRecordsHasBeenSet =
true; m_maxRecords = value; }
122 template<
typename NextTokenT = Aws::String>
123 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
124 template<
typename NextTokenT = Aws::String>
143 bool m_alarmNameHasBeenSet =
false;
146 bool m_alarmTypesHasBeenSet =
false;
149 bool m_historyItemTypeHasBeenSet =
false;
152 bool m_startDateHasBeenSet =
false;
155 bool m_endDateHasBeenSet =
false;
158 bool m_maxRecordsHasBeenSet =
false;
161 bool m_nextTokenHasBeenSet =
false;
164 bool m_scanByHasBeenSet =
false;
void SetAlarmName(AlarmNameT &&value)
DescribeAlarmHistoryRequest & AddAlarmTypes(AlarmType value)
bool MaxRecordsHasBeenSet() const
bool ScanByHasBeenSet() const
const Aws::Utils::DateTime & GetStartDate() const
bool EndDateHasBeenSet() const
bool AlarmNameHasBeenSet() const
DescribeAlarmHistoryRequest & WithAlarmName(AlarmNameT &&value)
void SetMaxRecords(int value)
AWS_CLOUDWATCH_API DescribeAlarmHistoryRequest()=default
HistoryItemType GetHistoryItemType() const
AWS_CLOUDWATCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::Vector< AlarmType > & GetAlarmTypes() const
bool StartDateHasBeenSet() const
const Aws::String & GetAlarmName() const
void SetAlarmTypes(AlarmTypesT &&value)
int GetMaxRecords() const
bool AlarmTypesHasBeenSet() const
DescribeAlarmHistoryRequest & WithStartDate(StartDateT &&value)
DescribeAlarmHistoryRequest & WithNextToken(NextTokenT &&value)
DescribeAlarmHistoryRequest & WithEndDate(EndDateT &&value)
void SetEndDate(EndDateT &&value)
DescribeAlarmHistoryRequest & WithMaxRecords(int value)
const Aws::Utils::DateTime & GetEndDate() const
virtual const char * GetServiceRequestName() const override
void SetHistoryItemType(HistoryItemType value)
void SetScanBy(ScanBy value)
bool NextTokenHasBeenSet() const
DescribeAlarmHistoryRequest & WithHistoryItemType(HistoryItemType value)
DescribeAlarmHistoryRequest & WithAlarmTypes(AlarmTypesT &&value)
void SetStartDate(StartDateT &&value)
void SetNextToken(NextTokenT &&value)
bool HistoryItemTypeHasBeenSet() const
DescribeAlarmHistoryRequest & WithScanBy(ScanBy value)
const Aws::String & GetNextToken() const
AWS_CLOUDWATCH_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector