7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/application-signals/model/MetricReference.h>
23namespace ApplicationSignals
53 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
77 bool m_nameHasBeenSet =
false;
80 bool m_metricReferencesHasBeenSet =
false;
ServiceOperation & AddMetricReferences(MetricReference &&value)
ServiceOperation & AddMetricReferences(const MetricReference &value)
void SetName(Aws::String &&value)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
bool NameHasBeenSet() const
void SetName(const Aws::String &value)
ServiceOperation & WithName(const char *value)
AWS_APPLICATIONSIGNALS_API ServiceOperation()
ServiceOperation & WithMetricReferences(const Aws::Vector< MetricReference > &value)
ServiceOperation & WithName(Aws::String &&value)
void SetName(const char *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
ServiceOperation & WithName(const Aws::String &value)
AWS_APPLICATIONSIGNALS_API ServiceOperation(Aws::Utils::Json::JsonView jsonValue)
void SetMetricReferences(Aws::Vector< MetricReference > &&value)
void SetMetricReferences(const Aws::Vector< MetricReference > &value)
ServiceOperation & WithMetricReferences(Aws::Vector< MetricReference > &&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