/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Container for the response returned by the GetCompatibleVersions
* operation.See Also:
AWS
* API Reference
A map of OpenSearch or Elasticsearch versions and the versions you can * upgrade them to.
*/ inline const Aws::VectorA map of OpenSearch or Elasticsearch versions and the versions you can * upgrade them to.
*/ inline void SetCompatibleVersions(const Aws::VectorA map of OpenSearch or Elasticsearch versions and the versions you can * upgrade them to.
*/ inline void SetCompatibleVersions(Aws::VectorA map of OpenSearch or Elasticsearch versions and the versions you can * upgrade them to.
*/ inline GetCompatibleVersionsResult& WithCompatibleVersions(const Aws::VectorA map of OpenSearch or Elasticsearch versions and the versions you can * upgrade them to.
*/ inline GetCompatibleVersionsResult& WithCompatibleVersions(Aws::VectorA map of OpenSearch or Elasticsearch versions and the versions you can * upgrade them to.
*/ inline GetCompatibleVersionsResult& AddCompatibleVersions(const CompatibleVersionsMap& value) { m_compatibleVersions.push_back(value); return *this; } /** *A map of OpenSearch or Elasticsearch versions and the versions you can * upgrade them to.
*/ inline GetCompatibleVersionsResult& AddCompatibleVersions(CompatibleVersionsMap&& value) { m_compatibleVersions.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetCompatibleVersionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetCompatibleVersionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetCompatibleVersionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector