7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/resiliencehub/ResilienceHubRequest.h>
10#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
11#include <aws/resiliencehub/model/Condition.h>
12#include <aws/resiliencehub/model/Field.h>
13#include <aws/resiliencehub/model/Sort.h>
18namespace ResilienceHub {
42 template <
typename ConditionsT = Aws::Vector<Condition>>
44 m_conditionsHasBeenSet =
true;
45 m_conditions = std::forward<ConditionsT>(value);
47 template <
typename ConditionsT = Aws::Vector<Condition>>
52 template <
typename ConditionsT = Condition>
54 m_conditionsHasBeenSet =
true;
55 m_conditions.emplace_back(std::forward<ConditionsT>(value));
66 template <
typename DataSourceT = Aws::String>
68 m_dataSourceHasBeenSet =
true;
69 m_dataSource = std::forward<DataSourceT>(value);
71 template <
typename DataSourceT = Aws::String>
84 template <
typename FieldsT = Aws::Vector<Field>>
86 m_fieldsHasBeenSet =
true;
87 m_fields = std::forward<FieldsT>(value);
89 template <
typename FieldsT = Aws::Vector<Field>>
94 template <
typename FieldsT = Field>
96 m_fieldsHasBeenSet =
true;
97 m_fields.emplace_back(std::forward<FieldsT>(value));
111 m_maxResultsHasBeenSet =
true;
112 m_maxResults = value;
126 template <
typename NextTokenT = Aws::String>
128 m_nextTokenHasBeenSet =
true;
129 m_nextToken = std::forward<NextTokenT>(value);
131 template <
typename NextTokenT = Aws::String>
145 template <
typename SortsT = Aws::Vector<Sort>>
147 m_sortsHasBeenSet =
true;
148 m_sorts = std::forward<SortsT>(value);
150 template <
typename SortsT = Aws::Vector<Sort>>
152 SetSorts(std::forward<SortsT>(value));
155 template <
typename SortsT = Sort>
157 m_sortsHasBeenSet =
true;
158 m_sorts.emplace_back(std::forward<SortsT>(value));
164 bool m_conditionsHasBeenSet =
false;
167 bool m_dataSourceHasBeenSet =
false;
170 bool m_fieldsHasBeenSet =
false;
173 bool m_maxResultsHasBeenSet =
false;
176 bool m_nextTokenHasBeenSet =
false;
179 bool m_sortsHasBeenSet =
false;
const Aws::String & GetNextToken() const
bool ConditionsHasBeenSet() const
const Aws::Vector< Sort > & GetSorts() const
ListMetricsRequest & WithSorts(SortsT &&value)
ListMetricsRequest & WithNextToken(NextTokenT &&value)
ListMetricsRequest & AddSorts(SortsT &&value)
virtual const char * GetServiceRequestName() const override
bool DataSourceHasBeenSet() const
ListMetricsRequest & WithFields(FieldsT &&value)
void SetDataSource(DataSourceT &&value)
ListMetricsRequest & WithMaxResults(int value)
const Aws::Vector< Field > & GetFields() const
bool SortsHasBeenSet() const
void SetNextToken(NextTokenT &&value)
const Aws::String & GetDataSource() const
void SetMaxResults(int value)
ListMetricsRequest & WithConditions(ConditionsT &&value)
void SetSorts(SortsT &&value)
ListMetricsRequest & AddConditions(ConditionsT &&value)
bool FieldsHasBeenSet() const
ListMetricsRequest & AddFields(FieldsT &&value)
bool MaxResultsHasBeenSet() const
AWS_RESILIENCEHUB_API ListMetricsRequest()=default
ListMetricsRequest & WithDataSource(DataSourceT &&value)
void SetConditions(ConditionsT &&value)
const Aws::Vector< Condition > & GetConditions() const
void SetFields(FieldsT &&value)
bool NextTokenHasBeenSet() const
int GetMaxResults() const
AWS_RESILIENCEHUB_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