7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ecs/ECS_EXPORTS.h>
43 template <
typename MetricNamesT = Aws::Vector<Aws::String>>
45 m_metricNamesHasBeenSet =
true;
46 m_metricNames = std::forward<MetricNamesT>(value);
48 template <
typename MetricNamesT = Aws::Vector<Aws::String>>
53 template <
typename MetricNamesT = Aws::String>
55 m_metricNamesHasBeenSet =
true;
56 m_metricNames.emplace_back(std::forward<MetricNamesT>(value));
69 m_resolutionSecondsHasBeenSet =
true;
70 m_resolutionSeconds = value;
80 int m_resolutionSeconds{0};
81 bool m_metricNamesHasBeenSet =
false;
82 bool m_resolutionSecondsHasBeenSet =
false;
AWS_ECS_API MetricConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetMetricNames() const
bool MetricNamesHasBeenSet() const
AWS_ECS_API MetricConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ResolutionSecondsHasBeenSet() const
void SetMetricNames(MetricNamesT &&value)
MetricConfiguration & WithMetricNames(MetricNamesT &&value)
int GetResolutionSeconds() const
AWS_ECS_API MetricConfiguration()=default
void SetResolutionSeconds(int value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
MetricConfiguration & WithResolutionSeconds(int value)
MetricConfiguration & AddMetricNames(MetricNamesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue