7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
20namespace CodeGuruProfiler {
31 AWS_CODEGURUPROFILER_API
Pattern() =
default;
42 template <
typename CountersToAggregateT = Aws::Vector<Aws::String>>
44 m_countersToAggregateHasBeenSet =
true;
45 m_countersToAggregate = std::forward<CountersToAggregateT>(value);
47 template <
typename CountersToAggregateT = Aws::Vector<Aws::String>>
52 template <
typename CountersToAggregateT = Aws::String>
54 m_countersToAggregateHasBeenSet =
true;
55 m_countersToAggregate.emplace_back(std::forward<CountersToAggregateT>(value));
67 template <
typename DescriptionT = Aws::String>
69 m_descriptionHasBeenSet =
true;
70 m_description = std::forward<DescriptionT>(value);
72 template <
typename DescriptionT = Aws::String>
85 template <
typename IdT = Aws::String>
87 m_idHasBeenSet =
true;
88 m_id = std::forward<IdT>(value);
90 template <
typename IdT = Aws::String>
92 SetId(std::forward<IdT>(value));
103 template <
typename NameT = Aws::String>
105 m_nameHasBeenSet =
true;
106 m_name = std::forward<NameT>(value);
108 template <
typename NameT = Aws::String>
110 SetName(std::forward<NameT>(value));
122 template <
typename ResolutionStepsT = Aws::String>
124 m_resolutionStepsHasBeenSet =
true;
125 m_resolutionSteps = std::forward<ResolutionStepsT>(value);
127 template <
typename ResolutionStepsT = Aws::String>
141 template <
typename TargetFramesT = Aws::Vector<Aws::Vector<Aws::String>>>
143 m_targetFramesHasBeenSet =
true;
144 m_targetFrames = std::forward<TargetFramesT>(value);
146 template <
typename TargetFramesT = Aws::Vector<Aws::Vector<Aws::String>>>
151 template <
typename TargetFramesT = Aws::Vector<Aws::String>>
153 m_targetFramesHasBeenSet =
true;
154 m_targetFrames.emplace_back(std::forward<TargetFramesT>(value));
168 m_thresholdPercentHasBeenSet =
true;
169 m_thresholdPercent = value;
189 double m_thresholdPercent{0.0};
190 bool m_countersToAggregateHasBeenSet =
false;
191 bool m_descriptionHasBeenSet =
false;
192 bool m_idHasBeenSet =
false;
193 bool m_nameHasBeenSet =
false;
194 bool m_resolutionStepsHasBeenSet =
false;
195 bool m_targetFramesHasBeenSet =
false;
196 bool m_thresholdPercentHasBeenSet =
false;
bool ResolutionStepsHasBeenSet() const
bool ThresholdPercentHasBeenSet() const
Pattern & WithCountersToAggregate(CountersToAggregateT &&value)
Pattern & WithName(NameT &&value)
Pattern & WithId(IdT &&value)
AWS_CODEGURUPROFILER_API Pattern(Aws::Utils::Json::JsonView jsonValue)
void SetCountersToAggregate(CountersToAggregateT &&value)
Pattern & WithThresholdPercent(double value)
const Aws::String & GetResolutionSteps() const
const Aws::String & GetName() const
void SetDescription(DescriptionT &&value)
Pattern & WithDescription(DescriptionT &&value)
AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::Vector< Aws::String > > & GetTargetFrames() const
bool IdHasBeenSet() const
Pattern & WithResolutionSteps(ResolutionStepsT &&value)
bool NameHasBeenSet() const
const Aws::String & GetId() const
bool CountersToAggregateHasBeenSet() const
Pattern & AddCountersToAggregate(CountersToAggregateT &&value)
Pattern & AddTargetFrames(TargetFramesT &&value)
AWS_CODEGURUPROFILER_API Pattern()=default
void SetThresholdPercent(double value)
void SetResolutionSteps(ResolutionStepsT &&value)
Pattern & WithTargetFrames(TargetFramesT &&value)
void SetTargetFrames(TargetFramesT &&value)
void SetName(NameT &&value)
bool TargetFramesHasBeenSet() const
const Aws::Vector< Aws::String > & GetCountersToAggregate() const
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
AWS_CODEGURUPROFILER_API Pattern & operator=(Aws::Utils::Json::JsonView jsonValue)
double GetThresholdPercent() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue