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/SavingsPlanOffering.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace SavingsPlans {
37 template <
typename SearchResultsT = Aws::Vector<SavingsPlanOffering>>
39 m_searchResultsHasBeenSet =
true;
40 m_searchResults = std::forward<SearchResultsT>(value);
42 template <
typename SearchResultsT = Aws::Vector<SavingsPlanOffering>>
47 template <
typename SearchResultsT = SavingsPlanOffering>
49 m_searchResultsHasBeenSet =
true;
50 m_searchResults.emplace_back(std::forward<SearchResultsT>(value));
61 template <
typename NextTokenT = Aws::String>
63 m_nextTokenHasBeenSet =
true;
64 m_nextToken = std::forward<NextTokenT>(value);
66 template <
typename NextTokenT = Aws::String>
76 template <
typename RequestIdT = Aws::String>
78 m_requestIdHasBeenSet =
true;
79 m_requestId = std::forward<RequestIdT>(value);
81 template <
typename RequestIdT = Aws::String>
93 bool m_searchResultsHasBeenSet =
false;
94 bool m_nextTokenHasBeenSet =
false;
95 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
AWS_SAVINGSPLANS_API DescribeSavingsPlansOfferingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeSavingsPlansOfferingsResult & WithRequestId(RequestIdT &&value)
DescribeSavingsPlansOfferingsResult & WithNextToken(NextTokenT &&value)
DescribeSavingsPlansOfferingsResult & AddSearchResults(SearchResultsT &&value)
void SetSearchResults(SearchResultsT &&value)
void SetNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
AWS_SAVINGSPLANS_API DescribeSavingsPlansOfferingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeSavingsPlansOfferingsResult & WithSearchResults(SearchResultsT &&value)
const Aws::Vector< SavingsPlanOffering > & GetSearchResults() const
const Aws::String & GetRequestId() const
AWS_SAVINGSPLANS_API DescribeSavingsPlansOfferingsResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue