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
54 template<
typename OperationNameT = Aws::String>
55 void SetOperationName(OperationNameT&& value) { m_operationNameHasBeenSet =
true; m_operationName = std::forward<OperationNameT>(value); }
56 template<
typename OperationNameT = Aws::String>
78 template<
typename DependentKeyAttributesT = Aws::Map<Aws::String, Aws::String>>
79 void SetDependentKeyAttributes(DependentKeyAttributesT&& value) { m_dependentKeyAttributesHasBeenSet =
true; m_dependentKeyAttributes = std::forward<DependentKeyAttributesT>(value); }
80 template<
typename DependentKeyAttributesT = Aws::Map<Aws::String, Aws::String>>
82 template<
typename DependentKeyAttributesKeyT = Aws::String,
typename DependentKeyAttributesValueT = Aws::String>
84 m_dependentKeyAttributesHasBeenSet =
true; m_dependentKeyAttributes.emplace(std::forward<DependentKeyAttributesKeyT>(key), std::forward<DependentKeyAttributesValueT>(value));
return *
this;
95 template<
typename DependentOperationNameT = Aws::String>
96 void SetDependentOperationName(DependentOperationNameT&& value) { m_dependentOperationNameHasBeenSet =
true; m_dependentOperationName = std::forward<DependentOperationNameT>(value); }
97 template<
typename DependentOperationNameT = Aws::String>
109 template<
typename MetricReferencesT = Aws::Vector<MetricReference>>
110 void SetMetricReferences(MetricReferencesT&& value) { m_metricReferencesHasBeenSet =
true; m_metricReferences = std::forward<MetricReferencesT>(value); }
111 template<
typename MetricReferencesT = Aws::Vector<MetricReference>>
113 template<
typename MetricReferencesT = MetricReference>
114 ServiceDependent&
AddMetricReferences(MetricReferencesT&& value) { m_metricReferencesHasBeenSet =
true; m_metricReferences.emplace_back(std::forward<MetricReferencesT>(value));
return *
this; }
119 bool m_operationNameHasBeenSet =
false;
122 bool m_dependentKeyAttributesHasBeenSet =
false;
125 bool m_dependentOperationNameHasBeenSet =
false;
128 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