7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/es/ElasticsearchService_EXPORTS.h>
20namespace ElasticsearchService {
43 template <
typename SourceVersionT = Aws::String>
45 m_sourceVersionHasBeenSet =
true;
46 m_sourceVersion = std::forward<SourceVersionT>(value);
48 template <
typename SourceVersionT = Aws::String>
59 template <
typename TargetVersionsT = Aws::Vector<Aws::String>>
61 m_targetVersionsHasBeenSet =
true;
62 m_targetVersions = std::forward<TargetVersionsT>(value);
64 template <
typename TargetVersionsT = Aws::Vector<Aws::String>>
69 template <
typename TargetVersionsT = Aws::String>
71 m_targetVersionsHasBeenSet =
true;
72 m_targetVersions.emplace_back(std::forward<TargetVersionsT>(value));
80 bool m_sourceVersionHasBeenSet =
false;
81 bool m_targetVersionsHasBeenSet =
false;
AWS_ELASTICSEARCHSERVICE_API CompatibleVersionsMap(Aws::Utils::Json::JsonView jsonValue)
CompatibleVersionsMap & WithTargetVersions(TargetVersionsT &&value)
AWS_ELASTICSEARCHSERVICE_API CompatibleVersionsMap & operator=(Aws::Utils::Json::JsonView jsonValue)
CompatibleVersionsMap & WithSourceVersion(SourceVersionT &&value)
void SetSourceVersion(SourceVersionT &&value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTargetVersions(TargetVersionsT &&value)
const Aws::Vector< Aws::String > & GetTargetVersions() const
AWS_ELASTICSEARCHSERVICE_API CompatibleVersionsMap()=default
bool TargetVersionsHasBeenSet() const
CompatibleVersionsMap & AddTargetVersions(TargetVersionsT &&value)
bool SourceVersionHasBeenSet() const
const Aws::String & GetSourceVersion() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue