7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/CompositeSliConfig.h>
9#include <aws/application-signals/model/DependencyConfig.h>
10#include <aws/application-signals/model/EvaluationType.h>
11#include <aws/application-signals/model/MetricSource.h>
12#include <aws/application-signals/model/MetricSourceType.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
26namespace ApplicationSignals {
48 template <
typename ArnT = Aws::String>
50 m_arnHasBeenSet =
true;
51 m_arn = std::forward<ArnT>(value);
53 template <
typename ArnT = Aws::String>
55 SetArn(std::forward<ArnT>(value));
66 template <
typename NameT = Aws::String>
68 m_nameHasBeenSet =
true;
69 m_name = std::forward<NameT>(value);
71 template <
typename NameT = Aws::String>
73 SetName(std::forward<NameT>(value));
97 template <
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
99 m_keyAttributesHasBeenSet =
true;
100 m_keyAttributes = std::forward<KeyAttributesT>(value);
102 template <
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
107 template <
typename KeyAttributesKeyT = Aws::String,
typename KeyAttributesValueT = Aws::String>
109 m_keyAttributesHasBeenSet =
true;
110 m_keyAttributes.emplace(std::forward<KeyAttributesKeyT>(key), std::forward<KeyAttributesValueT>(value));
122 template <
typename OperationNameT = Aws::String>
124 m_operationNameHasBeenSet =
true;
125 m_operationName = std::forward<OperationNameT>(value);
127 template <
typename OperationNameT = Aws::String>
141 template <
typename DependencyConfigT = DependencyConfig>
143 m_dependencyConfigHasBeenSet =
true;
144 m_dependencyConfig = std::forward<DependencyConfigT>(value);
146 template <
typename DependencyConfigT = DependencyConfig>
160 template <
typename CreatedTimeT = Aws::Utils::DateTime>
162 m_createdTimeHasBeenSet =
true;
163 m_createdTime = std::forward<CreatedTimeT>(value);
165 template <
typename CreatedTimeT = Aws::Utils::DateTime>
179 m_evaluationTypeHasBeenSet =
true;
180 m_evaluationType = value;
198 m_metricSourceTypeHasBeenSet =
true;
199 m_metricSourceType = value;
214 template <
typename MetricSourceT = MetricSource>
216 m_metricSourceHasBeenSet =
true;
217 m_metricSource = std::forward<MetricSourceT>(value);
219 template <
typename MetricSourceT = MetricSource>
233 template <
typename CompositeSliConfigT = CompositeSliConfig>
235 m_compositeSliConfigHasBeenSet =
true;
236 m_compositeSliConfig = std::forward<CompositeSliConfigT>(value);
238 template <
typename CompositeSliConfigT = CompositeSliConfig>
261 MetricSource m_metricSource;
263 CompositeSliConfig m_compositeSliConfig;
264 bool m_arnHasBeenSet =
false;
265 bool m_nameHasBeenSet =
false;
266 bool m_keyAttributesHasBeenSet =
false;
267 bool m_operationNameHasBeenSet =
false;
268 bool m_dependencyConfigHasBeenSet =
false;
269 bool m_createdTimeHasBeenSet =
false;
270 bool m_evaluationTypeHasBeenSet =
false;
271 bool m_metricSourceTypeHasBeenSet =
false;
272 bool m_metricSourceHasBeenSet =
false;
273 bool m_compositeSliConfigHasBeenSet =
false;
bool CompositeSliConfigHasBeenSet() const
ServiceLevelObjectiveSummary & WithKeyAttributes(KeyAttributesT &&value)
bool KeyAttributesHasBeenSet() const
ServiceLevelObjectiveSummary & WithCompositeSliConfig(CompositeSliConfigT &&value)
bool DependencyConfigHasBeenSet() const
const Aws::String & GetOperationName() const
bool MetricSourceHasBeenSet() const
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceLevelObjectiveSummary & WithCreatedTime(CreatedTimeT &&value)
AWS_APPLICATIONSIGNALS_API ServiceLevelObjectiveSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MetricSourceTypeHasBeenSet() const
AWS_APPLICATIONSIGNALS_API ServiceLevelObjectiveSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetKeyAttributes() const
AWS_APPLICATIONSIGNALS_API ServiceLevelObjectiveSummary()=default
const Aws::Utils::DateTime & GetCreatedTime() const
void SetArn(ArnT &&value)
bool OperationNameHasBeenSet() const
const CompositeSliConfig & GetCompositeSliConfig() const
bool EvaluationTypeHasBeenSet() const
void SetOperationName(OperationNameT &&value)
MetricSourceType GetMetricSourceType() const
const Aws::String & GetArn() const
EvaluationType GetEvaluationType() const
const MetricSource & GetMetricSource() const
ServiceLevelObjectiveSummary & WithMetricSourceType(MetricSourceType value)
void SetMetricSource(MetricSourceT &&value)
void SetEvaluationType(EvaluationType value)
void SetMetricSourceType(MetricSourceType value)
void SetName(NameT &&value)
void SetCreatedTime(CreatedTimeT &&value)
void SetCompositeSliConfig(CompositeSliConfigT &&value)
ServiceLevelObjectiveSummary & WithOperationName(OperationNameT &&value)
bool ArnHasBeenSet() const
ServiceLevelObjectiveSummary & WithArn(ArnT &&value)
bool CreatedTimeHasBeenSet() const
bool NameHasBeenSet() const
ServiceLevelObjectiveSummary & WithDependencyConfig(DependencyConfigT &&value)
const Aws::String & GetName() const
ServiceLevelObjectiveSummary & AddKeyAttributes(KeyAttributesKeyT &&key, KeyAttributesValueT &&value)
void SetDependencyConfig(DependencyConfigT &&value)
ServiceLevelObjectiveSummary & WithEvaluationType(EvaluationType value)
const DependencyConfig & GetDependencyConfig() const
void SetKeyAttributes(KeyAttributesT &&value)
ServiceLevelObjectiveSummary & WithName(NameT &&value)
ServiceLevelObjectiveSummary & WithMetricSource(MetricSourceT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue