7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/opensearch/OpenSearchService_EXPORTS.h>
10#include <aws/opensearch/model/UpgradeHistory.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace OpenSearchService {
43 template <
typename UpgradeHistoriesT = Aws::Vector<UpgradeHistory>>
45 m_upgradeHistoriesHasBeenSet =
true;
46 m_upgradeHistories = std::forward<UpgradeHistoriesT>(value);
48 template <
typename UpgradeHistoriesT = Aws::Vector<UpgradeHistory>>
53 template <
typename UpgradeHistoriesT = UpgradeHistory>
55 m_upgradeHistoriesHasBeenSet =
true;
56 m_upgradeHistories.emplace_back(std::forward<UpgradeHistoriesT>(value));
68 template <
typename NextTokenT = Aws::String>
70 m_nextTokenHasBeenSet =
true;
71 m_nextToken = std::forward<NextTokenT>(value);
73 template <
typename NextTokenT = Aws::String>
83 template <
typename RequestIdT = Aws::String>
85 m_requestIdHasBeenSet =
true;
86 m_requestId = std::forward<RequestIdT>(value);
88 template <
typename RequestIdT = Aws::String>
100 bool m_upgradeHistoriesHasBeenSet =
false;
101 bool m_nextTokenHasBeenSet =
false;
102 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)
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