7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/MetricReference.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace ApplicationSignals {
44 template <
typename OperationNameT = Aws::String>
46 m_operationNameHasBeenSet =
true;
47 m_operationName = std::forward<OperationNameT>(value);
49 template <
typename OperationNameT = Aws::String>
74 template <
typename DependencyKeyAttributesT = Aws::Map<Aws::String, Aws::String>>
76 m_dependencyKeyAttributesHasBeenSet =
true;
77 m_dependencyKeyAttributes = std::forward<DependencyKeyAttributesT>(value);
79 template <
typename DependencyKeyAttributesT = Aws::Map<Aws::String, Aws::String>>
84 template <
typename DependencyKeyAttributesKeyT = Aws::String,
typename DependencyKeyAttributesValueT = Aws::String>
86 m_dependencyKeyAttributesHasBeenSet =
true;
87 m_dependencyKeyAttributes.emplace(std::forward<DependencyKeyAttributesKeyT>(key), std::forward<DependencyKeyAttributesValueT>(value));
98 template <
typename DependencyOperationNameT = Aws::String>
100 m_dependencyOperationNameHasBeenSet =
true;
101 m_dependencyOperationName = std::forward<DependencyOperationNameT>(value);
103 template <
typename DependencyOperationNameT = Aws::String>
118 template <
typename MetricReferencesT = Aws::Vector<MetricReference>>
120 m_metricReferencesHasBeenSet =
true;
121 m_metricReferences = std::forward<MetricReferencesT>(value);
123 template <
typename MetricReferencesT = Aws::Vector<MetricReference>>
128 template <
typename MetricReferencesT = MetricReference>
130 m_metricReferencesHasBeenSet =
true;
131 m_metricReferences.emplace_back(std::forward<MetricReferencesT>(value));
143 bool m_operationNameHasBeenSet =
false;
144 bool m_dependencyKeyAttributesHasBeenSet =
false;
145 bool m_dependencyOperationNameHasBeenSet =
false;
146 bool m_metricReferencesHasBeenSet =
false;
AWS_APPLICATIONSIGNALS_API ServiceDependency & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDependencyOperationName() const
ServiceDependency & WithDependencyOperationName(DependencyOperationNameT &&value)
void SetDependencyKeyAttributes(DependencyKeyAttributesT &&value)
ServiceDependency & AddMetricReferences(MetricReferencesT &&value)
const Aws::Vector< MetricReference > & GetMetricReferences() const
bool OperationNameHasBeenSet() const
bool MetricReferencesHasBeenSet() const
void SetOperationName(OperationNameT &&value)
ServiceDependency & WithMetricReferences(MetricReferencesT &&value)
void SetDependencyOperationName(DependencyOperationNameT &&value)
AWS_APPLICATIONSIGNALS_API ServiceDependency(Aws::Utils::Json::JsonView jsonValue)
ServiceDependency & WithOperationName(OperationNameT &&value)
ServiceDependency & WithDependencyKeyAttributes(DependencyKeyAttributesT &&value)
const Aws::String & GetOperationName() const
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPLICATIONSIGNALS_API ServiceDependency()=default
bool DependencyKeyAttributesHasBeenSet() const
ServiceDependency & AddDependencyKeyAttributes(DependencyKeyAttributesKeyT &&key, DependencyKeyAttributesValueT &&value)
bool DependencyOperationNameHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetDependencyKeyAttributes() const
void SetMetricReferences(MetricReferencesT &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue