7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lightsail/model/EstimateByTime.h>
52 inline void SetUsageType(
const char* value) { m_usageTypeHasBeenSet =
true; m_usageType.assign(value); }
74 bool m_usageTypeHasBeenSet =
false;
77 bool m_resultsByTimeHasBeenSet =
false;
CostEstimate & WithResultsByTime(Aws::Vector< EstimateByTime > &&value)
const Aws::String & GetUsageType() const
void SetUsageType(const char *value)
void SetUsageType(const Aws::String &value)
AWS_LIGHTSAIL_API CostEstimate()
CostEstimate & WithUsageType(const char *value)
void SetResultsByTime(Aws::Vector< EstimateByTime > &&value)
CostEstimate & WithResultsByTime(const Aws::Vector< EstimateByTime > &value)
CostEstimate & AddResultsByTime(const EstimateByTime &value)
void SetResultsByTime(const Aws::Vector< EstimateByTime > &value)
const Aws::Vector< EstimateByTime > & GetResultsByTime() const
bool UsageTypeHasBeenSet() const
CostEstimate & WithUsageType(const Aws::String &value)
AWS_LIGHTSAIL_API CostEstimate(Aws::Utils::Json::JsonView jsonValue)
void SetUsageType(Aws::String &&value)
bool ResultsByTimeHasBeenSet() const
CostEstimate & WithUsageType(Aws::String &&value)
AWS_LIGHTSAIL_API CostEstimate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
CostEstimate & AddResultsByTime(EstimateByTime &&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