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>
50 template<
typename UsageTypeT = Aws::String>
51 void SetUsageType(UsageTypeT&& value) { m_usageTypeHasBeenSet =
true; m_usageType = std::forward<UsageTypeT>(value); }
52 template<
typename UsageTypeT = Aws::String>
62 template<
typename ResultsByTimeT = Aws::Vector<EstimateByTime>>
63 void SetResultsByTime(ResultsByTimeT&& value) { m_resultsByTimeHasBeenSet =
true; m_resultsByTime = std::forward<ResultsByTimeT>(value); }
64 template<
typename ResultsByTimeT = Aws::Vector<EstimateByTime>>
66 template<
typename ResultsByTimeT = EstimateByTime>
67 CostEstimate&
AddResultsByTime(ResultsByTimeT&& value) { m_resultsByTimeHasBeenSet =
true; m_resultsByTime.emplace_back(std::forward<ResultsByTimeT>(value));
return *
this; }
72 bool m_usageTypeHasBeenSet =
false;
75 bool m_resultsByTimeHasBeenSet =
false;
CostEstimate & WithResultsByTime(ResultsByTimeT &&value)
const Aws::String & GetUsageType() const
const Aws::Vector< EstimateByTime > & GetResultsByTime() const
AWS_LIGHTSAIL_API CostEstimate()=default
bool UsageTypeHasBeenSet() const
void SetUsageType(UsageTypeT &&value)
AWS_LIGHTSAIL_API CostEstimate(Aws::Utils::Json::JsonView jsonValue)
CostEstimate & WithUsageType(UsageTypeT &&value)
bool ResultsByTimeHasBeenSet() const
AWS_LIGHTSAIL_API CostEstimate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
CostEstimate & AddResultsByTime(ResultsByTimeT &&value)
void SetResultsByTime(ResultsByTimeT &&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