7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/MetricReference.h>
9#include <aws/application-signals/model/ServiceGroup.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace ApplicationSignals {
58 template <
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
60 m_keyAttributesHasBeenSet =
true;
61 m_keyAttributes = std::forward<KeyAttributesT>(value);
63 template <
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
68 template <
typename KeyAttributesKeyT = Aws::String,
typename KeyAttributesValueT = Aws::String>
70 m_keyAttributesHasBeenSet =
true;
71 m_keyAttributes.emplace(std::forward<KeyAttributesKeyT>(key), std::forward<KeyAttributesValueT>(value));
110 template <
typename AttributeMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
112 m_attributeMapsHasBeenSet =
true;
113 m_attributeMaps = std::forward<AttributeMapsT>(value);
115 template <
typename AttributeMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
120 template <
typename AttributeMapsT = Aws::Map<Aws::String, Aws::String>>
122 m_attributeMapsHasBeenSet =
true;
123 m_attributeMaps.emplace_back(std::forward<AttributeMapsT>(value));
135 template <
typename MetricReferencesT = Aws::Vector<MetricReference>>
137 m_metricReferencesHasBeenSet =
true;
138 m_metricReferences = std::forward<MetricReferencesT>(value);
140 template <
typename MetricReferencesT = Aws::Vector<MetricReference>>
145 template <
typename MetricReferencesT = MetricReference>
147 m_metricReferencesHasBeenSet =
true;
148 m_metricReferences.emplace_back(std::forward<MetricReferencesT>(value));
160 template <
typename ServiceGroupsT = Aws::Vector<ServiceGroup>>
162 m_serviceGroupsHasBeenSet =
true;
163 m_serviceGroups = std::forward<ServiceGroupsT>(value);
165 template <
typename ServiceGroupsT = Aws::Vector<ServiceGroup>>
170 template <
typename ServiceGroupsT = ServiceGroup>
172 m_serviceGroupsHasBeenSet =
true;
173 m_serviceGroups.emplace_back(std::forward<ServiceGroupsT>(value));
185 bool m_keyAttributesHasBeenSet =
false;
186 bool m_attributeMapsHasBeenSet =
false;
187 bool m_metricReferencesHasBeenSet =
false;
188 bool m_serviceGroupsHasBeenSet =
false;
AWS_APPLICATIONSIGNALS_API ServiceSummary(Aws::Utils::Json::JsonView jsonValue)
bool KeyAttributesHasBeenSet() const
ServiceSummary & AddKeyAttributes(KeyAttributesKeyT &&key, KeyAttributesValueT &&value)
bool ServiceGroupsHasBeenSet() const
ServiceSummary & WithAttributeMaps(AttributeMapsT &&value)
AWS_APPLICATIONSIGNALS_API ServiceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceSummary & AddServiceGroups(ServiceGroupsT &&value)
ServiceSummary & AddMetricReferences(MetricReferencesT &&value)
const Aws::Vector< Aws::Map< Aws::String, Aws::String > > & GetAttributeMaps() const
const Aws::Vector< MetricReference > & GetMetricReferences() const
bool MetricReferencesHasBeenSet() const
const Aws::Vector< ServiceGroup > & GetServiceGroups() const
void SetMetricReferences(MetricReferencesT &&value)
void SetServiceGroups(ServiceGroupsT &&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)
ServiceSummary & WithServiceGroups(ServiceGroupsT &&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