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
38 AWS_APPLICATIONSIGNALS_API
Service() =
default;
62 template<
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
63 void SetKeyAttributes(KeyAttributesT&& value) { m_keyAttributesHasBeenSet =
true; m_keyAttributes = std::forward<KeyAttributesT>(value); }
64 template<
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
66 template<
typename KeyAttributesKeyT = Aws::String,
typename KeyAttributesValueT = Aws::String>
68 m_keyAttributesHasBeenSet =
true; m_keyAttributes.emplace(std::forward<KeyAttributesKeyT>(key), std::forward<KeyAttributesValueT>(value));
return *
this;
106 template<
typename AttributeMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
107 void SetAttributeMaps(AttributeMapsT&& value) { m_attributeMapsHasBeenSet =
true; m_attributeMaps = std::forward<AttributeMapsT>(value); }
108 template<
typename AttributeMapsT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
110 template<
typename AttributeMapsT = Aws::Map<Aws::String, Aws::String>>
111 Service&
AddAttributeMaps(AttributeMapsT&& value) { m_attributeMapsHasBeenSet =
true; m_attributeMaps.emplace_back(std::forward<AttributeMapsT>(value));
return *
this; }
121 template<
typename MetricReferencesT = Aws::Vector<MetricReference>>
122 void SetMetricReferences(MetricReferencesT&& value) { m_metricReferencesHasBeenSet =
true; m_metricReferences = std::forward<MetricReferencesT>(value); }
123 template<
typename MetricReferencesT = Aws::Vector<MetricReference>>
125 template<
typename MetricReferencesT = MetricReference>
126 Service&
AddMetricReferences(MetricReferencesT&& value) { m_metricReferencesHasBeenSet =
true; m_metricReferences.emplace_back(std::forward<MetricReferencesT>(value));
return *
this; }
139 template<
typename LogGroupReferencesT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
140 void SetLogGroupReferences(LogGroupReferencesT&& value) { m_logGroupReferencesHasBeenSet =
true; m_logGroupReferences = std::forward<LogGroupReferencesT>(value); }
141 template<
typename LogGroupReferencesT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
143 template<
typename LogGroupReferencesT = Aws::Map<Aws::String, Aws::String>>
144 Service&
AddLogGroupReferences(LogGroupReferencesT&& value) { m_logGroupReferencesHasBeenSet =
true; m_logGroupReferences.emplace_back(std::forward<LogGroupReferencesT>(value));
return *
this; }
149 bool m_keyAttributesHasBeenSet =
false;
152 bool m_attributeMapsHasBeenSet =
false;
155 bool m_metricReferencesHasBeenSet =
false;
158 bool m_logGroupReferencesHasBeenSet =
false;
bool AttributeMapsHasBeenSet() const
void SetLogGroupReferences(LogGroupReferencesT &&value)
Service & AddAttributeMaps(AttributeMapsT &&value)
const Aws::Vector< MetricReference > & GetMetricReferences() const
Service & WithLogGroupReferences(LogGroupReferencesT &&value)
Service & AddLogGroupReferences(LogGroupReferencesT &&value)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKeyAttributes(KeyAttributesT &&value)
void SetAttributeMaps(AttributeMapsT &&value)
bool MetricReferencesHasBeenSet() const
bool KeyAttributesHasBeenSet() const
void SetMetricReferences(MetricReferencesT &&value)
AWS_APPLICATIONSIGNALS_API Service()=default
bool LogGroupReferencesHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetKeyAttributes() const
Service & WithAttributeMaps(AttributeMapsT &&value)
Service & WithMetricReferences(MetricReferencesT &&value)
Service & WithKeyAttributes(KeyAttributesT &&value)
const Aws::Vector< Aws::Map< Aws::String, Aws::String > > & GetLogGroupReferences() const
AWS_APPLICATIONSIGNALS_API Service(Aws::Utils::Json::JsonView jsonValue)
Service & AddKeyAttributes(KeyAttributesKeyT &&key, KeyAttributesValueT &&value)
AWS_APPLICATIONSIGNALS_API Service & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::Map< Aws::String, Aws::String > > & GetAttributeMaps() const
Service & AddMetricReferences(MetricReferencesT &&value)
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