7#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ApplicationDiscoveryService
47 template<
typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
49 template<
typename NameT = Aws::String>
60 inline void SetPercentageAdjust(
double value) { m_percentageAdjustHasBeenSet =
true; m_percentageAdjust = value; }
66 bool m_nameHasBeenSet =
false;
68 double m_percentageAdjust{0.0};
69 bool m_percentageAdjustHasBeenSet =
false;
void SetPercentageAdjust(double value)
AWS_APPLICATIONDISCOVERYSERVICE_API UsageMetricBasis()=default
const Aws::String & GetName() const
void SetName(NameT &&value)
bool PercentageAdjustHasBeenSet() const
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
UsageMetricBasis & WithName(NameT &&value)
bool NameHasBeenSet() const
AWS_APPLICATIONDISCOVERYSERVICE_API UsageMetricBasis & operator=(Aws::Utils::Json::JsonView jsonValue)
double GetPercentageAdjust() const
UsageMetricBasis & WithPercentageAdjust(double value)
AWS_APPLICATIONDISCOVERYSERVICE_API UsageMetricBasis(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue