7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/application-signals/model/DependencyConfig.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/application-signals/model/EvaluationType.h>
13#include <aws/application-signals/model/MetricSourceType.h>
26namespace ApplicationSignals
52 template<
typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
54 template<
typename ArnT = Aws::String>
64 template<
typename NameT = Aws::String>
65 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
66 template<
typename NameT = Aws::String>
89 template<
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
90 void SetKeyAttributes(KeyAttributesT&& value) { m_keyAttributesHasBeenSet =
true; m_keyAttributes = std::forward<KeyAttributesT>(value); }
91 template<
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
93 template<
typename KeyAttributesKeyT = Aws::String,
typename KeyAttributesValueT = Aws::String>
95 m_keyAttributesHasBeenSet =
true; m_keyAttributes.emplace(std::forward<KeyAttributesKeyT>(key), std::forward<KeyAttributesValueT>(value));
return *
this;
106 template<
typename OperationNameT = Aws::String>
107 void SetOperationName(OperationNameT&& value) { m_operationNameHasBeenSet =
true; m_operationName = std::forward<OperationNameT>(value); }
108 template<
typename OperationNameT = Aws::String>
119 template<
typename DependencyConfigT = DependencyConfig>
120 void SetDependencyConfig(DependencyConfigT&& value) { m_dependencyConfigHasBeenSet =
true; m_dependencyConfig = std::forward<DependencyConfigT>(value); }
121 template<
typename DependencyConfigT = DependencyConfig>
132 template<
typename CreatedTimeT = Aws::Utils::DateTime>
133 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
134 template<
typename CreatedTimeT = Aws::Utils::DateTime>
162 bool m_arnHasBeenSet =
false;
165 bool m_nameHasBeenSet =
false;
168 bool m_keyAttributesHasBeenSet =
false;
171 bool m_operationNameHasBeenSet =
false;
174 bool m_dependencyConfigHasBeenSet =
false;
177 bool m_createdTimeHasBeenSet =
false;
180 bool m_evaluationTypeHasBeenSet =
false;
183 bool m_metricSourceTypeHasBeenSet =
false;
ServiceLevelObjectiveSummary & WithKeyAttributes(KeyAttributesT &&value)
bool KeyAttributesHasBeenSet() const
bool DependencyConfigHasBeenSet() const
const Aws::String & GetOperationName() 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
ServiceLevelObjectiveSummary & WithMetricSourceType(MetricSourceType 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)
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