7#include <aws/savingsplans/SavingsPlans_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/savingsplans/model/SavingsPlanRate.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template<
typename SavingsPlanIdT = Aws::String>
43 void SetSavingsPlanId(SavingsPlanIdT&& value) { m_savingsPlanIdHasBeenSet =
true; m_savingsPlanId = std::forward<SavingsPlanIdT>(value); }
44 template<
typename SavingsPlanIdT = Aws::String>
53 template<
typename SearchResultsT = Aws::Vector<SavingsPlanRate>>
54 void SetSearchResults(SearchResultsT&& value) { m_searchResultsHasBeenSet =
true; m_searchResults = std::forward<SearchResultsT>(value); }
55 template<
typename SearchResultsT = Aws::Vector<SavingsPlanRate>>
57 template<
typename SearchResultsT = SavingsPlanRate>
67 template<
typename NextTokenT = Aws::String>
68 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
69 template<
typename NextTokenT = Aws::String>
76 template<
typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
78 template<
typename RequestIdT = Aws::String>
84 bool m_savingsPlanIdHasBeenSet =
false;
87 bool m_searchResultsHasBeenSet =
false;
90 bool m_nextTokenHasBeenSet =
false;
93 bool m_requestIdHasBeenSet =
false;
DescribeSavingsPlanRatesResult & WithSearchResults(SearchResultsT &&value)
void SetSearchResults(SearchResultsT &&value)
void SetSavingsPlanId(SavingsPlanIdT &&value)
const Aws::String & GetRequestId() const
void SetNextToken(NextTokenT &&value)
DescribeSavingsPlanRatesResult & AddSearchResults(SearchResultsT &&value)
DescribeSavingsPlanRatesResult & WithRequestId(RequestIdT &&value)
AWS_SAVINGSPLANS_API DescribeSavingsPlanRatesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SAVINGSPLANS_API DescribeSavingsPlanRatesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeSavingsPlanRatesResult & WithSavingsPlanId(SavingsPlanIdT &&value)
AWS_SAVINGSPLANS_API DescribeSavingsPlanRatesResult()=default
const Aws::Vector< SavingsPlanRate > & GetSearchResults() const
DescribeSavingsPlanRatesResult & WithNextToken(NextTokenT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetNextToken() const
const Aws::String & GetSavingsPlanId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue