7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/savingsplans/SavingsPlans_EXPORTS.h>
10#include <aws/savingsplans/model/SavingsPlanRate.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace SavingsPlans {
36 template <
typename SavingsPlanIdT = Aws::String>
38 m_savingsPlanIdHasBeenSet =
true;
39 m_savingsPlanId = std::forward<SavingsPlanIdT>(value);
41 template <
typename SavingsPlanIdT = Aws::String>
53 template <
typename SearchResultsT = Aws::Vector<SavingsPlanRate>>
55 m_searchResultsHasBeenSet =
true;
56 m_searchResults = std::forward<SearchResultsT>(value);
58 template <
typename SearchResultsT = Aws::Vector<SavingsPlanRate>>
63 template <
typename SearchResultsT = SavingsPlanRate>
65 m_searchResultsHasBeenSet =
true;
66 m_searchResults.emplace_back(std::forward<SearchResultsT>(value));
77 template <
typename NextTokenT = Aws::String>
79 m_nextTokenHasBeenSet =
true;
80 m_nextToken = std::forward<NextTokenT>(value);
82 template <
typename NextTokenT = Aws::String>
92 template <
typename RequestIdT = Aws::String>
94 m_requestIdHasBeenSet =
true;
95 m_requestId = std::forward<RequestIdT>(value);
97 template <
typename RequestIdT = Aws::String>
111 bool m_savingsPlanIdHasBeenSet =
false;
112 bool m_searchResultsHasBeenSet =
false;
113 bool m_nextTokenHasBeenSet =
false;
114 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