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/es/ElasticsearchService_EXPORTS.h>
11#include <aws/es/model/UpgradeHistory.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace ElasticsearchService {
45 template <
typename UpgradeHistoriesT = Aws::Vector<UpgradeHistory>>
47 m_upgradeHistoriesHasBeenSet =
true;
48 m_upgradeHistories = std::forward<UpgradeHistoriesT>(value);
50 template <
typename UpgradeHistoriesT = Aws::Vector<UpgradeHistory>>
55 template <
typename UpgradeHistoriesT = UpgradeHistory>
57 m_upgradeHistoriesHasBeenSet =
true;
58 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;
const Aws::String & GetRequestId() const
AWS_ELASTICSEARCHSERVICE_API GetUpgradeHistoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetUpgradeHistoryResult & AddUpgradeHistories(UpgradeHistoriesT &&value)
GetUpgradeHistoryResult & WithRequestId(RequestIdT &&value)
GetUpgradeHistoryResult & WithUpgradeHistories(UpgradeHistoriesT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< UpgradeHistory > & GetUpgradeHistories() const
void SetRequestId(RequestIdT &&value)
AWS_ELASTICSEARCHSERVICE_API GetUpgradeHistoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextToken() const
void SetUpgradeHistories(UpgradeHistoriesT &&value)
void SetNextToken(NextTokenT &&value)
AWS_ELASTICSEARCHSERVICE_API GetUpgradeHistoryResult()=default
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