7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/MetricReference.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace ApplicationSignals {
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
65 template <
typename MetricReferencesT = Aws::Vector<MetricReference>>
67 m_metricReferencesHasBeenSet =
true;
68 m_metricReferences = std::forward<MetricReferencesT>(value);
70 template <
typename MetricReferencesT = Aws::Vector<MetricReference>>
75 template <
typename MetricReferencesT = MetricReference>
77 m_metricReferencesHasBeenSet =
true;
78 m_metricReferences.emplace_back(std::forward<MetricReferencesT>(value));
86 bool m_nameHasBeenSet =
false;
87 bool m_metricReferencesHasBeenSet =
false;
ServiceOperation & WithName(NameT &&value)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
bool NameHasBeenSet() const
AWS_APPLICATIONSIGNALS_API ServiceOperation()=default
ServiceOperation & WithMetricReferences(MetricReferencesT &&value)
bool MetricReferencesHasBeenSet() const
const Aws::String & GetName() const
AWS_APPLICATIONSIGNALS_API ServiceOperation & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< MetricReference > & GetMetricReferences() const
void SetName(NameT &&value)
ServiceOperation & AddMetricReferences(MetricReferencesT &&value)
AWS_APPLICATIONSIGNALS_API ServiceOperation(Aws::Utils::Json::JsonView jsonValue)
void SetMetricReferences(MetricReferencesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue