7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/application-signals/model/MetricReference.h>
24namespace ApplicationSignals
63 template<
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
64 void SetKeyAttributes(KeyAttributesT&& value) { m_keyAttributesHasBeenSet =
true; m_keyAttributes = std::forward<KeyAttributesT>(value); }
65 template<
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
67 template<
typename KeyAttributesKeyT = Aws::String,
typename KeyAttributesValueT = Aws::String>
69 m_keyAttributesHasBeenSet =
true; m_keyAttributes.emplace(std::forward<KeyAttributesKeyT>(key), std::forward<KeyAttributesValueT>(value));
return *
this;
107 template<
typename AttributeMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
108 void SetAttributeMaps(AttributeMapsT&& value) { m_attributeMapsHasBeenSet =
true; m_attributeMaps = std::forward<AttributeMapsT>(value); }
109 template<
typename AttributeMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
111 template<
typename AttributeMapsT = Aws::Map<Aws::String, Aws::String>>
112 ServiceSummary&
AddAttributeMaps(AttributeMapsT&& value) { m_attributeMapsHasBeenSet =
true; m_attributeMaps.emplace_back(std::forward<AttributeMapsT>(value));
return *
this; }
122 template<
typename MetricReferencesT = Aws::Vector<MetricReference>>
123 void SetMetricReferences(MetricReferencesT&& value) { m_metricReferencesHasBeenSet =
true; m_metricReferences = std::forward<MetricReferencesT>(value); }
124 template<
typename MetricReferencesT = Aws::Vector<MetricReference>>
126 template<
typename MetricReferencesT = MetricReference>
127 ServiceSummary&
AddMetricReferences(MetricReferencesT&& value) { m_metricReferencesHasBeenSet =
true; m_metricReferences.emplace_back(std::forward<MetricReferencesT>(value));
return *
this; }
132 bool m_keyAttributesHasBeenSet =
false;
135 bool m_attributeMapsHasBeenSet =
false;
138 bool m_metricReferencesHasBeenSet =
false;
AWS_APPLICATIONSIGNALS_API ServiceSummary(Aws::Utils::Json::JsonView jsonValue)
bool KeyAttributesHasBeenSet() const
ServiceSummary & AddKeyAttributes(KeyAttributesKeyT &&key, KeyAttributesValueT &&value)
ServiceSummary & WithAttributeMaps(AttributeMapsT &&value)
AWS_APPLICATIONSIGNALS_API ServiceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceSummary & AddMetricReferences(MetricReferencesT &&value)
const Aws::Vector< Aws::Map< Aws::String, Aws::String > > & GetAttributeMaps() const
const Aws::Vector< MetricReference > & GetMetricReferences() const
bool MetricReferencesHasBeenSet() const
void SetMetricReferences(MetricReferencesT &&value)
void SetAttributeMaps(AttributeMapsT &&value)
void SetKeyAttributes(KeyAttributesT &&value)
ServiceSummary & WithMetricReferences(MetricReferencesT &&value)
ServiceSummary & WithKeyAttributes(KeyAttributesT &&value)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetKeyAttributes() const
bool AttributeMapsHasBeenSet() const
ServiceSummary & AddAttributeMaps(AttributeMapsT &&value)
AWS_APPLICATIONSIGNALS_API ServiceSummary()=default
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue