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/MetricSourceType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
24namespace ApplicationSignals {
46 template <
typename ArnT = Aws::String>
48 m_arnHasBeenSet =
true;
49 m_arn = std::forward<ArnT>(value);
51 template <
typename ArnT = Aws::String>
53 SetArn(std::forward<ArnT>(value));
64 template <
typename NameT = Aws::String>
66 m_nameHasBeenSet =
true;
67 m_name = std::forward<NameT>(value);
69 template <
typename NameT = Aws::String>
71 SetName(std::forward<NameT>(value));
95 template <
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
97 m_keyAttributesHasBeenSet =
true;
98 m_keyAttributes = std::forward<KeyAttributesT>(value);
100 template <
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
105 template <
typename KeyAttributesKeyT = Aws::String,
typename KeyAttributesValueT = Aws::String>
107 m_keyAttributesHasBeenSet =
true;
108 m_keyAttributes.emplace(std::forward<KeyAttributesKeyT>(key), std::forward<KeyAttributesValueT>(value));
120 template <
typename OperationNameT = Aws::String>
122 m_operationNameHasBeenSet =
true;
123 m_operationName = std::forward<OperationNameT>(value);
125 template <
typename OperationNameT = Aws::String>
139 template <
typename DependencyConfigT = DependencyConfig>
141 m_dependencyConfigHasBeenSet =
true;
142 m_dependencyConfig = std::forward<DependencyConfigT>(value);
144 template <
typename DependencyConfigT = DependencyConfig>
158 template <
typename CreatedTimeT = Aws::Utils::DateTime>
160 m_createdTimeHasBeenSet =
true;
161 m_createdTime = std::forward<CreatedTimeT>(value);
163 template <
typename CreatedTimeT = Aws::Utils::DateTime>
177 m_evaluationTypeHasBeenSet =
true;
178 m_evaluationType = value;
195 m_metricSourceTypeHasBeenSet =
true;
196 m_metricSourceType = value;
219 bool m_arnHasBeenSet =
false;
220 bool m_nameHasBeenSet =
false;
221 bool m_keyAttributesHasBeenSet =
false;
222 bool m_operationNameHasBeenSet =
false;
223 bool m_dependencyConfigHasBeenSet =
false;
224 bool m_createdTimeHasBeenSet =
false;
225 bool m_evaluationTypeHasBeenSet =
false;
226 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