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>
20namespace OpenSearchService {
42 template <
typename SourceVersionT = Aws::String>
44 m_sourceVersionHasBeenSet =
true;
45 m_sourceVersion = std::forward<SourceVersionT>(value);
47 template <
typename SourceVersionT = Aws::String>
60 template <
typename TargetVersionsT = Aws::Vector<Aws::String>>
62 m_targetVersionsHasBeenSet =
true;
63 m_targetVersions = std::forward<TargetVersionsT>(value);
65 template <
typename TargetVersionsT = Aws::Vector<Aws::String>>
70 template <
typename TargetVersionsT = Aws::String>
72 m_targetVersionsHasBeenSet =
true;
73 m_targetVersions.emplace_back(std::forward<TargetVersionsT>(value));
81 bool m_sourceVersionHasBeenSet =
false;
82 bool m_targetVersionsHasBeenSet =
false;
CompatibleVersionsMap & WithSourceVersion(SourceVersionT &&value)
void SetSourceVersion(SourceVersionT &&value)
AWS_OPENSEARCHSERVICE_API CompatibleVersionsMap()=default
bool TargetVersionsHasBeenSet() const
AWS_OPENSEARCHSERVICE_API CompatibleVersionsMap & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSourceVersion() const
bool SourceVersionHasBeenSet() const
CompatibleVersionsMap & WithTargetVersions(TargetVersionsT &&value)
void SetTargetVersions(TargetVersionsT &&value)
const Aws::Vector< Aws::String > & GetTargetVersions() const
CompatibleVersionsMap & AddTargetVersions(TargetVersionsT &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API CompatibleVersionsMap(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue