7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace ElasticsearchService
49 template<
typename SourceVersionT = Aws::String>
50 void SetSourceVersion(SourceVersionT&& value) { m_sourceVersionHasBeenSet =
true; m_sourceVersion = std::forward<SourceVersionT>(value); }
51 template<
typename SourceVersionT = Aws::String>
59 template<
typename TargetVersionsT = Aws::Vector<Aws::String>>
60 void SetTargetVersions(TargetVersionsT&& value) { m_targetVersionsHasBeenSet =
true; m_targetVersions = std::forward<TargetVersionsT>(value); }
61 template<
typename TargetVersionsT = Aws::Vector<Aws::String>>
63 template<
typename TargetVersionsT = Aws::String>
69 bool m_sourceVersionHasBeenSet =
false;
72 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