7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/DependencyConfig.h>
9#include <aws/application-signals/model/EvaluationType.h>
10#include <aws/application-signals/model/MetricSource.h>
11#include <aws/application-signals/model/MetricSourceType.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
25namespace ApplicationSignals {
47 template <
typename ArnT = Aws::String>
49 m_arnHasBeenSet =
true;
50 m_arn = std::forward<ArnT>(value);
52 template <
typename ArnT = Aws::String>
54 SetArn(std::forward<ArnT>(value));
65 template <
typename NameT = Aws::String>
67 m_nameHasBeenSet =
true;
68 m_name = std::forward<NameT>(value);
70 template <
typename NameT = Aws::String>
72 SetName(std::forward<NameT>(value));
96 template <
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
98 m_keyAttributesHasBeenSet =
true;
99 m_keyAttributes = std::forward<KeyAttributesT>(value);
101 template <
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
106 template <
typename KeyAttributesKeyT = Aws::String,
typename KeyAttributesValueT = Aws::String>
108 m_keyAttributesHasBeenSet =
true;
109 m_keyAttributes.emplace(std::forward<KeyAttributesKeyT>(key), std::forward<KeyAttributesValueT>(value));
121 template <
typename OperationNameT = Aws::String>
123 m_operationNameHasBeenSet =
true;
124 m_operationName = std::forward<OperationNameT>(value);
126 template <
typename OperationNameT = Aws::String>
140 template <
typename DependencyConfigT = DependencyConfig>
142 m_dependencyConfigHasBeenSet =
true;
143 m_dependencyConfig = std::forward<DependencyConfigT>(value);
145 template <
typename DependencyConfigT = DependencyConfig>
159 template <
typename CreatedTimeT = Aws::Utils::DateTime>
161 m_createdTimeHasBeenSet =
true;
162 m_createdTime = std::forward<CreatedTimeT>(value);
164 template <
typename CreatedTimeT = Aws::Utils::DateTime>
178 m_evaluationTypeHasBeenSet =
true;
179 m_evaluationType = value;
197 m_metricSourceTypeHasBeenSet =
true;
198 m_metricSourceType = value;
213 template <
typename MetricSourceT = MetricSource>
215 m_metricSourceHasBeenSet =
true;
216 m_metricSource = std::forward<MetricSourceT>(value);
218 template <
typename MetricSourceT = MetricSource>
241 MetricSource m_metricSource;
242 bool m_arnHasBeenSet =
false;
243 bool m_nameHasBeenSet =
false;
244 bool m_keyAttributesHasBeenSet =
false;
245 bool m_operationNameHasBeenSet =
false;
246 bool m_dependencyConfigHasBeenSet =
false;
247 bool m_createdTimeHasBeenSet =
false;
248 bool m_evaluationTypeHasBeenSet =
false;
249 bool m_metricSourceTypeHasBeenSet =
false;
250 bool m_metricSourceHasBeenSet =
false;
ServiceLevelObjectiveSummary & WithKeyAttributes(KeyAttributesT &&value)
bool KeyAttributesHasBeenSet() const
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
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)
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