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/core/utils/memory/stl/AWSVector.h>
11#include <aws/application-signals/model/MetricReference.h>
24namespace ApplicationSignals
50 template<
typename OperationNameT = Aws::String>
51 void SetOperationName(OperationNameT&& value) { m_operationNameHasBeenSet =
true; m_operationName = std::forward<OperationNameT>(value); }
52 template<
typename OperationNameT = Aws::String>
74 template<
typename DependencyKeyAttributesT = Aws::Map<Aws::String, Aws::String>>
75 void SetDependencyKeyAttributes(DependencyKeyAttributesT&& value) { m_dependencyKeyAttributesHasBeenSet =
true; m_dependencyKeyAttributes = std::forward<DependencyKeyAttributesT>(value); }
76 template<
typename DependencyKeyAttributesT = Aws::Map<Aws::String, Aws::String>>
78 template<
typename DependencyKeyAttributesKeyT = Aws::String,
typename DependencyKeyAttributesValueT = Aws::String>
80 m_dependencyKeyAttributesHasBeenSet =
true; m_dependencyKeyAttributes.emplace(std::forward<DependencyKeyAttributesKeyT>(key), std::forward<DependencyKeyAttributesValueT>(value));
return *
this;
90 template<
typename DependencyOperationNameT = Aws::String>
91 void SetDependencyOperationName(DependencyOperationNameT&& value) { m_dependencyOperationNameHasBeenSet =
true; m_dependencyOperationName = std::forward<DependencyOperationNameT>(value); }
92 template<
typename DependencyOperationNameT = Aws::String>
104 template<
typename MetricReferencesT = Aws::Vector<MetricReference>>
105 void SetMetricReferences(MetricReferencesT&& value) { m_metricReferencesHasBeenSet =
true; m_metricReferences = std::forward<MetricReferencesT>(value); }
106 template<
typename MetricReferencesT = Aws::Vector<MetricReference>>
108 template<
typename MetricReferencesT = MetricReference>
109 ServiceDependency&
AddMetricReferences(MetricReferencesT&& value) { m_metricReferencesHasBeenSet =
true; m_metricReferences.emplace_back(std::forward<MetricReferencesT>(value));
return *
this; }
114 bool m_operationNameHasBeenSet =
false;
117 bool m_dependencyKeyAttributesHasBeenSet =
false;
120 bool m_dependencyOperationNameHasBeenSet =
false;
123 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