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/opensearch/OpenSearchService_EXPORTS.h>
11#include <aws/opensearch/model/UpgradeHistory.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace OpenSearchService {
44 template <
typename UpgradeHistoriesT = Aws::Vector<UpgradeHistory>>
46 m_upgradeHistoriesHasBeenSet =
true;
47 m_upgradeHistories = std::forward<UpgradeHistoriesT>(value);
49 template <
typename UpgradeHistoriesT = Aws::Vector<UpgradeHistory>>
54 template <
typename UpgradeHistoriesT = UpgradeHistory>
56 m_upgradeHistoriesHasBeenSet =
true;
57 m_upgradeHistories.emplace_back(std::forward<UpgradeHistoriesT>(value));
69 template <
typename NextTokenT = Aws::String>
71 m_nextTokenHasBeenSet =
true;
72 m_nextToken = std::forward<NextTokenT>(value);
74 template <
typename NextTokenT = Aws::String>
84 template <
typename RequestIdT = Aws::String>
86 m_requestIdHasBeenSet =
true;
87 m_requestId = std::forward<RequestIdT>(value);
89 template <
typename RequestIdT = Aws::String>
104 bool m_upgradeHistoriesHasBeenSet =
false;
105 bool m_nextTokenHasBeenSet =
false;
106 bool m_requestIdHasBeenSet =
false;
AWS_OPENSEARCHSERVICE_API GetUpgradeHistoryResult()=default
const Aws::String & GetNextToken() const
GetUpgradeHistoryResult & WithUpgradeHistories(UpgradeHistoriesT &&value)
void SetNextToken(NextTokenT &&value)
AWS_OPENSEARCHSERVICE_API GetUpgradeHistoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OPENSEARCHSERVICE_API GetUpgradeHistoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
GetUpgradeHistoryResult & AddUpgradeHistories(UpgradeHistoriesT &&value)
const Aws::Vector< UpgradeHistory > & GetUpgradeHistories() const
GetUpgradeHistoryResult & WithRequestId(RequestIdT &&value)
void SetUpgradeHistories(UpgradeHistoriesT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRequestId() const
GetUpgradeHistoryResult & WithNextToken(NextTokenT &&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