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 {
48 template <
typename OperationNameT = Aws::String>
50 m_operationNameHasBeenSet =
true;
51 m_operationName = std::forward<OperationNameT>(value);
53 template <
typename OperationNameT = Aws::String>
78 template <
typename DependentKeyAttributesT = Aws::Map<Aws::String, Aws::String>>
80 m_dependentKeyAttributesHasBeenSet =
true;
81 m_dependentKeyAttributes = std::forward<DependentKeyAttributesT>(value);
83 template <
typename DependentKeyAttributesT = Aws::Map<Aws::String, Aws::String>>
88 template <
typename DependentKeyAttributesKeyT = Aws::String,
typename DependentKeyAttributesValueT = Aws::String>
90 m_dependentKeyAttributesHasBeenSet =
true;
91 m_dependentKeyAttributes.emplace(std::forward<DependentKeyAttributesKeyT>(key), std::forward<DependentKeyAttributesValueT>(value));
103 template <
typename DependentOperationNameT = Aws::String>
105 m_dependentOperationNameHasBeenSet =
true;
106 m_dependentOperationName = std::forward<DependentOperationNameT>(value);
108 template <
typename DependentOperationNameT = Aws::String>
123 template <
typename MetricReferencesT = Aws::Vector<MetricReference>>
125 m_metricReferencesHasBeenSet =
true;
126 m_metricReferences = std::forward<MetricReferencesT>(value);
128 template <
typename MetricReferencesT = Aws::Vector<MetricReference>>
133 template <
typename MetricReferencesT = MetricReference>
135 m_metricReferencesHasBeenSet =
true;
136 m_metricReferences.emplace_back(std::forward<MetricReferencesT>(value));
148 bool m_operationNameHasBeenSet =
false;
149 bool m_dependentKeyAttributesHasBeenSet =
false;
150 bool m_dependentOperationNameHasBeenSet =
false;
151 bool m_metricReferencesHasBeenSet =
false;
ServiceDependent & AddDependentKeyAttributes(DependentKeyAttributesKeyT &&key, DependentKeyAttributesValueT &&value)
const Aws::Vector< MetricReference > & GetMetricReferences() const
ServiceDependent & WithOperationName(OperationNameT &&value)
ServiceDependent & WithDependentKeyAttributes(DependentKeyAttributesT &&value)
bool DependentKeyAttributesHasBeenSet() const
const Aws::String & GetDependentOperationName() const
AWS_APPLICATIONSIGNALS_API ServiceDependent()=default
const Aws::String & GetOperationName() const
bool MetricReferencesHasBeenSet() const
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetDependentKeyAttributes() const
void SetMetricReferences(MetricReferencesT &&value)
ServiceDependent & AddMetricReferences(MetricReferencesT &&value)
void SetDependentKeyAttributes(DependentKeyAttributesT &&value)
ServiceDependent & WithMetricReferences(MetricReferencesT &&value)
void SetOperationName(OperationNameT &&value)
AWS_APPLICATIONSIGNALS_API ServiceDependent(Aws::Utils::Json::JsonView jsonValue)
ServiceDependent & WithDependentOperationName(DependentOperationNameT &&value)
AWS_APPLICATIONSIGNALS_API ServiceDependent & operator=(Aws::Utils::Json::JsonView jsonValue)
bool OperationNameHasBeenSet() const
bool DependentOperationNameHasBeenSet() const
void SetDependentOperationName(DependentOperationNameT &&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