7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
11#include <aws/devops-guru/model/CostEstimationResourceCollectionFilter.h>
12#include <aws/devops-guru/model/CostEstimationStatus.h>
13#include <aws/devops-guru/model/CostEstimationTimeRange.h>
14#include <aws/devops-guru/model/ServiceResourceCost.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
41 template <
typename ResourceCollectionT = CostEstimationResourceCollectionFilter>
43 m_resourceCollectionHasBeenSet =
true;
44 m_resourceCollection = std::forward<ResourceCollectionT>(value);
46 template <
typename ResourceCollectionT = CostEstimationResourceCollectionFilter>
61 m_statusHasBeenSet =
true;
77 template <
typename CostsT = Aws::Vector<ServiceResourceCost>>
79 m_costsHasBeenSet =
true;
80 m_costs = std::forward<CostsT>(value);
82 template <
typename CostsT = Aws::Vector<ServiceResourceCost>>
84 SetCosts(std::forward<CostsT>(value));
87 template <
typename CostsT = ServiceResourceCost>
89 m_costsHasBeenSet =
true;
90 m_costs.emplace_back(std::forward<CostsT>(value));
100 template <
typename TimeRangeT = CostEstimationTimeRange>
102 m_timeRangeHasBeenSet =
true;
103 m_timeRange = std::forward<TimeRangeT>(value);
105 template <
typename TimeRangeT = CostEstimationTimeRange>
120 m_totalCostHasBeenSet =
true;
135 template <
typename NextTokenT = Aws::String>
137 m_nextTokenHasBeenSet =
true;
138 m_nextToken = std::forward<NextTokenT>(value);
140 template <
typename NextTokenT = Aws::String>
150 template <
typename RequestIdT = Aws::String>
152 m_requestIdHasBeenSet =
true;
153 m_requestId = std::forward<RequestIdT>(value);
155 template <
typename RequestIdT = Aws::String>
170 CostEstimationTimeRange m_timeRange;
172 double m_totalCost{0.0};
178 bool m_resourceCollectionHasBeenSet =
false;
179 bool m_statusHasBeenSet =
false;
180 bool m_costsHasBeenSet =
false;
181 bool m_timeRangeHasBeenSet =
false;
182 bool m_totalCostHasBeenSet =
false;
183 bool m_nextTokenHasBeenSet =
false;
184 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetNextToken() const
const CostEstimationResourceCollectionFilter & GetResourceCollection() const
GetCostEstimationResult & WithCosts(CostsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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