7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
19namespace ApplicationDiscoveryService {
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
61 m_percentageAdjustHasBeenSet =
true;
62 m_percentageAdjust = value;
72 double m_percentageAdjust{0.0};
73 bool m_nameHasBeenSet =
false;
74 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