7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
10#include <aws/devops-guru/model/CostEstimationResourceCollectionFilter.h>
11#include <aws/devops-guru/model/CostEstimationStatus.h>
12#include <aws/devops-guru/model/CostEstimationTimeRange.h>
13#include <aws/devops-guru/model/ServiceResourceCost.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
40 template <
typename ResourceCollectionT = CostEstimationResourceCollectionFilter>
42 m_resourceCollectionHasBeenSet =
true;
43 m_resourceCollection = std::forward<ResourceCollectionT>(value);
45 template <
typename ResourceCollectionT = CostEstimationResourceCollectionFilter>
60 m_statusHasBeenSet =
true;
76 template <
typename CostsT = Aws::Vector<ServiceResourceCost>>
78 m_costsHasBeenSet =
true;
79 m_costs = std::forward<CostsT>(value);
81 template <
typename CostsT = Aws::Vector<ServiceResourceCost>>
83 SetCosts(std::forward<CostsT>(value));
86 template <
typename CostsT = ServiceResourceCost>
88 m_costsHasBeenSet =
true;
89 m_costs.emplace_back(std::forward<CostsT>(value));
99 template <
typename TimeRangeT = CostEstimationTimeRange>
101 m_timeRangeHasBeenSet =
true;
102 m_timeRange = std::forward<TimeRangeT>(value);
104 template <
typename TimeRangeT = CostEstimationTimeRange>
119 m_totalCostHasBeenSet =
true;
134 template <
typename NextTokenT = Aws::String>
136 m_nextTokenHasBeenSet =
true;
137 m_nextToken = std::forward<NextTokenT>(value);
139 template <
typename NextTokenT = Aws::String>
149 template <
typename RequestIdT = Aws::String>
151 m_requestIdHasBeenSet =
true;
152 m_requestId = std::forward<RequestIdT>(value);
154 template <
typename RequestIdT = Aws::String>
167 CostEstimationTimeRange m_timeRange;
169 double m_totalCost{0.0};
174 bool m_resourceCollectionHasBeenSet =
false;
175 bool m_statusHasBeenSet =
false;
176 bool m_costsHasBeenSet =
false;
177 bool m_timeRangeHasBeenSet =
false;
178 bool m_totalCostHasBeenSet =
false;
179 bool m_nextTokenHasBeenSet =
false;
180 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetNextToken() const
const CostEstimationResourceCollectionFilter & GetResourceCollection() const
GetCostEstimationResult & WithCosts(CostsT &&value)
const Aws::String & GetRequestId() const
GetCostEstimationResult & WithTotalCost(double value)
void SetStatus(CostEstimationStatus value)
void SetResourceCollection(ResourceCollectionT &&value)
const CostEstimationTimeRange & GetTimeRange() const
double GetTotalCost() const
void SetTimeRange(TimeRangeT &&value)
void SetCosts(CostsT &&value)
void SetRequestId(RequestIdT &&value)
AWS_DEVOPSGURU_API GetCostEstimationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTotalCost(double value)
CostEstimationStatus GetStatus() const
GetCostEstimationResult & WithTimeRange(TimeRangeT &&value)
AWS_DEVOPSGURU_API GetCostEstimationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ServiceResourceCost > & GetCosts() const
AWS_DEVOPSGURU_API GetCostEstimationResult()=default
void SetNextToken(NextTokenT &&value)
GetCostEstimationResult & WithResourceCollection(ResourceCollectionT &&value)
GetCostEstimationResult & WithStatus(CostEstimationStatus value)
GetCostEstimationResult & WithNextToken(NextTokenT &&value)
GetCostEstimationResult & AddCosts(CostsT &&value)
GetCostEstimationResult & WithRequestId(RequestIdT &&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