7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/amp/model/IgnoreNearExpected.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace PrometheusService {
49 template <
typename QueryT = Aws::String>
51 m_queryHasBeenSet =
true;
52 m_query = std::forward<QueryT>(value);
54 template <
typename QueryT = Aws::String>
56 SetQuery(std::forward<QueryT>(value));
69 m_shingleSizeHasBeenSet =
true;
70 m_shingleSize = value;
86 m_sampleSizeHasBeenSet =
true;
102 template <
typename IgnoreNearExpectedFromAboveT = IgnoreNearExpected>
104 m_ignoreNearExpectedFromAboveHasBeenSet =
true;
105 m_ignoreNearExpectedFromAbove = std::forward<IgnoreNearExpectedFromAboveT>(value);
107 template <
typename IgnoreNearExpectedFromAboveT = IgnoreNearExpected>
121 template <
typename IgnoreNearExpectedFromBelowT = IgnoreNearExpected>
123 m_ignoreNearExpectedFromBelowHasBeenSet =
true;
124 m_ignoreNearExpectedFromBelow = std::forward<IgnoreNearExpectedFromBelowT>(value);
126 template <
typename IgnoreNearExpectedFromBelowT = IgnoreNearExpected>
135 int m_shingleSize{0};
139 IgnoreNearExpected m_ignoreNearExpectedFromAbove;
141 IgnoreNearExpected m_ignoreNearExpectedFromBelow;
142 bool m_queryHasBeenSet =
false;
143 bool m_shingleSizeHasBeenSet =
false;
144 bool m_sampleSizeHasBeenSet =
false;
145 bool m_ignoreNearExpectedFromAboveHasBeenSet =
false;
146 bool m_ignoreNearExpectedFromBelowHasBeenSet =
false;
void SetIgnoreNearExpectedFromAbove(IgnoreNearExpectedFromAboveT &&value)
const IgnoreNearExpected & GetIgnoreNearExpectedFromBelow() const
AWS_PROMETHEUSSERVICE_API RandomCutForestConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSampleSize(int value)
bool QueryHasBeenSet() const
bool ShingleSizeHasBeenSet() const
const Aws::String & GetQuery() const
AWS_PROMETHEUSSERVICE_API RandomCutForestConfiguration()=default
RandomCutForestConfiguration & WithIgnoreNearExpectedFromAbove(IgnoreNearExpectedFromAboveT &&value)
bool SampleSizeHasBeenSet() const
AWS_PROMETHEUSSERVICE_API RandomCutForestConfiguration(Aws::Utils::Json::JsonView jsonValue)
RandomCutForestConfiguration & WithQuery(QueryT &&value)
const IgnoreNearExpected & GetIgnoreNearExpectedFromAbove() const
bool IgnoreNearExpectedFromBelowHasBeenSet() const
void SetQuery(QueryT &&value)
void SetShingleSize(int value)
void SetIgnoreNearExpectedFromBelow(IgnoreNearExpectedFromBelowT &&value)
bool IgnoreNearExpectedFromAboveHasBeenSet() const
RandomCutForestConfiguration & WithIgnoreNearExpectedFromBelow(IgnoreNearExpectedFromBelowT &&value)
int GetShingleSize() const
int GetSampleSize() const
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
RandomCutForestConfiguration & WithShingleSize(int value)
RandomCutForestConfiguration & WithSampleSize(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue